CyberKit

D3FEND / Application Hardening

D3-PSEP: Process Segment Execution Prevention

Tactic: Harden. The harden tactic is used to increase the opportunity cost of computer network exploitation. Hardening differs from Detection in that it generally is conducted before a system is online and operational.

Definition

Preventing execution of any address in a memory region other than the code segment.

How it works

During execution of a process, the instruction pointer register should only point to addresses in a code segment (also called the .text segment), as this is the sole segment which should contain program code. When this technique detects an attempt to execute something that has been designated as non-executable, other techniques such as those in **Process Eviction** might be invoked, such as **Process Termination** to end the current process, or **Executable Blacklisting** to blacklist the potentially vulnerable or malfunctioning executable.

ATT&CK techniques it counters

  • T1033: System Owner/User Discovery
  • T1055.012: Process Hollowing
  • T1056.004: T1056.004
  • T1068: Exploitation for Privilege Escalation
  • T1189: Drive-by Compromise
  • T1190: Exploit Public-Facing Application
  • T1203: Exploitation for Client Execution
  • T1210: Exploitation of Remote Services
  • T1211: Exploitation for Stealth
  • T1212: Exploitation for Credential Access
  • T1218.013: T1218.013
  • T1620: Reflective Code Loading

D3-PSEP on d3fend.mitre.org

MITRE D3FEND 1.4.0, published under the MIT License, copyright 2022 The MITRE Corporation.