CyberKit

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.

Command reference
ToolCommandWhat it does
libewfewfacquire /dev/sdbAcquire a device to a compressed, hashed E01 image, prompting for the case metadata
libewfewfinfo evidence.E01Print the metadata and stored hashes of an existing E01 without reading the whole image
libewfewfverify evidence.E01Verify an image against the hashes recorded inside it at acquisition time
libewfewfmount evidence.E01 /mnt/ewfMount an E01 as a raw device file so tools that only understand dd can read it
bulk_extractorbulk_extractor -o output/ evidence.ddScan a disk image and write every extracted feature type into an output directory
bulk_extractorbulk_extractor64.exe -o output \\.\PhysicalDrive0Scan a physical drive directly on Windows
bulk_extractorbulk_extractor -o output/ -E email evidence.ddRun only the scanners you need, which is far faster than the full default set
Volatility 3vol -f memory.dmp windows.pslistList running processes from a memory image
Volatility 3vol -f memory.dmp windows.netscanRecover network connections and listening sockets from a memory image
Volatility 3vol -f memory.dmp windows.cmdlineShow the full command line each process was launched with
MemProcFSMemProcFS.exe -device memory.dmp -mount mMount a memory image as a live, browsable virtual file system
MemProcFSMemProcFS.exe -device memory.dmp -forensic 1 -forensic-yara-rules rules.yarMount in forensic mode (builds a SQLite index) and run a Yara rule set across it
MemProcFSMemProcFS.exe -device memory.dmp -pagefile0 pagefile.sys -pagefile1 swapfile.sysMount a dump alongside its page/swap files for more complete memory recovery
Autopsyautopsy64.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
Autopsyautopsy64.exe --caseName="case1" --caseBaseDir="C:\work\cases" --generateReportsGenerate case reports (default profile) from the command line without re-running ingest
Autopsyautopsy64.exe --caseName="case1" --caseBaseDir="C:\work\cases" --listAllDataSourcesList every data source already added to a case, with its object ID
Autopsyautopsy64.exe --listAllIngestProfilesList all available ingest profiles that --runIngest can target by name
The Sleuth Kitfls -r -m "C:/" image.dd > bodyfile.txtList all files (deleted and allocated) into a timeline bodyfile
The Sleuth Kitmmls image.ddShow the partition layout of a raw disk image before targeting a specific volume
The Sleuth Kittsk_recover -e image.dd /case/recoveredRecover every file (allocated and unallocated) from a file system into an output directory
The Sleuth Kiticat -r image.dd 61370-128-1 > recovered_file.binExtract a single file's contents from an image by inode number, including deleted-file recovery
Plaso (log2timeline)log2timeline.py --storage-file timeline.plaso image.ddExtract a super-timeline from a disk image into a Plaso storage file
Plaso (log2timeline)log2timeline.py -f filter.txt --storage-file timeline.plaso image.ddExtract 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.plasoPost-process a completed storage file, converting it to legacy log2timeline CSV format
Timesketchtimesketch import --name "case1" /path/to/timeline.plasoImport a Plaso timeline into a new Timesketch case
Timesketchtimesketch search --query "powershell.exe" --limit 50Search an existing sketch by query string and print matching events
Timesketchtimesketch analyze run --analyzer browser_search --timeline 1Run a server-side analyzer against a timeline to auto-tag findings
Velociraptorvelociraptor.exe gui (Windows) / ./velociraptor gui (Linux/macOS)Launch the local GUI to query endpoints with VQL
Velociraptorvelociraptor query "SELECT Pid, Name FROM pslist()" --format=csvRun a single ad-hoc VQL query locally and print the results as CSV
Velociraptorvelociraptor artifacts collect Generic.Client.DiskUsage --output collection.zipCollect a named artifact from the local host into a self-contained, password-protectable zip (offline collection)
Wiresharktshark -r capture.pcap -Y "http"Filter a capture file to just HTTP traffic (tshark, the CLI companion)
Wiresharktshark -r capture.pcap --export-objects http,/path/to/output_dirExtract embedded files (e.g. downloaded executables/documents) reassembled from HTTP streams into a directory
Wiresharktshark -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
Wiresharktshark -r capture.pcap -q -z conv,tcpSummarize TCP conversations (talkers) in a capture: byte/frame counts per pair, relative start time, duration
Zeekzeek -r capture.pcapProcess a pcap file and generate Zeek's connection/protocol logs
Zeekzeek -Cr capture.pcap localProcess a pcap with Zeek's local site policy loaded (protocol analyzers, file extraction/logging, checksum validation disabled) instead of the bare default scripts
Zeekcat conn.log | zeek-cut -d ts id.orig_h id.orig_p id.resp_h id.resp_p proto servicePivot a Zeek log down to just the fields you need (e.g. timestamps and connection 4-tuple) for grepping/correlation
Suricatasuricata -r capture.pcap -k noneRun Suricata against a pcap file in offline (no live capture) mode
Suricatasuricata -c /etc/suricata/suricata.yaml -S custom.rules -r capture.pcap -l /path/to/logdir -k noneReplay 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
Suricatasuricata -c /etc/suricata/suricata.yaml -T -l /tmpValidate 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.pcapCapture 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 --recursiveBulk-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> infoCheck Elasticsearch/OpenSearch cluster and Arkime index health (session counts, node status) from the CLI
YARAyara rules.yar suspicious_file.exeScan a file or directory against a rule file
YARAyara -r -s rules.yar /path/to/directoryRecursively scan a directory and print matched strings
YARAyara rules.yar 1234Scan a running process's memory by PID
YARAyara -C compiled_rules.yrc -t ransomware /path/to/directoryScan using precompiled rules (faster repeated scans) and show only matches tagged 'ransomware'
Sigmasigma convert -t splunk -p sysmon rule.ymlConvert a Sigma rule into a Splunk query for the Sysmon log source
Sigmasigma convert -t splunk -p sysmon sigma/rules/windows/Convert an entire directory of rules to Splunk queries at once
Sigmasigma convert -t lucene -p ecs_windows -f siem_rule rule.ymlConvert a rule to an Elasticsearch/Kibana detection rule using the ECS Windows pipeline
Sigmasigma check rule.ymlValidate rules for parsing errors and best-practice issues before converting them
Hayabusahayabusa csv-timeline -d evtx_dir -o timeline.csvGenerate a CSV timeline of detections from a directory of EVTX logs
Hayabusahayabusa extract-base64 -d evtx_dir -o base64-results.csvExtract and decode base64 strings (e.g. encoded PowerShell) embedded in events
Hayabusahayabusa logon-summary -d evtx_dir -o logon-summary.csvSummarize successful and failed logon attempts across a directory of EVTX logs
Chainsawchainsaw hunt evtx_dir -s sigma_rules --mapping mapping.ymlHunt a directory of EVTX logs using Sigma rules
Chainsawchainsaw analyze shimcache SYSTEM -a Amcache.hve -o shimcache-timeline.csvBuild an execution timeline from the shimcache, enriched with Amcache data
Chainsawchainsaw analyze gaps evtx_dir -o gaps.csvDetect chronological or RecordID gaps in EVTX logs that suggest selective record deletion
GhidraanalyzeHeadless /project ProjectName -import binary.exe -postScript Script.javaRun headless analysis on a binary and execute a post-analysis script
GhidraanalyzeHeadless /project ProjectName -import /path/to/sample_dir -noanalysisBulk-import a directory of samples into a project without running analysis yet, for fast triage/organization before deciding what to analyze deeply
GhidraanalyzeHeadless /project ProjectName -process -recursive -postScript Script.javaRecursively re-run analysis/scripts on every binary already stored in an existing project (no re-import)
Cuttercutter -A 2 suspicious.exeOpen a binary with rizin's auto-analysis level 2
Cuttercutter -i script.rz suspicious.exeRun a rizin script file non-interactively against a binary
Cuttercutter -p project.rzdbReopen a previously saved Cutter project instead of re-analyzing the binary from scratch
capacapa suspicious.exeList the capabilities (behaviors) capa detects in a binary
capacapa -j suspicious.exe > capa_output.jsonEmit JSON output for scripting/pipeline integration instead of the human-readable report
capacapa -vv suspicious.exeShow verbose match details, including exact addresses for every rule match, for deep manual review
capacapa -f sc64 shellcode.binAnalyze 64-bit shellcode (e.g. extracted from a document or exploit) instead of a full executable
Detect It Easydiec suspicious.exeIdentify a file's type, packer, or compiler from the command line
Detect It Easydiec -j suspicious.exeEmit machine-readable JSON output for scripting/pipeline integration instead of the human-readable report
Detect It Easydiec -r /path/to/sample_dirRecursively scan every file in a directory tree, not just a single sample
Detect It Easydiec -e suspicious.exeReport the file's entropy and a packed/not-packed verdict
Hindsighthindsight.py -i "Chrome Profile Path" -o outputParse a Chrome profile's browser history and artifacts
Hindsighthindsight.py -i "Chrome Profile Path" -o output -f sqliteParse a Chrome profile and write SQLite output instead of the default XLSX report
Hindsighthindsight.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
Hindsighthindsight.py -i "Chrome Profile Path" -o output -d macAttempt to decrypt Chrome data when running Hindsight on the same macOS system the data came from
KAPEkape.exe --tsource C: --tdest D:\Triage --target !SANS_TriageCollect a SANS Triage target set from the C: drive
KAPEkape.exe --tsource C: --tdest D:\Triage --target EventLogs --module EvtxECmd --mdest D:\Triage\ModuleCollect artifacts and immediately process them with a module in one pass (e.g. parse collected event logs with EvtxECmd)
KAPEkape.exe --tlist .List all available Targets with their names and descriptions
Eric Zimmerman ToolsPECmd.exe -f Prefetch_File.pfParse a Windows Prefetch file with PECmd
Eric Zimmerman ToolsMFTECmd.exe -f "C:\case\$MFT" --csv "C:\case\out"Parse an extracted $MFT into CSV with MFTECmd
Eric Zimmerman ToolsEvtxECmd.exe -f "C:\case\Security.evtx" --csv "C:\case\out"Parse a single Windows Event Log file into CSV with EvtxECmd
WinDbg!analyze -vRun WinDbg's built-in crash-analysis command on a loaded dump
WinDbg!process 0 0List every process captured in a kernel-mode dump, with its PID and parent PID
WinDbglm kvList loaded kernel modules with verbose version/timestamp details
Sysinternals Suiteprocmon.exe /AcceptEula /Quiet /Minimized /Backingfile C:\Logs\trace.pmlStart Process Monitor logging silently to a backing file
Sysinternals Suiteautorunsc.exe -a * -c -m -s -h > autoruns.csvEnumerate all autostart persistence locations to CSV, hiding built-in Microsoft entries, with signature verification
Sysinternals Suitesigcheck.exe -u -e -s c:\windows\system32Recursively find unsigned executables under System32 (sigcheck)
SysmonSysmon64.exe -accepteula -i sysmonconfig.xmlInstall Sysmon with a custom configuration
SysmonSysmon64.exe -c --Reset an installed Sysmon driver back to its default configuration
SysmonSysmon64.exe -cDump the currently active Sysmon configuration (rules and filters in effect) to the console
System InformerSystemInformer.exe -selectpid <PID> -nokphJump straight to a specific process, skipping the kernel driver
System InformerSystemInformer.exe -sysinfoLaunch straight into the System Information view (live CPU, memory, disk, and network graphs) for a fast resource-activity overview
System InformerSystemInformer.exe -selecttab NetworkJump directly to the Network tab on startup to review active TCP/UDP connections and owning processes
FTK Imagerftkimager.exe \\.\PHYSICALDRIVE1 D:\Images\case001 --e01 --case-number 001 --evidence-number 1Image a physical drive to an E01 forensic image with case metadata
FTK Imager"FTK Imager.exe" /VerifyImage D:\Images\case001.E01Verify a previously created forensic image's stored hash against its actual contents
FTK Imagerftkimager.exe --list-drivesList all physical drives detected on the system, to confirm the correct source device before imaging
WinPmemwinpmem64.exe memory.rawAcquire a raw memory image from a live Windows system
WinPmemwinpmem.exe acquire --compression snappy memory.raw.szAcquire with the Go-based imager, compressing the image on the fly to save space
WinPmemwinpmem.exe extract memory.raw.sz memory.rawDecompress a compressed image back to a raw file for tools that don't read compressed input
RegRipperrip.exe -r C:\case\SYSTEM -f system > output.txtParse a SYSTEM registry hive with RegRipper's plugins
RegRipperrip.exe -r C:\case\NTUSER.DAT -p userassist > output.txtRun a single named plugin (e.g. UserAssist) against a user's NTUSER.DAT hive
RegRipperrip.exe -r C:\case\SOFTWARE -a > output.txtAuto-detect the hive type and run every applicable plugin against it in one pass
RegRipperrip.exe -l -c > plugins.csvList every available plugin as CSV (name, version, hive type, description)
PEStudiopestudiox -file:sample.exeBatch-scan a file via the Pro CLI, writing a same-named XML report
PEStudiopestudiox -file:sample.exe -xml:C:\reports\sample-report.xmlBatch-scan a file and write the XML report to a specific path/filename instead, for feeding into a separate parsing pipeline
x64dbgbp CreateFileW (in the built-in command bar)Set a breakpoint on CreateFileW from the command bar
x64dbgfindallmem 0x400000 EB0?90??8DSearch 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
x64dbgsavedata C:\dumps\unpacked.bin 0x400000 0x1000Dump a region of process memory to a file on disk, e.g. extracting an unpacked payload once execution reaches the original entry point
NirSoft ToolsBrowsingHistoryView.exe /shtml "C:\report.html" (most tools support /stext, /scomma, /sxml export switches)Export browser history to an HTML report (BrowsingHistoryView)
NirSoft ToolsUSBDeview.exe /scomma "C:\report\usb.csv"Export a device's USB connection history straight to a comma-delimited file for scripting (USBDeview)
NirSoft ToolsUSBDeview.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)
Lokipython loki.py -p C:\ --alldrivesScan every local drive for IOCs and YARA matches
Lokipython loki.py -p C:\ --intense --csvRun an intense scan (checks unknown file types and all extensions) and emit CSV output for machine processing
Lokipython loki.py -p /mnt/evidence --nologScan a specific directory without writing a local log file (stdout only)
dc3dddc3dd if=/dev/sdb of=evidence.dd hash=sha256 log=acquire.logImage a device to a raw file while hashing it in one pass, writing the hash to a log
dc3dddc3dd if=/dev/sdb ofs=evidence.dd.000 ofsz=4G hash=sha256 log=acquire.logSplit the output into fixed-size segments for media that cannot hold one large file
dc3dddc3dd wipe=/dev/sdcVerify a wipe by writing a known pattern across a destination device before reuse
AVMLavml acquire output.limeAcquire Linux memory into a LiME-format image
AVMLavml acquire --compress output.lime.compressedAcquire memory with on-the-fly compression to save disk space
AVMLavml acquire --sas-url ${SAS_URL} --delete output.limeAcquire memory and upload it directly to Azure Blob Storage via a SAS URL, deleting the local copy after
AVMLavml convert ./compressed.lime ./uncompressed.limeConvert a compressed AVML/LiME snapshot to an uncompressed one for tools that need raw LiME format
LiMEinsmod 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
LiMEinsmod 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
LiMEinsmod 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 /tmpRun a triage-focused artifact collection profile
UAC./uac -a ./artifacts/memory_dump/avml.yaml -p full /tmpAcquire 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_aptpython3 mac_apt.py MOUNTED /mnt/root -o /output_dir FASTParse artifacts from a mounted macOS volume
mac_aptpython3 mac_apt.py -o /output -x E01 image.E01 WIFI FSEVENTS BASICINFOProcess an E01 forensic image, running only selected plugins and exporting to Excel
mac_aptpython3 mac_apt.py -o /output DD image.dd ALLRun every available plugin against a DD image instead of just the FAST subset
aftermathsudo aftermath -o /Users/user/Desktop --deepRun a deep incident-response collection on macOS, scanning the file system for modified/accessed timestamps
aftermathsudo aftermath -o /Users/user/DesktopRun the default quick collection (no file system timestamp walk) to a custom output location
aftermathsudo aftermath --analyze /tmp/aftermath_collection.zipAnalyze a previously collected Aftermath archive and produce a parsed timeline/storyline
UnifiedLogReaderpython3 UnifiedLogReader.py uuidtext_path timesync_path tracev3_path output_pathParse macOS unified logs into readable records (uuidtext, timesync, then tracev3 path, in that order)
UnifiedLogReaderpython3 UnifiedLogReader.py -f SQLITE uuidtext_path timesync_path tracev3_path output_pathParse unified logs and write the results to a SQLite database instead of the default log-style output
UnifiedLogReaderpython3 UnifiedLogReader.py logarchive_path logarchive_path/timesync logarchive_path output_pathParse 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
VirusTotalcurl --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)
VirusTotalcurl --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)
VirusTotalcurl --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.iocurl --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.iocurl --request GET "https://urlscan.io/api/v1/result/<uuid>/"Retrieve a completed scan's results by UUID (returned from the submit call)
urlscan.iocurl --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 Analysiscurl --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 Analysiscurl --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 Analysiscurl --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 Sandboxcurl --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 Sandboxcurl --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 Sandboxjbxapi submit sample.exeSubmit a local file sample for analysis using the official jbxapi command-line tool instead of raw curl calls
MalwareBazaarcurl -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)
MalwareBazaarcurl -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)
MalwareBazaarcurl -H "Auth-Key: YOUR_API_KEY" -d "query=get_file&sha256_hash=<sha256>" https://mb-api.abuse.ch/api/v1/ -o sample.zipDownload a sample by SHA256 hash (returned as a zip, password 'infected')
URLhauscurl -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)
URLhauscurl -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
URLhauscurl -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
ThreatFoxcurl -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)
ThreatFoxcurl -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)
ThreatFoxcurl -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
AbuseIPDBcurl -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
AbuseIPDBcurl 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
AbuseIPDBcurl -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
Shodancurl "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
Shodancurl -G "https://api.shodan.io/shodan/host/count" --data-urlencode "query=port:3389 country:US" -d key=YOUR_API_KEYGet the match count (and facet breakdown) for a search query without spending query credits or pulling full results
Shodancurl "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
GreyNoisecurl 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)
GreyNoisecurl -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
GreyNoisegreynoise quick 69.160.160.55,8.8.8.8Quickly 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.shcurl "https://crt.sh/?q=example.com&output=json"Search Certificate Transparency logs for all certificates issued to a domain
crt.shcurl "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.shcurl "https://crt.sh/?q=%3Dexample.com&output=json"Exact identity match (= prefix) instead of the default substring search, to avoid noisy partial-name matches
theHarvestertheHarvester -d example.com -b crtshGather emails, subdomains, and hosts for a domain from a single passive source (crt.sh, no API key needed)
theHarvestertheHarvester -d example.com -b crtsh,otx,urlscan -l 200Query multiple sources at once and limit results per source
theHarvestertheHarvester -d example.com -b crtsh -f resultsSave results to XML and JSON files instead of stdout only
Sherlocksherlock user123Search a single username across all supported sites
Sherlocksherlock user1 user2 user3Search multiple usernames at once, writing each to its own output file
Sherlocksherlock --site GitHub --site Reddit user123Restrict the search to specific named sites instead of the full 400+ list
SpiderFootpython3 ./sf.py -l 127.0.0.1:5001Launch the local web UI to drive scans interactively
SpiderFootpython3 ./sf.py -s example.com -u footprint -o jsonRun a scan from the CLI against a target using only footprint-use-case modules, outputting JSON
SpiderFootpython3 ./sf.py -s example.com -m sfp_dnsresolve,sfp_crt -o csvRun a scan with specific named modules enabled instead of a use-case bundle
Have I Been Pwnedcurl https://api.pwnedpasswords.com/range/21BD1Check 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 Pwnedcurl -H "user-agent: YourAppName" https://haveibeenpwned.com/api/v3/breachesList every breach in the system (free, no key required)
Have I Been Pwnedcurl -H "hibp-api-key: YOUR_API_KEY" -H "user-agent: YourAppName" https://haveibeenpwned.com/api/v3/breachedaccount/test@example.comCheck whether a specific email address appears in known breaches (requires a paid subscription key)
ExifToolexiftool -a -u -g1 image.jpgPrint all metadata (including duplicate/unknown tags), grouped by category
ExifToolexiftool -ee3 -p '$gpslatitude, $gpslongitude, $gpstimestamp' dirExtract GPS coordinates and timestamp for every file in a directory
ExifToolexiftool -all= dst.jpgDelete all metadata from an image (e.g. before sharing a screenshot or exhibit)
Wayback Machinecurl "https://archive.org/wayback/available?url=example.com"Check whether a URL has an archived, available snapshot and get the closest match
Wayback Machinecurl "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 Machinecurl "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
Unfurlunfurl https://twitter.com/_RyanBenson/status/1205161015177961473Break down a URL into its components (query params, encoded data, timestamps)
Unfurlunfurl -d "https://www.google.com/search?q=dfir.blog&oq=dfir.blog"Get detailed, verbose output explaining what each URL fragment decodes to
Unfurlunfurl -o results.csv urls.txtBatch-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

Related

All references