// MITRE ATT&CK

T1546.004 · Unix Shell Configuration Modification

🎯 Privilege Escalation LinuxmacOS Sub-technique

Sub-technique of T1546 · Event Triggered Execution.

Adversaries may establish persistence through executing malicious commands triggered by a user’s shell. User [Unix Shell](https://attack.mitre.org/techniques/T1059/004)s execute several configuration scripts at different points throughout the session based on events. For example, when a user opens...

How to detect & mitigate it

Detecting Unix Shell Configuration Modification starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.