Tanflow IAM Suite & PAM: identity and privileged access security for the enterprise. Get a Demo →

20 February 2025 · Tanflow Ventures

Detecting PAM Bypass: Why External Access Monitoring Completes Privileged Access Control

A PAM deployment only protects the sessions that go through it. The Tanflow External Access Monitor detects server logins that bypass the PAM gateway, which turns coverage of privileged access into something that can be checked.

Privileged access programmes rest on an assumption that is rarely stated: privileged sessions go through the PAM platform. Vaulted credentials, session recording and command policy protect only the access that passes through the gateway. An administrator who SSHes straight to a server with a key that predates the rollout is invisible to all of those controls. The session is not blocked or recorded, and nothing sees it.

How bypass paths build up

Every estate collects them over time. There are SSH keys authorised on servers years ago, local administrator accounts created during builds, direct database logins used by scripts that were never inventoried, and emergency access arrangements that outlived the emergency. Nobody created these to defeat PAM; they predate it or were missed by it. Each one still opens without the gateway knowing, and an attacker who finds one gets privileged access with no vault, recording or command policy in the way.

This raises an awkward audit question. If the organisation presents its session recordings as evidence of privileged access control, what shows that the recordings are complete? A coverage claim needs a detector behind it.

Firewall restrictions drift

The standard mitigation is at the network level: firewall the targets so administrative ports accept connections only from the gateway. This is the right control and should be in place. It is also a configuration, and configurations drift. Rules are widened during incidents and never narrowed again. New servers launch from templates that missed the restriction. Teams outside the PAM programme edit cloud security groups. A preventive control that can fail silently needs a detective control watching it.

What the External Access Monitor does

Tanflow PAM includes an External Access Monitor built to detect server logins that bypass the PAM gateway. It observes login activity on the targets themselves and surfaces the sessions that did not come from the gateway, such as a direct SSH login, console access, or a connection that arrived by a path the programme did not sanction.

In the zero-agent architecture, coverage comes from routing: send access through the gateway and it is vaulted, recorded and policed. The monitor checks the one premise that design depends on, so the organisation has a detector that would report access going around the gateway. Tanflow's own product comparison notes that open-source assemblies and legacy PAM suites generally lack this kind of bypass detection.

In operation it fits into a simple loop:

  1. Privileged access runs through the gateway as designed: authenticated, authorised, credential-injected, policy-enforced and recorded.
  2. The External Access Monitor watches protected targets for logins that did not come through the gateway.
  3. Detected bypass logins go to triage. A finding might be a forgotten SSH key to revoke, a misconfigured security group to fix, or activity that needs incident response, which is the case the capability exists for.
  4. Findings feed remediation, and over time the bypass surface shrinks toward zero, with a record of the reduction.

Example: six months into a rollout

Take an e-commerce company six months into its PAM rollout and confident that production access now goes through the gateway. In its first weeks the monitor finds a deployment host still reachable with three engineers' personal SSH keys, a database accepting direct logins from an undocumented reporting server, and a nightly connection from a script using a credential that was supposed to have been vaulted. None of it is malicious and none of it was visible before. Each item is now a ticket with an owner, and the rollout is complete in practice when the monitor stops finding new ones.

For the security team, bypass detection turns unknown access paths into a worklist and adds a tripwire for compromised out-of-band credentials, which they did not have before. For auditors, the completeness claim behind every other piece of PAM evidence is now monitored instead of asserted. That is relevant to assessments under frameworks such as ISO/IEC 27001 and the RBI Cyber Security Framework.

← All posts

See the platform behind the posts

The Tanflow IAM Suite and PAM run on your infrastructure and go live in 2-4 weeks.