Join our Newsletter — 33% off our NHI Course

Evidence of Intrusions

Records that indicate a system may have been accessed, altered, or used maliciously. This can include logs, alerts, audit trails, and forensic artifacts. Collecting and preserving this evidence helps security teams investigate incidents, confirm impact, and support disclosure or remediation decisions.

Expanded Definition

Evidence of intrusions is broader than a single alert or a suspicious login. In NHI security, it includes logs, audit records, endpoint telemetry, cloud control-plane events, API gateway traces, secret access histories, and forensic artifacts that collectively show whether an identity, workload, or agent executed actions beyond expected behavior. Guidance varies across vendors on how much context is required before something is treated as evidence versus a signal, but the operational standard is consistent: the record must be trustworthy, time-linked, and suitable for incident analysis. NIST’s NIST SP 800-53 Rev 5 Security and Privacy Controls is useful here because it frames logging, auditability, and incident handling as control disciplines, not afterthoughts. In NHI environments, evidence must also account for machine-to-machine activity, because service accounts and API keys often generate the only durable trace of compromise. The most common misapplication is treating raw logs as sufficient evidence, which occurs when teams fail to preserve integrity, retain timestamps, and correlate events across identity, workload, and secret stores.

Examples and Use Cases

Implementing evidence collection rigorously often introduces storage, retention, and integrity-verification overhead, requiring organisations to weigh faster investigations against the cost of keeping high-quality telemetry.

  • A CI/CD pipeline shows an API key being read from a secrets store shortly before an unusual deployment. The access log, vault audit trail, and build metadata together become evidence of a likely intrusion path, similar to patterns seen in the Hard-Coded Secrets in VSCode Extensions research.
  • A service account begins calling administrative endpoints outside its normal schedule. Teams correlate authentication logs with JetBrains GitHub plugin token exposure style token-use traces to determine whether the credential was copied or replayed.
  • Cloud audit logs show a privileged NHI changing security groups after hours. The event stream, change record, and endpoint artifacts are preserved to determine whether the action was authorized, automated, or malicious.
  • Telemetry from an AI toolchain reveals a plugin requesting secrets access beyond its declared function. Teams compare the event with JetBrains Marketplace AI Plugin Campaign findings and vendor-neutral controls such as NIST logging guidance.

Evidence becomes strongest when records from identity, infrastructure, and application layers tell the same story, especially in incidents that involve ephemeral workloads or rotated credentials.

Why It Matters in NHI Security

Without reliable evidence, NHI incidents are reduced to guesses about which credential was used, how far access spread, and whether secrets must be revoked. That is a major governance problem because NHI compromise often leaves fewer human-facing clues than a traditional phishing incident. NHI Mgmt Group research shows that 79% of organisations have experienced secrets leaks, with 77% of these incidents resulting in tangible damage, which means post-incident evidence handling directly affects remediation speed and blast-radius reduction. Evidence also matters for disclosure decisions, third-party notification, and proving whether an exposed token was actually used. In practice, the quality of evidence determines whether responders can separate a benign automation failure from an active intrusion. The same traces that confirm compromise also reveal control failures such as overprivileged service accounts, weak rotation, or missing audit coverage. Organisations typically encounter the need for strong evidence only after an API key is abused, at which point preservation and chain-of-custody become operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-63 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-10 Incident evidence depends on logs, traceability, and detection for compromised NHI activity.
NIST CSF 2.0 DE.CM-8 Continuous monitoring relies on records that reveal anomalous or malicious system activity.
NIST SP 800-63 Identity assurance depends on auditability of authenticator and session events.
NIST Zero Trust (SP 800-207) Zero Trust requires continuous verification backed by observable machine and identity activity.

Preserve identity, secret, and workload logs so NHI abuse can be reconstructed and contained quickly.