Gold Open Source
ExplorePackagesVulnerabilitiesMCP Servers
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 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 Injection

▪Reference

M1040 on MITRE ATT&CK
T1055.004Asynchronous Procedure Call
T1027.014Polymorphic Code
T1137.006Add-ins
T1055.009Proc Memory
T1027.010Command Obfuscation
T1055.012Process Hollowing
T1047Windows Management Instrumentation
T1059.007JavaScript
T1204User Execution
T1543Create or Modify System Process
T1559.002Dynamic Data Exchange
T1574Hijack Execution Flow
T1569.002Service Execution
T1055.014VDSO Hijacking
T1055.013Process Doppelgänging
T1216.001PubPrn
T1036Masquerading
T1055.003Thread Execution Hijacking
T1137.004Outlook Home Page
T1137Office Application Startup
T1091Replication Through Removable Media
T1137.001Office Template Macros
T1137.002Office Test
T1574.013KernelCallbackTable
T1059.005Visual Basic
T1055.011Extra Window Memory Injection
T1564.014Extended Attributes
T1027.012LNK Icon Smuggling
T1486Data Encrypted for Impact
T1137.005Outlook Rules
T1204.002Malicious File
T1055.008Ptrace System Calls
T1106Native API
T1055Process Injection
T1569System Services
T1006Direct Volume Access
T1559Inter-Process Communication
T1027Obfuscated Files or Information
T1027.009Embedded Payloads
T1137.003Outlook Forms
T1546.003Windows Management Instrumentation Event Subscription
T1003.001LSASS Memory
T1059Command and Scripting Interpreter
T1055.005Thread Local Storage
T1027.013Encrypted/Encoded File
T1055.001Dynamic-link Library Injection
T1055.015ListPlanting
T1003OS Credential Dumping

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.