Potential Redis CONFIG SET Cron Directory Persistence (RedisRaider)
This rule detects attempts to abuse Redis CONFIG SET commands to redirect the database save directory to a cron directory on Linux hosts. Attackers issue CONFIG SET dir to a cron path such as /etc/cron.d or…
Description
This rule detects attempts to abuse Redis CONFIG SET commands to redirect the database save directory to a cron directory on Linux hosts. Attackers issue CONFIG SET dir to a cron path such as /etc/cron.d or /var/spool/cron, set a filename via CONFIG SET dbfilename, write a cron payload via SET, and then call BGSAVE to flush it to disk, establishing persistence for execution of an XMRig cryptominer.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
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 |
|---|---|
| attack.mitre.org/techniques/T1053/003/ | 7from 2 sources |
| attack.mitre.org/techniques/T1496/ | Only this detection cites it |
| securitylabs.datadoghq.com/articles/redisraider-mining-campaign/ | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 29e57265-d358-420a-b1cd-845e8a1fd70d
- Tagged by the source as
- Data Source: Network Packet CaptureDomain: NetworkNoise: UnknownPerformance: FastProfile: RecommendedResources: Investigation GuideRule Type: Event Correlation (EQL)Tactic: ImpactTactic: PersistenceThreat: CryptominingUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3