Understanding who attacks, why they attack, and how we defend
Understanding who poses a threat is the first step in building effective defenses. Threat actors vary widely in their skills, resources, and motivations. Let's explore the different types:
Inexperienced attackers who use pre-made tools and scripts without understanding how they work. Often motivated by curiosity, fame, or just causing mischief.
Attackers motivated by political or social causes. Use hacking to promote their ideology, expose information, or disrupt organizations they oppose.
Attackers motivated by financial gain. Operate like businesses, with specialized roles. Deploy ransomware, steal data for sale, conduct fraud and extortion.
Current or former employees, contractors, or partners with legitimate access. Can be malicious (intentional) or negligent (accidental). Very difficult to detect.
State-sponsored hackers with virtually unlimited resources, advanced capabilities, and patience. Conduct espionage, sabotage, and cyber warfare operations.
Business rivals engaging in corporate espionage to steal trade secrets, customer lists, pricing strategies, or proprietary technology for competitive advantage.
Understanding why attackers target systems helps predict their behavior and prioritize defenses. Different motivations lead to different attack patterns.
| Motivation | Description | Typical Targets | Attack Methods |
|---|---|---|---|
| Financial Gain | Direct monetary profit through theft, extortion, or fraud | Banks, healthcare, retail, any organization with valuable data | Ransomware, credit card theft, business email compromise |
| Espionage | Stealing state secrets, military intel, or intellectual property | Government, defense contractors, research institutions, tech companies | APT campaigns, spear phishing, supply chain attacks |
| Ideology | Promoting political/social causes, making statements | Governments, corporations, controversial organizations | Website defacement, DDoS, data leaks |
| Revenge | Retaliation for perceived wrongs, often by insiders | Former employers, specific individuals | Data destruction, sabotage, data leaks |
| Challenge/Fame | Proving technical skills, gaining recognition in hacker communities | "High-value" targets for bragging rights | Varies, often public disclosure of exploits |
An attack vector is the path or method an attacker uses to gain access to a target system. Understanding these vectors helps organizations build layered defenses.
| Vector | How It Works | Real Examples |
|---|---|---|
| Phishing emails with malicious attachments (PDFs, Office docs with macros) or links to credential harvesting sites | 91% of cyberattacks start with phishing email | |
| Web | Drive-by downloads from compromised/malicious websites, browser exploits, malvertising | Watering hole attacks targeting specific industries |
| Removable Media | Infected USB drives, external hard drives left in public places or sent as "gifts" | Stuxnet spread via USB to air-gapped Iranian nuclear facilities |
| Social Engineering | Manipulating humans through phone calls, in-person interactions, pretexting | 2020 Twitter hack, where employees were tricked into providing credentials |
| Supply Chain | Compromising software vendors to distribute malware through legitimate updates | SolarWinds attack compromised 18,000+ organizations |
| Physical Access | Direct access to facilities, servers, or devices through tailgating, social engineering, or breaking in | Installing hardware keyloggers, evil maid attacks |
Developed by Lockheed Martin, the Cyber Kill Chain describes the stages of a cyberattack from initial reconnaissance to achieving objectives. Understanding this framework helps defenders identify and disrupt attacks at any stage.
| Stage | Attacker Activity | Defender Response |
|---|---|---|
| 1. Reconnaissance | Research target: OSINT, port scanning, identifying vulnerabilities | Minimize public info, web scraping detection, log analysis |
| 2. Weaponization | Create malicious payload (malware + exploit) | Threat intelligence, vulnerability management |
| 3. Delivery | Send weapon to target (email, web, USB) | Email filtering, web proxy, endpoint protection |
| 4. Exploitation | Trigger vulnerability to execute code | Patch management, DEP, ASLR, application whitelisting |
| 5. Installation | Install persistent backdoor/malware | EDR, AV, file integrity monitoring, HIDS |
| 6. Command & Control | Establish communication with attacker infrastructure | Network monitoring, DNS filtering, firewall egress rules |
| 7. Actions on Objectives | Achieve goal: data theft, destruction, ransomware | Data loss prevention, network segmentation, incident response |
MITRE ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) is a comprehensive knowledge base of adversary tactics and techniques based on real-world observations. It's used for threat modeling, detection engineering, and red team exercises.
Explore the full framework at: attack.mitre.org
Defense in Depth is a security strategy that employs multiple layers of defense so that if one layer fails, others are in place. Think of it like a medieval castle: you don't rely on just the outer wall; you have moats, inner walls, towers, and guards.
The outermost layer protects physical access to facilities and hardware.
Protecting the network infrastructure and controlling traffic flow.
Protecting individual devices (laptops, desktops, servers, mobile).
Securing software and applications from vulnerabilities.
Protecting the data itself, regardless of where it resides.
The human layer covers training and policies for people.
Imagine an attacker trying to breach a medieval castle:
Each layer makes the attack harder and increases the chance of detection!
Modern security organizations often structure their teams by function. The color-coded team model helps define roles and responsibilities in offensive and defensive security operations.
Offensive Security: Simulates real-world attackers to test defenses. Tries to breach security controls using any means necessary, just like actual adversaries.
Defensive Security: Monitors, detects, and responds to security threats. Builds and maintains security infrastructure and processes.
Collaborative Security: Bridges the gap between Red and Blue teams. Facilitates knowledge sharing to improve both offensive and defensive capabilities.
| Aspect | Red Team | Blue Team | Purple Team |
|---|---|---|---|
| Primary Goal | Find weaknesses | Detect & defend | Improve both |
| Mindset | Attacker | Defender | Collaborator |
| Approach | Break things | Fix things | Test & validate |
| Output | Penetration test reports | Detection alerts, IR reports | Detection improvements |
| Success Metric | Vulnerabilities found | Threats detected/stopped | Detection coverage % |