Skip to content
System hardening
ASD ISMISM-1249

ASD ISM 1249 Run server applications under separate accounts with minimum privileges

What it says

Server applications are configured to run as a separate user account with the minimum privileges needed to perform their functions.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Give each server application its own user account to run under, and grant that account only the privileges the application's functions need.

Server applications must be configured to run as a separate user account that has the minimum privileges needed to perform their functions. Separate means the account is used by that application alone: not shared with another application or a person, and not root, a local administrator or an identity shared by other services. Minimum privileges means only the rights, group memberships and permissions its functions require. ISM-1250 adds a limit on the account's access to the server's file system.

Why it matters

If a server application running as root or a local administrator is compromised, malicious actors can control the whole server. A separate, minimum-privilege account limits what they can do through it, and stops one application's compromise handing over another's account.

How to implement

  1. List the account each server application runs as.

    Take it from the server's running services and processes, not from documentation, and flag any running as root, a local or domain administrator, or an account shared with another application or a person.

  2. Create a dedicated service account for each application.

    Use it for that application alone, block interactive logon, and keep it out of highly privileged security groups (ISM-1940). In Active Directory, ISM-1619 requires group Managed Service Accounts, whose passwords the domain manages. ISM-1954 and ISM-1795 require any password to be randomly generated and at least 30 characters long.

  3. Grant only the privileges the application's functions need.

    Start from the vendor's documented requirements, test in a non-production environment, and grant each needed right on its own, such as a specific operating system right or database role, instead of administrator rights. ISM-1250 then limits its file system access.

  4. Handle applications you cannot reconfigure.

    For an appliance or vendor-managed application that runs as root or an administrator, ask the vendor for a supported way to run it under a limited account, and record it as a shortfall for the authorising officer until fixed.

Keep it running

Recheck each account's rights after upgrades, new features or integrations, because installers and troubleshooting can add privileges. Remove any right added to fix a problem once it is solved, unless the application's functions need it.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The running services and processes on a sample of servers chosen from a discovery scan, with the account each server application runs as.

    Look at

    Whether each server application runs under its own account, and whether any runs as root, an administrator or an account shared with another application or person.

    Good evidence

    Each sampled server application runs under an account that it alone uses, and none runs as root, an administrator or a shared account.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The rights, group memberships including nested groups, elevation rules and database or directory permissions of each sampled account, with the vendor's documented requirements.

    Look at

    Any privilege beyond what the application's functions need.

    Good evidence

    Each sampled account holds only privileges its application's functions need, with nothing granted for convenience or left over from troubleshooting.

  3. Check 3 of 3What an auditor asks for

    Ask for

    An attempt, run as a sampled account in a test environment with production settings, at an administrative action the application does not need, such as creating a local user.

    Look at

    Whether the operating system refuses the action.

    Good evidence

    The action is refused, because the account does not hold the privilege.

Mappings

Closest match in ISO/IEC 27001: A.8.2, Privileged access rights, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.2Privileged access rightsPartially meets
  • A.8.3Information access restrictionPartially meets
Essential Eight

ASD Essential Eight: 1 mapping

ASD Essentials

ASD Essentials for enterprise IT: 1 mapping

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.