Cybersecurity

Identity Is the New Perimeter: IAM, MFA and Machine Identities

This year's biggest breaches did not start with malware. They started with a phone call to a help desk, a forged token and a stolen session cookie. Attackers now log in rather than break in. Here is how to defend human and machine identities when identity is the only perimeter left.

By EthicalHat Research · · 4 min read
Infographic: Every identity is now part of the perimeter

In September, operations at MGM Resorts were disrupted for days after a ransomware attack. By public accounts, the intrusion began with a social engineering call to the IT help desk, in which the attackers impersonated an employee to get credentials reset. Around the same time, Caesars Entertainment disclosed a breach attributed to a similar approach.

In July, Microsoft disclosed that a China-based actor it tracks as Storm-0558 had used an acquired consumer signing key to forge authentication tokens and access email accounts at around 25 organisations, including US government agencies.

In January, CircleCI reported that malware on an engineer's laptop had stolen a valid, 2FA-backed session cookie, giving an attacker access to production systems and customers' secrets.

None of these began with an exploit against a firewall. Each attacker logged in.

Why identity became the perimeter

Over the past few years, applications moved to SaaS and the cloud, users moved home, and zero trust architectures moved access decisions to the identity layer. That was the right move. It also means that the identity provider, the MFA process, the help desk and every token and key now do the job the network perimeter used to do.

Attackers follow the path of least resistance. It is easier to phish a password, persuade a help desk or steal a session cookie than to find a zero-day.

Human identities: MFA is necessary, but not all MFA is equal

MFA blocks the overwhelming majority of password-based attacks. But attackers have adapted to the common forms of it:

  • Push fatigue: spamming push approvals until a tired user taps "approve", as seen in the Uber breach last year.
  • Adversary-in-the-middle phishing: kits like Evilginx proxy the real login page and capture the session cookie after MFA.
  • SIM swapping to intercept SMS codes.
  • Help desk social engineering to reset MFA entirely.

Phishing-resistant MFA, meaning FIDO2/WebAuthn security keys or platform authenticators and now passkeys, binds the login to the real website's origin. A proxy phishing site simply cannot get a valid response. CISA recommends it as the gold standard, and it should be the default for administrators and anyone with access to sensitive systems.

If you must keep push MFA, enable number matching so the user has to type a code shown on the login screen rather than just tap approve.

Recovery flows are authentication flows

The MGM and Caesars incidents highlight an uncomfortable truth: your account recovery process is only as strong as your weakest help desk call. If anyone who knows an employee's name and a few public details can get their MFA reset, your MFA is optional.

Harden recovery by:

  • Requiring identity verification that cannot be researched on LinkedIn, for example a video call with ID, a callback to a number on file, or manager approval.
  • Applying extra scrutiny and delays to resets for privileged accounts.
  • Alerting the user and the security team on every MFA reset and new device registration.
  • Treating help desk staff as a security-critical team, with training and scripts that allow them to say no.

Machine identities: the bigger, quieter problem

For every employee there are now many more non-human identities: service accounts, API keys, OAuth applications, cloud IAM roles, CI/CD tokens, certificates and SSH keys. They often:

  • have broad, long-lived permissions,
  • are never reviewed,
  • are not protected by MFA (they cannot be), and
  • are stored in code, config files, CI variables and laptops.

The Storm-0558 case is an extreme example, a stolen signing key that allowed any token to be forged. The everyday version is a leaked cloud access key in a Git repository, or a CI token with write access to production.

flowchart TB
  subgraph Humans
    E[Employees] --> IdP
    C[Contractors] --> IdP
  end
  IdP[Identity provider<br/>SSO + phishing-resistant MFA] --> Apps[SaaS & internal apps]
  subgraph Machines
    SA[Service accounts]
    K[API keys & tokens]
    CI[CI/CD workloads]
  end
  CI -->|OIDC federation<br/>short-lived tokens| Cloud[Cloud IAM]
  SA --> Cloud
  K --> Apps

Controls that work:

  1. Inventory them. List every service account, key and OAuth app, with an owner.
  2. Prefer short-lived, federated credentials. For example, CI pipelines can use OIDC to exchange a signed identity for a cloud token valid for minutes instead of storing a long-lived access key.
  3. Least privilege, reviewed. Machine identities accumulate permissions faster than people do. Use access analysers to trim unused rights.
  4. Rotate and expire. Keys without an expiry date are future incidents.
  5. Detect anomalies. A service account logging in interactively, from a new country or at 3 a.m. is a strong signal.

Protect the tokens, not just the login

Session cookies and refresh tokens are what attackers steal after MFA. Shorter session lifetimes for sensitive apps, binding sessions to device posture, re-authentication for high-risk actions, and endpoint protection that detects browser credential theft all reduce their value.

Where to start

  1. Roll out phishing-resistant MFA to administrators and high-risk roles.
  2. Review and harden help desk identity verification this quarter.
  3. Build an inventory of machine identities in your largest cloud account and CI system.
  4. Replace long-lived CI secrets with federated, short-lived credentials.

Our Active Directory security assessment and red teaming test exactly these paths, including help desk social engineering where you want it in scope.

EthicalHat Research

The EthicalHat research team: penetration testers, SOC analysts and engineers writing about security, software engineering and AI.

Want an expert opinion on your own systems?

Email info@ethicalhat.com or call +1-844-838-4422. Our security engineers are happy to talk it through.