How attackers hide from security controls and detection
Modern security defenses are layered: firewalls, IDS/IPS, EDR, SIEM. Attackers must bypass multiple detection mechanisms to succeed. Understanding evasion helps defenders:
Click each technique to learn more.
Using TLS/SSL to hide C2 communication from inspection
Hiding malicious traffic inside legitimate protocols (DNS, HTTPS, ICMP)
Base64, XOR, custom encoding to bypass pattern matching
Splitting payloads across packets or time to evade inspection
Hiding data in images, audio, or other innocent-looking files
Changing malware code each execution to evade signatures
Making malicious code harder to analyze and detect
Try decoding these common obfuscation methods:
Attackers use various techniques to hide malicious PowerShell:
| Indicator | What It Suggests |
|---|---|
-e or -enc flag |
Base64 encoded PowerShell command |
FromBase64String |
Runtime decoding of encoded content |
| Unusual variable names | Auto-generated obfuscated code |
| String concatenation | Hiding keywords from detection |
| Tick marks in commands | Breaking up detectable strings |
Using legitimate system tools for malicious purposes
"Living Off the Land" (LOTL) refers to attackers using built-in operating system tools rather than custom malware. This makes detection difficult because:
| Strategy | Implementation |
|---|---|
| Command-line logging | Enable PowerShell ScriptBlock logging, Sysmon |
| Behavioral analytics | Monitor for unusual parent-child process relationships |
| Network correlation | Flag certutil/bitsadmin making external connections |
| Baseline comparison | Alert on first-time use of LOLBins by users |
Test your understanding of evasion and obfuscation