Skip to content
System hardening
ASD ISMISM-1746

ASD ISM 1746 Restrict file system permission changes

What it says

When implementing application control using path rules, only approved users can change file system permissions for approved files and folders.

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

In plain English

Where application control relies on path rules, only approved users can change file system permissions on the files and folders those rules approve.

Where application control uses path rules, which let files run because of where they are stored, only approved users can change file system permissions on approved files and folders (those the rules allow to run). The control applies only if path rules are in use, not to cryptographic hash or publisher certificate rules alone. It does not list who is approved, so the organisation decides. Users include non-human actors such as service accounts. ISM-1392 separately limits who can modify those files and write to those folders.

Why it matters

A path rule trusts a location, so whatever is placed there can run. A user who can change that location's permissions can give themselves write access and add malicious code that application control then allows, getting around ISM-1392.

How to implement

  1. List the files and folders your path rules approve.

    Export the path rules from the live application control policy, expand any wildcards and variables, and include parent folders, because permissions set on a parent can flow down to the items inside it. If no path rules are in use, this control has nothing to apply to.

  2. Decide which users are approved.

    Name the administrator groups and non-human accounts that must change permissions on those locations, such as the software deployment account and the operating system's own accounts, and record them against each location, with the accounts approved to belong to each group. Use groups where you can, so directory membership can be compared with that record.

  3. Remove those rights from everyone else.

    On each approved file and folder and its parents, take 'change permissions', 'take ownership' and full control away from unapproved users. Move ownership to an approved user or group, because an owner can normally change permissions. Local administrators, backup operators and other holders of permission-overriding user rights can bypass this: approve or remove each.

  4. Replace any path rule you cannot lock down.

    Where a vendor's application needs permissions that unapproved users could change, and the vendor cannot alter that, use a cryptographic hash rule or publisher certificate rule for it instead (ISM-0955), so no path rule depends on that location.

  5. Test with accounts that are not approved.

    On a sampled workstation and server, use an unprivileged account and the most privileged account not on your list to try changing permissions on, and taking ownership of, an approved file and folder. Every attempt should be refused.

Keep it running

Recheck permissions on approved locations whenever a path rule changes, software is installed or upgraded in an approved location, or the approved users change, because installers can reset permissions. Between those events, recheck at an interval you set (the control sets none).

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The path rules in the live application control policy on sampled workstations and servers, a permissions report produced during the audit over every location they approve, including parent folders and owners, and each device's user rights assignments.

    Look at

    Every user or group that can change permissions or take ownership, directly, by inheritance, as owner or through a user right such as 'take ownership' or 'restore files and directories', compared with the record of approved users.

    Good evidence

    The report covers every location in the live path rules, and nobody outside the approved users can change permissions or take ownership, whether directly, by inheritance, as owner or through a user right. If the live policy holds no path rules, this control has nothing to test.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A live attempt by accounts that are not approved, one unprivileged and the other the most privileged on the device, to change permissions on and take ownership of an approved file and an approved folder.

    Look at

    Whether the operating system refuses each attempt, on both a workstation and a server.

    Good evidence

    Every attempt is refused for both accounts on both devices, and the permissions and owner are unchanged afterwards.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Current membership of the local administrators group and each other group holding those rights, expanded to individual and non-human accounts, with the record of approved users.

    Look at

    Whether any member, including nested group members and service accounts, is missing from the record.

    Good evidence

    Every member, including nested members and service accounts, appears on the record of approved users.

Mappings

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

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.5.15Access controlPartially meets
  • A.8.4Access to source codePartially overlaps
Essential Eight

ASD Essential Eight: 4 mappings

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