Skip to content

Shellcode execution via x86 inline assembly based on MSVC syntax

Notifications You must be signed in to change notification settings

VirtualAlllocEx/Shell-we-Assembly

Repository files navigation

Shell-we-Assembly? Unleashing Assembly for Shellcode Execution

With this repository I share my experiences in rewriting a high level API shellcode dropper based on Windows APIs from C++ to x86 inline assembly based on MSVC syntax. More details in my related blog post https://redops.at/en/blog/shell-we-assemble-unleashing-x86-inline-assembly-for-shellcode-execution

Disclaimer

The content and all code examples in this article are for research purposes only and must not be used in an unethical context! The code used in the form of x86 inline assembly is not novel and I make no claim to it. Most of the code comes, as so often, from ired.team, thank you @spotheplanet for your brilliant work and sharing it with us all!

The purpose of this blog post is not to evaluate whether there is any benefit to using x86 inline assembly in the context of EDR evasion. Rather, it is about understanding the basics of x86 inline assembly in the context of shellcode execution.

References

Releases

No releases published

Packages

No packages published

Languages