An open API service indexing awesome lists of open source software.

https://github.com/oagoulart/yasl

Yet another script loader hooking a process entry point to inject payload scripts into process.
https://github.com/oagoulart/yasl

cpp detours hook modding trampoline

Last synced: 11 months ago
JSON representation

Yet another script loader hooking a process entry point to inject payload scripts into process.

Awesome Lists containing this project

README

          

[![YASL](banner.png)]()

[![MSBuild](https://github.com/oAGoulart/yasl/actions/workflows/msbuild.yml/badge.svg)](https://github.com/oAGoulart/yasl/actions/workflows/msbuild.yml)
[![CodeQL](https://github.com/oAGoulart/yasl/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/oAGoulart/yasl/actions/workflows/codeql-analysis.yml)
![Platform](https://img.shields.io/badge/platform-win--32%20%7C%20win--64-blue)
[![License](https://img.shields.io/badge/license-MIT-informational.svg)](https://opensource.org/licenses/MIT)

**WIP** codebase is being pushed to repo as it is coded so you might not be able to compile while I write/test the code.

You'll need to use the tool [WrappEm](https://github.com/oAGoulart/wrappem) that I created to inject some payload DLL into a process.

Former *Script Wrapper* project. Now switching into a proper hooking module.

Some useful resources I've been using while I researched how to implement this module:
- **[Combined Volume Set of Intel® 64 and IA-32 Architectures Software Developer’s Manuals](https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html#combined)**
+ Volume 2 (2A, 2B, 2C & 2D): Instruction Set Reference, A-Z
+ Volume 2 --- Appendix A Opcode Map
+ Volume 3 --- Chapter 6 Interrupt and Exception Handling
- _[pdf]_ **[AMD64 Architecture Programmer’s Manual Volume 1: Application Programming](https://www.amd.com/system/files/TechDocs/24592.pdf)**
- **[x86 and amd64 Instruction Reference](https://www.felixcloutier.com/x86/index.html)**
- _[pdf]_ **[Assembly Language: Function Calls - Jennifer Rexford](https://www.cs.princeton.edu/courses/archive/spr11/cos217/lectures/15AssemblyFunctions.pdf)**
- **[CS 301: Assembly Language Programming Lecture - Dr. Lawlor](https://www.cs.uaf.edu/2017/fall/cs301/lecture/09_11_registers.html)**
- **[DJGPP COFF Spec](http://www.delorie.com/djgpp/doc/coff/)**
- **[PE Format](https://docs.microsoft.com/en-us/windows/win32/debug/pe-format)**
- **[Physical Address Extension](https://docs.microsoft.com/en-us/windows/win32/memory/physical-address-extension)**
- **[Understanding the Import Address Table](http://sandsprite.com/CodeStuff/Understanding_imports.html)**

# Contributions

Feel free to leave your contribution here, I would really appreciate it!
Also, if you have any doubts or troubles using this library just contact me or leave an issue.