meltedinhex/analyst-ai-pack / skills/hunting-lolbin-abuse-on-windows
hunting-lolbin-abuse-on-windows
VerifiedHunts for living-off-the-land binary (LOLBin) abuse in Windows process-creation telemetry by flagging trusted system binaries used with download, execution-proxy, or encoded-command arguments. Activates for requests to hunt LOLBins, detect signed-binary proxy execution, or find suspicious certutil/mshta/regsvr32 usage.
Hunting LOLBin Abuse on Windows
When to Use
- You have process-creation telemetry (Sysmon Event ID 1 or EDR process events as CSV/JSON) and want to surface trusted binaries used for malicious proxy execution or download.
- You are building a detection from known LOLBin argument patterns.
Do not use this as a blocklist of the binaries themselves — they are legitimate. Hunt on the suspicious argument/parent context, not mere presence.
Prerequisites
- Process-creation events with image path, command line, and (ideally) parent image.
Workflow
Step 1: Score LOLBin invocations
python scripts/analyst.py hunt events.csv
Flags known LOLBins (certutil, mshta, regsvr32, rundll32, bitsadmin, msiexec,
installutil, wmic) paired with suspicious arguments (-urlcache, http, javascript:,
scrobj, -decode, DownloadString).
Step 2: Add context
Weight by anomalous parent (Office, browser, script host) and unusual execution path.
Step 3: Triage and confirm
Investigate the top-scoring events; confirm whether the download/proxy behavior is legitimate administration or malicious.
Step 4: Operationalize
Convert confirmed patterns into a Sigma rule for ongoing detection.
Validation
- Flags require a suspicious argument/parent, not just the binary name.
- Known-benign administrative patterns are distinguishable from abuse in the output.
- Each flagged technique maps to an ATT&CK ID (T1218.x / T1105).
Pitfalls
- Alerting on
rundll32/regsvr32presence alone — extremely noisy. - Missing renamed LOLBins (hash/signature checks help, name checks do not).
- Encoded-command obfuscation hiding the true argument intent.
References
- See
references/api-reference.mdfor the hunter. - ATT&CK T1218 and the LOLBAS project (linked in frontmatter).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |