T1548.003 · Sudo and Sudo Caching

Linux Cpulimit Privilege Escalation

  • Linux
  • Behavioral Signal

About this detection

The following analytic detects the use of the ‘cpulimit’ command with specific flags (‘-l’, ‘-f’) executed with ‘sudo’ privileges. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on process command-line arguments and execution details. This activity is significant because if ‘cpulimit’ is granted sudo rights, a user can potentially execute system commands as root, leading to privilege escalation. If confirmed malicious, this could allow an attacker to gain root access, execute arbitrary commands, and fully compromise the affected system.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…