Hello,
Absolutely, Wazuh is designed to monitor and detect a wide range of activities on a system, including when a user elevates their privileges or accesses admin mode.
For Windows systems, Wazuh monitors the Event Channel. When a user logs in with elevated privileges, an event is generated in the Event Channel. Wazuh's agent captures this event and forwards it to the manager for analysis.
For Linux systems, user authentication and privilege escalation activities are typically logged in /var/log/auth.log. Wazuh's agent actively monitors this log file and captures relevant events.
Once these events are captured by the agent, they are sent to the Wazuh manager. The manager is equipped with a comprehensive set of rules and decoders. These are designed to decode and analyze the incoming events, and if a significant or suspicious activity is detected, a security alert is generated. You can then view and manage these alerts via the Wazuh web interface.
It's worth noting that while Wazuh provides default configurations that cover a wide range of use cases, you can also customize rules and configurations to better suit your specific needs.
I hope this clarifies how Wazuh can detect when a user accesses admin mode.
Best regards,
Julian