LiveActive security incident?Get immediate response
MITRE ATT&CK® Mitigation

M1042: Disable or Remove Feature or Program

Disable or remove unnecessary and potentially vulnerable software, features, or services to reduce the attack surface and prevent abuse by adversaries. This involves identifying software or features that are no longer needed or that could be exploited and ensuring they are either removed or properly disabled. This mitigation can be implemented through the following measures:

Remove Legacy Software:

- Use Case: Disable or remove older versions of software that no longer receive updates or security patches (e.g., legacy Java, Adobe Flash). - Implementation: A company removes Flash Player from all employee systems after it has reached its end-of-life date.

Disable Unused Features:

- Use Case: Turn off unnecessary operating system features like SMBv1, Telnet, or RDP if they are not required. - Implementation: Disable SMBv1 in a Windows environment to mitigate vulnerabilities like EternalBlue.

Control Applications Installed by Users:

- Use Case: Prevent users from installing unauthorized software via group policies or other management tools. - Implementation: Block user installations of unauthorized file-sharing applications (e.g., BitTorrent clients) in an enterprise environment.

Remove Unnecessary Services:

- Use Case: Identify and disable unnecessary default services running on endpoints, servers, or network devices. - Implementation: Disable unused administrative shares (e.g., C$, ADMIN$) on workstations.

Restrict Add-ons and Plugins:

- Use Case: Remove or disable browser plugins and add-ons that are not needed for business purposes. - Implementation: Disable Java and ActiveX plugins in web browsers to prevent drive-by attacks.

EnterpriseM1042MitigationObject v1.2Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceMedium

