Command Reference
Verified DFIR commands, grouped by platform.
Command lines for the tools in the catalog, the ones worth having in muscle memory. Each was checked against the tool's own documentation or help output.
GUI-only tools have no rows here on purpose. Open the tool catalog for what each one is and how to install it.
190 rows.
| Tool | Command | What it does |
|---|---|---|
| libewf | ewfacquire /dev/sdb | Acquire a device to a compressed, hashed E01 image, prompting for the case metadata |
| libewf | ewfinfo evidence.E01 | Print the metadata and stored hashes of an existing E01 without reading the whole image |
| libewf | ewfverify evidence.E01 | Verify an image against the hashes recorded inside it at acquisition time |
| libewf | ewfmount evidence.E01 /mnt/ewf | Mount an E01 as a raw device file so tools that only understand dd can read it |
| bulk_extractor | bulk_extractor -o output/ evidence.dd | Scan a disk image and write every extracted feature type into an output directory |
| bulk_extractor | bulk_extractor64.exe -o output \\.\PhysicalDrive0 | Scan a physical drive directly on Windows |
| bulk_extractor | bulk_extractor -o output/ -E email evidence.dd | Run only the scanners you need, which is far faster than the full default set |
| Volatility 3 | vol -f memory.dmp windows.pslist | List running processes from a memory image |
| Volatility 3 | vol -f memory.dmp windows.netscan | Recover network connections and listening sockets from a memory image |
| Volatility 3 | vol -f memory.dmp windows.cmdline | Show the full command line each process was launched with |
| MemProcFS | MemProcFS.exe -device memory.dmp -mount m | Mount a memory image as a live, browsable virtual file system |
| MemProcFS | MemProcFS.exe -device memory.dmp -forensic 1 -forensic-yara-rules rules.yar | Mount in forensic mode (builds a SQLite index) and run a Yara rule set across it |
| MemProcFS | MemProcFS.exe -device memory.dmp -pagefile0 pagefile.sys -pagefile1 swapfile.sys | Mount a dump alongside its page/swap files for more complete memory recovery |
| Autopsy | autopsy64.exe --caseName="case1" --caseBaseDir="C:\work\cases" --addDataSource --runIngest --dataSourcePath="R:\images\evidence.img" | Create a case, add a disk image, and run all ingest modules headlessly |
| Autopsy | autopsy64.exe --caseName="case1" --caseBaseDir="C:\work\cases" --generateReports | Generate case reports (default profile) from the command line without re-running ingest |
| Autopsy | autopsy64.exe --caseName="case1" --caseBaseDir="C:\work\cases" --listAllDataSources | List every data source already added to a case, with its object ID |
| Autopsy | autopsy64.exe --listAllIngestProfiles | List all available ingest profiles that --runIngest can target by name |
| The Sleuth Kit | fls -r -m "C:/" image.dd > bodyfile.txt | List all files (deleted and allocated) into a timeline bodyfile |
| The Sleuth Kit | mmls image.dd | Show the partition layout of a raw disk image before targeting a specific volume |
| The Sleuth Kit | tsk_recover -e image.dd /case/recovered | Recover every file (allocated and unallocated) from a file system into an output directory |
| The Sleuth Kit | icat -r image.dd 61370-128-1 > recovered_file.bin | Extract a single file's contents from an image by inode number, including deleted-file recovery |
| Plaso (log2timeline) | log2timeline.py --storage-file timeline.plaso image.dd | Extract a super-timeline from a disk image into a Plaso storage file |
| Plaso (log2timeline) | log2timeline.py -f filter.txt --storage-file timeline.plaso image.dd | Extract only the artifacts matched by a filter file (targeted, faster than a full image walk) |
| Plaso (log2timeline) | psort.py -o l2tcsv -w timeline.csv timeline.plaso | Post-process a completed storage file, converting it to legacy log2timeline CSV format |
| Timesketch | timesketch import --name "case1" /path/to/timeline.plaso | Import a Plaso timeline into a new Timesketch case |
| Timesketch | timesketch search --query "powershell.exe" --limit 50 | Search an existing sketch by query string and print matching events |
| Timesketch | timesketch analyze run --analyzer browser_search --timeline 1 | Run a server-side analyzer against a timeline to auto-tag findings |
| Velociraptor | velociraptor.exe gui (Windows) / ./velociraptor gui (Linux/macOS) | Launch the local GUI to query endpoints with VQL |
| Velociraptor | velociraptor query "SELECT Pid, Name FROM pslist()" --format=csv | Run a single ad-hoc VQL query locally and print the results as CSV |
| Velociraptor | velociraptor artifacts collect Generic.Client.DiskUsage --output collection.zip | Collect a named artifact from the local host into a self-contained, password-protectable zip (offline collection) |
| Wireshark | tshark -r capture.pcap -Y "http" | Filter a capture file to just HTTP traffic (tshark, the CLI companion) |
| Wireshark | tshark -r capture.pcap --export-objects http,/path/to/output_dir | Extract embedded files (e.g. downloaded executables/documents) reassembled from HTTP streams into a directory |
| Wireshark | tshark -r capture.pcap -T fields -e ip.src -e ip.dst -e http.host -e http.request.uri -Y "http.request" | Pull specific IOC fields (source/dest IP, HTTP host, requested URI) from every HTTP request into tab-separated output for pivoting |
| Wireshark | tshark -r capture.pcap -q -z conv,tcp | Summarize TCP conversations (talkers) in a capture: byte/frame counts per pair, relative start time, duration |
| Zeek | zeek -r capture.pcap | Process a pcap file and generate Zeek's connection/protocol logs |
| Zeek | zeek -Cr capture.pcap local | Process a pcap with Zeek's local site policy loaded (protocol analyzers, file extraction/logging, checksum validation disabled) instead of the bare default scripts |
| Zeek | cat conn.log | zeek-cut -d ts id.orig_h id.orig_p id.resp_h id.resp_p proto service | Pivot a Zeek log down to just the fields you need (e.g. timestamps and connection 4-tuple) for grepping/correlation |
| Suricata | suricata -r capture.pcap -k none | Run Suricata against a pcap file in offline (no live capture) mode |
| Suricata | suricata -c /etc/suricata/suricata.yaml -S custom.rules -r capture.pcap -l /path/to/logdir -k none | Replay a pcap against a specific custom ruleset only (not the full suricata.yaml default rules) and write alerts/eve.json to a chosen log directory |
| Suricata | suricata -c /etc/suricata/suricata.yaml -T -l /tmp | Validate a config file and ruleset for errors before deploying, without processing any traffic |
| Arkime | /opt/arkime/bin/capture -c /opt/arkime/etc/config.ini -r /path/to/file.pcap | Capture and index a pcap file for search in the Arkime viewer |
| Arkime | /opt/arkime/bin/capture -c /opt/arkime/etc/config.ini -R /path/to/pcap_directory --recursive | Bulk-ingest an entire directory of pcap files (recursing into subdirectories) instead of one file at a time |
| Arkime | /opt/arkime/db/db.pl <ESHOST:ESPORT> info | Check Elasticsearch/OpenSearch cluster and Arkime index health (session counts, node status) from the CLI |
| YARA | yara rules.yar suspicious_file.exe | Scan a file or directory against a rule file |
| YARA | yara -r -s rules.yar /path/to/directory | Recursively scan a directory and print matched strings |
| YARA | yara rules.yar 1234 | Scan a running process's memory by PID |
| YARA | yara -C compiled_rules.yrc -t ransomware /path/to/directory | Scan using precompiled rules (faster repeated scans) and show only matches tagged 'ransomware' |
| Sigma | sigma convert -t splunk -p sysmon rule.yml | Convert a Sigma rule into a Splunk query for the Sysmon log source |
| Sigma | sigma convert -t splunk -p sysmon sigma/rules/windows/ | Convert an entire directory of rules to Splunk queries at once |
| Sigma | sigma convert -t lucene -p ecs_windows -f siem_rule rule.yml | Convert a rule to an Elasticsearch/Kibana detection rule using the ECS Windows pipeline |
| Sigma | sigma check rule.yml | Validate rules for parsing errors and best-practice issues before converting them |
| Hayabusa | hayabusa csv-timeline -d evtx_dir -o timeline.csv | Generate a CSV timeline of detections from a directory of EVTX logs |
| Hayabusa | hayabusa extract-base64 -d evtx_dir -o base64-results.csv | Extract and decode base64 strings (e.g. encoded PowerShell) embedded in events |
| Hayabusa | hayabusa logon-summary -d evtx_dir -o logon-summary.csv | Summarize successful and failed logon attempts across a directory of EVTX logs |
| Chainsaw | chainsaw hunt evtx_dir -s sigma_rules --mapping mapping.yml | Hunt a directory of EVTX logs using Sigma rules |
| Chainsaw | chainsaw analyze shimcache SYSTEM -a Amcache.hve -o shimcache-timeline.csv | Build an execution timeline from the shimcache, enriched with Amcache data |
| Chainsaw | chainsaw analyze gaps evtx_dir -o gaps.csv | Detect chronological or RecordID gaps in EVTX logs that suggest selective record deletion |
| Ghidra | analyzeHeadless /project ProjectName -import binary.exe -postScript Script.java | Run headless analysis on a binary and execute a post-analysis script |
| Ghidra | analyzeHeadless /project ProjectName -import /path/to/sample_dir -noanalysis | Bulk-import a directory of samples into a project without running analysis yet, for fast triage/organization before deciding what to analyze deeply |
| Ghidra | analyzeHeadless /project ProjectName -process -recursive -postScript Script.java | Recursively re-run analysis/scripts on every binary already stored in an existing project (no re-import) |
| Cutter | cutter -A 2 suspicious.exe | Open a binary with rizin's auto-analysis level 2 |
| Cutter | cutter -i script.rz suspicious.exe | Run a rizin script file non-interactively against a binary |
| Cutter | cutter -p project.rzdb | Reopen a previously saved Cutter project instead of re-analyzing the binary from scratch |
| capa | capa suspicious.exe | List the capabilities (behaviors) capa detects in a binary |
| capa | capa -j suspicious.exe > capa_output.json | Emit JSON output for scripting/pipeline integration instead of the human-readable report |
| capa | capa -vv suspicious.exe | Show verbose match details, including exact addresses for every rule match, for deep manual review |
| capa | capa -f sc64 shellcode.bin | Analyze 64-bit shellcode (e.g. extracted from a document or exploit) instead of a full executable |
| Detect It Easy | diec suspicious.exe | Identify a file's type, packer, or compiler from the command line |
| Detect It Easy | diec -j suspicious.exe | Emit machine-readable JSON output for scripting/pipeline integration instead of the human-readable report |
| Detect It Easy | diec -r /path/to/sample_dir | Recursively scan every file in a directory tree, not just a single sample |
| Detect It Easy | diec -e suspicious.exe | Report the file's entropy and a packed/not-packed verdict |
| Hindsight | hindsight.py -i "Chrome Profile Path" -o output | Parse a Chrome profile's browser history and artifacts |
| Hindsight | hindsight.py -i "Chrome Profile Path" -o output -f sqlite | Parse a Chrome profile and write SQLite output instead of the default XLSX report |
| Hindsight | hindsight.py -i "Chrome Profile Path" -o output -t "America/New_York" | Parse a profile and display timestamps in a specific timezone in the XLSX output |
| Hindsight | hindsight.py -i "Chrome Profile Path" -o output -d mac | Attempt to decrypt Chrome data when running Hindsight on the same macOS system the data came from |
| KAPE | kape.exe --tsource C: --tdest D:\Triage --target !SANS_Triage | Collect a SANS Triage target set from the C: drive |
| KAPE | kape.exe --tsource C: --tdest D:\Triage --target EventLogs --module EvtxECmd --mdest D:\Triage\Module | Collect artifacts and immediately process them with a module in one pass (e.g. parse collected event logs with EvtxECmd) |
| KAPE | kape.exe --tlist . | List all available Targets with their names and descriptions |
| Eric Zimmerman Tools | PECmd.exe -f Prefetch_File.pf | Parse a Windows Prefetch file with PECmd |
| Eric Zimmerman Tools | MFTECmd.exe -f "C:\case\$MFT" --csv "C:\case\out" | Parse an extracted $MFT into CSV with MFTECmd |
| Eric Zimmerman Tools | EvtxECmd.exe -f "C:\case\Security.evtx" --csv "C:\case\out" | Parse a single Windows Event Log file into CSV with EvtxECmd |
| WinDbg | !analyze -v | Run WinDbg's built-in crash-analysis command on a loaded dump |
| WinDbg | !process 0 0 | List every process captured in a kernel-mode dump, with its PID and parent PID |
| WinDbg | lm kv | List loaded kernel modules with verbose version/timestamp details |
| Sysinternals Suite | procmon.exe /AcceptEula /Quiet /Minimized /Backingfile C:\Logs\trace.pml | Start Process Monitor logging silently to a backing file |
| Sysinternals Suite | autorunsc.exe -a * -c -m -s -h > autoruns.csv | Enumerate all autostart persistence locations to CSV, hiding built-in Microsoft entries, with signature verification |
| Sysinternals Suite | sigcheck.exe -u -e -s c:\windows\system32 | Recursively find unsigned executables under System32 (sigcheck) |
| Sysmon | Sysmon64.exe -accepteula -i sysmonconfig.xml | Install Sysmon with a custom configuration |
| Sysmon | Sysmon64.exe -c -- | Reset an installed Sysmon driver back to its default configuration |
| Sysmon | Sysmon64.exe -c | Dump the currently active Sysmon configuration (rules and filters in effect) to the console |
| System Informer | SystemInformer.exe -selectpid <PID> -nokph | Jump straight to a specific process, skipping the kernel driver |
| System Informer | SystemInformer.exe -sysinfo | Launch straight into the System Information view (live CPU, memory, disk, and network graphs) for a fast resource-activity overview |
| System Informer | SystemInformer.exe -selecttab Network | Jump directly to the Network tab on startup to review active TCP/UDP connections and owning processes |
| FTK Imager | ftkimager.exe \\.\PHYSICALDRIVE1 D:\Images\case001 --e01 --case-number 001 --evidence-number 1 | Image a physical drive to an E01 forensic image with case metadata |
| FTK Imager | "FTK Imager.exe" /VerifyImage D:\Images\case001.E01 | Verify a previously created forensic image's stored hash against its actual contents |
| FTK Imager | ftkimager.exe --list-drives | List all physical drives detected on the system, to confirm the correct source device before imaging |
| WinPmem | winpmem64.exe memory.raw | Acquire a raw memory image from a live Windows system |
| WinPmem | winpmem.exe acquire --compression snappy memory.raw.sz | Acquire with the Go-based imager, compressing the image on the fly to save space |
| WinPmem | winpmem.exe extract memory.raw.sz memory.raw | Decompress a compressed image back to a raw file for tools that don't read compressed input |
| RegRipper | rip.exe -r C:\case\SYSTEM -f system > output.txt | Parse a SYSTEM registry hive with RegRipper's plugins |
| RegRipper | rip.exe -r C:\case\NTUSER.DAT -p userassist > output.txt | Run a single named plugin (e.g. UserAssist) against a user's NTUSER.DAT hive |
| RegRipper | rip.exe -r C:\case\SOFTWARE -a > output.txt | Auto-detect the hive type and run every applicable plugin against it in one pass |
| RegRipper | rip.exe -l -c > plugins.csv | List every available plugin as CSV (name, version, hive type, description) |
| PEStudio | pestudiox -file:sample.exe | Batch-scan a file via the Pro CLI, writing a same-named XML report |
| PEStudio | pestudiox -file:sample.exe -xml:C:\reports\sample-report.xml | Batch-scan a file and write the XML report to a specific path/filename instead, for feeding into a separate parsing pipeline |
| x64dbg | bp CreateFileW (in the built-in command bar) | Set a breakpoint on CreateFileW from the command bar |
| x64dbg | findallmem 0x400000 EB0?90??8D | Search the entire process memory map for a byte pattern (with wildcards), e.g. locating a decrypted config or known shellcode signature after a breakpoint hits |
| x64dbg | savedata C:\dumps\unpacked.bin 0x400000 0x1000 | Dump a region of process memory to a file on disk, e.g. extracting an unpacked payload once execution reaches the original entry point |
| NirSoft Tools | BrowsingHistoryView.exe /shtml "C:\report.html" (most tools support /stext, /scomma, /sxml export switches) | Export browser history to an HTML report (BrowsingHistoryView) |
| NirSoft Tools | USBDeview.exe /scomma "C:\report\usb.csv" | Export a device's USB connection history straight to a comma-delimited file for scripting (USBDeview) |
| NirSoft Tools | USBDeview.exe /regfile "D:\case\SYSTEM" /shtml "C:\report\usb-history.html" | Parse USB device history offline from an acquired SYSTEM hive, without a live connection (USBDeview) |
| Loki | python loki.py -p C:\ --alldrives | Scan every local drive for IOCs and YARA matches |
| Loki | python loki.py -p C:\ --intense --csv | Run an intense scan (checks unknown file types and all extensions) and emit CSV output for machine processing |
| Loki | python loki.py -p /mnt/evidence --nolog | Scan a specific directory without writing a local log file (stdout only) |
| dc3dd | dc3dd if=/dev/sdb of=evidence.dd hash=sha256 log=acquire.log | Image a device to a raw file while hashing it in one pass, writing the hash to a log |
| dc3dd | dc3dd if=/dev/sdb ofs=evidence.dd.000 ofsz=4G hash=sha256 log=acquire.log | Split the output into fixed-size segments for media that cannot hold one large file |
| dc3dd | dc3dd wipe=/dev/sdc | Verify a wipe by writing a known pattern across a destination device before reuse |
| AVML | avml acquire output.lime | Acquire Linux memory into a LiME-format image |
| AVML | avml acquire --compress output.lime.compressed | Acquire memory with on-the-fly compression to save disk space |
| AVML | avml acquire --sas-url ${SAS_URL} --delete output.lime | Acquire memory and upload it directly to Azure Blob Storage via a SAS URL, deleting the local copy after |
| AVML | avml convert ./compressed.lime ./uncompressed.lime | Convert a compressed AVML/LiME snapshot to an uncompressed one for tools that need raw LiME format |
| LiME | insmod lime-$(uname -r).ko "path=/mnt/evidence/mem.lime format=lime" | Load LiME as a kernel module to dump memory to a mounted evidence share |
| LiME | insmod lime-$(uname -r).ko "path=tcp:4444 format=lime" | Dump memory directly over the network to a listening collector instead of writing to local disk |
| LiME | insmod lime-$(uname -r).ko "path=/mnt/evidence/mem.lime format=lime digest=sha256" | Dump memory to local disk while generating a SHA-256 hash sidecar file for chain-of-custody integrity verification |
| UAC | ./uac -p ir_triage /tmp | Run a triage-focused artifact collection profile |
| UAC | ./uac -a ./artifacts/memory_dump/avml.yaml -p full /tmp | Acquire memory with AVML alongside a full artifact collection |
| UAC | ./uac -p full -a \!artifacts/bodyfile/bodyfile.yaml . | Run the full profile while excluding a specific artifact (here, the bodyfile) |
| mac_apt | python3 mac_apt.py MOUNTED /mnt/root -o /output_dir FAST | Parse artifacts from a mounted macOS volume |
| mac_apt | python3 mac_apt.py -o /output -x E01 image.E01 WIFI FSEVENTS BASICINFO | Process an E01 forensic image, running only selected plugins and exporting to Excel |
| mac_apt | python3 mac_apt.py -o /output DD image.dd ALL | Run every available plugin against a DD image instead of just the FAST subset |
| aftermath | sudo aftermath -o /Users/user/Desktop --deep | Run a deep incident-response collection on macOS, scanning the file system for modified/accessed timestamps |
| aftermath | sudo aftermath -o /Users/user/Desktop | Run the default quick collection (no file system timestamp walk) to a custom output location |
| aftermath | sudo aftermath --analyze /tmp/aftermath_collection.zip | Analyze a previously collected Aftermath archive and produce a parsed timeline/storyline |
| UnifiedLogReader | python3 UnifiedLogReader.py uuidtext_path timesync_path tracev3_path output_path | Parse macOS unified logs into readable records (uuidtext, timesync, then tracev3 path, in that order) |
| UnifiedLogReader | python3 UnifiedLogReader.py -f SQLITE uuidtext_path timesync_path tracev3_path output_path | Parse unified logs and write the results to a SQLite database instead of the default log-style output |
| UnifiedLogReader | python3 UnifiedLogReader.py logarchive_path logarchive_path/timesync logarchive_path output_path | Parse a .logarchive bundle (e.g. from macOS's log collect or a sysdiagnose) by pointing uuidtext_path/tracev3_path at the .logarchive folder itself and timesync_path at its embedded timesync subfolder |
| VirusTotal | curl --request GET --url https://www.virustotal.com/api/v3/files/<hash> --header "x-apikey: YOUR_API_KEY" | Look up a file's multi-engine scan report by its hash (SHA-256/SHA-1/MD5) |
| VirusTotal | curl --request POST --url https://www.virustotal.com/api/v3/urls --header "x-apikey: YOUR_API_KEY" --data "url=https://example.com" | Submit a URL for scanning (returns an analysis ID to poll) |
| VirusTotal | curl --request GET --url https://www.virustotal.com/api/v3/domains/<domain> --header "x-apikey: YOUR_API_KEY" | Look up a domain's reputation and analysis report |
| urlscan.io | curl --request POST --url https://urlscan.io/api/v1/scan/ --header "API-Key: YOUR_API_KEY" --header "Content-Type: application/json" --data '{"url": "https://example.com", "visibility": "public"}' | Submit a URL for sandboxed scanning (public visibility) |
| urlscan.io | curl --request GET "https://urlscan.io/api/v1/result/<uuid>/" | Retrieve a completed scan's results by UUID (returned from the submit call) |
| urlscan.io | curl --request GET "https://urlscan.io/api/v1/search/?q=domain:example.com" | Search urlscan.io's historical scan database for prior sightings of a domain |
| Hybrid Analysis | curl --request GET "https://hybrid-analysis.com/api/v2/search/hash?hash=<hash>" --header "api-key: YOUR_API_KEY" --header "User-Agent: Falcon Sandbox" | Search for existing analysis reports by file hash (MD5/SHA1/SHA256/SHA512) |
| Hybrid Analysis | curl --request POST https://hybrid-analysis.com/api/v2/submit/url --header "api-key: YOUR_API_KEY" --header "User-Agent: Falcon Sandbox" --form "url=https://example.com" --form "environment_id=160" | Submit a URL to the sandbox for behavioral analysis |
| Hybrid Analysis | curl --request POST https://hybrid-analysis.com/api/v2/submit/file --header "api-key: YOUR_API_KEY" --header "User-Agent: Falcon Sandbox" --form "file=@suspicious.exe" --form "environment_id=160" | Submit a local file to the sandbox for detonation |
| Joe Sandbox | curl --request POST https://jbxcloud.joesecurity.org/api/v2/submission/new --data-urlencode "apikey=YOUR_API_KEY" --data-urlencode "accept-tac=1" --data-urlencode "url=https://example.com" | Submit a URL to Joe Sandbox Cloud for analysis (Cloud Basic API key, form-encoded auth) |
| Joe Sandbox | curl --request POST https://jbxcloud.joesecurity.org/api/v2/analysis/info --data-urlencode "apikey=YOUR_API_KEY" --data-urlencode "webid=123456" | Check the status and key attributes of a submitted analysis by its web ID |
| Joe Sandbox | jbxapi submit sample.exe | Submit a local file sample for analysis using the official jbxapi command-line tool instead of raw curl calls |
| MalwareBazaar | curl -H "Auth-Key: YOUR_API_KEY" -d "query=get_info&hash=<sha256>" https://mb-api.abuse.ch/api/v1/ | Look up a sample's metadata by SHA256/MD5/SHA1 hash (requires a free Auth-Key from auth.abuse.ch) |
| MalwareBazaar | curl -H "Auth-Key: YOUR_API_KEY" -d "query=get_taginfo&tag=TrickBot&limit=50" https://mb-api.abuse.ch/api/v1/ | List recent samples tagged with a malware family (e.g. TrickBot) |
| MalwareBazaar | curl -H "Auth-Key: YOUR_API_KEY" -d "query=get_file&sha256_hash=<sha256>" https://mb-api.abuse.ch/api/v1/ -o sample.zip | Download a sample by SHA256 hash (returned as a zip, password 'infected') |
| URLhaus | curl -H "Auth-Key: YOUR_API_KEY" -d "url=http://example.com/malicious/path" https://urlhaus-api.abuse.ch/v1/url/ | Check if a URL is a known malware distribution point (requires a free Auth-Key from auth.abuse.ch) |
| URLhaus | curl -H "Auth-Key: YOUR_API_KEY" -d "host=example.com" https://urlhaus-api.abuse.ch/v1/host/ | Look up all malicious URLs hosted on a given domain or IP |
| URLhaus | curl -H "Auth-Key: YOUR_API_KEY" -d "sha256_hash=<sha256>" https://urlhaus-api.abuse.ch/v1/payload/ | Look up a malware payload by its MD5 or SHA256 hash |
| ThreatFox | curl -H "Auth-Key: YOUR_API_KEY" -X POST https://threatfox-api.abuse.ch/api/v1/ -d '{"query": "search_ioc", "search_term": "139.180.203.104"}' | Search ThreatFox for an IOC: IP, domain, hash, or URL (requires a free Auth-Key from auth.abuse.ch) |
| ThreatFox | curl -H "Auth-Key: YOUR_API_KEY" -X POST https://threatfox-api.abuse.ch/api/v1/ -d '{"query": "malwareinfo", "malware": "win.cobalt_strike", "limit": 10}' | List recent IOCs associated with a malware family (e.g. Cobalt Strike) |
| ThreatFox | curl -H "Auth-Key: YOUR_API_KEY" -X POST https://threatfox-api.abuse.ch/api/v1/ -d '{"query": "search_hash", "hash": "2151c4b970eff0071948dbbc19066aa4"}' | Search ThreatFox for IOCs associated with a specific malware sample by its MD5 or SHA256 hash |
| AbuseIPDB | curl -G https://api.abuseipdb.com/api/v2/check --data-urlencode "ipAddress=118.25.6.39" -d maxAgeInDays=90 -H "Key: YOUR_API_KEY" -H "Accept: application/json" | Check an IP address's abuse confidence score and report history |
| AbuseIPDB | curl https://api.abuseipdb.com/api/v2/blacklist -H "Key: YOUR_API_KEY" -H "Accept: application/json" | Pull the current blocklist of high-confidence abusive IPs |
| AbuseIPDB | curl -G https://api.abuseipdb.com/api/v2/check-block --data-urlencode "network=127.0.0.1/24" -d maxAgeInDays=15 -H "Key: YOUR_API_KEY" -H "Accept: application/json" | Check every IP in a CIDR range/subnet at once, for triaging a whole suspicious network block found in firewall or netflow logs |
| Shodan | curl "https://api.shodan.io/shodan/host/8.8.8.8?key=YOUR_API_KEY" | Look up all known open ports/services and banners for a host |
| Shodan | curl -G "https://api.shodan.io/shodan/host/count" --data-urlencode "query=port:3389 country:US" -d key=YOUR_API_KEY | Get the match count (and facet breakdown) for a search query without spending query credits or pulling full results |
| Shodan | curl "https://api.shodan.io/dns/domain/example.com?key=YOUR_API_KEY" | Look up all subdomains and DNS records Shodan has indexed for a domain |
| GreyNoise | curl https://api.greynoise.io/v3/community/8.8.8.8 -H "key: YOUR_API_KEY" | Check whether an IP is known internet background-scan noise (free Community API) |
| GreyNoise | curl -G "https://api.greynoise.io/v3/gnql" --data-urlencode "query=classification:malicious tags:\"Mirai\"" -H "key: YOUR_API_KEY" | Run a GNQL query to search the full GreyNoise dataset for IPs matching arbitrary criteria (classification, tags, CVE, ASN, etc.), not just a single known IP |
| GreyNoise | greynoise quick 69.160.160.55,8.8.8.8 | Quickly triage a batch of IPs (e.g. pulled from firewall/IDS logs) via the official GreyNoise CLI, flagging which are known internet noise or RIOT business services |
| crt.sh | curl "https://crt.sh/?q=example.com&output=json" | Search Certificate Transparency logs for all certificates issued to a domain |
| crt.sh | curl "https://crt.sh/?q=Example+Corp&output=json" | Search by organization/identity name (not just domain) to find all certificates issued to a company across its infrastructure |
| crt.sh | curl "https://crt.sh/?q=%3Dexample.com&output=json" | Exact identity match (= prefix) instead of the default substring search, to avoid noisy partial-name matches |
| theHarvester | theHarvester -d example.com -b crtsh | Gather emails, subdomains, and hosts for a domain from a single passive source (crt.sh, no API key needed) |
| theHarvester | theHarvester -d example.com -b crtsh,otx,urlscan -l 200 | Query multiple sources at once and limit results per source |
| theHarvester | theHarvester -d example.com -b crtsh -f results | Save results to XML and JSON files instead of stdout only |
| Sherlock | sherlock user123 | Search a single username across all supported sites |
| Sherlock | sherlock user1 user2 user3 | Search multiple usernames at once, writing each to its own output file |
| Sherlock | sherlock --site GitHub --site Reddit user123 | Restrict the search to specific named sites instead of the full 400+ list |
| SpiderFoot | python3 ./sf.py -l 127.0.0.1:5001 | Launch the local web UI to drive scans interactively |
| SpiderFoot | python3 ./sf.py -s example.com -u footprint -o json | Run a scan from the CLI against a target using only footprint-use-case modules, outputting JSON |
| SpiderFoot | python3 ./sf.py -s example.com -m sfp_dnsresolve,sfp_crt -o csv | Run a scan with specific named modules enabled instead of a use-case bundle |
| Have I Been Pwned | curl https://api.pwnedpasswords.com/range/21BD1 | Check a password against the free, keyless Pwned Passwords k-anonymity range API (only the first 5 SHA-1 hash chars are sent) |
| Have I Been Pwned | curl -H "user-agent: YourAppName" https://haveibeenpwned.com/api/v3/breaches | List every breach in the system (free, no key required) |
| Have I Been Pwned | curl -H "hibp-api-key: YOUR_API_KEY" -H "user-agent: YourAppName" https://haveibeenpwned.com/api/v3/breachedaccount/test@example.com | Check whether a specific email address appears in known breaches (requires a paid subscription key) |
| ExifTool | exiftool -a -u -g1 image.jpg | Print all metadata (including duplicate/unknown tags), grouped by category |
| ExifTool | exiftool -ee3 -p '$gpslatitude, $gpslongitude, $gpstimestamp' dir | Extract GPS coordinates and timestamp for every file in a directory |
| ExifTool | exiftool -all= dst.jpg | Delete all metadata from an image (e.g. before sharing a screenshot or exhibit) |
| Wayback Machine | curl "https://archive.org/wayback/available?url=example.com" | Check whether a URL has an archived, available snapshot and get the closest match |
| Wayback Machine | curl "https://web.archive.org/cdx/search/cdx?url=*.example.com&matchType=domain&output=json" | List every captured snapshot of a domain (and its subdomains) as JSON, most recent last |
| Wayback Machine | curl "https://web.archive.org/cdx/search/cdx?url=example.com/about&filter=statuscode:200&limit=50&output=json" | List only successful (HTTP 200) captures of a specific path, with a result cap |
| Unfurl | unfurl https://twitter.com/_RyanBenson/status/1205161015177961473 | Break down a URL into its components (query params, encoded data, timestamps) |
| Unfurl | unfurl -d "https://www.google.com/search?q=dfir.blog&oq=dfir.blog" | Get detailed, verbose output explaining what each URL fragment decodes to |
| Unfurl | unfurl -o results.csv urls.txt | Batch-process every URL in a text file (one per line, e.g. from browser history or proxy logs) and write the parsed breakdown as CSV rows |