BIOC
Informational
✕
Persistence using bashrc files
Possible persistency using shell (bash\csh) profile files. Commands in ~/.bashrc are executed on every new shell execution.
- Module:
- Platform Analytics
- Agent event type:
- File
- Category:
- Persistence
- Status:
- Enabled
ATT&CK tactics: Persistence (TA0003)
ATT&CK techniques: Event Triggered Execution: Unix Shell Configuration Modification (T1546.004)
Indicator:
File action type = write , rename , create AND file path =~ (/home/[^/]+/\.(bashrc|profile|bash_profile))|(/etc/profile|/etc/bash.bashrc|/etc/csh.cshrc|/etc/csh.login) Host host os = linux
Preventable: yes