Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

File Hashes

Direct 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.

When to use this

Use it when the Security question has been narrowed to Threat Intelligence → File Hashes. Capture exact source or behavior, observation and publication time, confidence, scope, ATT&CK version/object where relevant, local telemetry and the independent evidence needed to support the decision.

First 30 seconds

1. File hashes identify exact files.

2. Trivially changed by attackers.

3. Use SHA-256.

4. Search EDR for prevalence.

5. Block known-bad hashes.

Operational verification

file hash → EDR/AV lookup → block/hunt

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A cryptographic hash match strongly establishes byte-for-byte equality for the hashed content under the stated algorithm, but it does not show execution, origin, intent or current maliciousness.

Suspicious evidence: wrong hash algorithm, archive/member confusion, truncated acquisition, benign dual-use binary, hash copied incorrectly, file quarantined before execution, mutated sample or reputation context stale.

Platform / version applicability
Security monitoring, detection and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity monitoring, detection and operations
Scope / prerequisiteUse it when the Security question has been narrowed to Threat Intelligence → File Hashes. Capture exact source or behav…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

reported digest → algorithm/value validation → provenance/time → local artifact match → file metadata/signature → execution/process evidence → related behavior → disposition

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 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.
Key checks
  • sha256sum <file> — hash
  • EDR search for hash — prevalence
  • VirusTotal/TI lookup (if allowed) — reputation
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A cryptographic hash match strongly establishes byte-for-byte equality for the hashed content under the stated algorithm, but it does not show execution, origin, intent or current maliciousness.

In depth

File hashes (SHA-256, sometimes MD5/SHA-1 in older feeds) uniquely identify a specific file. They allow exact detection of known malware samples and quick searches across endpoints, and are the standard identifier for sharing samples between teams and services.

Get-FileHash .\invoice.exe -Algorithm SHA256
sha256sum suspicious.bin

Limits: changing a single byte produces a new hash, so attackers recompile or repack to evade hash-based detection. Combine hashes with fuzzy hashing (ssdeep, TLSH), YARA rules and behavioural detection for broader coverage.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity monitoring, detection and operations current

Authoritative/upstream documentation reviewed for bounded claims in Threat Intelligence → File Hashes. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://attack.mitre.org/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
hash IOCmalware hashfile digest indicator
Embedded reference data

Quick lookup tables

Threat Intelligence → File Hashes evidence map

Fast provenance, behavior, version, confidence and defensive-validation boundaries for Threat Intelligence → File Hashes.

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
Confirmation

Confirm action

Continue?