Merge pull request #432 from EccoTheFlintstone/master
add/modify powershell Empire rules
This commit is contained in:
+2
@@ -5,6 +5,7 @@ references:
|
||||
- https://github.com/EmpireProject/Empire/blob/c2ba61ca8d2031dad0cfc1d5770ba723e8b710db/lib/common/helpers.py#L165
|
||||
- https://github.com/EmpireProject/Empire/blob/e37fb2eef8ff8f5a0a689f1589f424906fe13055/lib/modules/powershell/persistence/powerbreach/deaduser.py#L191
|
||||
- https://github.com/EmpireProject/Empire/blob/e37fb2eef8ff8f5a0a689f1589f424906fe13055/lib/modules/powershell/persistence/powerbreach/resolver.py#L178
|
||||
- https://github.com/EmpireProject/Empire/blob/e37fb2eef8ff8f5a0a689f1589f424906fe13055/data/module_source/privesc/Invoke-EventVwrBypass.ps1#L64
|
||||
author: Florian Roth
|
||||
date: 2019/04/20
|
||||
tags:
|
||||
@@ -18,5 +19,6 @@ detection:
|
||||
CommandLine:
|
||||
- '* -NoP -sta -NonI -W Hidden -Enc *'
|
||||
- '* -noP -sta -w 1 -enc *'
|
||||
- '* -NoP -NonI -W Hidden -enc *'
|
||||
condition: selection
|
||||
level: critical
|
||||
@@ -0,0 +1,28 @@
|
||||
title: Empire PowerShell UAC Bypass
|
||||
status: experimental
|
||||
description: Detects some Empire PowerShell UAC bypass methods
|
||||
references:
|
||||
- https://github.com/EmpireProject/Empire/blob/e37fb2eef8ff8f5a0a689f1589f424906fe13055/data/module_source/privesc/Invoke-EventVwrBypass.ps1#L64
|
||||
- https://github.com/EmpireProject/Empire/blob/e37fb2eef8ff8f5a0a689f1589f424906fe13055/data/module_source/privesc/Invoke-FodHelperBypass.ps1#L64
|
||||
author: Ecco
|
||||
date: 2019/08/30
|
||||
logsource:
|
||||
category: process_creation
|
||||
product: windows
|
||||
detection:
|
||||
selection:
|
||||
CommandLine:
|
||||
- '* -NoP -NonI -w Hidden -c $x=$((gp HKCU:Software\\Microsoft\\Windows Update).Update)*'
|
||||
- '* -NoP -NonI -c $x=$((gp HKCU:Software\\Microsoft\\Windows Update).Update);*'
|
||||
condition: selection
|
||||
fields:
|
||||
- CommandLine
|
||||
- ParentCommandLine
|
||||
tags:
|
||||
- attack.defense_evasion
|
||||
- attack.privilege_escalation
|
||||
- attack.t1088
|
||||
- car.2019-04-001
|
||||
falsepositives:
|
||||
- unknown
|
||||
level: critical
|
||||
@@ -15,8 +15,10 @@ logsource:
|
||||
product: windows
|
||||
detection:
|
||||
selection:
|
||||
CommandLine: whoami
|
||||
condition: selection
|
||||
Image: '*\whoami.exe'
|
||||
selection2:
|
||||
OriginalFileName: 'whoami.exe'
|
||||
condition: selection or selection2
|
||||
falsepositives:
|
||||
- Admin activity
|
||||
- Scripts and administrative tools used in the monitored environment
|
||||
|
||||
Reference in New Issue
Block a user