Join our Newsletter — 33% off our NHI Course
Home› Guides› T1680 Local Storage Discovery: Detecting Drive and Volume…
Guide SOC & Detection Engineering

T1680 Local Storage Discovery: Detecting Drive and Volume Enumeration

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 11 min read
On this page

Ransomware, wipers and espionage implants all ask the same early question on a new host: which drives and volumes exist, how big are they and what is on them. MITRE ATT&CK T1680 Local Storage Discovery covers adversaries enumerating local drives, disks and volumes and their attributes, such as total and free space and the volume serial number. ATT&CK v20 places it in the Discovery tactic (TA0007) for ESXi, IaaS, Linux, macOS and Windows. Because the same queries are made constantly by inventory agents, backup tools and the operating system itself, this guide focuses on the context that separates attacker enumeration from normal noise, MITRE's detection strategy DET0188, cloud volume discovery, and how to test and measure coverage. It is written for detection engineers and SOC analysts.

Key takeaways

  • It is near universal in malware. ATT&CK v20 links more than 100 groups, campaigns and software entries to T1680, from LockBit, BlackCat, Black Basta and Royal to wipers such as HermeticWiper and WhisperGate.
  • The purpose varies. ATT&CK lists preparation for ransomware encryption, lateral movement and Direct Volume Access (T1006). Many implants also use the volume serial number as a victim identifier.
  • Single events are worthless alone. Drive queries happen on every host every day. Detect the combination: an unexpected process, user or parent, plus other discovery, plus what follows.
  • Much of it is API based. Malware often calls Windows functions such as GetLogicalDrives and GetDriveType directly, so command line rules catch only the hands-on-keyboard cases; EDR behaviour analytics carry the rest.
  • Cloud has its own version. AWS, Azure and Google Cloud expose disk listing through their APIs, so a stolen cloud credential can map every volume without touching a host.

What T1680 covers

ATT&CK describes adversaries enumerating local drives, disks or volumes and their attributes. It names the utilities on each platform, listed here at the level needed for detection logic:

PlatformUtilities and interfaces named by ATT&CKWhat they reveal
Windowswmic logicaldisk get, PowerShell Get-PSDrive, Windows API functions such as GetDriveTypeLogical and mapped drives, drive type, free space, volume serial number
Linuxparted, lsblk, fdisk, lshw, dfPartitions, size, type, file system, free space
macOSdiskutil, system_profiler SPStorageDataTypeDisks, mount paths, file systems, drive type
ESXiesxcli storage commands (through the Hypervisor CLI, T1059.012); listing .vmdk filesStorage attached to the host, VM disk files
IaaSAWS describe-volumes, gcloud compute disks list, az disk listCloud block volumes and their attachments

Microsoft documents that Get-PSDrive returns Windows logical drives including drives mapped to network shares, plus PowerShell provider drives such as the registry and certificate stores, which is why a single call can reveal both local volumes and the shares a user has mapped. Browsing the contents of those drives is T1083 File and Directory Discovery, and reading data from them is T1005 Data from Local System; this page covers the storage layout step only.

How adversaries use it: recorded cases

Actor or software (ATT&CK v20)What was recordedPurpose
Volt Typhoon (G1017)Discovered file system types, drive names, size and free space on compromised systems (Microsoft, May 2023).Host profiling during living off the land intrusions
LockBit 3.0 (S1202)CISA advisory AA23-075A lists local drive configuration and mounted external storage devices among the system information LockBit 3.0 enumerates.Choosing encryption targets
Ryuk (S0446), Royal (S1073), Qilin (S1242)Used GetLogicalDrives and, for Ryuk, GetDriveTypeW; Qilin also used EnumResourceW to locate mounted drives and shares.Encrypting every reachable volume
INC Ransomware (S1139)Can discover and mount hidden drives to encrypt them.Reaching recovery or unmounted partitions
HermeticWiper (S0697), KillDisk (S0607), ZeroCleare (S1151)Enumerate physical drives or compute disk size before destructive writes.Wiping
APT29 in the SolarWinds Compromise (C0024)Used fsutil to check free space before actions that might create large files.Avoiding disk full failures that would attract attention
Chimera (G0114)Used fsutil fsinfo drives, systeminfo and vssadmin list shadows to gather drive and shadow volume information.Host profiling, shadow copy awareness
TeamTNT (G0139)Searched for disk partition and logical volume information.Profiling cloud and container hosts

