
Aggressorscript, das den headless Aggressor-Client in einen (weitgehend) funktionsfähigen Cobalt-Strike-Client verwandelt.
Aggressorscript, das den headless Aggressor-Client in einen (weitgehend) funktionsfähigen Cobalt-Strike-Client verwandelt.
./agscript host port user password
aggressor>
load headless-strike.cna
[+] Load headless-strike.cna
█▀▀ █▀█ █▄▄ ▄▀█ █░░ ▀█▀ █▀ ▀█▀ █▀█ █ █▄▀ █▀▀
█▄▄ █▄█ █▄█ █▀█ █▄▄ ░█░ ▄█ ░█░ █▀▄ █ █░█ ██▄ (headless)
https://github.com/CodeXTF2/cobaltstrike-headless
aggressor>
Derzeit sind die folgenden Beacon-Befehle implementiert:
beacons
blockdlls
cd
clear
dcsync
dir
download
downloads
drives
execute
execute-assembly
exit
getsystem
getuid
hashdump
help
help
history
info
inject
ipconfig
jobkill
jobs
jump
keylogger
keystrokes
kill
link
logonpasswords
make_token
mimikatz
mkdir
mv
net
note
powerpick
powerpick_inject
powershell
powershell_import
powershell_import_clear
ppid
ps
pwd
reload
remove
rev2self
rm
run
runu
screenshot
screenwatch
shell
shinject
shspawn
sleep
socks
socks_stop
spawn
spawnto
steal_token
sync_download
unlink
upload
use
Die Syntax ist dieselbe wie im GUI-Client. Die einzigen, die du beachten solltest, sind:
aggressor>
reload headless-strike.cna
[+] Reload headless-strike.cna
█▀▀ █▀█ █▄▄ ▄▀█ █░░ ▀█▀ █▀ ▀█▀ █▀█ █ █▄▀ █▀▀
█▄▄ █▄█ █▄█ █▀█ █▄▄ ░█░ ▄█ ░█░ █▀▄ █ █░█ ██▄ (headless)
https://github.com/CodeXTF2/cobaltstrike-headless
beacons
[+] Listing beacons
______________________
| beacon id |
1615823462 ( x64 ) ⛓ | IEUser @ MSEDGEWIN10 ( runonce.exe - 3228 ) | last: 49s | listener https (via 1100299032)
1100299032 ( x64 ) | IEUser @ MSEDGEWIN10 ( beacon.exe - 7048 ) | last: 49s | listener https
use 1615823462
[+] Interacting with beacon 1615823462
Ich hatte vor kurzem etwas Spaß mit Nethunter (mobile Kali) und dachte, es wäre eine lustige Sache, Beacons Aufgaben erteilen zu können, während man nicht am Computer ist, zum Beispiel wenn eine Slack-/Discord-Beacon-Benachrichtigung hereinkommt, während der Operator draußen ist. Das war meine (hackige) Lösung :D Fühl dich frei, Issues oder PRs einzureichen usw.
Viel Spaß!