Listener types, beacon payload formats, and interaction commands for Cobalt Strike.
Egress Listeners
Egress listeners allow a Beacon to communicate outside the target network to the team server.
HTTP
Beacon sends and receives C2 messages over HTTP GET and/or POST requests.
DNS
Beacon communicates over DNS lookup/response types (A, AAAA, TXT). TXT records are used by default as they hold the most data. Requires DNS records for a domain the team server is authoritative for.
OPSEC: The team server’s default DNS response is 0.0.0.0, which can be fingerprinted. Change this in the Malleable C2 profile.
Peer-to-Peer (P2P) Listeners
P2P listeners chain Beacons in parent/child relationships — they don’t communicate with the team server directly. Use these to access segregated networks or reduce traffic volume to the team server.
SMB
Single option: named pipe name. Default is msagent_## (random hex).
OPSEC: The default pipe name is well signatured. Emulate names used by common applications or Windows itself:
ls \\.\pipe\
TCP
Binds and listens on a specified port. Can bind to localhost only (127.0.0.1) or all interfaces (0.0.0.0).
Beacon Payload Types
Type
Description
Listeners
Arch
HTML Application
.hta file with embedded VBScript
Egress only
x86 only
MS Office Macro
VBA for macro-enabled Word/Excel
Egress only
x86 + x64
Stager Payload Generator
Stager in C, C#, PS, Python, VBA
Egress only
x86 + x64
Stageless Payload Generator
Full payload, exit function option
Egress + P2P
x86 + x64
Windows Stager Payload
Pre-compiled EXE, Service EXE, DLL
Egress only
x86 + x64
Windows Stageless Payload
Pre-compiled EXE, DLL, shellcode, PS
Egress + P2P
x86 + x64
Generate All Payloads
Every stageless variant for all listeners
All
x86 + x64
(S) indicates a stageless payload. Staged payloads are smaller but more easily signatured.
Staged vs Stageless
Staged: Small initial stager fetches full payload. Useful for size-constrained delivery but creates an additional network callback.
Stageless: Full payload in one binary. Larger on disk but no second fetch.