
Aggressorscript che trasforma il client Aggressor headless in un client di Cobalt Strike (per lo più) funzionante.
Script Aggressor che trasforma il client aggressor headless in un client Cobalt Strike (per lo più) funzionante.
./agscript host port user password
aggressor>
load headless-strike.cna
[+] Load headless-strike.cna
█▀▀ █▀█ █▄▄ ▄▀█ █░░ ▀█▀ █▀ ▀█▀ █▀█ █ █▄▀ █▀▀
█▄▄ █▄█ █▄█ █▀█ █▄▄ ░█░ ▄█ ░█░ █▀▄ █ █░█ ██▄ (headless)
https://github.com/CodeXTF2/cobaltstrike-headless
aggressor>
Attualmente, sono implementati i seguenti comandi beacon:
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
La sintassi è la stessa del client GUI. Gli unici di cui dovresti prendere nota sono:
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
Recentemente mi sono divertito un po' con nethunter (kali mobile) e ho pensato che sarebbe stato divertente poter comandare i beacon quando non si è al computer, ad esempio se una notifica beacon di slack/discord arrivava mentre l'operatore era fuori. Questa è stata la mia soluzione (hacky) :D Sentiti libero di aprire issue o PR ecc.
Buon divertimento!