2020-07-22 09:05:50 +01:00
title : Webshell Recon Detection Via CommandLine & Processes
id : f64e5c19-879c-4bae-b471-6d84c8339677
status : experimental
description : Looking for processes spawned by web server components that indicate reconnaissance by popular public domain webshells for whether perl, python or wget are installed.
author : Cian Heasley
2020-11-27 10:17:45 +01:00
references :
2020-07-22 09:05:50 +01:00
- https://ragged-lab.blogspot.com/2020/07/webshells-automating-reconnaissance.html
date : 2020 /07/22
tags :
- attack.persistence
- attack.t1505.003
2020-08-29 19:22:09 +03:00
- attack.privilege_escalation # an old one
- attack.t1100 # an old one
2020-07-22 09:05:50 +01:00
logsource :
category : process_creation
product : windows
detection :
selection :
2020-11-28 13:41:11 -03:00
- ParentImage|contains :
2020-10-15 19:59:36 -03:00
- '\apache'
- '\tomcat'
2020-11-28 13:41:11 -03:00
- ParentImage|endswith :
2020-10-15 19:59:36 -03:00
- '\w3wp.exe'
- '\php-cgi.exe'
- '\nginx.exe'
- '\httpd.exe'
2020-11-28 13:41:11 -03:00
selection2 :
2020-07-22 09:05:50 +01:00
Image|endswith :
2020-10-15 19:59:36 -03:00
- '\cmd.exe'
2020-07-22 09:05:50 +01:00
CommandLine|contains :
2020-10-15 19:59:36 -03:00
- 'perl --help'
- 'python --help'
- 'wget --help'
- 'perl -h'
2020-11-28 13:41:11 -03:00
condition : selection and selection2
2020-07-22 09:05:50 +01:00
fields :
- Image
- CommandLine
- ParentCommandLine
falsepositives :
- unknown
level : high