SLUI RunAs Elevated Privilege Escalation
Detection of the Microsoft Software Licensing User Interface Tool (`slui.exe`) being executed with elevated privileges using the `-verb runas` parameter, indicating a potential privilege escalation attempt.
This analytic detects the execution of the Microsoft Software Licensing User Interface Tool (slui.exe) with elevated privileges using the -verb runas function. This activity is identified through logs from Endpoint Detection and Response (EDR) agents, focusing on specific registry keys and command-line parameters. The behavior is significant as it indicates a potential privilege escalation attempt, which could allow an attacker to gain elevated access and execute malicious actions with higher privileges. The technique abuses a built-in Windows utility to bypass User Account Control (UAC) and execute commands with elevated privileges. This can be used as part of a larger attack chain to gain persistence or deploy malware.
Attack Chain
- An attacker gains initial access to the system through methods such as phishing or exploiting a vulnerability.
- The attacker executes
slui.exewith the-verb runasparameter. - The command bypasses UAC due to the trusted nature of
slui.exe. - This elevated process allows the execution of arbitrary commands or scripts with administrative privileges.
- The attacker leverages the elevated privileges to install malicious software or modify system settings.
- The attacker establishes persistence by creating a scheduled task or modifying registry keys.
- The attacker uses the compromised system as a pivot point to access other systems on the network.
- The attacker exfiltrates sensitive data or deploys ransomware.
Impact
Successful exploitation can lead to complete system compromise, allowing attackers to install malware, steal sensitive information, or disrupt business operations. An attacker achieving privilege escalation can bypass security controls and gain unauthorized access to critical resources. This may lead to data breaches, financial loss, and reputational damage. Depending on the attacker’s objectives, the compromised system can be used to further compromise the internal network, leading to a wider scale incident.
Recommendation
- Deploy the Sigma rule
Detect SLUI RunAs Elevatedto your SIEM to identify instances ofslui.exebeing executed with the-verb runasparameter. - Monitor process execution logs for instances of
slui.exebeing launched with suspicious command-line arguments to catch potential privilege escalation attempts. - Implement application control policies to restrict the execution of unauthorized or potentially malicious software.
- Investigate any alerts generated by the Sigma rule, focusing on the parent process and any subsequent actions taken by the elevated
slui.exeprocess. - Review and harden UAC settings to prevent unauthorized elevation of privileges.
- Refer to the provided references for more information on this UAC bypass technique.
Detection coverage 2
Detect SLUI RunAs Elevated
highDetects the execution of slui.exe with the -verb runas parameter, indicating a potential UAC bypass and privilege escalation attempt.
Detect SLUI RunAs Elevated via Parent Process
mediumDetects the execution of slui.exe with the -verb runas parameter based on the parent process, indicating a potential UAC bypass and privilege escalation attempt.
Detection queries are available on the platform. Get full rules →