Detecting process injection in memory

From meltedinhex/analyst-ai-pack · View interactive version

Detecting process injection in memory is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Detects process injection in a memory image by identifying private executable regions with no file backing, RWX protections, and modified entry points using Volatility 3 malfind-style analysis. Activates for requests to detect process injection, find injected code in memory, or triage suspicious exe

How to use this skill

Skill file

Detecting Process Injection in Memory

When to Use

allocations (classic injection/hollowing signs).

Do not use this on a live production host without authorization — work from an acquired image.

This skill interprets analysis output; run Volatility separately on the image.

Prerequisites

Safety & Handling

Workflow

Step 1: Run malfind and capture output

vol -f memory.raw windows.malfind > malfind.txt

Step 2: Score injection candidates

python scripts/analyst.py score malfind.txt

Flags regions with PAGE_EXECUTE_READWRITE, MZ/PE headers in private memory, and shellcode-like

disassembly hints, ranking processes by suspicion.

Step 3: Corroborate

Cross-check flagged PIDs with windows.vadinfo (private, executable, no mapped file) and the

process tree for anomalous parents.

Step 4: Carve and route

Carve the injected region for follow-on shellcode/PE recovery and analysis.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.