The TeamTNT entry links to a wider pattern on cloud hosts. The TeamTNT Worm 2020 breach page describes the same group's worm spreading through exposed Docker APIs and stealing the AWS CLI credential files from user home directories. Host discovery and credential theft went together: once the worm knew the host, it went straight for the machine credentials stored on it.

Volume serial numbers as victim IDs

A recurring use is identification rather than targeting. ATT&CK records CORESHELL, Zebrocy, Sardonic, StrongPity, FELIXROOT, TONESHELL and others collecting the volume serial number, and SampleCheck5000 building unique victim identifiers from it. TONESHELL used a WMI query against win32_logicaldisk for this. A process querying the system volume serial number and then beaconing is a useful correlation for implant detection.

What to detect and where

ATT&CK v20 maps detection strategy DET0188, Local Storage Discovery via Drive Enumeration and Filesystem Probing, to T1680 with four analytics. The table restates them with practical tuning.

Platform (analytic)MITRE's signalLog source namedPractical tuning
Windows (AN0536)Get-PSDrive, wmic logicaldisk or Win32 API drive enumeration by non-admin users or outside baseline inventory scriptsSysmon event 1 (process creation)Allow-list inventory, backup and management agents by signed binary and parent; add PowerShell script block logging (event 4104) for in-memory use; give weight to fsutil fsinfo drives and vssadmin list shadows together
Linux (AN0537)lsblk, fdisk -l, lshw -class disk or parted by non-admin users or in non-interactive shellsauditd SYSCALL and EXECVEExclude configuration management and monitoring agents; flag calls from web server, database or container processes
macOS (AN0538)diskutil list or system_profiler SPStorageDataType outside user login or not tied to inventory toolsUnified logBaseline MDM and inventory agents; flag unsigned or newly seen parents
ESXi (AN0539)esxcli storage or VM listing through interactive shells unrelated to maintenanceESXi hostd, ESXi authForward ESXi logs centrally; correlate with the preceding SSH or shell login. See the ESXi Logs Detection Guide

MITRE's IaaS platform has no analytic in DET0188, so the cloud row below is NHI Mgmt Group's recommendation.

Cloud volume discovery

AWS documents that EC2 DescribeVolumes returns each volume's size, encryption status, source snapshot, state and attachments, including the instance and device it is attached to. That is enough to pick targets for snapshot sharing or theft. Make sure your CloudTrail trails keep read-only management events (event history records them by default) (or the Azure Activity Log and Google Cloud Admin Activity and Data Access logs) and alert when a principal that has never listed volumes does so, especially in many Regions or projects in a short window, or right after a new access key is first used. The T1580 and T1619 Cloud Infrastructure and Storage Discovery Guide covers the wider cloud discovery picture.

Behaviour sequences worth an alert

  1. A newly seen or unsigned process enumerates drives, then queries shadow copies, then a service stop or vssadmin delete follows. This is the ransomware lead-in; see the T1490 Inhibit System Recovery Defensive Guide.
  2. Drive enumeration followed by a raw handle to \\.\PhysicalDrive0 or a volume device, which points to Direct Volume Access or wiping. See the MITRE ATT&CK T1006 Direct Volume Access guide.
  3. A burst of discovery from one process within a minute: system information, users, network configuration and drives. Single queries are noise; the burst is the signal.
  4. Volume serial number query from a process that then makes its first outbound connection.
  5. Disk listing from a web application or container process on a Linux server.

Mitigations and controls

