Hunt keywords

From op7ic/amphunt · View interactive version

Hunt keywords is an AI agent skill from the GitHub repository op7ic/amphunt. Search for multiple keywords, IP addresses, SHA256 hashes, or string patterns across all endpoints. This is the most flexible hunting tool - use it for custom IOC searches, threat intel integration, a

How to use this skill

Skill file

Hunt: Keyword and IOC Search

Description

Search for multiple keywords, IP addresses, SHA256 hashes, or string patterns across all endpoints. This is the most flexible hunting tool - use it for custom IOC searches, threat intel integration, and ad-hoc investigations.

Scripts

Usage

# Search using a keyword file
python3 multikeyword_search.py -c config.txt keywords.txt

# Export results
python3 multikeyword_search.py -c config.txt keywords.txt --csv results.csv

Building Keyword Files

Create a text file with one keyword/IOC per line. Supports:

Pre-Built Keyword Files (keywordfiles/)

125 keyword files available including:

Common Hunt Patterns

Encoded PowerShell

echo "powershell.exe -enc" > ps_encoded.txt
echo "powershell.exe -encoded" >> ps_encoded.txt
echo "powershell.exe -e " >> ps_encoded.txt
echo "Invoke-Expression" >> ps_encoded.txt
echo "iex " >> ps_encoded.txt
python3 multikeyword_search.py -c config.txt ps_encoded.txt --csv encoded_ps.csv

Reconnaissance Commands

echo "whoami" > recon.txt
echo "net user" >> recon.txt
echo "net group" >> recon.txt
echo "net localgroup administrators" >> recon.txt
echo "ipconfig /all" >> recon.txt
echo "systeminfo" >> recon.txt
echo "nltest /dclist" >> recon.txt
echo "dsquery" >> recon.txt
python3 multikeyword_search.py -c config.txt recon.txt --csv recon_results.csv

Data Staging/Exfiltration

echo "rar.exe" > staging.txt
echo "7z.exe" >> staging.txt
echo "makecab" >> staging.txt
echo "compress" >> staging.txt
echo "tar.exe" >> staging.txt
python3 multikeyword_search.py -c config.txt staging.txt --csv staging.csv

When to Use

Follow-Up Skills

Triage Priority

Not all keyword matches are equal. Prioritize results:

| Priority | Indicators | Action |

|----------|-----------|--------|

| CRITICAL | sekurlsa, MiniDump, ntds.dit, dcsync | Immediate IR escalation |

| HIGH | -enc, Invoke-Expression, certutil -urlcache, bitsadmin /transfer | Investigate within 1 hour |

| MEDIUM | whoami, net user, systeminfo (recon) | Review in context of other activity |

| LOW | rar.exe, 7z.exe, tar.exe (staging) | Benign unless combined with exfil indicators |

A single LOW-priority match is rarely actionable alone. Look for clusters: recon commands on the same endpoint within the same time window, followed by staging or lateral movement.

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.