Gold Open Source
ExplorePackagesVulnerabilitiesCWEsMCP ServersScan
Login
Gold Open Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security, malware, and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Certified Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
Home/ATT&CK/M1040
MITRE ATT&CK Mitigation

M1040: Behavior Prevention on Endpoint

ShareXLinkedInRedditHN

Behavior Prevention on Endpoint refers to the use of technologies and strategies to detect and block potentially malicious activities by analyzing the behavior of processes, files, API calls, and other endpoint events. Rather than relying solely on known signatures, this approach leverages heuristics, machine learning, and real-time monitoring to identify anomalous patterns indicative of an attack. This mitigation can be implemented through the following measures: Suspicious Process Behavior: - Implementation: Use Endpoint Detection and Response (EDR) tools to monitor and block processes exhibiting unusual behavior, such as privilege escalation attempts. - Use Case: An attacker uses a known vulnerability to spawn a privileged process from a user-level application. The endpoint tool detects the abnormal parent-child process relationship and blocks the action. Unauthorized File Access: - Implementation: Leverage Data Loss Prevention (DLP) or endpoint tools to block processes attempting to access sensitive files without proper authorization. - Use Case: A process tries to read or modify a sensitive file located in a restricted directory, such as /etc/shadow on Linux or the SAM registry hive on Windows. The endpoint tool identifies this anomalous behavior and prevents it. Abnormal API Calls: - Implementation: Implement runtime analysis tools to monitor API calls and block those associated with malicious activities. - Use Case: A process dynamically injects itself into another process to hijack its execution. The endpoint detects the abnormal use of APIs like `OpenProcess` and `WriteProcessMemory` and terminates the offending process. Exploit Prevention: - Implementation: Use behavioral exploit prevention tools to detect and block exploits attempting to gain unauthorized access. - Use Case: A buffer overflow exploit is launched against a vulnerable application. The endpoint detects the anomalous memory write operation and halts the process.

▪Techniques addressed (51)

T1036.008Masquerade File TypeT1543.003Windows ServiceT1055.002Portable Executable InjectionT1055.004Asynchronous Procedure CallT1027.014Polymorphic CodeT1137.006Add-insT1055.009Proc MemoryT1027.010Command ObfuscationT1055.012Process HollowingT1047Windows Management InstrumentationT1059.007JavaScriptT1204User ExecutionT1543Create or Modify System ProcessT1559.002Dynamic Data ExchangeT1574Hijack Execution FlowT1569.002Service ExecutionT1055.014VDSO HijackingT1055.013Process DoppelgängingT1216.001PubPrnT1036MasqueradingT1055.003Thread Execution HijackingT1137.004Outlook Home PageT1137Office Application StartupT1091Replication Through Removable MediaT1003OS Credential DumpingT1137.001Office Template MacrosT1137.002Office TestT1574.013KernelCallbackTableT1059.005Visual BasicT1055.011Extra Window Memory InjectionT1564.014Extended AttributesT1027.012LNK Icon SmugglingT1486Data Encrypted for ImpactT1137.005Outlook RulesT1204.002Malicious FileT1055.008Ptrace System CallsT1106Native APIT1055Process InjectionT1569System ServicesT1006Direct Volume AccessT1559Inter-Process CommunicationT1027Obfuscated Files or InformationT1027.009Embedded PayloadsT1137.003Outlook FormsT1546.003Windows Management Instrumentation Event SubscriptionT1003.001LSASS MemoryT1059Command and Scripting InterpreterT1055.005Thread Local StorageT1027.013Encrypted/Encoded FileT1055.001Dynamic-link Library InjectionT1055.015ListPlanting

▪Reference

M1040on MITRE ATT&CK

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.