EXPLORE
← Back to Explore
sigmamediumHunting

PowerShell Console History Logs Deleted

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

MITRE ATT&CK

defense-evasion

Detection Query

selection:
  TargetFilename|endswith: \PSReadLine\ConsoleHost_history.txt
condition: selection

Author

Nasreddine Bencherchali (Nextron Systems)

Created

2023-02-15

Data Sources

windowsfile_delete

Platforms

windows

Tags

attack.defense-evasionattack.t1070
Raw Content
title: PowerShell Console History Logs Deleted
id: ff301988-c231-4bd0-834c-ac9d73b86586
status: test
description: Detects the deletion of the PowerShell console History logs which may indicate an attempt to destroy forensic evidence
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-15
tags:
    - attack.defense-evasion
    - attack.t1070
logsource:
    category: file_delete
    product: windows
detection:
    selection:
        TargetFilename|endswith: '\PSReadLine\ConsoleHost_history.txt'
    condition: selection
falsepositives:
    - Unknown
level: medium