christophetd/spoofing-office-macro
À propos
:fish: Preuve de concept d’une macro VBA qui lance un processus en falsifiant son processus parent et sa ligne de commande.
Outils de développementProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalThis repository contains an example of a VBA macro spawning a process with a spoofed parent and command line. Companion blog post: Building an Office macro to spoof parent processes and command line arguments
Demo
Click for full size.

Notes
The 32-bit initial PoC was written and tested by myself, on Windows 10 with Office Professional Plus 2016, version 1902.
The 64-bit version is a contribution brought by @py7hagoras.
The size of the original command line stored in
originalClineeds to be greater than the size of the real one stored incmdStr
Acknowledgments & inspiration
- "Red Teaming in the EDR age" by Will Burgess
- https://blog.xpnsec.com/how-to-argue-like-cobalt-strike/
- https://twitter.com/subtee
Disclaimer
You are solely responsible for the use you make of this PoC. I assume no liability for any misuse or damage caused by this program.
Explorer des projets similaires
Chargement…