Sigma rule: Exchange PowerShell Cmdlet History Deleted
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d219cfde6889, updated 2026-10-13T00:00:00.000Z.
Rule
- Title
- Exchange PowerShell Cmdlet History Deleted
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-10-26
- Modified
- 2026-10-13
- File
- rules/windows/file/file_delete/file_delete_win_delete_exchange_powershell_logs.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the deletion of the Exchange PowerShell cmdlet History logs which may indicate an attempt to destroy forensic evidence
Log source
- product
- windows
- category
- file_delete
Detection
selection:
TargetFilename|contains|all:
- '\Logging\CmdletInfra\LocalPowerShell\Cmdlet\'
- '_Cmdlet_'
condition: selectionFalse positives (as the rule lists them)
- Possible FP during log rotation
Tags
- attack.stealth
- attack.t1070
MITRE ATT&CK ids this rule names
References
- https://web.archive.org/web/20221012062917/https://m365internals.com/2022/10/07/hunting-in-on-premises-exchange-server-logs/
- https://www.it-server-room.com/en/exchange-server-log-file-locations-and-cleanup-guide/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_delete/file_delete_win_delete_exchange_powershell_logs.yml
Sources and licences
SigmaHQ
"Exchange PowerShell Cmdlet History Deleted" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_delete/file_delete_win_delete_exchange_powershell_logs.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Exchange PowerShell Cmdlet History Deleted",
entity page, dataset version ref-d219cfde6889, updated 2026-10-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a55349d8-9588-4c5a-8e3b-1925fe2a4ffe (accessed 2026-11-03).
Underlying source: SigmaHQ rule a55349d8-9588-4c5a-8e3b-1925fe2a4ffe, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.