Potential Web Shell [splunk-waf]
Adversaries may backdoor web servers with web shells to establish persistent access to systems. A Web shell is a Web script that is placed on an openly accessible Web server to allow an adversary to use the Web server as a gateway into a network. A Web shell may provide a set of functions to execute or a command-line interface on the system that hosts the Web server. -- Threat Actor Association: Agrius, Alloy Taurus/Gallium, APT15, APT29/Nobelium/Cozy Bear, BianLian, BlackByte, Cadet Blizzard, FIN13, Flax Typhoon, Magic Hound (aka APT35, Charming Kitten, Phosphorus, and Mint Sandstorm), Mustang Panda (aka. Stately Taurus//Earth Preta/BRONZE PRESIDENT/TA416/RedDelta), OilRig, Teal Kurma (aka Sea Turtle, Marbled Dust, Cosmic Wolf), UNC5221, UTA0178, Volt Typhoon (Bronze Silhouette, Vanguard Panda), Wizard Spider - Software Association: ALPHV/BlackCat, AvosLocker, Blackbyte, Conti, Clop, Cring, Hafnium, Lockbit -- #TrendingThreat #Russia #Ukraine
Detection Logic
`get_web_data` `get_web_data_waf` ("POST" "200" (".php"
OR ".jsp"
OR ".jspx"
OR ".py"
OR ".asp"
OR ".aspx"
OR ".asmx"
OR ".pl"))
| table _time, host, user, action, bytes, bytes_in, bytes_out, dest_ip, dest_port, dest_mac, http_user_agent, site, src_ip, src_port, src_mac, status, uri_query, uri_path, http_method
| bin span=1s
| stats values(*) as * by _time, dest_ip
| where (bytes_out > 500)
AND (match(http_method,"(?i)post")
AND match(status,"200")
AND match(uri_path,"(?i).pl
| .asmx
| .asp
| .py
| .jsp
| .jspx
| .php")
OR match(uri_path,"(?i)shell
| b74k
| mysql
| backdoor
| cmdasp
| cmdjsp")) Field Validations
Loading…
Comments (0)
Loading comments...