Merge pull request #2567 from frack113/red_20220115

Windows Redcannary
This commit is contained in:
frack113
2022-01-17 06:35:49 +01:00
committed by GitHub
6 changed files with 136 additions and 1 deletions
@@ -0,0 +1,25 @@
title: Use Remove-Item to Delete File
id: b8af5f36-1361-4ebe-9e76-e36128d947bf
status: experimental
description: Powershell Remove-Item with -Path to delete a file or a folder with "-Recurse"
author: frack113
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.004/T1070.004.md
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/Remove-Item?view=powershell-5.1&viewFallbackFrom=powershell-7
date: 2022/01/15
logsource:
product: windows
category: ps_script
definition: Script block logging must be enabled
detection:
selection:
ScriptBlockText|contains|all:
- Remove-Item
- '-Path '
condition: selection
falsepositives:
- Legitimate PowerShell scripts
level: low
tags:
- attack.defense_evasion
- attack.t1070.004
@@ -0,0 +1,26 @@
title: Suspicious Start-Process PassThru
id: 0718cd72-f316-4aa2-988f-838ea8533277
status: experimental
description: Powershell use PassThru option to start in background
author: frack113
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1036.003/T1036.003.md
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/Start-Process?view=powershell-5.1&viewFallbackFrom=powershell-7
date: 2022/01/15
logsource:
product: windows
category: ps_script
definition: Script block logging must be enabled
detection:
selection:
ScriptBlockText|contains|all:
- Start-Process
- '-PassThru '
- '-FilePath '
condition: selection
falsepositives:
- Legitimate PowerShell scripts
level: medium
tags:
- attack.defense_evasion
- attack.t1036.003