Skip to content
System hardening
ASD ISMISM-2111

ASD ISM 2111 Remove temporary installation files post-installation

What it says

All temporary installation files created during user application installation processes are removed after user applications have been installed.

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

What it means

In plain English

Once a user application is installed, every temporary file its installation process created must be removed, leaving none behind.

All temporary installation files created during user application installation processes must be removed after the applications have been installed. All means every such file, not only the obvious installer, and it can include extracted setup packages and working folders. Files the application needs to run, repair or update are not temporary. User applications are software typically installed on workstations. ISM-1245 sets the same rule for server applications.

Why it matters

Installation files left behind can hold old code, embedded settings or even credentials, often in folders people can write to, where a malicious actor on the workstation could reuse them. Removing them after installation leaves nothing behind to reuse.

How to implement

  1. Find what each installer leaves behind.

    Install on a clean test workstation, compare the file system before and after with a snapshot or file-monitoring tool, and list every file added. Check the vendor's documentation so you keep anything the application still needs.

  2. Add clean-up to each deployment package.

    End the package or script with a step that deletes those files. Delete them before capturing any standard operating environment image (ISM-1406), so they are not copied to every workstation.

  3. Cover installs outside the package.

    For a hand install or an installer you cannot change, add the removal to the install procedure, or run a follow-up clean-up task from your device management tool.

  4. Check real workstations after rollout.

    Search temporary and download folders on a sample of workstations for the files you listed. If any remain, fix the package and clean up the workstations it reached.

Keep it running

Retest whenever a package or installer version changes, because a new release can leave files in new places. An install outside normal deployment, such as a technician's repair or a vendor support visit, should also trigger a check.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A before-and-after file comparison for a test install of a current package, run or witnessed by you.

    Look at

    Every file the install added, and whether it is still there once the install finishes.

    Good evidence

    No temporary installation file remains after the install finishes, and each file left is shown to be part of the application or needed by it, from the vendor's documentation or the file's install location.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A search of temporary and download folders on workstations sampled from a discovery scan, including some built by hand.

    Look at

    Whether installer packages or working folders for user applications remain.

    Good evidence

    No temporary installation files for any user application remain on any sampled workstation, including those built by hand.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The deployment packages, compared with the software register.

    Look at

    Whether every user application on the register has a clean-up step, or a test showing its installer leaves nothing.

    Good evidence

    Every user application on the register has a clean-up step or a recorded test showing its installer leaves nothing behind, and hand installs have the same step in their procedure.

Mappings

Closest match in ISO/IEC 27001: A.8.10, Information deletion, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.10Information deletionPartially meets

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