Concepts / Exploitation and privilege escalation

Exploitation and privilege escalation

Exploit frameworks and C2

Also called c2, command and control, beaconing, metasploit, team server, post-exploitation

The tooling a tester layers on a foothold to manage access: a listener on a team server, an implant that calls home, and a session to task — plus the beaconing it leaves for defenders to catch.

The implant calls home, again and again
The implant calls home, again and again

The connection goes out from the target, so inbound firewall rules miss it. Its steady interval is the pattern a defender can find, even when the traffic is encrypted.

An exploit framework, or C2 (command and control), such as Metasploit or Sliver, turns one fragile shell into a managed session. Three parts: a listener on the team server, an implant delivered to the target, and the session opened when the implant calls home. The call is outbound, so inbound firewall rules miss it. It repeats on an interval; this beaconing rhythm shows in flow logs even when encrypted.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab