
Detecting Process Hollowing Technique
FreeIdentify and analyze process hollowing threats effectively.
Free · Opens the source repo
What Detecting Process Hollowing Technique does
The Detecting Process Hollowing Technique skill provides a robust framework for identifying and analyzing process hollowing, a common tactic used by attackers to inject malicious code into legitimate processes. This skill is designed for security analysts and threat hunters who need to investigate suspicious activities within their environments, particularly when dealing with fileless malware or in-memory threats. By leveraging advanced telemetry from Endpoint Detection and Response (EDR) systems and memory forensics tools, users can gain insights into potentially compromised processes.
The skill utilizes a systematic approach to detect hollowing techniques, beginning with the analysis of memory-mapped sections and indicators of hollowed processes. It guides users through the essential steps of monitoring for processes created in a suspended state, checking for memory section anomalies, and examining parent-child process relationships. This methodical workflow allows for effective identification of processes that may appear legitimate but exhibit malicious behavior, such as unusual network connections or discrepancies between in-memory images and their on-disk counterparts.
To implement this skill, users must have access to EDR solutions with memory protection capabilities, Sysmon for event logging, and memory forensics tools like Volatility. The skill also emphasizes the importance of correlating suspicious process behavior with network activity, which is critical for identifying command and control (C2) communications often associated with hollowed processes. By documenting findings and isolating affected endpoints, security teams can enhance their incident response and improve their detection capabilities against evolving threats.
This skill is particularly valuable during purple team exercises, where red and blue teams collaborate to validate detection coverage against the MITRE ATT&CK framework, specifically technique T1055.012. By employing this skill, organizations can proactively defend against sophisticated attacks that leverage process hollowing as a means of evasion and persistence.
When to use it
Use this skill when investigating alerts related to process injection or when suspicious memory operations are detected in your environment.
When not to use it
This skill may not be suitable for environments lacking EDR capabilities or where memory forensics tools are not available.
What you can build with it
Investigating Suspicious svchost.exe
Use this skill to analyze a svchost.exe process suspected of being hollowed out to host malicious code, checking for memory mismatches and unusual behavior.
Responding to EDR Alerts
When your EDR solution alerts you to a potential process injection, deploy this skill to systematically investigate and confirm or mitigate the threat.
Conducting Purple Team Exercises
Utilize this skill during collaborative exercises to validate detection capabilities against the process hollowing technique as part of your security training.
How to install Detecting Process Hollowing Technique
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/detecting-process-hollowing-technique --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mukul975Detecting Process Hollowing Technique
When to Use
- When investigating suspected fileless malware or in-memory threats
- After EDR alerts on process injection or suspicious memory operations
- When hunting for defense evasion techniques in a compromised environment
- When threat intel reports indicate process hollowing in active campaigns
- During purple team exercises validating T1055.012 detection coverage
Prerequisites
- EDR with memory protection monitoring (CrowdStrike, MDE, SentinelOne)
- Sysmon with Event IDs 1 (Process Create), 8 (CreateRemoteThread), 25 (ProcessTampering)
- Windows ETW providers for process hollowing (Microsoft-Windows-Kernel-Process)
- Memory forensics capabilities (Volatility, WinDbg)
- Process integrity monitoring tools
Workflow
- Understand Hollowing Mechanics: Process hollowing involves creating a legitimate process in suspended state, unmapping its memory, writing malicious code, then resuming execution.
- Monitor Suspended Process Creation: Hunt for processes created with CREATE_SUSPENDED flag followed by memory writes and thread resumption.
- Detect Memory Section Anomalies: Identify processes where the in-memory image differs from the on-disk binary (image mismatch).
- Analyze Parent-Child Process Trees: Flag processes whose behavior does not match their binary name (e.g., svchost.exe making unusual network connections).
- Check Process Integrity: Compare process memory sections against the legitimate binary on disk.
- Correlate with Network Activity: Hollowed processes often establish C2 connections - correlate suspicious process behavior with network logs.
- Document and Contain: Report findings, isolate affected endpoints, and update detection rules.
Key Concepts
| Concept | Description |
|---|---|
| T1055.012 | Process Injection: Process Hollowing |
| T1055 | Process Injection (parent technique) |
| T1055.001 | DLL Injection |
| T1055.003 | Thread Execution Hijacking |
| T1055.004 | Asynchronous Procedure Call |
| CREATE_SUSPENDED | Windows flag to create a process in suspended state |
| NtUnmapViewOfSection | API to unmap process memory sections |
| WriteProcessMemory | API to write into another process's memory |
| ResumeThread | API to resume a suspended thread |
| Image Mismatch | Process memory content differs from on-disk binary |
| Process Doppelganging | Related technique using NTFS transactions (T1055.013) |
Tools & Systems
| Tool | Purpose |
|---|---|
| CrowdStrike Falcon | Memory protection and hollowing detection |
| Microsoft Defender for Endpoint | ProcessTampering alerts |
| Sysmon v13+ | Event ID 25 ProcessTampering detection |
| Volatility | Memory forensics - malfind plugin |
| pe-sieve | Process memory scanner for hollowed processes |
| Hollows Hunter | Automated hollowed process detection |
| Process Hacker | Live process memory inspection |
| API Monitor | Monitor NtUnmapViewOfSection calls |
Common Scenarios
- Svchost.exe Hollowing: Malware creates svchost.exe suspended, hollows it, injects backdoor code - process appears legitimate but behaves maliciously.
- Explorer.exe Hollowing: Attacker hollows explorer.exe to inherit its network permissions and trusted process context.
- Rundll32 Hollowing: Malicious loader creates rundll32.exe, replaces its memory with implant code for C2 beaconing.
- Multi-Stage Hollowing: Loader uses process hollowing as first stage, then performs additional injection into services.
Output Format
Hunt ID: TH-HOLLOW-[DATE]-[SEQ]
Technique: T1055.012
Hollowed Process: [Process name and PID]
Original Binary: [Expected on-disk path]
Parent Process: [Parent name and PID]
Memory Mismatch: [Yes/No]
Suspicious APIs: [NtUnmapViewOfSection, WriteProcessMemory, etc.]
Network Activity: [C2 connections if any]
Host: [Hostname]
User: [Account context]
Risk Level: [Critical/High/Medium/Low]
Frequently asked questions about Detecting Process Hollowing Technique
Similar skills
Asset Criticality Scoring for Vulns
Prioritize vulnerabilities based on asset criticality.
Performing Alert Triage with Elastic SIEM
Streamline alert triage processes in Elastic Security.
Active Directory Vulnerability Assessment
Secure your Active Directory with comprehensive assessments.
Active Directory Investigation
Streamline your Active Directory compromise investigations.
Parsing Artifacts with Eric Zimmerman Tools
Efficiently parse Windows forensic artifacts for analysis.
Operationalizing MISP Threat Feeds
Enhance threat detection with curated MISP feeds.
