Anvilogic high experimental spl

Ngrok Download Files [splunk-proxy]

Ngrok is a service that provides secure tunnels to connect between local servers and the public internet. The attacker abuses Ngrok to craft unique URLs with a short lifetime and uses them to download payloads during the attack by passing them to curl inside the targeted container. Commonly associated with DOKI Malware. -- Threat Actor Association: Daixin Team, Kimsuky, UNC2465 - Software Association: LockBit, SmokedHAM

View Source

Detection Logic

`get_web_data` `get_web_data_proxy` (".ngrok.io" 
OR (".ngrok.io" 
AND curl)) 
AND status=200 
AND http_method=GET
| eval site = mvindex('site{}',0)
| eval full_path = site." ".uri_path
| table _time, host, user _time, host, uri_path, src_ip, dest_ip, tag, user, http_user_agent, status, http_method, site, full_path
| bin span=1s
| stats values(*) as * by _time, src_ip
| eventstats dc(dest_ip) as dc_dest_ip dc(uri_path) as dc_uri_path by _time, src_ip
| where dc_dest_ip<2 
AND dc_uri_path<2
| lookup dnslookup clientip as dest_ip OUTPUT clienthost as dest_dns
| iplocation prefix="dest_" dest_ip
| rename dest_Country as dest_country

Field Validations

Loading…

Comments (0)

Loading comments...