Exchange PowerShell Cmdlet History Deleted

Detects the deletion of the Exchange PowerShell cmdlet History logs which may indicate an attempt to destroy forensic evidence

Sigma rule (View on GitHub)

 1title: Exchange PowerShell Cmdlet History Deleted
 2id: a55349d8-9588-4c5a-8e3b-1925fe2a4ffe
 3status: test
 4description: Detects the deletion of the Exchange PowerShell cmdlet History logs which may indicate an attempt to destroy forensic evidence
 5references:
 6    - https://web.archive.org/web/20221012062917/https://m365internals.com/2022/10/07/hunting-in-on-premises-exchange-server-logs/
 7    - https://www.it-server-room.com/en/exchange-server-log-file-locations-and-cleanup-guide/
 8author: Nasreddine Bencherchali (Nextron Systems)
 9date: 2022-10-26
10modified: 2026-10-13
11tags:
12    - attack.stealth
13    - attack.t1070
14logsource:
15    category: file_delete
16    product: windows
17detection:
18    selection:
19        TargetFilename|contains|all:
20            - '\Logging\CmdletInfra\LocalPowerShell\Cmdlet\'
21            - '_Cmdlet_'
22    condition: selection
23falsepositives:
24    - Possible FP during log rotation
25level: high

References

Related rules

to-top