DET-227 · agent · confidence High

Tripwires on the Agent's Own Monitoring

Alert whenever an agent touches the logs, alerts, approval settings or guardrails that watch it.

Normal agent work never needs access to its own monitoring. This detection lists the protected surfaces: alert rules, SIEM connectors, approval gates, safety settings, log directories, collectors and retention config. It alerts on any agent read, write, or listing of them, whether or not the attempt works.

The attempt itself is the signal. Even a failed call to disable a collector shows intent or hijacked instructions. Back it with deny rules so the attempt fails, and log the denied call with full context for review.

Data sources
Linux auditdCloudTrailKubernetes audit logsSIEM configuration auditFile access logs
Platforms
LinuxAWSAI Platform

Logic

Mark protected paths and APIs, then alert on any access by agent identities. auditd: -w /var/log/agent -p rwa -k agent_log_touch. CloudTrail: eventName IN (StopLogging, DeleteTrail, PutEventSelectors, DeleteRule, DisableAlarmActions) AND userIdentity.arn LIKE '%agent%'. Treat any hit as high priority.

False positives

Log rotation and backup tools running as the agent user. Use separate identities for those jobs.

Catches 3 techniques