Software Configuration

Implement configuration changes to software (other than the operating system) to mitigate security risks associated to how the software operates.

ID: M1054
Version: 1.2
Created: 19 July 2019
Last Modified: 26 December 2023

Techniques Addressed by Mitigation

Domain ID Name Use
Enterprise T1543 Create or Modify System Process

Where possible, consider enforcing the use of container services in rootless mode to limit the possibility of privilege escalation or malicious effects on the host running the container.

.005 Container Service

Where possible, consider enforcing the use of container services in rootless mode to limit the possibility of privilege escalation or malicious effects on the host running the container.

Enterprise T1555 .005 Credentials from Password Stores: Password Managers

Consider re-locking password managers after a short timeout to limit the time plaintext credentials live in memory from decrypted databases.

Enterprise T1602 Data from Configuration Repository

Allowlist MIB objects and implement SNMP views.[1]

.001 SNMP (MIB Dump)

Allowlist MIB objects and implement SNMP views.[1]

.002 Network Device Configuration Dump

Allowlist MIB objects and implement SNMP views. Disable Smart Install (SMI) if not used.[1][2]

Enterprise T1213 Data from Information Repositories

Consider implementing data retention policies to automate periodically archiving and/or deleting data that is no longer needed.

.004 Customer Relationship Management Software

Consider implementing data retention policies to automate periodically archiving and/or deleting data that is no longer needed.

Enterprise T1546 .013 Event Triggered Execution: PowerShell Profile

Avoid PowerShell profiles if not needed. Use the -No Profile flag with when executing PowerShell scripts remotely to prevent local profiles and scripts from being executed.

Enterprise T1606 Forge Web Credentials

Configure browsers/applications to regularly delete persistent web credentials (such as cookies).

.001 Web Cookies

Configure browsers/applications to regularly delete persistent web cookies.

Enterprise T1590 .002 Gather Victim Network Information: DNS

Consider implementing policies for DNS servers, such as Zone Transfer Policies, that enforce a list of validated servers permitted for zone transfers.[3]

Enterprise T1562 Impair Defenses

Consider implementing policies on internal web servers, such HTTP Strict Transport Security, that enforce the use of HTTPS/network traffic encryption to prevent insecure connections.[4]

.006 Indicator Blocking

Consider automatically relaunching forwarding mechanisms at recurring intervals (ex: temporal, on-logon, etc.) as well as applying appropriate change management to firewall rules and other related system configurations.

.009 Safe Mode Boot

Ensure that endpoint defenses run in safe mode.[5]

.010 Downgrade Attack

Consider implementing policies on internal web servers, such HTTP Strict Transport Security, that enforce the use of HTTPS/network traffic encryption to prevent insecure connections.[4]

Enterprise T1559 Inter-Process Communication

Consider disabling embedded files in Office programs, such as OneNote, that do not work with Protected View.[6][7]

.002 Dynamic Data Exchange

Consider disabling embedded files in Office programs, such as OneNote, that do not work with Protected View.[6][7]

Enterprise T1666 Modify Cloud Resource Hierarchy

In Azure environments, consider setting a policy to block subscription transfers.[8] In AWS environments, consider using Service Control Policies to prevent the use of the LeaveOrganization API call.[9]

Enterprise T1137 Office Application Startup

For the Office Test method, create the Registry key used to execute it and set the permissions to "Read Control" to prevent easy access to the key without administrator permissions or requiring Privilege Escalation. [10]

.002 Office Test

Create the Registry key used to execute it and set the permissions to "Read Control" to prevent easy access to the key without administrator permissions or requiring Privilege Escalation.[10]

Enterprise T1566 Phishing

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12]

.001 Spearphishing Attachment

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12]

.002 Spearphishing Link

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12].

Furthermore, policies may enforce / install browser extensions that protect against IDN and homograph attacks.

Enterprise T1598 Phishing for Information

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12]

.002 Spearphishing Attachment

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12]

.003 Spearphishing Link

Use anti-spoofing and email authentication mechanisms to filter messages based on validity checks of the sender domain (using SPF) and integrity of messages (using DKIM). Enabling these mechanisms within an organization (through policies such as DMARC) may enable recipients (intra-org and cross domain) to perform similar message filtering and validation.[11][12]

Furthermore, policies may enforce / install browser extensions that protect against IDN and homograph attacks. Browser password managers may also be configured to only populate credential fields when the URL matches that of the original, legitimate site.

Enterprise T1539 Steal Web Session Cookie

Configure browsers or tasks to regularly delete persistent cookies.

Additionally, minimize the length of time a web cookie is viable to potentially reduce the impact of stolen cookies while also increasing the needed frequency of cookie theft attempts – providing defenders with additional chances at detection.[13] For example, use non-persistent cookies to limit the duration a session ID will remain on the web client cache where an attacker could obtain it.[14]

Enterprise T1553 Subvert Trust Controls

HTTP Public Key Pinning (HPKP) is one method to mitigate potential Adversary-in-the-Middle situations where and adversary uses a mis-issued or fraudulent certificate to intercept encrypted communications by enforcing use of an expected certificate. [15]

.004 Install Root Certificate

HTTP Public Key Pinning (HPKP) is one method to mitigate potential Adversary-in-the-Middle situations where and adversary uses a mis-issued or fraudulent certificate to intercept encrypted communications by enforcing use of an expected certificate. [15]

Enterprise T1537 Transfer Data to Cloud Account

Configure appropriate data sharing restrictions in cloud services. For example, external sharing in Microsoft SharePoint and Google Drive can be turned off altogether, blocked for certain domains, or restricted to certain users.[16] [17]

Enterprise T1535 Unused/Unsupported Cloud Regions

Cloud service providers may allow customers to deactivate unused regions.[18]

Enterprise T1550 .004 Use Alternate Authentication Material: Web Session Cookie

Configure browsers or tasks to regularly delete persistent cookies.

References