Detectionmediumtest

PowerShell Console History Logs Deleted

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Wed Feb 15ff301988-c231-4bd0-834c-ac9d73b86586windows
Log Source
WindowsFile Delete
ProductWindows← raw: windows
CategoryFile Delete← raw: file_delete
Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetFilename|endswith: '\PSReadLine\ConsoleHost_history.txt'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

References
1
Resolving title…
Internal Research
Rule Metadata
Rule ID
ff301988-c231-4bd0-834c-ac9d73b86586
Status
test
Level
medium
Type
Detection
Created
Wed Feb 15
Path
rules/windows/file/file_delete/file_delete_win_delete_powershell_command_history.yml
Raw Tags
attack.defense-evasionattack.t1070
View on GitHub