Skip to content
System hardening
ASD ISMISM-1392

ASD ISM 1392 Restrict changes to files approved by path rules

What it says

When implementing application control using path rules, only approved users can modify approved files and write to approved folders.

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

In plain English

Where application control uses path rules, only approved users may change the files those rules approve or write to the folders they approve.

When application control uses path rules, only approved users can modify approved files and write to approved folders, meaning the files and folders those rules allow to run. A path rule approves a file by where it is stored. Users include service accounts and other non-human accounts. The control does not name who is approved, so the organisation decides, based on who installs and updates the software. ISM-1746 separately limits permission changes. Without path rules, nothing here applies.

Why it matters

A path rule trusts the location, not the file. If an unprivileged account can write to an approved folder or overwrite an approved file, malicious code placed there runs as if approved. Limiting who can write removes that route.

How to implement

  1. List every file and folder the path rules approve.

    Export the rules from deployed rulesets and expand variables and wildcards into real paths, including sub-folders and network shares. If no path rules are in use, there is nothing further to do.

  2. Decide who the approved users are.

    Keep it to the accounts that install or update software, including service accounts, and put them in a named group. List built-in operating system accounts that must keep write access, such as the one that applies updates, as approved too. Record each approval.

  3. Remove write and modify rights from everyone else.

    Apply this to each approved file and folder, checking inherited permissions, broad groups and nested groups. On a network share, check both share and file system permissions. ISM-1746 limits who can change those permissions.

  4. Replace path rules where permissions cannot be tightened.

    If a bought application needs ordinary users to write to its folder, approve its files with a hash or publisher certificate rule (ISM-0955) instead, and remove that path from the rules.

  5. Test as an unprivileged user.

    Try to overwrite an approved file and create a file in each approved folder, including sub-folders. Both should be refused. A scan of effective permissions can find gaps across many folders.

Keep it running

Re-run the effective permissions check whenever software is installed or updated, a path rule is added, or a group holding write access changes. New folders created by an installer can inherit broad permissions, so each should trigger another look.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The path rules exported from sampled workstations and servers, with effective permissions on each approved file and folder, including sub-folders.

    Look at

    Who holds write or modify rights, including through inherited permissions and nested groups, compared with the approved users.

    Good evidence

    Only approved users can modify approved files or write to approved folders, with no broad group holding either right. If the export shows no path rules, there is nothing further to test.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A demonstration by an unprivileged user on sampled machines, trying to overwrite an approved file and create a file in each approved folder.

    Look at

    Whether the file system refuses each attempt.

    Good evidence

    Every attempt is refused, whether it targets an approved file or an approved folder.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The list of approved users and the membership of each group holding write access, with the approval record for each account.

    Look at

    Whether every account with write access, including service accounts, is recorded as approved.

    Good evidence

    Every account holding write access, human or non-human, is on the approved list with a recorded approval, and the list matches group membership, apart from built-in operating system accounts.

Mappings

Closest match in ISO/IEC 27001: A.5.15, Access control, which this control partially meets.

ISO 27001

ISO/IEC 27001: 4 mappings

  • A.5.15Access controlPartially meets
  • A.5.18Access rightsPartially meets
  • A.8.3Information access restrictionPartially meets
Essential Eight

ASD Essential Eight: 6 mappings

ASD Essentials

ASD Essentials for enterprise IT: 1 mapping

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