Automatic Generation of Compact Printable Shellcodes for x86
summary
Tool PSC generates printable x86 shellcode by encoding every two input bytes into three output bytes and adding 0x3F so encoded bytes lie in 0x3F–0x7E, then restores the original with a runtime decoder and a small XOR patcher. Decoder overhead is a fixed 146-byte decoder, plus the encoded payload; overall output is about 40–50% smaller than the Riley Eller approach and outperforms it for inputs larger than 45 bytes (beats alpha3 only past ~236 bytes).
AI-written summary · about
chapters (7)
- 0:00Introduction to PSC
- 0:57Need for printable shellcode
- 2:00Current state of the art
- 4:11Design principles of PSC
- 5:21PSC architecture and testing
- 13:05Comparative analysis
- 16:57Conclusion and future work
related talks
57mReturn Oriented Programming, an introduction
30mThe Hidden ART Of Rolling Shellcode Decryption
57mMake ARM Shellcode Great Again
11mcompilers HATE him: use this ONE WEIRD TRICK to hide a message...!
57mReturn Oriented Programming, an introduction
01h 00mCode emulation ... radare2's ESIL
35mCommSec D2 - Automatic Generation of ROP Chains
01h 00mJust enough Assembly for Compiler Explorer
