To defend effectively, you must understand how attackers approach their targets. After eighteen years of thinking like an attacker professionally, I can tell you it is not about having the most sophisticated tools or zero-day exploits. It is about methodology, persistence, and a particular way of looking at systems that most defenders never develop. The best security improvements I have seen came from organizations that invested time in understanding the adversary perspective.
The Attacker Mindset
- Patience - Real attackers take time. They do not need to succeed today, or even this week. Advanced persistent threat groups have been known to maintain access to environments for months before executing their primary objective. During red team engagements, I have spent weeks performing quiet reconnaissance before making any aggressive moves, because rushing leads to detection. Defenders who expect attacks to be fast and loud will miss the slow and methodical ones.
- Creativity - When one path fails, find another. If the web application is well-hardened, check the VPN gateway. If the VPN is patched, try phishing. If phishing awareness is high, look at the supply chain. Attackers do not follow a rigid checklist; they adapt. I once gained access to a well-defended network by compromising a vendor's remote support tool that had been installed years earlier and forgotten about. The direct paths were all blocked, but the forgotten side door was wide open.
- Focus on the weakest link - Why attack the firewall when you can phish the intern? Why exploit a hardened server when the development environment has default credentials? Attackers naturally gravitate toward the path of least resistance. This is why organizations must think about security holistically rather than just hardening their most visible assets. The strength of your security is determined by its weakest component.
- Living off the land - Modern attackers increasingly use legitimate tools to avoid detection. PowerShell, WMI, PsExec, RDP, scheduled tasks: these are all standard administrative tools that blend in with normal activity. If your monitoring only looks for known malware signatures, you will miss an attacker who is using your own tools against you. During engagements, I frequently achieve objectives using only built-in Windows tools without ever dropping a traditional piece of malware.
Common Attack Patterns
- Initial Access - Phishing remains devastatingly effective despite years of awareness training. Exposed services like RDP, VPN gateways, or web applications with known vulnerabilities are another common vector. Supply chain compromises are increasingly prevalent. I also frequently find forgotten assets: old test servers or development environments exposed with weak credentials.
- Establish Persistence - Once inside, the priority is ensuring continued access through scheduled tasks, services, registry keys, web shells, or new accounts. During one engagement, I established three independent persistence mechanisms so that when the blue team removed one, I maintained access through the others.
- Internal Reconnaissance - Map the environment and find valuable targets. Attackers query Active Directory for privileged groups, scan internal networks, enumerate file shares, and identify trust relationships. This phase is often invisible because it uses standard protocols and legitimate queries.
- Lateral Movement - Pass-the-hash, Kerberoasting, token impersonation, abusing administrative shares: these techniques expand access from a single compromised workstation to the entire environment. Insufficient network segmentation typically becomes the critical weakness here.
- Achieve Objective - Data exfiltration, ransomware deployment, or long-term persistent access. The path follows remarkably consistent patterns regardless of the attacker's specific motivation.
What Defenders Get Wrong
The most common defensive mistake I observe is focusing exclusively on preventing initial access while neglecting detection and response for later attack stages. Even the best perimeter defenses will eventually be bypassed. Organizations need layered detection across the entire attack chain: monitoring unusual authentication patterns, detecting lateral movement, alerting on abnormal data access, and having the capability to contain intrusions when detected.
Defensive Implications
Defense in depth works because attackers need multiple things to go right. They need initial access, they need to avoid detection, escalate privileges, move laterally, and achieve their objective without triggering response. Make each step harder, and many will give up or get caught. Implement network segmentation, deploy endpoint detection, monitor authentication logs, and restrict administrative tool usage. Each additional layer significantly increases the difficulty for the attacker.
Applying This to Your Organization
Map your environment from an attacker's perspective. What is externally visible? Where are abusable trust relationships? What would happen if a single workstation were compromised: how far could an attacker get? These questions reveal gaps that vulnerability scanning misses. I regularly help organizations perform threat-informed assessments, and the findings consistently drive more effective improvements than simply chasing CVSS scores.
Comments
No comments yet. Be the first!
Leave a Comment