Initial Access (TA0001)(external, opens in a new tab or window)
text code block:network where data_stream.dataset == "network_traffic.redis" and network_traffic.redis.query like~ "*EVAL*" and network_traffic.redis.query like~ "*string.rep*" and network_traffic.redis.query like~ "*collectgarbage*"
Install detection rules in Elastic Security
Detect Potential Redis Lua Use-After-Free RCE Attempt (CVE-2025-49844 / RediShell) in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).