From 78cb8ad1166ea1ce17ca1cf1043498deb37d59f0 Mon Sep 17 00:00:00 2001 From: Dobin Rutishauser Date: Thu, 19 Jun 2025 20:46:21 +0200 Subject: [PATCH] feature: add doc in project --- app/static/styles.css | 5 ++- app/templates/index.html | 86 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) diff --git a/app/static/styles.css b/app/static/styles.css index 6919cfe..bbfa829 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -40,9 +40,12 @@ } .indent { - margin-top: 1em; + margin-top: 1.0em; margin-left: 1em; } + .indent h3 { + margin-top: 0.7em; + } .matchesview { padding-left: 4px !important; diff --git a/app/templates/index.html b/app/templates/index.html index f541191..91c3575 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -10,6 +10,92 @@

SuperMega

+

Shellcode

+ --shellcode <filename.exe>
+ + The payload shellcode, like your CobaltStrike beacon. Should be x64.
+ Located in the data/binary/shellcodes/ directory.
+ + +

Injectable

+ --inject <filename.exe>
+ + A 64-bit Windows PE executable used as a trojan. The shellcode will be injected in this EXE. + The original functionality of the EXE will not work anymore (it will only execute the carrier + with the shellcode it is carrying) +
+ Located in the data/binary/exes/ directory.
+ + +

Carrier

+ --carrier <carrier_name>
+ + The code which loads the payload shellcode. This includes allocating memory, + changing its permissions, and then finally executing it. It has the main() function + (and will include Decoder, Anti-Emulation, and Guardrail modules).
+ Located in the data/source/carrier directory
+ + + + The shellcode has a payload location of either:: + + + + With --payload_location <carrier_name>. Depending on the carrier, one or + the other may be preferred. For example, change_rw_rx can be adjusted accordingly. + + +

Decoder

+ + --decoder <decoder_name>
+ How the payload is encrypted & decrypted.
+ + + +

Anti-Emulation

+ --antiemulation <anti_emulation_name>
+ + +

Guardrail

+ +

Carrier Invoke

+ + How the carrier (which will load the payload shellcode) is invoked.
+ --carrier_invoke <carrier_invoke_name>
+ + + +

Fix IAT

+ + The carrier, or one of its modules, like the decoder, antiemulation, or guardrail, may require imports like + Windows kernel32.dll functions. If these are not available in the injectable, the IAT is being patched + for the required imports automatically. This will change the IAT of the injectable, which makes it less stealthy. +
+
+ If you want to keep maximum stealth, use --no-fix-iat and adjust your carrier/modules or exe + manually. + +