hunting-for-process-injection-techniques
What it does
This tool looks for ways malicious code might be hidden inside other programs on Windows computers. It analyzes security logs to find suspicious activity that could indicate an attack.
When to use it
- βWhen you suspect an attack is trying to hide on your computer.
- βWhen investigating security incidents to understand how attacks happened.
- βTo check if your security tools are ready to detect these types of attacks.
Skill link
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-process-injection-techniques/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHunt for code injection in suspicious processes.β
5 new skills a week. 1 minute to read.
How it works
It compares security event information (Sysmon) that records when one program creates or accesses another. If a program accesses another in an unusual or dangerous way, the tool flags it as suspicious.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Hunting 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
FAQ
What is 'process injection'?
It's a technique attackers use to run malicious code inside a legitimate program, making it harder to detect.
What programs are needed?
You need Sysmon installed and configured to log specific events, and your security logs must be in JSON format.
What does the tool do with the results?
It creates a report of suspicious events found, indicates the risk level, and suggests how to avoid false alarms.
Details
Original description by the author
Detects process injection techniques (MITRE T1055) β including CreateRemoteThread injection, process hollowing, and DLL injection β by analyzing Sysmon Event IDs 8 (CreateRemoteThread) and 10 (ProcessAccess) alongside EDR process telemetry. Use when hunting for in-memory code injection or defense evasion via legitimate process abuse on Windows endpoints.
Popularity
- GitHub stars
- 35k
- Ranking position
- #7967
- License
- Apache-2.0
- Updated
- 8/31/2026
Comments
- β¦
More skills from this repository
abusing-dpapi-for-credential-access
35kGives your AI agent ready-made instructions for a specific task, so it does it better and faster.
abusing-shadow-credentials-for-privesc
35kTeaches your AI agent to write clear, well-structured text.
achieving-cmmc-level-2-compliance
35kHelps your agent prepare an environment for CMMC Level 2 compliance. It implements security requirements and manages necessary documentation.
acquiring-disk-image-with-dd-and-dcfldd
35kHelps your agent create exact copies of hard drives. This is useful for ensuring no information is lost or altered during investigations.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.