0xMohammedHassan/morphkatz — reverse-engineered prompt
Reverse engineered prompt
Build me a Windows x64 command line tool that takes a PE executable or raw shellcode and creates new variants that behave exactly the same but don’t have the same bytes. It should be for authorized security testing and detection engineering, not a live malware obfuscator.
I want to run one static exe, give it an input file, choose how many variants to make, set a seed so results are repeatable, and optionally point it at YARA rules or Defender so it can show which detections still hit. It should rewrite safe machine code patterns, handle flags correctly, avoid touching data that shouldn’t be decoded as code, and verify the output by disassembling it again.
Please include editable rewrite rules, data section morphing as an option, clean JSON and HTML reports showing what changed, and basic PE cleanup like checksums and timestamps. Make it buildable on Windows with Visual Studio or CMake, with tests and clear usage help.
Want more depth? Deep Reverse