
Hunting for Process Injection Techniques
FreeDetect and analyze process injection techniques on Windows.
Free · Opens the source repo
What Hunting for Process Injection Techniques does
The 'Hunting for Process Injection Techniques' skill is designed to assist security professionals in detecting and analyzing process injection methods used by adversaries. Process injection, categorized under MITRE ATT&CK T1055, allows malicious actors to execute code within the address space of another process, often bypassing traditional security measures. This skill utilizes Sysmon Event IDs 8 and 10 to identify suspicious activity associated with injection techniques such as CreateRemoteThread and DLL injection.
To effectively use this skill, users must have Sysmon configured to log relevant event IDs, including process creation logs. The skill parses JSON-formatted Sysmon logs to detect instances of CreateRemoteThread and analyze access rights associated with process interactions. By mapping source-target process relationships, the skill distinguishes between legitimate and potentially malicious injection attempts, providing a comprehensive overview of the threat landscape.
The output generated by this skill includes a JSON report detailing detected injection events, severity scores, and a relationship graph that visualizes the interaction between processes. Additionally, it offers recommendations for excluding false positives and aligns findings with the MITRE ATT&CK framework, ensuring that analysts can effectively communicate their findings and improve their security posture.
This skill is particularly useful for security operations center (SOC) analysts and incident responders who need structured procedures for investigating security incidents and validating their monitoring coverage against process injection techniques. By integrating this skill into their workflows, teams can enhance their threat-hunting capabilities and better protect their Windows environments.
When to use it
Use this skill when investigating security incidents related to process injection or when creating detection rules for threat hunting.
When not to use it
This skill may not be suitable for environments without Sysmon logging enabled or for users unfamiliar with parsing JSON logs.
What you can build with it
Incident Investigation
Use this skill to investigate security incidents involving suspected process injection on Windows endpoints.
Detection Rule Development
Leverage the skill to create detection rules for identifying process injection techniques in your security monitoring.
SOC Analyst Support
Provide SOC analysts with structured procedures for analyzing process injection events and improving incident response.
How to install Hunting for Process Injection Techniques
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/hunting-for-process-injection-techniques --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 mukul975Hunting for Process Injection Techniques
Overview
Process injection (MITRE ATT&CK T1055) allows adversaries to execute code in the address space of another process, enabling defense evasion and privilege escalation. This skill detects injection techniques via Sysmon Event ID 8 (CreateRemoteThread), Event ID 10 (ProcessAccess with suspicious access rights), and analysis of source-target process relationships to distinguish legitimate from malicious injection.
When to Use
- When investigating security incidents that require hunting for process injection techniques
- When building detection rules or threat hunting queries for this domain
- When SOC analysts need structured procedures for this analysis type
- When validating security monitoring coverage for related attack techniques
Prerequisites
- Sysmon installed with Event IDs 8 and 10 enabled
- Process creation logs (Sysmon Event ID 1 or Windows 4688)
- Python 3.8+ with standard library
- JSON-formatted Sysmon event logs
Steps
- Parse Sysmon Events — Ingest Event IDs 1, 8, and 10 from JSON log files
- Detect CreateRemoteThread — Flag Event ID 8 with suspicious source-target process pairs
- Analyze ProcessAccess Rights — Identify Event ID 10 with dangerous access masks (PROCESS_VM_WRITE, PROCESS_CREATE_THREAD)
- Build Process Relationship Graph — Map source-to-target injection relationships
- Filter Known Legitimate Pairs — Exclude known benign injection patterns (AV, debuggers, system processes)
- Score Injection Severity — Apply risk scoring based on source process, target process, and access rights
- Generate Hunt Report — Produce structured report with MITRE sub-technique mapping
Expected Output
- JSON report of detected injection events with severity scores
- Process injection relationship graph
- MITRE ATT&CK sub-technique mapping (T1055.001-T1055.012)
- False positive exclusion recommendations
Frequently asked questions about Hunting for Process Injection Techniques
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.
