Suspicious Shells Spawn by Java Utility Keytool

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects suspicious shell spawn from Java utility keytool process (e.g. adselfservice plus exploitation)

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PARENTPROCESSNAME endswith "\keytool.exe" AND PROCESSNAME endswith "\cmd.exe,\sh.exe,\bash.exe,\powershell.exe,\pwsh.exe,\schtasks.exe,\certutil.exe,\whoami.exe,\bitsadmin.exe,\wscript.exe,\cscript.exe,\scrcons.exe,\regsvr32.exe,\hh.exe,\wmic.exe,\mshta.exe,\rundll32.exe,\forfiles.exe,\scriptrunner.exe,\mftrace.exe,\AppVLP.exe,\systeminfo.exe,\reg.exe,\query.exe" 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)