mirror of
https://github.com/JkMaFlLi/xorInject
synced 2026-06-06 15:54:31 +00:00
main
XOR Encrypted Shellcode Execution via Desktop Enumeration
Description
This Boo language script demonstrates an alternative method for shellcode execution using Windows desktop enumeration callbacks. The implementation includes XOR encryption for additional obfuscation and leverages the .NET framework through Boo's Python-inspired syntax.
Features
- XOR Decryption: Runtime decryption of shellcode using XOR operation
- Desktop Enumeration: Utilizes
EnumDesktopWindowsfor execution - Memory Management: Implements proper memory allocation and protection
- Callback Implementation: Uses delegate-based callback mechanism
Technical Details
Components
- Memory Allocation: Uses
VirtualAllocwithPAGE_EXECUTE_READWRITEprotection - Desktop Handling: Leverages
GetThreadDesktopfor current desktop context - Shellcode Processing: Converts MAC-address formatted encrypted bytes to executable code
- Execution Method: Implements callback-based execution through desktop window enumeration
Prerequisites
- Boo compiler
- .NET Framework
- Windows environment
- Python (for shellcode encryption)
Usage
- Encrypt your shellcode using the provided Python script
- Insert the encrypted shellcode into the Boo script
- Compile and execute the Boo script
Description
Languages
Boo
100%