Elastic Defend high stable eql

Suspicious Execution via setsid and nohup

Detects the execution of setsid and nohup commands with unusual arguments. Attackers may use these commands to establish persistence on a target system or to execute commands in the background.

View Source

Detection Logic

process where event.type == "start" and event.action == "exec" and process.name in ("setsid", "nohup") and
process.command_line like~ (
  "*/dev/tcp*", "*/dev/udp/*", "*import*pty*spawn*", "*import*subprocess*call*", "*TCPSocket.new*", "*TCPSocket.open*",
  "*io.popen*", "*os.execute*", "*fsockopen*", "*disown*"
)

Field Validations

Loading…

Comments (0)

Loading comments...