Anvilogic critical experimental spl

Potential Cryptomining Commands [splunk-powershell]

Adversaries may leverage the resources of co-opted systems in order to solve resource intensive problems, which may impact system and/or hosted service availability. One common purpose for Resource Hijacking is to validate transactions of cryptocurrency networks and earn virtual currency. This use case detects common plaintext and base64 encoded commands for cryptomining activity.

View Source

Detection Logic

`get_endpoint_data` `get_endpoint_data_powershell` (TERM(EventCode=4104) 
OR "<EventID>4104<") ("--cpu-priority=" 
OR "--donate-level=" 
OR " -o pool." 
OR " --nicehash" 
OR " --algo=" 
OR "stratum+tcp://" 
OR "stratum+udp://" 
OR "LS1kb25hdGUtbGV2ZWw9" 
OR "0tZG9uYXRlLWxldmVsP" 
OR "tLWRvbmF0ZS1sZXZlbD" 
OR "c3RyYXR1bSt0Y3A6Ly" 
OR "N0cmF0dW0rdGNwOi8v" 
OR "zdHJhdHVtK3RjcDovL" 
OR "c3RyYXR1bSt1ZHA6Ly" 
OR "N0cmF0dW0rdWRwOi8v" 
OR "zdHJhdHVtK3VkcDovL")
| regex process!="(?i)(pool\.(c
| o))\s
| gcc\s-"
| table _time, host, user, process, process_*, parent_process_name
| bin span=1s
| stats values(*) as * by _time, host

Field Validations

Loading…

Comments (0)

Loading comments...