Shell Process Spawned by Java.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects shell spawned from Java host process, which could be a sign of exploitation (e.g. log4j exploitation)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PARENTPROCESSNAME endswith "\java.exe" AND PROCESSNAME endswith "\bash.exe,\cmd.exe,\powershell.exe,\pwsh.exe") AND (PARENTPROCESSNAME notcontains "build" OR COMMANDLINE notcontains "build") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Andreas Hunkeler (@Karneades), Nasreddine Bencherchali