2019-01-16 22:36:31 +00:00
|
|
|
title: Webshell Detection With Command Line Keywords
|
2019-11-12 22:12:27 +00:00
|
|
|
id: bed2a484-9348-4143-8a8a-b801c979301c
|
2019-01-16 22:36:31 +00:00
|
|
|
description: Detects certain command line parameters often used during reconnaissance activity via web shells
|
|
|
|
author: Florian Roth
|
2020-11-27 09:17:45 +00:00
|
|
|
references:
|
2019-10-26 07:14:48 +00:00
|
|
|
- https://www.fireeye.com/blog/threat-research/2013/08/breaking-down-the-china-chopper-web-shell-part-ii.html
|
|
|
|
date: 2017/01/01
|
2021-01-07 16:54:19 +00:00
|
|
|
modified: 2021/01/06
|
2019-10-26 07:14:48 +00:00
|
|
|
tags:
|
|
|
|
- attack.persistence
|
2020-06-16 20:46:08 +00:00
|
|
|
- attack.t1505.003
|
2020-08-29 16:22:09 +00:00
|
|
|
- attack.privilege_escalation # an old one
|
|
|
|
- attack.t1100 # an old one
|
2019-01-16 22:36:31 +00:00
|
|
|
logsource:
|
2019-03-01 23:14:20 +00:00
|
|
|
category: process_creation
|
|
|
|
product: windows
|
2019-01-16 22:36:31 +00:00
|
|
|
detection:
|
2019-03-01 23:14:20 +00:00
|
|
|
selection:
|
|
|
|
ParentImage:
|
|
|
|
- '*\apache*'
|
|
|
|
- '*\tomcat*'
|
|
|
|
- '*\w3wp.exe'
|
|
|
|
- '*\php-cgi.exe'
|
|
|
|
- '*\nginx.exe'
|
|
|
|
- '*\httpd.exe'
|
|
|
|
CommandLine:
|
2019-10-26 07:14:48 +00:00
|
|
|
- '*whoami*'
|
|
|
|
- '*net user *'
|
|
|
|
- '*ping -n *'
|
|
|
|
- '*systeminfo'
|
|
|
|
- '*&cd&echo*'
|
|
|
|
- '*cd /d*' # https://www.computerhope.com/cdhlp.htm
|
2021-01-07 16:54:19 +00:00
|
|
|
- '*ipconfig*'
|
|
|
|
- '*pathping*'
|
|
|
|
- '*tracert*'
|
|
|
|
- '*netstat*'
|
|
|
|
- '*schtasks*'
|
|
|
|
- '*vssadmin*'
|
|
|
|
- '*wevtutil*'
|
|
|
|
- '*tasklist*'
|
2019-03-01 23:14:20 +00:00
|
|
|
condition: selection
|
2019-01-16 22:36:31 +00:00
|
|
|
fields:
|
2019-03-01 23:14:20 +00:00
|
|
|
- CommandLine
|
|
|
|
- ParentCommandLine
|
2019-01-16 22:36:31 +00:00
|
|
|
falsepositives:
|
2019-03-01 23:14:20 +00:00
|
|
|
- unknown
|
2019-01-16 22:36:31 +00:00
|
|
|
level: high
|