Loki
IOC & YARA scanner for compromise checks
Open source. Platform: Windows.
What it is
An open-source IOC and YARA scanner for checking endpoints for signs of known compromise.
Why it matters
It provides a quick, free way to sweep a host for known indicators during triage.
In practice
Loki matches a filename IOC and a YARA rule, flagging a host as suspicious.
Install
Download the source .zip from GitHub releases and run with Python 3. Note: Loki is in inactive maintenance; the author recommends LOKI RS or THOR Lite instead
Commands
- Scan every local drive for IOCs and YARA matches
python loki.py -p C:\ --alldrives
- Run an intense scan (checks unknown file types and all extensions) and emit CSV output for machine processing
python loki.py -p C:\ --intense --csv
- Scan a specific directory without writing a local log file (stdout only)
python loki.py -p /mnt/evidence --nolog
Similar tools
- VirusTotal: Multi-engine file/URL/hash reputation & intel
- MalwareBazaar: Search & download malware samples (abuse.ch)
- ThreatFox: IOC search & sharing (abuse.ch)