D3-HBPI: Hardware-based Process Isolation
Tactic: Isolate. The isolate tactic creates logical or physical barriers in a system which reduces opportunities for adversaries to create further accesses.
Definition
Preventing one process from writing to the memory space of another process through hardware based address manager implementations.
How it works
Process isolation, in this context, is address space separation controlled by a security function that limits the communication between processes so that one process cannot directly modify the executing code of another process. For example with virtual address space: * Process A address space is different from process B address space, which prevents process A from writing to process B Hardware process isolation is commonly implemented through Direct Memory Access (DMA) which collaborates with a Memory Management Unit (MMU), or Input-Output Memory Management Unit (IOMMU). These hardware controls are deployed directly on processors to aid hosts or enclaves in process isolation. * DMA - Direct memory access allows memory access to occur independently of the program currently run by the microprocessor. DMA allows for I/O devices to directly read from and write to memory, or it can be used to efficiently copy blocks of memory. During DMA transfers, the microprocessor can execute an unrelated program. * MMU - A memory management unit acts as an access control and is responsible for performing the translation of virtual memory addresses to physical memory addresses. The MMU allocates each process its own virtual memory space. * IOMMU - An input-output memory management unit is used to allocate each I/O device its own virtual address space to the underlying physical addresses. IOMMU allows devices that do not support long memory addresses to address the entire memory space.
ATT&CK techniques it counters
- T1003.001: LSASS Memory
- T1003.002: T1003.002
- T1003.004: T1003.004
- T1007: System Service Discovery
- T1010: Application Window Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1047: Windows Management Instrumentation
- T1053: Scheduled Task/Job
- T1053.005: Scheduled Task
- T1055.004: T1055.004
- T1055.013: T1055.013
- T1057: Process Discovery
- T1082: System Information Discovery
- T1124: System Time Discovery
- T1134.004: T1134.004
- T1140: Deobfuscate/Decode Files or Information
- T1212: Exploitation for Credential Access
- T1218.001: T1218.001
- T1218.002: T1218.002
- T1218.003: T1218.003
- T1218.005: T1218.005
- T1218.011: T1218.011
- T1220: XSL Script Processing
- T1505.001: T1505.001
- T1505.002: T1505.002
- T1505.003: T1505.003
- T1546.007: T1546.007
- T1546.009: T1546.009
- T1546.010: T1546.010
- T1548.002: T1548.002
- T1550: Use Alternate Authentication Material
- T1556: Modify Authentication Process
- T1562.001: T1562.001
- T1621: Multi-Factor Authentication Request Generation
MITRE D3FEND 1.4.0, published under the MIT License, copyright 2022 The MITRE Corporation.