PowerShell Console History Logs Deleted

testmedium
log source: windows · file_deleteauthor Nasreddine Bencherchali (Nextron Systems)date 2023-02-15
01

description

What this is, in brief.

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

02

tags

attack.stealthattack.t1070
03

rule source (YAML)

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.stealth
    - attack.t1070
logsource:
    category: file_delete
    product: windows
detection:
    selection:
        TargetFilename|endswith: '\PSReadLine\ConsoleHost_history.txt'
    condition: selection
falsepositives:
    - Unknown
level: medium
04

detects techniques (1)

ATT&CK techniques this enables or maps to.

05

references

External citations — patches, advisories, analysis.

  • Internal Research