Build an Identity-First Security Workflow
The problem: five controls, five disconnected dashboards An employee signs in from a new device. Minutes later, the account requests privileged access and uses a Kubernetes service account to query a production API. None of these events alone necessarily proves malicious activity. Together, however, they should prompt investigation. A security workflow is useful only when identity, entitlement,…
The article outlines a vendor-neutral, identity-first security workflow designed to investigate potential malicious activity by correlating and analyzing various security events. The workflow consists of five functional layers: authentication, privileged access control, anomaly detection, correlation of cloud and container events, and orchestration of automated responses.
The first layer focuses on making authentication signals useful by implementing phishing-resistant authentication for high-risk access points, capturing sign-in results, authenticator types, device postures, and session contexts. It also advises against relying on IP geolocation as proof of identity due to VPNs and roaming users creating noise.
Layer two involves separating routine identities from administrative identities by assigning least privilege, time-bounded elevation, approval where appropriate, and strong session logging. It recommends correlating privilege changes with request IDs, operators, target resources, and expiry times. Unapproved privilege changes are considered stronger signals than unusual logins.
Layer three emphasizes correlating identity anomalies rather than just generating alerts. It suggests combining multiple weak signals like unexpected authenticator enrollments, new devices, risky sign-ins, privilege escalations, and atypical cloud API calls to justify investigation. The MITRE ATT&CK T1078 document provides detection considerations for this behavior.
Layer four extends the workflow to include containers and workload identities. It warns that a human account might trigger a CI/CD pipeline, which assumes a workload role, accessing a Kubernetes cluster. The article advises tracking this chain instead of stopping at the initial user identity. Recommended practices include ingesting Kubernetes audit events, service-account usage, admission decisions, image provenance, and relevant runtime alerts, while employing narrowly scoped service-account permissions.
Layer five involves automating investigation before containment using a Security Orchestration, Automation, and Response (SOAR) system. The SOAR should enrich and assemble evidence by fetching recent sign-ins, checking active elevations, retrieving relevant cluster audit events, creating a case, and attaching a confidence rationale. Disruptive actions should only be taken with explicit approval and a rollback path in place. NIST SP 800-61 Rev. 3 emphasizes incident response within broader risk management practices.
The article concludes with a minimal event model, example correlation rule, and three testing steps before production implementation. The goal is to provide a concrete, actionable framework for organizations to build their identity-first security workflows.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.