Files
blue-team-tools/rules/windows/powershell/powershell_suspicious_keywords.yml
T

33 lines
1.3 KiB
YAML
Raw Normal View History

2019-02-11 13:02:33 +01:00
title: Suspicious PowerShell Keywords
2019-11-12 23:12:27 +01:00
id: 1f49f2ab-26bc-48b3-96cc-dcffbc93eadf
2019-02-11 13:02:33 +01:00
status: experimental
description: Detects keywords that could indicate the use of some PowerShell exploitation framework
date: 2019/02/11
2019-10-28 22:14:14 -07:00
author: Florian Roth, Perez Diego (@darkquassar)
2019-02-11 13:02:33 +01:00
references:
- https://posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462
2019-10-28 22:14:14 -07:00
- https://github.com/PowerShellMafia/PowerSploit/blob/master/CodeExecution/Invoke-ReflectivePEInjection.ps1
- https://github.com/hlldz/Invoke-Phant0m/blob/master/Invoke-Phant0m.ps1
2019-02-11 13:02:33 +01:00
tags:
- attack.execution
2020-06-16 14:46:08 -06:00
- attack.t1059.001
- attack.t1086 #an old one
2019-02-11 13:02:33 +01:00
logsource:
product: windows
service: powershell
2019-10-28 22:14:14 -07:00
definition: 'It is recommended to use the new "Script Block Logging" of PowerShell v5 https://adsecurity.org/?p=2277. Monitor for EventID 4104'
2019-02-11 13:02:33 +01:00
detection:
2019-12-19 23:56:36 +01:00
keywords:
Message:
- "System.Reflection.Assembly.Load"
- "[System.Reflection.Assembly]::Load"
- "[Reflection.Assembly]::Load"
- "System.Reflection.AssemblyName"
- "Reflection.Emit.AssemblyBuilderAccess"
- "Runtime.InteropServices.DllImportAttribute"
- "SuspendThread"
2019-02-11 13:02:33 +01:00
condition: keywords
falsepositives:
- Penetration tests
level: high