File Hashes
Cheat sheet · https://pcornel.dk/topic.php?topic=4895
Answer
File Hashes are content fingerprints used to identify exact byte sequences in files or artifacts; cryptographic hash equality is useful for exact-match correlation but is brittle against repacking, mutation and polymorphism and must not substitute for behavior analysis.
Remember
- Hash match ≠ file executed, persistence established or host compromised.
- No hash match ≠ file benign because trivial content changes produce a different cryptographic digest.
- Source report ≠ ground truth; provenance, independence, confidence, observation time and corroboration remain separate evidence boundaries.
- Intelligence relevance ≠ universal maliciousness; scope, consumer, decision and expiry determine operational value.
First checks
sha256sum <file>— hash- EDR search for hash — prevalence
- VirusTotal/TI lookup (if allowed) — reputation
Verify in this order
file hash → EDR/AV lookup → block/hunt
Where it usually breaks
First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.
Threat Intelligence → File Hashes evidence map
| Boundary | Establish | Does not establish |
|---|---|---|
| Requirement | Consumer, decision, priority and freshness need | Generic interest does not define useful intelligence |
| Source | Provenance, reliability, independence and observation time | Published claim is not ground truth |
| Analysis | Context, corroboration, alternatives and confidence | Confidence is not certainty or attribution proof |
| Operationalization | Scoped indicator/behavior use, telemetry and action owner | Feed ingestion does not prove detection or blocking value |
| Lifecycle | Review, expiry, feedback and revised assessment | Old truth does not remain current automatically |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4895