Privileged access management and least privilege: a practical guide for admin, supplier and service accounts

What privileged access management and least privilege mean, how to control admin, supplier and system accounts, and why AI agents need the same limits. With a checklist.

· 6 min read · By RiposteSecurity Research Team

Hong KongSingaporeMalaysia

Key points

  • Privileged access management (PAM) is the set of tools and rules that control accounts with high-level access: administrators, system accounts and supplier logins.
  • Least privilege means every person and program gets only the access it needs, only for as long as it needs it.
  • Two recent cases show the risk. A vendor developer exported data on 56,243 people from a Hong Kong hospital system. A system-account login at Amadeus was used to view airline bookings for almost three years.
  • AI agents that can read files or call systems are privileged accounts too, and need the same limits.

What is privileged access management?

Privileged access management (PAM) is how an organisation controls the accounts that can do the most damage. These are the accounts that can change settings, read whole databases, create users or turn off security tools.

PAM is one part of identity and access management, the wider practice of deciding who can log in to what. Identity and access management covers every user. PAM focuses on the small number of accounts where a mistake or a stolen password would hurt most.

In practice, PAM usually includes:

  • a list of every privileged account and who owns it;
  • a password vault that stores and rotates admin passwords, so people do not know or share them;
  • just-in-time access, where admin rights are granted for a task and removed after;
  • session recording, so admin work on key systems can be reviewed later;
  • strong multi-factor authentication on every privileged login.

What least privilege means

Least privilege means each user, system and supplier gets the minimum access needed to do its job, and nothing more. Bank Negara Malaysia's Risk Management in Technology (RMiT) policy describes it as access on a "need-to-have" basis, "where only the minimum sufficient permissions are granted". RMiT also asks for a "deny all" default and time-bound access.

Least privilege applies in three directions:

  • What an account can reach: which systems, which records, which functions such as export or delete.
  • When it can reach it: all the time, or only during an approved task.
  • How much it can take: one customer record at a time, or the whole table.

Admin, system and supplier accounts

Administrator accounts

Staff who run systems need admin rights some of the time, not all of the time. Give each administrator a normal account for email and web browsing, and a separate admin account used only for admin work. Never use admin accounts for daily tasks.

System and service accounts

These are logins used by software: a backup job, an integration between two systems, a script. They often have broad access, no MFA and passwords that never change.

Cathay Pacific said an attacker used the login details of a system account at Amadeus, its reservation provider, to view bookings between August 2023 and September 2026. Singapore Airlines and Malaysia Airlines also reported exposure through Amadeus.

More detail: how one supplier login exposed three airlines' bookings.

Supplier accounts

IT vendors and contractors often need admin access to maintain systems. That access is easy to grant and easy to forget.

On 30 October 2026 Hong Kong's Privacy Commissioner published findings on a breach at United Christian Hospital. A developer employed by the vendor that maintained a theatre nursing system exported personal data of 56,243 people without permission. The Commissioner found that the Hospital Authority's own IT staff did not have the credentials to log in to the servers, that the system lacked role-based access control, and that the Hospital Authority did not keep access or export logs for the system.

The Commissioner told organisations to give contractors access "on a need-to-know basis", to "avoid granting vendors with administrator privileges that provide continuous and unrestricted access to sensitive personal data", to restrict data export functions, and to keep primary administrator credentials under internal control.

Just-in-time access, vaulting and session recording

Just-in-time access

Instead of standing admin rights, a person asks for access to a named system for a set time, someone approves it, and the access expires on its own. This shrinks the window in which a stolen admin password is useful. It is a good fit for supplier maintenance, which is usually planned in advance.

Password vaulting

A vault holds admin and system-account passwords and changes them on a schedule or after each use. People check out access through the vault rather than knowing the password. When a supplier contract ends, nothing needs to be changed in a hurry, because the supplier never knew the password.

Session recording

Admin sessions on key systems are recorded and logged. After the United Christian Hospital incident, the Hospital Authority replaced its remote access platform with software that can block file transfers and keep full audit logs, and began recording remote support sessions. Recording does not stop misuse by itself, but it makes misuse visible and gives investigators evidence.

Joiner, mover, leaver

Access tends to grow over time. People change roles and keep their old rights. Contractors finish and their accounts stay open. A simple joiner, mover, leaver process fixes most of this:

  • Joiner: access is granted from a role template, approved by the system owner.
  • Mover: when someone changes role, old access is removed before new access is added.
  • Leaver: all accounts are closed on the last day, including cloud, supplier portals and shared mailboxes.

Review privileged access at least every quarter. Bank Negara's RMiT requires a user access matrix that is "periodically reviewed and updated".

AI agents need least privilege too

Many firms now connect AI assistants to email, files, ticketing systems or databases. An AI agent that can take actions is, in effect, a privileged account. It can also be tricked. Hidden instructions in an email or web page can make it do things its user never asked for, an attack called prompt injection.

The OWASP Top 10 for Large Language Model Applications calls this risk "Excessive Agency". It lists three causes: too many functions, too many permissions, and too much freedom to act without approval. Its advice matches classic least privilege:

  • limit the permissions an AI tool has on other systems "to the minimum necessary", such as read-only database access;
  • run the tool with the user's own access rather than a shared high-privilege account;
  • require a human to approve high-impact actions such as sending, posting or deleting;
  • enforce permissions in the target system, not by trusting the AI to decide.

See our OWASP Top 10 for LLM applications guide for more.

Privileged access management checklist

  • List every privileged account: administrators, system and service accounts, supplier and contractor logins, cloud admin roles and AI tool connections. Give each one a named owner.
  • Remove accounts nobody can explain, and admin rights nobody has used in 90 days.
  • Split admin accounts from daily accounts.
  • Put phishing-resistant multi-factor authentication on every privileged login. See our MFA guide.
  • Store admin and system-account passwords in a vault and rotate them. Replace passwords with keys or certificates for system accounts where possible.
  • Give suppliers just-in-time access for planned work, and keep primary admin credentials in-house.
  • Restrict or require approval for bulk export functions.
  • Record admin sessions on systems that hold personal or financial data, and keep the logs yourself, not only at the supplier.
  • Alert when a privileged or system account does something new: new hours, new locations, far more records read than usual.
  • Run a joiner, mover, leaver process and review privileged access every quarter.
  • Give AI agents read-only access by default and require human approval for actions.
  • Test it. A penetration test should try to move from a normal user to admin, and check whether supplier and system accounts can reach more than they should.

Our AI-Powered Attack Audit tests exactly these paths. Related reading: supplier security checklist and zero trust explained.

Sources

  1. PCPD, investigation findings on the data breach incident of the United Christian Hospital, 30 Oct 2026: pcpd.org.hk
  2. PCPD, Privacy Commissioner's Office urges organisations to strengthen data security measures, 24 Nov 2026: pcpd.org.hk
  3. Bank Negara Malaysia, Risk Management in Technology (RMiT) policy document, issued 25 Sep 2026: bnm.gov.my
  4. PCPD, response to media enquiry on Cathay Pacific data breach, 30 Oct 2026: pcpd.org.hk
  5. Bloomberg, Cathay Pacific joins growing list of airlines hit by data breach, 30 Oct 2026: bloomberg.com
  6. OWASP GenAI Security Project, LLM06:2025 Excessive Agency: genai.owasp.org

This guide summarises public documents as of 26 November 2026. It is not legal advice; check the regulator's current text.