Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search courses, individual lessons, wiki entries, books, podcasts, magazine articles, Daily Cyber News, and Darwin.

MITRE D3FEND™ Learning Center

D3-DKF — Disk Formatting

Disk Formatting is the process of preparing a data storage device, such as a hard drive, solid-state drive, or USB flash drive, for initial use.

3Enterprise inferred
2Direct children
1Parent technique
2Related artifacts

Evict · D3FEND ontology 1.6.0 · Active

Open official technique ↗
Official D3FEND definition

Definition

Disk Formatting is the process of preparing a data storage device, such as a hard drive, solid-state drive, or USB flash drive, for initial use.

Official D3FEND knowledge-base content

How it works

This process involves setting up an empty file system on the disk, which includes creating a directory structure and initializing metadata structures. In cybersecurity, disk formatting can be used to remove all existing data on a disk, making it a clean slate for new data storage or to prevent unauthorized access to previously stored data.

Bare Metal Cyber interpretation

Implementation perspective

Disk Formatting should be treated as a technical defensive capability rather than a product checkbox. In practice, teams should define the protected scope, the conditions under which the technique acts, and the observable evidence that demonstrates the intended behavior. For this technique, likely engineering context includes Partition Table, Secondary Storage.

Use the technique to remove adversary access, malicious objects, processes, credentials, or persistence from the defended environment.

Questions to ask

  • What evidence or decision threshold authorizes eviction?
  • Which sessions, credentials, processes, objects, or dependencies must be removed together?
  • How is business impact controlled while preventing the adversary from retaining access?
  • What validation confirms that persistence and alternate access paths no longer remain?

Evidence and validation

  • Approved containment and eviction procedures
  • Case records showing the trigger, authorization, and actions taken
  • Credential, session, object, or process invalidation records
  • Post-action scans and monitoring showing that access did not recur

Common failure patterns

  • Visible symptoms are removed while credentials, persistence, or alternate paths remain.
  • Eviction begins before the scope is understood and causes the adversary to change behavior prematurely.
  • Recovery and business restoration occur without post-eviction validation.

This implementation perspective is original Bare Metal Cyber educational content. It does not replace the official D3FEND definition or establish that a specific product implements the technique.

Ontology hierarchy

Technique hierarchy

D3FEND graph relationships

Artifacts and ontology entities

These relationships describe how D3FEND connects a defensive technique to artifacts or other ontology entities. They describe graph semantics, not a product certification.

Explicit technique relationships

modifiesSecondary Storage
Show inferred artifact relationship paths (3)
Disk ErasureerasesSecondary Storage
Disk FormattingmodifiesSecondary Storage
Disk PartitioningcreatesPartition Table
Inferred and experimental

Offensive-technique relationships

These relationships are generated from D3FEND graph paths and are explicitly experimental. They should be treated as hypotheses for defensive analysis—not as proof that the technique prevents, detects, or removes an offensive behavior.

ATT&CK Enterprise (3)
Source record

Authoritative sources