MITRE ATT&CKmitigation
M1040 Behavior Prevention on Endpoint
- Domain
- enterprise
- Version
- 1.1
- Created
- 2019-06-11
Description
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.
Related
Mitigates · MITRE ATT&CK (51)
- T1564.014 Extended Attributes sub-technique
- T1027.014 Polymorphic Code sub-technique
- T1027.013 Encrypted/Encoded File sub-technique
- T1027.012 LNK Icon Smuggling sub-technique
- T1027.010 Command Obfuscation sub-technique
- T1036.008 Masquerade File Type sub-technique
- T1027.009 Embedded Payloads sub-technique
- T1574.013 KernelCallbackTable sub-technique
- T1055.015 ListPlanting sub-technique
- T1059.007 JavaScript sub-technique
- T1574 Hijack Execution Flow technique
- T1204.002 Malicious File sub-technique
- T1569 System Services technique
- T1569.002 Service Execution sub-technique
- T1059.005 Visual Basic sub-technique
- T1559 Inter-Process Communication technique
- T1559.002 Dynamic Data Exchange sub-technique
- T1003.001 LSASS Memory sub-technique
- T1216.001 PubPrn sub-technique
- T1546.003 Windows Management Instrumentation Event Subscription sub-technique
- T1543.003 Windows Service sub-technique
- T1055.001 Dynamic-link Library Injection sub-technique
- T1055.002 Portable Executable Injection sub-technique
- T1055.003 Thread Execution Hijacking sub-technique
- T1055.004 Asynchronous Procedure Call sub-technique
- T1055.005 Thread Local Storage sub-technique
- T1055.008 Ptrace System Calls sub-technique
- T1055.009 Proc Memory sub-technique
- T1055.011 Extra Window Memory Injection sub-technique
- T1055.012 Process Hollowing sub-technique