File and Directory Discovery T1083
Tactic: Discovery
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.
Events covered
13 catalog events are tagged with this technique by at least one rule.
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
| Security-Auditing | Event ID 4688 | A new process has been created. |
| ESF | exec | Process Execution |
| ESF | open | File Open |
| Linux-Auditd | Event ID 1101 | USER_ACCT |
| Linux-Auditd | Event ID 1103 | CRED_ACQ |
| Linux-Auditd | Event ID 1105 | USER_START |
| Linux-Auditd | Event ID 1106 | USER_END |
| Linux-Auditd | Event ID 1123 | USER_CMD |
| Linux-Auditd | Event ID 1309 | EXECVE |
| PowerShell | Event ID 4103 | Payload Context: ContextInfo User Data: UserData. |
| PowerShell | Event ID 4104 | Creating Scriptblock text (MessageNumber of MessageTotal). |
| Sysmon-for-Linux | Event ID 1 | Process Create |
Authoring guide
These 71 rules share fields, values, and exclusions.
Fields filtered most (62 distinct)
These fields appear most often in rule filters.
Top indicator values (842 distinct)
These values appear most often in rule predicates.
Exclusions (226 distinct)
These values appear most often in top-level exclusions.
Rules under this technique
These vendors publish rules tagged with this technique.
Sigma 24 rules
- Capabilities Discovery - Linux
- Cisco Discovery
- DirLister Execution
- File and Directory Discovery - Linux
- File and Directory Discovery - MacOS
- HackTool - PCHunter Execution
- Linux Capabilities Discovery
- Notepad Password Files Discovery
- Potential Discovery Activity Using Find - Linux
- Potential Discovery Activity Using Find - MacOS
- Powershell Directory Enumeration
- Powershell Sensitive File Discovery
- PUA - Seatbelt Execution
- PUA - TruffleHog Execution
- PUA - TruffleHog Execution - Linux
- Shell Execution GCC - Linux
- Shell Execution via Find - Linux
- Shell Execution via Flock - Linux
- Shell Execution via Nice - Linux
- Shell Invocation via Apt - Linux
- Source Code Enumeration Detection by Keyword
- Turla Group Lateral Movement
- Vim GTFOBin Abuse - Linux
- WannaCry Ransomware Activity
Elastic 28 rules
- AWS Credentials Searched For Inside A Container
- Cloud Credential Search Detected via Defend for Containers
- Deprecated - PowerShell Script with Discovery Capabilities
- ESXI Discovery via Find
- ESXI Discovery via Grep
- Full Disk Access Permission Check
- Kernel Instrumentation Discovery via kprobes and tracefs
- Kubeconfig File Discovery
- Kubelet Pod Discovery Detected via Defend for Containers
- Multi-Value Secret Searching via Find
- Multi-Value Secret Searching via Grep
- Potential Credential Discovery via Recursive Grep
- Potential SUID/SGID Files Enumeration
- Private Key Searching Activity
- Process Capability Enumeration
- Security File Access via Common Utilities
- Sensitive Keys Or Passwords Search Detected via Defend for Containers
- Sensitive Keys Or Passwords Searched For Inside A Container
- SUID/SGUID Enumeration Detected
- Suspicious Dynamic Linker Discovery via od
- Suspicious Memory grep Activity
- Suspicious Modprobe File Event
- Suspicious System Commands Executed by Previously Unknown Executable
- Suspicious which Enumeration
- System Information Discovery via Windows Command Shell
- Web Server Local File Inclusion Activity
- Web Server Potential Remote File Inclusion Activity
- Yum/DNF Plugin Status Discovery
Splunk 11 rules
- File and Directory Discovery Output to File - Windows (PowerShell)
- File and Directory Discovery Output to File - Windows (Sysmon)
- File and Directory Discovery Output to File - Windows (Windows Event Log)
- Linux Auditd Database File And Directory Discovery
- Linux Auditd File And Directory Discovery
- Linux Auditd Hidden Files And Directories Creation
- Linux Auditd Virtual Disk File And Directory Discovery
- Linux Enumeration Techniques
- Remote Share Directory Listing - Windows (PowerShell)
- Remote Share Directory Listing - Windows (Sysmon)
- Remote Share Directory Listing - Windows (Windows Event Log)
Kusto 7 rules
- API - Kiterunner detection
- AWSCloudTrail - ECR image scan findings high or critical
- Detect potential file enumeration activity (ASIM Web Session)
- Mimecast Secure Email Gateway - Spam Event Thread
- Mimecast Secure Email Gateway - Spam Event Thread
- Powershell Empire Cmdlets Executed in Command Line
- Votiro - File Blocked from Connector