Potential Memory Seeking Activity

Last updated 21 days ago on 2025-12-24
Created 2 years ago on 2024-02-01

About

Monitors for the execution of Unix utilities that may be leveraged as memory address seekers. Attackers may leverage built-in utilities to seek specific memory addresses, allowing for potential future manipulation/exploitation.
Tags
Domain: EndpointOS: LinuxUse Case: Threat DetectionTactic: DiscoveryRule Type: BBRData Source: Elastic DefendData Source: Elastic EndgameLanguage: eql
Severity
low
Risk Score
21
MITRE ATT&CK™

Discovery (TA0007)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.*endgame-*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event") and ( (process.name == "tail" and process.args in ("-c", "--bytes")) or (process.name == "cmp" and process.args == "-i") or (process.name in ("hexdump", "xxd") and process.args == "-s") or (process.name == "dd" and process.args : ("skip*", "seek*")) ) and not ( process.parent.args like ("/opt/error_monitor/error_monitor.sh", "printf*", "/sbin/dracut") or process.parent.name in ("acme.sh", "dracut", "leapp") or process.parent.executable like ( "/bin/cagefs_enter", "/opt/nessus_agent/sbin/nessus-service", "/usr/libexec/platform-python*", "/usr/libexec/vdsm/vdsmd", "/usr/local/bin/docker-entrypoint.sh", "/usr/lib/module-init-tools/lsinitrd-quick", "/usr/bin/unmkinitramfs", "/usr/bin/lsinitramfs", "/opt/msp-agent/msp-agent-core.run", "/usr/local/cloudamize/bin/register.sh", "/usr/local/hestia/bin/v-log-action", "/usr/local/emps/bin/php" ) or process.parent.command_line like "sh*acme.sh*" or process.args like ("/var/tmp/dracut*", "/opt/bitdefender-security-tools/var/log/script_update.log") or ?process.working_directory like ( "/usr/local/nutanix/ngt/python/bin", "/var/lib/waagent/*", "/opt/Tychon/Endpoint/bin", "/usr/local/cloudamize/bin", "/opt/sentinelone/bin" ) or process.command_line in ("tail -c 1", "tail -c 2") or (process.command_line == "dd ibs=18850 skip=1 count=1" and process.parent.args == "/opt/msp-agent/msp-agent-core.run") )

Install detection rules in Elastic Security

Detect Potential Memory Seeking Activity 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).