Suspicious Mining Process Events
Description
Identifies attempts to disable common mining services by name, which is a common pattern adopted by some mining malware droppers to remove competitors during installation time.
Query · eql
process where event.type == "start" and event.action == "exec" and (
(process.name == "service" and process.args == "stop") or
(process.name == "chkconfig" and process.args == "off") or
(process.name == "systemctl" and process.args in ("disable", "stop", "kill", "start", "reload", "restart"))
) and
process.args in ("moneroocean_miner.service", "c3pool_miner.service", "pnsd.service", "apache4.service", "pastebin.service", "xvf.service") and
not (
process.parent.command_line in ("bash", "-bash", "sh") or
process.parent.executable like "/usr/local/share/aliyun-assist/*/update_install" or
process.parent.args like "/usr/local/share/aliyun-assist/*"
)