Detection of Elastic Agent ID Spoofing and Data Manipulation
This threat brief details the detection of potential agent spoofing, where an adversary hijacks an Elastic Agent ID to inject illegitimate data or masquerade activity across multiple hosts.
Adversaries may attempt to evade detection by hijacking legitimate security agent IDs. By utilizing a compromised Agent ID across multiple endpoints, an attacker can inject fraudulent telemetry or manipulate existing logs. This activity allows malicious actors to masquerade as trusted systems, effectively poisoning the data ingested by the SIEM. This detection capability focuses on identifying the anomalous reuse of a single Elastic Agent ID (Elastic Agent version 7.14 and later) across multiple distinct host identifiers. This behavior is a common indicator of unauthorized data manipulation or masquerading attempts intended to conceal malicious operations from security analysts.
Impact
Successful agent spoofing leads to a compromised security visibility posture. By injecting illegitimate documents or masking malicious actions, attackers can effectively blind SOC teams, delay incident response, and maintain persistence. This behavior is observed as a critical threat to data integrity, as it undermines the reliability of logs used for forensic investigation and real-time detection. If left unmonitored, this technique facilitates the seamless execution of other malicious activities across the enterprise network.
Recommendation
Detection engineering teams should deploy rules to identify distinct hosts reporting the same Agent ID.
- Deploy the provided detection logic to monitor for multiple unique host IDs mapped to a single agent ID.
- Audit virtual infrastructure to ensure that snapshots, clones, or gold images have unique Agent IDs provisioned upon deployment.
- Maintain a centralized registry of authorized Agent IDs and cross-reference alerts against this list during triage.
- Implement isolation procedures for any host identified as an agent-spoofing participant until the source of the duplication is verified.
Immediate actions
Deploy rule for detection of multiple hosts per agent ID
Mitigations
Audit virtual machine templates to ensure unique agent ID generation
T1036
Detection coverage 1
Detect Multiple Hosts Reporting Same Elastic Agent ID
highDetects potential agent spoofing by identifying when multiple unique host IDs report telemetry using the same Elastic Agent ID.
Detection queries are available on the platform. Get full rules →