sequence by host.id, process.parent.entity_id with maxspan=5s
[process where host.os.type == "linux" and event.type == "start" and event.action == "exec" and
process.name == "enlightenment_sys" and process.args in ("/bin/mount/", "-o","noexec","nosuid","nodev","uid=*") ]
[process where host.os.type == "linux" and event.action == "uid_change" and event.type == "change" and user.id == "0"]
Install detection rules in Elastic Security
Detect Potential Privilege Escalation via Enlightenment 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).