T1654 Log Enumeration
Discoveryon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0255 Detection Strategy for Log Enumeration
AN0705 Windows
Monitor for use of native utilities such as wevtutil.exe or PowerShell cmdlets (Get-WinEvent, Get-EventLog) to enumerate or export logs. Unusual access to security or system event channels, especially by non-administrative users or processes, should be correlated with subsequent file export or network transfer activity.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SecurityEventCode=4663, 4670, 4656 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
AN0706 Linux
Monitor for suspicious use of commands such as cat, less, grep, or journalctl accessing /var/log/ files. Abnormal enumeration of authentication logs (auth.log, secure) or bulk access to multiple logs in short time windows should be flagged.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve: Execution of cat, less, grep, journalctl targeting log directories (/var/log/) | Not mapped to Sentinel yet. |
auditd:PATHopen: Access to sensitive log files (/var/log/auth.log, /var/log/secure, /var/log/syslog) | Not mapped to Sentinel yet. |
AN0707 macOS
Detect abnormal access to unified logs via log show or fs_usage targeting system log files. Monitor for execution of shell utilities (cat, grep) against /var/log/system.log and for plist modifications enabling verbose logging.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogExecution of log show, fs_usage, or cat targeting system.log | Not mapped to Sentinel yet. |
macos:unifiedlogopen: Access to /var/log/system.log or related security event logs | Not mapped to Sentinel yet. |
AN0708 IaaS
Monitor for cloud API calls that export or collect guest or system logs. Abnormal use of Azure VM Agent’s CollectGuestLogs.exe or AWS CloudWatch GetLogEvents across multiple instances should be correlated with lateral movement or data staging.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailGetLogEvents: High frequency log exports from CloudWatch or equivalent services | Not mapped to Sentinel yet. |
azure:activityCollectGuestLogs: Unexpected collection of guest logs by Azure VM Agent outside normal maintenance windows |
|
AN0709 ESXi
Monitor ESXi shell or API access to host logs under /var/log/. Abnormal enumeration of vmkernel.log, hostd.log, or vpxa.log by unauthorized accounts should be flagged.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:shellExecution of cat, tail, grep targeting /var/log/vmkernel.log or /var/log/hostd.log | Not mapped to Sentinel yet. |
esxi:hostdread: Access to sensitive log files by non-admin users | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.