Incident Report

Linux Privilege Escalation

Wazuh SIEM Investigation • IR-2026-001

Security Monitoring • Threat Detection • Incident Response

Investigation of Linux account changes, elevated sudo activity, root access, and password modification events detected by Wazuh on a monitored Ubuntu endpoint.

Case Summary

Incident Overview

Medium

Severity

Closed

Status

Wazuh

Detection Platform

Linux

Target Platform

Summary

Executive Summary

Wazuh detected a sequence of security-relevant events on the monitored Ubuntu endpoint, including privileged command execution, creation of a new user account, elevation to the root account, and modification of account credentials.

The events were correlated into a single privilege escalation investigation. The activity demonstrated how an authenticated user could obtain elevated access and make administrative changes that would require immediate validation in a production environment.

The activity occurred during an authorized home-lab exercise. No evidence of unauthorized persistence, lateral movement, malware execution, or data exfiltration was identified.

Case Information

Incident Details

Incident ID: IR-2026-001 Incident Title: Linux Privilege Escalation Severity: Medium Status: Closed Detection Platform: Wazuh SIEM Monitored Endpoint: LINUX01 Operating System: Ubuntu Linux Environment: VirtualBox Home Lab Analyst: Clinton Etienne

Timeline

Investigation Timeline

Event 01

Initial Sudo Activity

Wazuh recorded the first use of sudo on the monitored Linux endpoint, establishing the beginning of the elevated activity.

Event 02

New User Created

A new local account was created. In a production environment, this event would require validation against an approved change request or administrative task.

Event 03

Privilege Elevated to Root

The authenticated user elevated privileges and obtained a root shell, providing unrestricted administrative access to the Linux operating system.

Event 04

Password Modified

A password change occurred after root access was obtained, increasing the importance of reviewing the account affected and determining whether the action was authorized.

Event 05

Alert Correlation

Related Wazuh alerts were reviewed together to reconstruct the sequence from initial privileged execution through account and credential modification.

Event 06

Incident Closed

The activity was confirmed as an authorized lab exercise. No additional signs of persistence, lateral movement, or compromise were identified.

Evidence

Evidence Summary

Wazuh Alerts

Wazuh alerts supplied the event sequence used to identify privileged command execution, account changes, and credential modification.

Linux Authentication Logs

Authentication and sudo-related log entries provided supporting context regarding the user session and elevated activity.

Account Modification Events

User creation and password modification activity showed that administrative changes occurred after privileges were elevated.

Event Correlation

Individual alerts were combined into a single timeline to show the relationship between authentication, sudo execution, root access, and account modification.

Indicators

Indicators of Suspicious Activity

Endpoint: LINUX01 Operating System: Ubuntu Linux Activity Type: Privilege escalation Command Activity: sudo execution Account Activity: New local user created Privilege Level: Root access obtained Credential Activity: Password modified Detection Source: Wazuh SIEM and Linux system logs

MITRE ATT&CK

Technique Mapping

Privilege Escalation

Valid Accounts

The activity used an authenticated Linux account before transitioning into elevated access.

Technique: T1078 — Valid Accounts
Privilege Escalation

Sudo and Sudo Caching

Sudo was used to execute commands with elevated privileges and obtain root-level access.

Technique: T1548.003 — Sudo and Sudo Caching
Persistence

Create Account

Creation of an additional local account could provide continued access if the action were unauthorized.

Technique: T1136.001 — Local Account
Account Access

Account Manipulation

Password modification represented a material change to account access and required validation during the investigation.

Technique: T1098 — Account Manipulation

Analysis

Analyst Investigation

The investigation began with a review of the Wazuh alerts associated with the Ubuntu endpoint. The alerts showed a clear progression from normal authenticated activity into privileged administrative actions.

Initial sudo execution established that elevated privileges were being requested. The subsequent creation of a new local account, transition to a root shell, and modification of a password increased the security relevance of the activity.

In a production environment, this sequence could indicate unauthorized privilege escalation, persistence preparation, or manipulation of account access. The analyst would need to verify the initiating user, review command history, confirm whether the new account was approved, and determine which account password was modified.

Review of the available lab evidence found no additional indicators of malicious persistence, remote access, lateral movement, malware execution, or data exfiltration. The events were confirmed as part of an authorized exercise designed to validate Wazuh monitoring and incident reconstruction.

Response

Containment, Recovery, and Recommendations

Containment

If the activity were unauthorized, the affected endpoint should be isolated from the network while the user session, sudo activity, and account modifications are investigated.

Account Validation

Confirm whether the newly created user was approved. Disable or remove unauthorized accounts and review group memberships, sudoers permissions, and SSH access.

Credential Recovery

Reset affected credentials, revoke active sessions, and review authentication logs for additional access attempts or unexpected account use.

Monitoring Improvements

Maintain alerts for account creation, sudo activity, root shell access, password changes, and modifications to privileged groups or the sudoers configuration.

Post-Incident Review

Lessons Learned

Individual administrative events may appear legitimate when viewed separately. Correlating sudo execution, account creation, root access, and password modification provides stronger context and supports more accurate incident classification.

Linux privilege escalation investigations should include validation of the initiating user, command history, account changes, active sessions, privileged group membership, authentication activity, and possible persistence mechanisms.

The exercise also demonstrated the value of centralized monitoring. Wazuh allowed multiple Linux events to be reviewed together rather than treating each alert as an isolated occurrence.

Professional Development

Skills Demonstrated

Wazuh SIEM Analysis Linux Log Analysis Sudo Activity Review Privilege Escalation Analysis User Account Monitoring MITRE ATT&CK Mapping Alert Correlation Incident Timeline Reconstruction Threat Investigation Incident Documentation Containment Planning Security Recommendations

Conclusion

Analyst Conclusion

The investigation successfully reconstructed a Linux privilege escalation sequence using Wazuh alerts and supporting Linux system activity. The sequence included sudo execution, account creation, elevation to root, and password modification.

Although the actions were authorized as part of a controlled home-lab exercise, the same event pattern in a production environment would warrant immediate investigation and validation.

This case demonstrates practical experience with Linux security monitoring, SIEM alert correlation, MITRE ATT&CK mapping, incident analysis, and professional cybersecurity documentation.

Case Navigation

Continue Reviewing Investigations