Suspicious Removal of PowerShell Console History Logs (via file_delete)
This rule detects the deletion of the PowerShell console History logs which may indicate an attempt to destroy forensic evidence
SigmamediumWindowsv1
sigma
suspicious-removal-of-powershell-console-history-logs-via-file-delete
title: Suspicious Removal of PowerShell Console History Logs (via file_delete)
id: cbe6cfc4-7868-52e0-8088-0d0ccba67707
status: stable
description: This rule detects the deletion of the PowerShell console History logs which may indicate an attempt to destroy forensic evidence
references:
- https://attack.mitre.org/techniques/T1070/
- Internal Research
author: Huntrule Team
date: 2026-06-14
tags:
- attack.stealth
- attack.t1070
logsource:
category: file_delete
product: windows
detection:
selection:
TargetFilename|endswith: '\PSReadLine\ConsoleHost_history.txt'
condition: selection
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.