Detectionhightest

Exchange PowerShell Cmdlet History Deleted

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

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-10-26Updated 2026-10-13a55349d8-9588-4c5a-8e3b-1925fe2a4ffewindows
Log Source
WindowsFile Delete
ProductWindows← raw: windows
CategoryFile Delete← raw: file_delete
Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetFilename|contains|all:
            - '\Logging\CmdletInfra\LocalPowerShell\Cmdlet\'
            - '_Cmdlet_'
    condition: selection
False Positives

Possible FP during log rotation

MITRE ATT&CK
Rule Metadata
Rule ID
a55349d8-9588-4c5a-8e3b-1925fe2a4ffe
Status
test
Level
high
Type
Detection
Created
2022-10-26
Modified
2026-10-13
Path
rules/windows/file/file_delete/file_delete_win_delete_exchange_powershell_logs.yml
Raw Tags
attack.stealthattack.t1070
View on GitHub