NIST SP 800-53 Rev. 5 · SC-18

Mobile Code

US National Institute of Standards and Technology (NIST) · cited in 45 of our lessons

Explanation

What it asks for. The organisation must define acceptable and unacceptable mobile code and mobile code technologies, and authorise, monitor and control the use of mobile code within the system.

In practice. Mobile code here means code delivered from remote sources and run locally, such as scripts in documents, browser-delivered code and macros. Good practice includes blocking Office macros from the internet, restricting script interpreters with policy, browser hardening and application control. Auditors look for policy settings, macro and script control configurations and evidence of monitoring for script abuse. Macro settings can allow signed macros from trusted publishers so that business needs are still met.

Common gaps. Macros and script hosts remain common initial access routes because restrictions were never applied or were relaxed for business convenience. Exceptions are rarely reviewed. Script activity is also seldom logged in enough detail to spot abuse.

The official text
a. Define acceptable and unacceptable mobile code and mobile code technologies; and b. Authorize, monitor, and control the use of mobile code within the system. Discussion: Mobile code includes any program, application, or content that can be transmitted across a network (e.g., embedded in an email, document, or website) and executed on a remote system. Decisions regarding the use of mobile code within organizational systems are based on the potential for the code to cause damage to the systems if used maliciously. Mobile code technologies include Java applets, JavaScript, HTML5, WebGL, and VBScript. Usage restrictions and implementation guidelines apply to both the selection and use of mobile code installed on servers and mobile code downloaded and executed on individual workstations and devices, including notebook computers and smart phones. Mobile code policy and procedures address specific actions taken to prevent the development, acquisition, and introduction of unacceptable mobile code within organizational systems, including requiring mobile code to be digitally signed by a trusted source.

From NIST SP 800-53 Rev. 5, a work of the US government in the public domain.

Lessons that cite it

Real incidents where this item mattered: the latest 12 of 45.