M ManySignal

Guide · ManySignal

Securing Non-Human Identities: A Practical Guide

Non-human identities — service accounts, API keys, OAuth tokens, CI/CD credentials, and cloud workload identities — now outnumber human identities in most enterprises by 10:1 or more. They are also the identities least likely to have MFA, least likely to be monitored, and most likely to have excessive permissions. This guide covers the NHI inventory problem, detection strategies, and response patterns.

DI David Iwu — Staff Engineer, ManySignal
SA Sofia Andersson — Principal Security Researcher, ManySignal
16 min read Published Jul 24, 2026 Download PDF
01

The NHI inventory problem

You cannot monitor what you don't know exists. Most enterprises have no complete inventory of their non-human identities — the service accounts were created by different teams at different times with different naming conventions, and they live in Okta, Entra ID, AWS IAM, GCP service accounts, GitHub Actions secrets, and a dozen SaaS applications simultaneously.

The first step in any NHI programme is discovery. ManySignal's entity graph populates NHI nodes automatically as connectors ingest events — any principal that appears in an audit log and is not matched to a human identity in the IdP is tagged as a non-human identity. This passive discovery is the baseline; augment it with active enumeration via cloud provider APIs.

For each discovered NHI, capture: owning team, purpose, permission scope, last used date, rotation policy, and associated secrets store. NHIs with no owning team, no stated purpose, or no activity in 90 days are orphaned credentials — they are the highest-risk category.

  • Cloud IAM NHI enumeration: AWS (list-users, list-roles), GCP (service accounts), Azure (service principals)
  • IdP service account enumeration: Okta API tokens, Entra ID app registrations
  • GitHub Actions secrets and environments inventory
  • Orphaned NHI identification: no owner, no activity in 90 days
  • Permission scope audit: NHIs with admin or owner-level permissions
02

NHI classification and risk scoring

Classify NHIs by blast radius: Tier 1 (can create or modify other identities, can access sensitive data stores, can modify security controls), Tier 2 (can read sensitive data, can modify application configuration), Tier 3 (read-only, narrow scope). Tier 1 NHIs should have the same monitoring intensity as privileged human accounts.

Risk score each NHI on four dimensions: permission breadth (scoped vs broad), rotation status (rotating vs long-lived), usage recency (active vs stale), and owner accountability (known owner vs orphaned). The risk score drives monitoring priority and remediation sequencing.

03

NHI behavioural baselining

Non-human identities have narrower acceptable behaviour spaces than human identities — which makes them excellent anomaly detection targets. A service account that calls three specific API endpoints during business hours has a behaviour space of roughly 6 dimensions. Any deviation — new endpoint, new hour, new source IP, elevated volume — is high-signal.

ManySignal builds NHI baselines the same way as human identity baselines: 90-day rolling window, per-entity dimensions. The difference is the anomaly threshold: a human identity might need a 3-sigma deviation to trigger; an NHI with a narrow baseline might trigger at 2-sigma because the acceptable variance is smaller.

# detections/nhi/service_account_new_api_call.yaml
key: nhi.service_account_new_api_call
domain: identity
severity: high
type: behavioural
where:
  identity_type: service_account
behavioural:
  dimensions: [api_operation, target_resource_type, source_ip_asn]
  baseline_days: 90
  min_anomaly_score: 70
  require_new_dimension_value: true
attck:
  tactic: TA0008
  techniques: [T1078.004]
stage: active
04

Detection patterns for NHI abuse

Three categories cover the majority of NHI abuse: (1) credential theft and misuse — an NHI credential being used from a new source IP or in a new geographic region; (2) permission escalation — an NHI assuming a role or acquiring permissions beyond its historical scope; (3) lateral movement — an NHI calling APIs in services or accounts it has never touched.

A particularly dangerous pattern is NHI-to-human-identity bridging: a service account that creates a new IAM user or adds a user to a privileged group. This is a persistence technique (T1136) that transforms a stolen service account credential into a durable human-facing backdoor.

05

NHI lifecycle management

Establish a machine identity lifecycle process: creation requires an owner and purpose, provisioned permissions must be justified, rotation policy must be set at creation time, and decommission triggers automatic credential revocation. Without a lifecycle process, the NHI inventory grows indefinitely and orphaned credentials accumulate.

Integrate the secrets manager (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager) as an entity graph source. When ManySignal detects that an NHI credential is being used and the credential is not registered in the secrets manager, that is a shadow credential — a high-severity finding warranting immediate investigation.

Key takeaways

  • NHIs outnumber human identities 10:1 — they are under-monitored and over-permissioned.
  • Discovery is the first step: passive entity graph population plus active cloud API enumeration.
  • Classify by blast radius; Tier 1 NHIs get the same monitoring intensity as privileged humans.
  • NHIs have narrower acceptable behaviour — anomaly thresholds should be tighter than for humans.
  • NHI-to-human bridging (service account creates IAM user) is a critical persistence pattern.
  • Long-lived credentials over 90 days without rotation are the highest-probability attack vector.

Further reading

Frequently asked questions

What is Securing Non-Human Identities: A Practical Guide in an agentic SOC?

Securing Non-Human Identities: A Practical Guide is part of ManySignal's agentic SOC and MDR platform, where AI agents detect, triage, investigate, and respond to threats with human-governed autonomy.

How does ManySignal handle securing non-human identities: a practical guide?

ManySignal grounds securing non-human identities: a practical guide in a temporal entity graph and behavioural baselines, so every verdict is backed by auditable evidence rather than opaque scores.

Can ManySignal replace my SOAR or MDR for securing non-human identities: a practical guide?

Yes. ManySignal combines detection, triage, investigation, response, and reporting in one platform, and can operate as your MDR or augment an existing SOC team.

How is autonomy governed?

Through an autonomy ladder: recommend-only, approve-gated, and autonomous modes per action class, with dry-run previews, blast-radius limits, and a one-click tenant kill switch.

How fast is time to value?

Declarative connectors and shipped detections typically produce AI agent verdicts on live alerts within days, not quarters — no parsing projects or playbook-building phase.

Is ManySignal available as a managed service?

Yes. Consume ManySignal as MDR with 24/7 coverage and monthly reporting, run it as your in-house agentic SOC, or use it as the platform behind your own MDR practice.

How does ManySignal license the platform?

Pricing scales with protected assets and autonomy tier, not per-GB ingestion or per-alert volume. Starter, Growth, and Enterprise plans are available; MDR providers receive volume discounts for multi-tenant deployments.

Where does our data reside?

By default in AWS us-east-1. Enterprise tenants can pin data to specific AWS regions, deploy self-hosted on their own Kubernetes cluster, or use customer-managed encryption keys (CMK) to retain cryptographic control.

What does the evidence trail contain?

Each verdict stores the full question set, per-question agent answers, confidence weights, source event references, entity graph snapshots, and operator attestation — preserved immutably for the retention period chosen at contract time.

How does ManySignal handle a false-positive alert?

The triage agent auto-closes findings it assesses as false positives with a documented rationale — which rule fired, why the evidence fails to support escalation, and the entity baseline that informed the decision. Auto-closure rates typically reach 85–95% within 90 days as baselines mature.

Continue reading

See the agentic SOC in action

Watch AI agents work a real alert queue — verdicts, evidence, and confidence scores included. In-house SOC or MDR, your call.