Anvilogic high experimental spl

DLL Execution from Uncommon Process [splunk-winevent]

During an attack using Ursnif malware, threat actors were observed executing DLLs with a renamed rundll32 binary. This use case detects execution of the DLL functions DllRegisterServer, DllMain, DllUnregisterServer, DllInstall, or DllCanUnloadNow from processes other than rundll32.exe. Living Off the Land Binary and Scripts (LOLBAS) (LOLBIN)

View Source

Detection Logic

`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=4688) 
OR "<EventID>4688<" 
OR Type=Process) ",DllRegisterServer" 
OR ",DllMain" 
OR ",DllUnregisterServer" 
OR ",DllInstall" 
OR ",DllCanUnloadNow"
| rex field=process ",(?<dll_function>\S+)"
| where not match(process_name, "(?i)rundll32\.exe")
| table _time, host, user, process, process_*, parent_process*, dll_function
| bin span=1s
| stats values(*) as * by _time, host

Field Validations

Loading…

Comments (0)

Loading comments...