Linux File Creation In Init Boot Directory
The following analytic detects the creation of files in Linux init boot directories, which are used for automatic execution upon system startup. It leverages file system logs to identify new files in directories such…
Description
The following analytic detects the creation of files in Linux init boot directories, which are used for automatic execution upon system startup. It leverages file system logs to identify new files in directories such as /etc/init.d/ and /etc/rc.d/. This activity is significant as it is a common persistence technique used by adversaries, malware authors, and red teamers. If confirmed malicious, this could allow an attacker to maintain persistence on the compromised host, potentially leading to further exploitation and unauthorized control over the system.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork Devices
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- sysmon_for_linux_eventid_11
Known benign triggers
- Administrator or network operator can create file in this folders for automation purposes. Please update the filter macros to remove false positives.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| www.intezer.com/blog/research/kaiji-new-chinese-linux-malware-turning-to-golang/ | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- 97d9cfb2-61ad-11ec-bb2d-acde48001122
- Tagged by the source as
- Backdoor PingpongChina-Nexus Threat ActivityLinux Persistence TechniquesLinux Privilege EscalationXorDDosEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1