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

18 July 2024 · Tanflow Ventures

Reducing Standing Privileged Access with Tanflow Just-in-Time Access

Tanflow PAM's Just-in-Time access grants privileged access for an approved, fixed window and removes it automatically when the window ends. Examples include weekly change windows, one-hour incident elevation and vendor maintenance visits.

Access tends to outlive its reason. An engineer gets production access for one incident, and a year later it is still active, unused for months, available to be misused or stolen. Repeat that across every team, emergency and vendor engagement, and at any moment far more people can touch critical systems than currently need to. Each dormant grant is attack surface that exists only because revocation depended on someone remembering.

Granting is urgent and revoking is not

Granting access is urgent because work is blocked until it happens. Revoking it is urgent to nobody. Grants happen in minutes and revocations wait for the next annual review, if the review catches them at all. Access recertification campaigns exist because this pattern is universal, but they are periodic cleanups of a system that leaks all the time.

An attacker who compromises an account inherits everything it can reach, stale grants included. Audits suffer too: reviewers asked to certify hundreds of standing entitlements they barely recognise tend to approve them wholesale, which defeats the purpose of the review.

Standing access became the default because temporary access used to be expensive to run. A time-limited grant needed one ticket to grant and another to revoke, and the second one got forgotten. At that cost, permanent grants were the sensible shortcut. Changing the habit means making expiry automatic.

Time-boxed windows in Tanflow PAM

Tanflow PAM implements Just-in-Time access as time-boxed privileged windows that expire automatically. A user requests access for a purpose and a duration, the request is approved through the platform, and the access exists for exactly that window before it removes itself. There is no revocation ticket to raise and no grant left behind.

Tanflow describes three patterns this supports. With change-window access, a DBA team holds production database access every Saturday from 22:00 to 02:00, and outside that window the access does not exist to be attacked or misused. With incident JIT elevation, an on-call engineer requests emergency root for one hour, the approval request reaches the approver's phone, and access ends at minute sixty whether or not anyone remembers. With vendor time-boxing, a hardware vendor gets RDP to one jump target for Tuesday's maintenance, recorded throughout and gone by Wednesday.

JIT works with the rest of the PAM chain. The requester authenticates with MFA, and Tanflow's change management workflow records the request, its reason and its approval. Credentials are injected from the vault so nothing persistent is handed over, the session is recorded, and command control checks what is done inside the window. When the window expires, the permission entry and the user's ability to connect both go.

A request from start to expiry

  1. An engineer requests access to a specific target, for a stated reason, for a defined window.
  2. An approver reviews and approves it, and the decision and justification are logged.
  3. During the window, the engineer connects through the gateway as usual, with vaulted credentials, full recording and command policy.
  4. At expiry, access ends automatically. The audit trail holds the request, approval, session recording and command log together as one record.

Removing always-on access in an e-commerce team

Consider an e-commerce operation where, as a legacy of growth, the whole engineering group had permanent access to production infrastructure. Moving deploy-related access to JIT windows takes the standing exposure from dozens of always-on privileged accounts to zero, and access appears only around approved changes and incidents. At the next access review, the question changes from "do these forty standing grants still make sense" to "were these requested windows appropriate", and the recorded reasons and approvals answer most of it.

Least privilege applied to time

JIT applies least privilege to duration as well as scope, giving the minimum access for the minimum time. It shortens the period in which a compromised credential is useful and removes orphaned grants as a class of audit finding. The evidence also improves, since every access sits inside a window that was requested, approved and recorded. Assessors look for these properties across the regulatory frameworks Tanflow maps its controls against.

← 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.