CCFR Module 5 – Analyzing Post-Attack Techniques
🔐 Module 5
Analyzing Post-Attack Techniques
🧒 Explained for a 10‑year‑old!
Learn what attackers do after they break in — how they stay hidden, move around, and steal data.
⏱️ Time: 4.5 hours
📌 Domain: Incident Response & Attack Analysis
🔗 NIST CSF: Detect (DE) / Respond (RS)
🕵️
Welcome, cyber detective! 🔍
Imagine a thief breaks into your school at night. They don't just grab one thing and run.
They might hide in a closet (persistence), walk through many rooms (lateral movement),
copy test answers (data exfiltration), and finally clean up their footprints (anti-forensics).
In this module, we'll learn all the tricks attackers use after a break-in.
Understanding these tricks helps us catch them and stop them from doing more damage!
🎯 What you'll learn
- Understand the attack lifecycle and what happens after initial entry
- Learn about command & control (C2) — how attackers control hacked computers
- Discover how attackers establish persistence to stay in systems
- Learn about lateral movement — how attackers spread through networks
- Understand data exfiltration — how attackers steal information
- Explore anti-forensics — how attackers cover their tracks
📚 Topics — What Attackers Do After Breaking In
Attackers follow a path after they first get in. It's like a game with multiple levels.
1. Recon
2. Weaponize
3. Deliver
4. Exploit
5. Install
6. C2
7. Move
8. Steal
9. Clean
● Entry |
● Post-attack |
● Deep inside
🎮 Game analogy: Imagine a video game where you have to:
1) Find the castle (recon), 2) Pick the lock (deliver/exploit),
3) Hide in a secret room (install/persistence), 4) Send messages to your team (C2),
5) Explore other rooms (lateral movement), 6) Grab treasure (exfiltration), and
7) Erase your footprints (anti-forensics).
That's exactly what cyber attackers do!
C2 is how attackers talk to hacked computers. It's like a remote control for a robot.
- Beaconing: The hacked computer "calls home" regularly to check for instructions
- DNS Tunneling: Hiding commands in normal-looking internet address requests
- HTTP/S Tunneling: Hiding commands in web traffic (like hiding a secret message in a normal email)
- ICMP Tunneling: Using "ping" messages to send commands
- Peer-to-Peer C2: Computers talk to each other instead of a central server (harder to stop!)
📡 Think of it like this: Imagine a spy who uses a secret radio to get orders from headquarters.
The radio signals are hidden in normal music broadcasts so nobody suspects anything.
That's exactly how C2 works — commands are hidden in normal internet traffic!
😲 Mind-blowing fact: In 2021, attackers used a C2 technique that hid commands in
Twitter posts! They'd post a tweet with a specific phrase, and hacked computers would read it
and follow the instructions. Genius and sneaky!
Attackers want to stay inside even if the computer restarts or security tries to remove them.
- Registry Keys (Windows): Setting up a program to run automatically when Windows starts
- Cron Jobs (Linux): Scheduling a malicious program to run regularly
- Scheduled Tasks: Creating automatic tasks that run at specific times
- Startup Folders: Placing a program in a folder that runs when you log in
- Services: Creating a fake "service" that looks important but is actually malicious
- Backdoor Accounts: Creating a secret user account they can use to log in later
🏚️ Home analogy: Imagine a burglar who hides a spare key under the doormat (backdoor account)
and sets an alarm to wake them up at 3am every day (scheduled task) — even if the homeowner finds them and kicks them out,
they can come back later. That's persistence!
Attackers don't just stay in one computer — they spread to others in the network to find more valuable data.
- Pass-the-Hash: Stealing a password "hash" and using it to log in to other computers without the real password
- Pass-the-Ticket (Kerberos): Stealing authentication tickets to impersonate a user
- RDP Exploitation: Using Remote Desktop to jump between computers
- SSH Keys: Stealing secure shell keys to access other servers
- Pivoting: Using one hacked computer as a "jump box" to attack others that are harder to reach
- BloodHound / SharpHound: Tools attackers use to map out the network and find the easiest path to the most valuable computers
🏢 Office analogy: Imagine a thief who gets into the mailroom. They find a master key card (password hash)
that opens all doors. They use it to get into the CEO's office, then the server room, and finally the HR filing cabinet.
That's lateral movement — moving from room to room to find treasure!
This is the attacker's final goal — to take valuable data out of the company.
- Data Staging: Collecting stolen data in one place before sending it out
- Compression: Squeezing data into a zip file to make it smaller and faster to steal
- Encryption: Locking the stolen data so nobody can read it if caught
- Cloud Storage: Uploading stolen data to Dropbox, Google Drive, or other cloud services
- Email: Emailing stolen data to themselves in small pieces
- DNS Exfiltration: Hiding stolen data in internet address requests (slow but stealthy)
- Steganography: Hiding stolen data inside pictures or videos (like invisible ink!)
⚠️ Why this is dangerous!
Stolen data can include customer credit cards, medical records, company secrets, or personal information.
This can hurt people and cost companies millions of dollars. That's why we need to stop it!
📦 Real example: In 2014, attackers stole 87 million customer records from a big company
by hiding the data in normal-looking network traffic over several months. Nobody noticed because the traffic looked
just like regular internet usage!
After the attack, bad guys try to erase evidence so nobody knows they were there.
- Deleting Logs: Removing or changing system logs that show what happened
- Clearing Event Logs (Windows): Deleting the "history" of events on a Windows computer
- Deleting Command History (Linux): Removing the list of commands they typed
- Shredding Files: Overwriting files so they can't be recovered (like shredding paper)
- Disabling Audit Logs: Turning off security logging before the attack even starts
- Timestamp Manipulation: Changing file dates and times to confuse investigators
- Rootkits: Special malware that hides deep in the system and is very hard to detect
🔍 Detective analogy: Imagine a burglar who wears gloves (no fingerprints), wipes down everything they touched (no DNA),
and steals the security camera footage (no video evidence). That's exactly what anti-forensics is — trying to make it
impossible for investigators to figure out what happened!
💡 Did you know? Some attackers use a technique called "Log Tampering" where they
change the logs to make it look like someone else did the attack. It's like framing someone else
for a crime you committed!
🎓 The Attack Aftermath — Quick Reference
📡 C2: How attackers control hacked computers
🏠 Persistence: How they stay inside
🚶 Lateral Movement: How they spread through the network
💾 Exfiltration: How they steal data
🧹 Anti-Forensics: How they cover their tracks
🔍 Detection: Watching for all of these signs!
📎 Fun resources for young learners
[1] NICCS, CertNexus CyberSec First Responder (CFR) – CISA
[5] Graduate School, CFR Certification Training Syllabus