LiveActive security incident?Get immediate response
MITRE ATT&CK® Tool

S9002: Diskpart

Diskpart is a Windows command-line utility that is used to manage the computer’s drives, which includes disks, partitions, volumes and virtual hard disks.[1]

Adversaries may abuse Diskpart to perform discovery and destructive actions on a system’s storage. For example, adversaries have been observed using Diskpart to conduct Discovery techniques to enumerate disks and volumes to gather information about the host environment, and to execute commands such as `clean all` to remove partition information and overwrite data across disks, resulting in data destruction.[2]

EnterpriseS9002ToolObject v1.0Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceHigh

Diskpart is a legitimate Windows administration utility for managing disks, partitions, volumes, and virtual hard disks. Its security significance is that the same trusted utility can support both host discovery and destructive storage actions. For leaders, this matters because abuse of Diskpart can move an incident from investigation to business interruption quickly if disk structures or data are wiped.

Executive priority

Prioritize Diskpart visibility on Windows systems that support critical business services. The key decision is whether the organization can distinguish normal administrator storage maintenance from suspicious command-line use that enumerates disks or invokes destructive actions such as disk cleaning. This behavior is relevant to resilience planning, incident response readiness, audit evidence for endpoint monitoring, and recovery assumptions for high-value Windows assets.

Technical view

SOC and IR teams should validate monitoring for Diskpart execution on Windows, especially when launched through Windows Command Shell and when command lines or scripts reference disk, volume, partition enumeration, or destructive storage operations. Relationship context ties this tool to Windows Command Shell execution, discovery behaviors, permissions-related activity, and Disk Structure Wipe impact. Because ATT&CK provides no official detection text for this object, local baselining is essential: identify expected administrator use, maintenance windows, service accounts, and systems where Diskpart should rarely or never run.

Likely telemetry

  • Windows process creation events for diskpart.exe
  • Parent-child process relationships, especially cmd.exe launching diskpart.exe
  • Command-line arguments, script contents, or interactive command logging where available
  • Endpoint detection and response records for storage-management utility execution
  • Windows administrative activity records tied to privileged users or service accounts

Detection direction

  • Alert on Diskpart execution outside known administrative workflows, especially on servers, domain-connected workstations, or business-critical Windows hosts.
  • Correlate diskpart.exe with Windows Command Shell activity, unusual privileged accounts, remote execution context if available, or nearby discovery activity.
  • Prioritize high-risk command patterns related to enumerating disks, volumes, and partitions or destructive actions such as cleaning disks, while avoiding publication of operational playbooks in alerts.
  • Tune carefully for legitimate storage administration, imaging, deployment, repair, and virtualization workflows to reduce false positives.
  • Because no official ATT&CK detection guidance is provided, validate whether endpoint logging captures the actual Diskpart commands, not only the process name.

Mitigation priorities

  • Restrict Diskpart use to authorized administrators and documented maintenance procedures on Windows systems.
  • Apply least privilege so routine users and unnecessary service accounts cannot perform storage-management actions.
  • Maintain recoverable, tested backups and recovery procedures for systems where disk structure wipe would create material outage.
  • Review privileged access, change management, and maintenance-window evidence so legitimate Diskpart use is explainable during an incident.
  • Use endpoint monitoring and centralized logging to preserve process, parent process, user, and command context for investigations.
Additional notes and limits

This object is a tool entry, not a technique, and its official ATT&CK tactics field is not specified. The strongest operational context comes from the official description and relationships to Windows Command Shell, discovery, Windows permissions, and Disk Structure Wipe. Diskpart is legitimate administration software, so suspiciousness depends heavily on user, host role, timing, parent process, and command context.

ATT&CK does not provide official detection guidance for this object. The supplied relationship snippets are partial for some related techniques, and the object supports only the Windows platform. Local environment baselines are required before making conclusions about malicious use or coverage.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Diskpart

Diskpart is a Windows command-line utility that is used to manage the computer’s drives, which includes disks, partitions, volumes and virtual hard disks.[1]

Adversaries may abuse Diskpart to perform discovery and destructive actions on a system’s storage. For example, adversaries have been observed using Diskpart to conduct Discovery techniques to enumerate disks and volumes to gather information about the host environment, and to execute commands such as `clean all` to remove partition information and overwrite data across disks, resulting in data destruction.[2]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

5 rows
DomainIDNameRelationship / procedure
EnterpriseT1561.002Disk Structure WipeSub-technique

Diskpart can be used to delete a partition or a volume.[1] Diskpart can also be used to remove all partitions or volume formatting from the selected disk.[2]

EnterpriseT1222.001Windows PermissionsSub-technique

Diskpart can be used to display, set, or clear attributes of a disk or volume.[1]

EnterpriseT1082System Information Discovery

Diskpart can show information about the selected disk, partition, volume, or virtual hard disk (VHD).[1]

EnterpriseT1059.003Windows Command ShellSub-technique

Diskpart can execute a disk partition script file, which attempts to mount a virtual hard disk.[3] Diskpart can also assign and mount virtual disks.[3]

EnterpriseT1083File and Directory Discovery

If executed with elevated privileges, Diskpart can list all volumes, including virtual disks.[3]

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.1
Object version
1.0
Created
Modified
Raw hash
a551141bab1a1aba...
Imported snapshots across ATT&CK releases(1)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.11.0Current bundlea551141bab1a…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  2. [2]
    Trendmicro_RansomHub_Dec2024

    Trend Research. (2024, December 20). RansomHub. Retrieved December 23, 2025.

    Open source URL
  3. [3]
    Halcyon_CloakRansomware_Dec2024

    Halcyon RISE Team. (2024, December 12). Cloak Ransomware Variant Exhibits Advanced Persistence, Evasion and VHD Extraction Capabilities. Retrieved December 23, 2025.

    Open source URL
  4. [4]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  5. [5]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  6. [6]
    Trendmicro_RansomHub_Dec2024

    Trend Research. (2024, December 20). RansomHub. Retrieved December 23, 2025.

    Open source URL
  7. [7]
    Trendmicro_RansomHub_Dec2024

    Trend Research. (2024, December 20). RansomHub. Retrieved December 23, 2025.

    Open source URL
  8. [8]
    mitre-attackS9002
    Open source URL
  9. [9]
    mitre-attackS9002
    Open source URL
  10. [10]
    mitre-attackS9002
    Open source URL
  11. [11]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  12. [12]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  13. [13]
    Trendmicro_RansomHub_Dec2024

    Trend Research. (2024, December 20). RansomHub. Retrieved December 23, 2025.

    Open source URL
  14. [14]
    Trendmicro_RansomHub_Dec2024

    Trend Research. (2024, December 20). RansomHub. Retrieved December 23, 2025.

    Open source URL
  15. [15]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  16. [16]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  17. [17]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  18. [18]
    Microsoft_diskpart_Feb2023

    Microsoft. (2023, February 3). diskpart. Retrieved March 17, 2025.

    Open source URL
  19. [19]
    Halcyon_CloakRansomware_Dec2024

    Halcyon RISE Team. (2024, December 12). Cloak Ransomware Variant Exhibits Advanced Persistence, Evasion and VHD Extraction Capabilities. Retrieved December 23, 2025.

    Open source URL
  20. [20]
    Halcyon_CloakRansomware_Dec2024

    Halcyon RISE Team. (2024, December 12). Cloak Ransomware Variant Exhibits Advanced Persistence, Evasion and VHD Extraction Capabilities. Retrieved December 23, 2025.

    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.