Splunk unknown experimental spl

Web Servers Executing Suspicious Processes

The following analytic detects the execution of suspicious processes on systems identified as web servers. It leverages the Splunk data model "Endpoint.Processes" to search for specific process names such as "whoami", "ping", "iptables", "wget", "service", and "curl". This activity is significant because these processes are often used by attackers for reconnaissance, persistence, or data exfiltration. If confirmed malicious, this could lead to data theft, deployment of additional malware, or even ransomware attacks. Immediate investigation is required to determine the legitimacy of the activity and mitigate potential threats.

View Source

Detection Logic

| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) as lastTime 
FROM datamodel=Endpoint.Processes
  
WHERE Processes.dest_category="web_server"
    
AND
    (Processes.process="*whoami*"
    
OR
    Processes.process="*ping*"
    
OR
    Processes.process="*iptables*"
    
OR
    Processes.process="*wget*"
    
OR
    Processes.process="*service*"
    
OR
    Processes.process="*curl*")
  BY Processes.action Processes.dest Processes.original_file_name
     Processes.parent_process Processes.parent_process_exec Processes.parent_process_guid
     Processes.parent_process_id Processes.parent_process_name Processes.parent_process_path
     Processes.process Processes.process_exec Processes.process_guid
     Processes.process_hash Processes.process_id Processes.process_integrity_level
     Processes.process_name Processes.process_path Processes.user
     Processes.user_id Processes.vendor_product
| `drop_dm_object_name(Processes)`
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `web_servers_executing_suspicious_processes_filter`

False Positives

  • ⚠ Some of these processes may be used legitimately on web servers during maintenance or other administrative tasks.

Field Validations

Loading…

Comments (0)

Loading comments...