ATT&CK v20 maps no mitigations to T1680; the information is available to any process by design. Controls therefore aim at the actor and at what follows. These are NHI Mgmt Group recommendations:

  • Application control: limit which binaries can run on servers, so an unknown implant cannot run at all.
  • Restrict interactive utilities on servers: where operationally possible, block or alert on wmic and script hosts for non-admin users; Microsoft has deprecated WMIC, which makes its use on modern builds more suspicious.
  • Protect recovery data: keep backups offline or immutable and protect shadow copies, so discovery of every volume does not translate into loss of every volume.
  • Cloud least privilege: do not grant ec2:DescribeVolumes and similar list rights through broad read-only policies to workload roles that do not need them, and scope snapshot sharing permissions tightly.
  • Remove stored credentials from hosts: the TeamTNT case shows discovery and credential theft travelling together; long-lived cloud keys in home directories should be replaced with instance roles or short-lived credentials.

Where identity fits

On cloud platforms T1680 is performed with an identity, not a binary: whichever role, access key or service account the attacker holds. Workload roles that inherited a broad read-only policy can list every volume and snapshot in the account. Review which non-human identities have storage list rights, alert on their use from outside their expected compute, and treat a leaked key as able to map all storage it can read. The Cloud Access Key Leak Playbook covers the response.

Common failure patterns

  • Alerting on every wmic logicaldisk or lsblk: the rule is muted within a week and the real case is lost in the noise.
  • Allow-listing by process name only: malware that names itself after an inventory agent passes; allow-list by signer, path and parent.
  • Command line rules only: API based enumeration by ransomware never spawns a utility, so coverage that stops at process creation misses most families in the table above.
  • Cloud read events not collected: trails configured for write events only cannot show volume listing by a stolen key.
  • No link to the next step: analysts triage the discovery alert alone and miss the shadow copy deletion five minutes later.

How to test your coverage

  1. Baseline first: collect a week of drive enumeration events by process, signer, parent and user on servers and workstations, and record the legitimate sources.
  2. Emulate in a test window: on lab hosts, run drive and volume listing from a non-admin shell, from a script host and from a new unsigned test binary; on a test cloud account, list volumes from a fresh test principal in several Regions.
  3. Confirm telemetry and correlation: check the events arrive and that the burst and sequence rules fire, while the baselined agents stay quiet.
  4. Roll back: remove the test binary and principal and record results against DET0188 in your coverage map.

Metrics

  • Percentage of servers sending process creation with command line and PowerShell script block logs.
  • Number of drive enumeration alerts per week closed as benign, as an allow-list health measure.
  • Percentage of cloud accounts capturing read-only management events centrally.
  • Median time from a test enumeration sequence to an alert.
  • Number of workload roles holding storage list permissions they have not used in 90 days.

Framework mapping

FrameworkReferences
ATT&CKT1680 Local Storage Discovery (Discovery TA0007); related T1006, T1005, T1083, T1082, T1490, T1486, T1580, T1059.012
ATT&CK detectionDET0188 with analytics AN0536 to AN0539
ATT&CK mitigationsNone mapped in v20
NIST SP 800-53 Rev. 5SI-4 System Monitoring, AU-12 Audit Record Generation, CM-7 Least Functionality, AC-6 Least Privilege
NIST CSF 2.0DE.CM-09 computing hardware, software and runtime environments monitored, DE.AE-02 adverse events analysed
CIS Controls v8.1Control 2 Inventory and Control of Software Assets, Control 8 Audit Log Management, Control 11 Data Recovery

Practitioner checklist

  • Baseline legitimate drive enumeration by signer, path and parent before writing rules.
  • Capture process command lines and PowerShell script block logs on servers.
  • Correlate drive enumeration with other discovery, shadow copy queries and raw disk access.
  • Rely on EDR behaviour analytics for API based enumeration, not only command lines.
  • Collect cloud read-only management events and alert on new principals listing volumes.
  • Remove long-lived cloud keys from hosts and scope storage list rights for workload roles.
  • Keep immutable or offline backups so discovery of every volume does not mean loss of every volume.
  • Test the analytics and record results against DET0188.

Standards and references

Related NHI Mgmt Group resources: MITRE ATT&CK T1006 Direct Volume Access · MITRE ATT&CK T1486 Data Encrypted for Impact · LockBit Threat Actor Profile · Volt Typhoon Threat Actor Profile · Sysmon Guide · MITRE ATT&CK T1082 System Information Discovery Guide · MITRE ATT&CK T1083 File and Directory Discovery Guide · MITRE ATT&CK T1673 Virtual Machine Discovery Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.