T1083: File and Directory Discovery
Tactics: Discovery. Platforms: ESXi, Linux, macOS, Network Devices, Windows.
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
MITRE's description
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system. Adversaries may use the information from File and Directory Discovery during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions. Many command shell utilities can be used to obtain this information.
Telemetry that detects it
- Command Execution
- File Access
- File Creation
- Process Creation
D3FEND countermeasures
- D3-CF: Content Filtering (Isolate)
- D3-CM: Content Modification (Isolate)
- D3-CQ: Content Quarantine (Isolate)
- D3-DF: Decoy File (Deceive)
- D3-FA: File Analysis (Detect)
- D3-FE: File Encryption (Harden)
- D3-FEV: File Eviction (Evict)
- D3-FIM: File Integrity Monitoring (Detect)
- D3-LFP: Local File Permissions (Isolate)
- D3-RF: Restore File (Restore)
- D3-RFAM: Remote File Access Mediation (Isolate)
Groups documented using it
Darkhotel, admin@338, APT18, Lotus Blossom, Winnti Group, Sowbug, Dark Caracal, Leafminer, Inception, Sidewinder, Windigo, HAFNIUM, Confucius, Aoqin Dragon, LuminousMoth, ToddyCat, Winter Vivern, Velvet Ant, Contagious Interview
Procedure examples
- During the 2025 Poland Wiper Attacks, the adversaries obtained the contents of users’ directories using dir /s /b C:\Users command.
- 3PARA RAT has a command to retrieve metadata for files on disk as well as a command to list the current working directory.
- 4H RAT has the capability to obtain file and directory listings.
- ADVSTORESHELL can list files and directories.
373 documented uses in all. These are a sample.
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.