mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-08 18:23:52 +00:00
24 lines
717 B
YAML
24 lines
717 B
YAML
|
title: Clear PowerShell History
|
|||
|
status: experimental
|
|||
|
description: Detects keywords that could indicate clearing PowerShell history
|
|||
|
date: 2019/10/25
|
|||
|
author: Ilyas Ochkov, oscd.community
|
|||
|
references:
|
|||
|
- https://gist.github.com/hook-s3c/7363a856c3cdbadeb71085147f042c1a
|
|||
|
tags:
|
|||
|
- attack.defense_evasion
|
|||
|
- attack.t1146
|
|||
|
logsource:
|
|||
|
product: windows
|
|||
|
service: powershell
|
|||
|
detection:
|
|||
|
keywords:
|
|||
|
- 'del (Get-PSReadlineOption).HistorySavePath'
|
|||
|
- 'Set-PSReadlineOption –HistorySaveStyle SaveNothing'
|
|||
|
- 'Remove-Item (Get-PSReadlineOption).HistorySavePath'
|
|||
|
- 'rm (Get-PSReadlineOption).HistorySavePath'
|
|||
|
condition: keywords
|
|||
|
falsepositives:
|
|||
|
- some PS-scripts
|
|||
|
level: medium
|