MITRE D3FENDdefensive technique

D3-HBPI Hardware-based Process Isolation

Official page ↗
Tactic
Isolate
Synonyms
Virtualization

Definition

Preventing one process from writing to the memory space of another process through hardware based address manager implementations.

How it works

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. Considerations • Private hosts may be vulnerable to DMA attack if they have a PCI or PCI Express port that connects attached devices directly to physical address space. Implementations: • Intel Virtualization Technology for Directed I/O (Intel VT-d) • Firecracker

Related

Counters · MITRE ATT&CK (54)

  • T0895 Autorun Image technique
  • T0894 System Binary Proxy Execution technique
  • T1621 Multi-Factor Authentication Request Generation technique
  • T0821 Modify Controller Tasking technique
  • T0888 Remote System Information Discovery technique
  • T0806 Brute Force I/O technique
  • T0813 Denial of Control technique
  • T0814 Denial of Service technique
  • T0819 Exploit Public-Facing Application technique
  • T0823 Graphical User Interface technique
  • T0846 Remote System Discovery technique
  • T0863 User Execution technique
  • T0878 Alarm Suppression technique
  • T1003.004 LSA Secrets sub-technique
  • T1134.004 Parent PID Spoofing sub-technique
  • T1003.001 LSASS Memory sub-technique
  • T1003.002 Security Account Manager sub-technique
  • T1556 Modify Authentication Process technique
  • T1548 Abuse Elevation Control Mechanism technique
  • T1548.002 Bypass User Account Control sub-technique
  • T1550 Use Alternate Authentication Material technique
  • T1546.007 Netsh Helper DLL sub-technique
  • T1546.009 AppCert DLLs sub-technique
  • T1546.010 AppInit DLLs sub-technique
  • T1218.001 Compiled HTML File sub-technique
  • T1218.002 Control Panel sub-technique
  • T1218.003 CMSTP sub-technique
  • T1218.005 Mshta sub-technique
  • T1218.011 Rundll32 sub-technique
  • T1546 Event Triggered Execution technique
Show all 54 ›

Child of · MITRE D3FEND (1)

  • D3-EI Execution Isolation defensive technique

References