Elastic Security Labs published a series of Linux detection-engineering guides covering attacker persistence through scheduled tasks, systemd units, shell profiles, XDG autostart, permission and account changes, SSH keys, SysV/Upstart/rc.local startup paths, dynamic MOTD scripts, udev rules, package-manager hooks, Git hooks, process capabilities, and system-binary hijacking. The research maps techniques to MITRE ATT&CK and uses the PANIX simulation tool to demonstrate how adversaries can retain access or launch reverse shells, while recommending endpoint, file-integrity, process, network, service-state, and syslog telemetry alongside Elastic rules, ES|QL, and OSQuery hunts.
The latest guidance highlights high-impact persistence through malicious PAM changes, DPKG/RPM lifecycle scripts, and dangerous Docker deployments. Defenders should monitor PAM and package-management paths, suspicious child processes and outbound connections, lifecycle-script execution, and container settings such as privileged mode, host PID namespaces, and sensitive host mounts. Elastic cautions that boot-time persistence may execute before endpoint agents collect process events, making early file-change detection and proactive hunting essential; organizations should also tune detections for legitimate administration and remove obsolete Upstart systems from production.

Get the actors, campaigns, and ATT&CK mapping behind it.
5 events from the most recent confirmed update back to the earliest known activity.
Elastic created the production Linux EQL rule "Cron Job Created or Modified" (ID ff10d4d8-fea7-422d-afb1-e5a2702369a9). The rule detects creation or rename activity in cron and anacron locations that could indicate persistence, privilege escalation, or scheduled command execution.
Elastic created the production Linux EQL rule "Shell Configuration Creation" (ID 28f6f34b-8e16-487a-b5fd-9d22eb903db8) to detect suspicious creation of system-wide, user, and root Unix shell configuration files used for persistence or privilege escalation.
Elastic published the Linux behavioral protection rule "Scheduled Job Executing Binary in Unusual Location" (ID f2a52d42-2410-468b-9910-26823c6ef822). It detects systemd or cron-launched binaries and shell commands from atypical directories and is configured to terminate detected processes.
Elastic updated its production "Potential Persistence via File Modification" Linux FIM detection rule, which monitors sensitive persistence-related paths and excludes selected expected benign changes.
Elastic created the production EQL rule "Potential Persistence via File Modification" (ID 192657ba-ab0e-4901-89a2-911d611eee98) to detect updates to Linux files commonly abused for persistence and privilege escalation.
Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.
Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
8 references tracked. Mallory keeps watching after this page renders.
elastic.co
Open sourceelastic.co
Open sourceelastic.co
Open sourcegithub.com
Open sourceredhat.com
Open sourcegithub.com
Open sourcegithub.com
Open sourcegithub.com
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.