process where host.os.type == "linux" and event.action in ("exec", "exec_event", "start") and
(
(process.executable : "/usr/sbin/chkconfig" and process.args : "--add") or
(process.args : "*chkconfig" and process.args : "--add")
) and not (
process.parent.name in ("rpm", "qualys-scan-util", "qualys-cloud-agent", "update-alternatives") or
process.parent.args : ("/var/tmp/rpm*", "/var/lib/waagent/*") or
process.args in ("jexec", "sapinit", "httpd", "dbora")
)
Install detection rules in Elastic Security
Detect Chkconfig Service Add in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).