Pcornel
Security · Threat Intelligence

File Hashes

Cheat sheet · https://pcornel.dk/topic.php?topic=4895

Back to the Topic

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

BoundaryEstablishDoes not establish
RequirementConsumer, decision, priority and freshness needGeneric interest does not define useful intelligence
SourceProvenance, reliability, independence and observation timePublished claim is not ground truth
AnalysisContext, corroboration, alternatives and confidenceConfidence is not certainty or attribution proof
OperationalizationScoped indicator/behavior use, telemetry and action ownerFeed ingestion does not prove detection or blocking value
LifecycleReview, expiry, feedback and revised assessmentOld 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

Confirmation

Confirm action

Continue?