Files
hayabusa/rules/sigma/file_event/sysmon_webshell_creation_detect.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

61 lines
1.5 KiB
YAML

title: Windows Webshell Creation
ruletype: Sigma
author: Beyu Denis, oscd.community
date: 2019/10/22
description: Possible webshell file creation on a static web site
detection:
SELECTION_1:
EventID: 11
SELECTION_10:
TargetFilename: '*.pl*'
SELECTION_11:
TargetFilename:
- '*\AppData\Local\Temp\\*'
- '*\Windows\Temp\\*'
SELECTION_2:
TargetFilename: '*\inetpub\wwwroot\\*'
SELECTION_3:
TargetFilename:
- '*.asp*'
- '*.ashx*'
- '*.ph*'
SELECTION_4:
TargetFilename:
- '*\AppData\Local\Temp\\*'
- '*\Windows\Temp\\*'
SELECTION_5:
TargetFilename:
- '*\www\\*'
- '*\htdocs\\*'
- '*\html\\*'
SELECTION_6:
TargetFilename: '*.ph*'
SELECTION_7:
TargetFilename:
- '*\AppData\Local\Temp\\*'
- '*\Windows\Temp\\*'
SELECTION_8:
TargetFilename: '*.jsp'
SELECTION_9:
TargetFilename: '*\cgi-bin\\*'
condition: (SELECTION_1 and ((((SELECTION_2 and SELECTION_3) and not (SELECTION_4))
or ((SELECTION_5 and SELECTION_6) and not (SELECTION_7))) or ((SELECTION_8 or
(SELECTION_9 and SELECTION_10)) and not (SELECTION_11))))
falsepositives:
- Legitimate administrator or developer creating legitimate executable files in a
web application folder
id: 39f1f9f2-9636-45de-98f6-a4046aa8e4b9
level: critical
logsource:
category: file_event
product: windows
modified: 2021/11/27
references:
- PT ESC rule and personal experience
status: test
tags:
- attack.persistence
- attack.t1100
- attack.t1505.003