Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_powershell_encode.yml
T

39 lines
1.3 KiB
YAML
Raw Normal View History

title: Suspicious Execution of Powershell with Base64
2022-01-02 10:36:52 +01:00
id: fb843269-508c-4b76-8b8d-88679db22ce7
status: test
description: Commandline to launch powershell with a base64 payload
2022-01-02 10:36:52 +01:00
references:
2022-07-11 17:48:40 +01:00
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1059.001/T1059.001.md#atomic-test-20---powershell-invoke-known-malicious-cmdlets
2022-01-02 15:51:55 +01:00
- https://unit42.paloaltonetworks.com/unit42-pulling-back-the-curtains-on-encodedcommand-powershell-attacks/
- https://mikefrobbins.com/2017/06/15/simple-obfuscation-with-powershell-using-base64-encoding/
2022-10-28 15:06:36 +02:00
author: frack113
date: 2022-01-02
modified: 2023-01-05
2022-10-28 15:06:36 +02:00
tags:
- attack.execution
- attack.t1059.001
2022-01-02 10:36:52 +01:00
logsource:
category: process_creation
product: windows
detection:
selection:
2022-07-14 17:35:50 +01:00
Image|endswith:
- \powershell.exe
- \pwsh.exe
2022-01-02 15:51:55 +01:00
CommandLine|contains:
- ' -e '
- ' -en '
- ' -enc '
- ' -enco'
- ' -ec '
2023-01-06 16:35:34 +01:00
filter_encoding:
CommandLine|contains: ' -Encoding '
2022-09-26 23:52:48 +02:00
filter_azure:
ParentImage|contains:
- 'C:\Packages\Plugins\Microsoft.GuestConfiguration.ConfigurationforWindows\'
- '\gc_worker.exe'
2023-01-06 16:35:34 +01:00
condition: selection and not 1 of filter_*
2022-01-02 10:36:52 +01:00
falsepositives:
- Unknown
level: medium