M1042: Disable or Remove Feature or Program describes Disable or remove unnecessary and potentially vulnerable software, features, or services to reduce the attack surface and prevent abuse by adversaries. This involves identifying software or features that are no longer needed or that could be exploited and ensuring they are either removed or properly disabled. This mitigation can be implemented through the following measures: Remove Legacy Software: - Use Case: Disable or remove older versions of software that no longer receive updates or security patches (e.g., leg...

Executive priority

M1042: Disable or Remove Feature or Program is an official MITRE ATT&CK mitigation. Glexia treats it as defensive behavior context for prioritizing monitoring, control validation, and response planning without using the object by itself as an attribution claim.

Technical view

Security teams should validate M1042: Disable or Remove Feature or Program by reviewing the official ATT&CK relationships, mapped tactics (the mapped ATT&CK tactic context), supported platforms (the platforms named in the official object), and available local telemetry before making detection or mitigation decisions.

Likely telemetry

  • Official ATT&CK relationships and object metadata

Detection direction

  • Validate whether M1042: Disable or Remove Feature or Program appears in your detection coverage and tabletop scenarios.
  • Use the object to align executive risk language with SOC, incident response, and detection engineering work.
  • Do not treat ATT&CK relationship context as attribution without corroborating evidence.

Mitigation priorities

  • Map the object to existing controls and identify missing telemetry or response ownership.
  • Prioritize mitigations that reduce exposure on the listed platforms and tactics.
  • Review adjacent ATT&CK relationships before changing policy, detections, or reporting language.
Additional notes and limits

Baseline Glexia take generated from the official MITRE ATT&CK STIX object, source hash, tactics, platforms, and detection fields. It is safe to replace with a richer model-generated take for the same source hash later.

This baseline take is source-grounded and schema-validated, but it does not include environment-specific telemetry, incident evidence, or threat-intelligence corroboration.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Disable or Remove Feature or Program

Disable or remove unnecessary and potentially vulnerable software, features, or services to reduce the attack surface and prevent abuse by adversaries. This involves identifying software or features that are no longer needed or that could be exploited and ensuring they are either removed or properly disabled. This mitigation can be implemented through the following measures:

Remove Legacy Software:

- Use Case: Disable or remove older versions of software that no longer receive updates or security patches (e.g., legacy Java, Adobe Flash). - Implementation: A company removes Flash Player from all employee systems after it has reached its end-of-life date.

Disable Unused Features:

- Use Case: Turn off unnecessary operating system features like SMBv1, Telnet, or RDP if they are not required. - Implementation: Disable SMBv1 in a Windows environment to mitigate vulnerabilities like EternalBlue.

Control Applications Installed by Users:

- Use Case: Prevent users from installing unauthorized software via group policies or other management tools. - Implementation: Block user installations of unauthorized file-sharing applications (e.g., BitTorrent clients) in an enterprise environment.

Remove Unnecessary Services:

- Use Case: Identify and disable unnecessary default services running on endpoints, servers, or network devices. - Implementation: Disable unused administrative shares (e.g., C$, ADMIN$) on workstations.

Restrict Add-ons and Plugins:

- Use Case: Remove or disable browser plugins and add-ons that are not needed for business purposes. - Implementation: Disable Java and ActiveX plugins in web browsers to prevent drive-by attacks.

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

71 rows
DomainIDNameRelationship / procedure
EnterpriseT1547.007Re-opened ApplicationsSub-technique

This feature can be disabled entirely with the following terminal command: defaults write -g ApplePersistence -bool no.

EnterpriseT1021.004SSHSub-technique

Disable the SSH daemon on systems that do not require it, especially ESXi servers. For macOS, ensure Remote Login is disabled under Sharing Preferences.CitationApple Unified Log Analysis Remote Login and Screen Sharing

EnterpriseT1671Cloud Application Integration

Do not allow users to add new application integrations into a SaaS environment. In Entra ID environments, consider enforcing the “Do not allow user consent” option.CitationMicrosoft Entra Configure OAuth Consent

EnterpriseT1021.005VNCSub-technique

Uninstall any VNC server software where not required.

EnterpriseT1059.005Visual BasicSub-technique

Turn off or restrict access to unneeded VB components.

EnterpriseT1595.003Wordlist ScanningSub-technique

Remove or disable access to any systems, resources, and infrastructure that are not explicitly required to be available externally.

EnterpriseT1021.006Windows Remote ManagementSub-technique

Disable the WinRM service.

EnterpriseT1559Inter-Process Communication

Registry keys specific to Microsoft Office feature control security can be set to disable automatic DDE/OLE execution. CitationMicrosoft DDE Advisory Nov 2017CitationBleepingComputer DDE Disabled in Word Dec 2017CitationGitHub Disable DDEAUTO Oct 2017 Microsoft also created, and enabled by default, Registry keys to completely disable DDE execution in Word and Excel.CitationMicrosoft ADV170021 Dec 2017

EnterpriseT1564.006Run Virtual InstanceSub-technique

Disable native virtualization technologies such as Hyper-V if not necessary within a given environment. Consider also disabling Windows Sandbox if it is not needed to test or debug applications.

EnterpriseT1557.001Name Resolution Poisoning and SMB RelaySub-technique

Disable LLMNR, mDNS, and NetBIOS in local computer security settings or by group policy if they are not needed within an environment. CitationADSecurity Windows Secure Baseline

EnterpriseT1046Network Service Discovery

Ensure that unnecessary ports and services are closed to prevent risk of discovery and potential exploitation.

EnterpriseT1218.015Electron ApplicationsSub-technique

Remove or deny access to unnecessary and potentially vulnerable software and features to prevent abuse by adversaries. Many native binaries may not be necessary within a given environment: for example, consider disabling the Node.js integration in all renderers that display remote content to protect users by limiting adversaries’ power to plant malicious JavaScript within Electron applications.CitationElectron Security 2

EnterpriseT1127.002ClickOnceSub-technique

Disable ClickOnce installations from the internet using the following registry key: `\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Security\TrustManager\PromptingLevel — Internet:Disabled`CitationNetSPI ClickOnceCitationMicrosoft Learn ClickOnce Config

ClickOnce may not be necessary within an environment and should be disabled if not being used.

EnterpriseT1114.003Email Forwarding RuleSub-technique

Consider disabling external email forwarding.CitationMicrosoft BEC Campaign

EnterpriseT1557Adversary-in-the-Middle

Disable legacy network protocols that may be used to intercept network traffic if applicable, especially those that are not needed within an environment.

EnterpriseT1011Exfiltration Over Other Network Medium

Disable WiFi connection, modem, cellular data connection, Bluetooth, or another radio frequency (RF) channel in local computer security settings or by group policy if it is not needed within an environment.

EnterpriseT1098Account Manipulation

Remove unnecessary and potentially abusable authentication and authorization mechanisms where possible.

EnterpriseT1685Disable or Modify Tools

Consider removing previous versions of tools that are unnecessary to the environment when possible.

EnterpriseT1052.001Exfiltration over USBSub-technique

Disable Autorun if it is unnecessary. CitationMicrosoft Disable Autorun Disallow or restrict removable media at an organizational policy level if they are not required for business operations. CitationTechNet Removable Media Control

EnterpriseT1553.005Mark-of-the-Web BypassSub-technique

Consider disabling auto-mounting of disk image files (i.e., .iso, .img, .vhd, and .vhdx). This can be achieved by modifying the Registry values related to the Windows Explorer file associations in order to disable the automatic Explorer "Mount and Burn" dialog for these file extensions. Note: this will not deactivate the mount functionality itself.CitationGitHub MOTW

EnterpriseT1505Server Software Component

Consider disabling software components from servers when possible to prevent abuse by adversaries.CitationITSyndicate Disabling PHP functions

EnterpriseT1127.003JamPlusSub-technique

JamPlus may not be necessary within a given environment and should be removed if not used.

EnterpriseT1059.001PowerShellSub-technique

It may be possible to remove PowerShell from systems when not needed, but a review should be performed to assess the impact to an environment, since it could be in use for many legitimate purposes and administrative functions.

Disable/restrict the WinRM Service to help prevent uses of PowerShell for remote execution.

EnterpriseT1218.008OdbcconfSub-technique

Odbcconf.exe may not be necessary within a given environment.

EnterpriseT1091Replication Through Removable Media

Disable Autorun if it is unnecessary. CitationMicrosoft Disable Autorun Disallow or restrict removable media at an organizational policy level if it is not required for business operations. CitationTechNet Removable Media Control

EnterpriseT1137Office Application Startup

Follow Office macro security best practices suitable for your environment. Disable Office VBA macros from executing.

Disable Office add-ins. If they are required, follow best practices for securing them by requiring them to be signed and disabling user notification for allowing add-ins. For some add-ins types (WLL, VBA) additional mitigation is likely required as disabling add-ins in the Office Trust Center does not disable WLL nor does it prevent VBA code from executing. CitationMRWLabs Office Persistence Add-ins

EnterpriseT1546.002ScreensaverSub-technique

Use Group Policy to disable screensavers if they are unnecessary.CitationTechNet Screensaver GP

EnterpriseT1059Command and Scripting Interpreter

Disable or remove any unnecessary or unused shells or interpreters.

EnterpriseT1021.003Distributed Component Object ModelSub-technique

Consider disabling DCOM through Dcomcnfg.exe.CitationMicrosoft Disable DCOM

EnterpriseT1021.001Remote Desktop ProtocolSub-technique

Disable the RDP service if it is unnecessary.

EnterpriseT1555.004Windows Credential ManagerSub-technique

Consider enabling the “Network access: Do not allow storage of passwords and credentials for network authentication” setting that will prevent network credentials from being stored by the Credential Manager.CitationMicrosoft Network access Credential Manager

EnterpriseT1092Communication Through Removable Media

Disable Autoruns if it is unnecessary.CitationMicrosoft Disable Autorun

EnterpriseT1563.002RDP HijackingSub-technique

Disable the RDP service if it is unnecessary.

EnterpriseT1218.013MavinjectSub-technique

Consider removing mavinject.exe if Microsoft App-V is not used within a given environment.

EnterpriseT1563Remote Service Session Hijacking

Disable the remote service (ex: SSH, RDP, etc.) if it is unnecessary.

EnterpriseT1098.004SSH Authorized KeysSub-technique

Disable SSH if it is not necessary on a host or restrict SSH access for specific users/groups using /etc/ssh/sshd_config. Setting the `PermitRootLogin` directive to `no` will prevent the root user from logging in via SSH.CitationBroadcom ESXi SSH

EnterpriseT1557.002ARP Cache PoisoningSub-technique

Consider disabling updating the ARP cache on gratuitous ARP replies.

EnterpriseT1219.002Remote Desktop SoftwareSub-technique

Consider disabling unnecessary remote connection functionality, including both unapproved software installations and specific features built into supported applications.

EnterpriseT1218.012VerclsidSub-technique

Consider removing verclsid.exe if it is not necessary within a given environment.

EnterpriseT1218.005MshtaSub-technique

Mshta.exe may not be necessary within a given environment since its functionality is tied to older versions of Internet Explorer that have reached end of life.

EnterpriseT1563.001SSH HijackingSub-technique

Ensure that agent forwarding is disabled on systems that do not explicitly require this feature to prevent misuse. CitationSymantec SSH and ssh-agent

EnterpriseT1133External Remote Services

Disable or block remotely available services that may be unnecessary.

EnterpriseT1218.007MsiexecSub-technique

Consider disabling the AlwaysInstallElevated policy to prevent elevated execution of Windows Installer packages.CitationMicrosoft AlwaysInstallElevated 2018

EnterpriseT1564.007VBA StompingSub-technique

Turn off or restrict access to unneeded VB components.CitationMicrosoft Disable VBA Jan 2020

EnterpriseT1059.007JavaScriptSub-technique

Turn off or restrict access to unneeded scripting components.

EnterpriseT1609Container Administration Command

Remove unnecessary tools and software from containers.

EnterpriseT1218.004InstallUtilSub-technique

InstallUtil may not be necessary within a given environment.

EnterpriseT1127.001MSBuildSub-technique

MSBuild.exe may not be necessary within an environment and should be removed if not being used.

EnterpriseT1218.014MMCSub-technique

MMC may not be necessary within a given environment since it is primarily used by system administrators, not regular users or clients.

EnterpriseT1552.005Cloud Instance Metadata APISub-technique

Disable unnecessary metadata services and restrict or disable insecure versions of metadata services that are in use to prevent adversary access.CitationAmazon AWS IMDS V2

EnterpriseT1546.014EmondSub-technique

Consider disabling emond by removing the Launch Daemon plist file.

EnterpriseT1021Remote Services

If remote services, such as the ability to make direct connections to cloud virtual machines, are not required, disable these connection types where feasible. On ESXi servers, consider enabling lockdown mode, which disables direct access to an ESXi host and requires that the host be managed remotely using vCenter.CitationGoogle Cloud Threat Intelligence ESXi Hardening 2023CitationBroadcom ESXi Lockdown Mode

EnterpriseT1021.008Direct Cloud VM ConnectionsSub-technique

If direct virtual machine connections are not required for administrative use, disable these connection types where feasible.

EnterpriseT1137.001Office Template MacrosSub-technique

Follow Office macro security best practices suitable for your environment. Disable Office VBA macros from executing.

Disable Office add-ins. If they are required, follow best practices for securing them by requiring them to be signed and disabling user notification for allowing add-ins. For some add-ins types (WLL, VBA) additional mitigation is likely required as disabling add-ins in the Office Trust Center does not disable WLL nor does it prevent VBA code from executing. CitationMRWLabs Office Persistence Add-ins

EnterpriseT1505.003Web ShellSub-technique

Consider disabling functions from web technologies such as PHP’s `evaI()` that may be abused for web shells.CitationITSyndicate Disabling PHP functions

EnterpriseT1205Traffic Signaling

Disable Wake-on-LAN if it is not needed within an environment.

EnterpriseT1218System Binary Proxy Execution

Many native binaries may not be necessary within a given environment.

EnterpriseT1052Exfiltration Over Physical Medium

Disable Autorun if it is unnecessary. CitationMicrosoft Disable Autorun Disallow or restrict removable media at an organizational policy level if they are not required for business operations. CitationTechNet Removable Media Control

EnterpriseT1218.009Regsvcs/RegasmSub-technique

Regsvcs and Regasm may not be necessary within a given environment.

EnterpriseT1221Template Injection

Consider disabling Microsoft Office macros/active content to prevent the execution of malicious payloads in documents CitationMicrosoft Disable Macros, though this setting may not mitigate the Forced Authentication use for this technique.

EnterpriseT1559.002Dynamic Data ExchangeSub-technique

Registry keys specific to Microsoft Office feature control security can be set to disable automatic DDE/OLE execution. CitationMicrosoft DDE Advisory Nov 2017CitationBleepingComputer DDE Disabled in Word Dec 2017CitationGitHub Disable DDEAUTO Oct 2017 Microsoft also created, and enabled by default, Registry keys to completely disable DDE execution in Word and Excel.CitationMicrosoft ADV170021 Dec 2017

EnterpriseT1689Downgrade Attack

Consider removing previous versions of tools that are unnecessary to the environment when possible.

EnterpriseT1098.002Additional Email Delegate PermissionsSub-technique

If email delegation is not required, disable it. In Google Workspace this can be accomplished through the Google Admin console.CitationGmail Delegation

EnterpriseT1127Trusted Developer Utilities Proxy Execution

Specific developer utilities may not be necessary within a given environment and should be removed if not used.

EnterpriseT1611Escape to Host

Remove unnecessary tools and software from containers.

EnterpriseT1219Remote Access Tools

Consider disabling unnecessary remote connection functionality, including both unapproved software installations and specific features built into supported applications.

EnterpriseT1098.001Additional Cloud CredentialsSub-technique

Remove unnecessary and potentially abusable authentication mechanisms where possible. For example, in Entra ID environments, disable the app password feature unless explicitly required.

EnterpriseT1218.003CMSTPSub-technique

CMSTP.exe may not be necessary within a given environment (unless using it for VPN connection installation).

EnterpriseT1649Steal or Forge Authentication Certificates

Consider disabling old/dangerous authentication protocols (e.g. NTLM), as well as unnecessary certificate features, such as potentially vulnerable AD CS web and other enrollment server roles.CitationSpecterOps Certified Pre Owned

EnterpriseT1210Exploitation of Remote Services

Minimize available services to only those that are necessary.

EnterpriseT1011.001Exfiltration Over BluetoothSub-technique

Disable Bluetooth in local computer security settings or by group policy if it is not needed within an environment.

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.2
Object version
1.2
Created
Modified
Raw hash
2716083433cfdb09...
Imported snapshots across ATT&CK releases(2)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.21.2Current bundle2716083433cf…
19.11.2Older bundle2716083433cf…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    mitre-attackM1042
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.