MITRE D3FENDdefensive technique

D3-EDL Executable Denylisting

Official page ↗
Tactic
Isolate
Synonyms
Executable Blacklisting

Definition

Blocking the execution of files on a host in accordance with defined application policy rules.

How it works

How it works Criteria A policy-enforcing application can register an application for denylisting based on conditions including the following: • File attributes • file name • file path • file hash • file publisher, as obtained from the digital signature • permissions of the file • File malware scan (eg. Windows SmartScreen) • User-File combination This may be done to prevent execution of applications which are: • an old version with known vulnerabilities • without a valid license, which could cause legal issues • in a directory that is accessible to low-privileged users, that could be accessed by a malware dropper • known trojan horse programs • too open in their permissions, possibly set to run as a user other than the originator or allowing execution when they should not be • a match to the hash of other known malware • are detected as undesirable based on a file scan runtime behavior System administrators will customize the rules for the given environment. Backend The policy-enforcing program may work by running in kernel mode, and [intercepting] [system calls which execute a process]. Considerations • If denylisting is done by filename, filepath, or hash, these mechanisms may be a worthy first line of defense and detection, but could still be evaded by an attacker. • Continuous management is needed to keep the denylist up to date, whether it is based on hash, publisher, behavior, or any other digital artifact. • Although denylists based on attributes such as file path and virus scan could defend against some threats which they have not been explicitly coded to block, denylists may not provide protection from new, unknown, or zero day attacks. Examples On a Windows machine the Windows Defender Application Control (WDAC) policy enforcement is run in the kernel and allows for restricting applications.

Related

Counters · MITRE ATT&CK (70)

  • T0895 Autorun Image technique
  • T0894 System Binary Proxy Execution technique
  • T0888 Remote System Information Discovery technique
  • T0846 Remote System Discovery technique
  • T0863 User Execution technique
  • T0871 Execution through API technique
  • T1027.004 Compile After Delivery sub-technique
  • T1546.015 Component Object Model Hijacking sub-technique
  • T1574.007 Path Interception by PATH Environment Variable sub-technique
  • T1574.008 Path Interception by Search Order Hijacking sub-technique
  • T1574.009 Path Interception by Unquoted Path sub-technique
  • T1574 Hijack Execution Flow technique
  • T1204.002 Malicious File sub-technique
  • T1565 Data Manipulation technique
  • T1565.003 Runtime Data Manipulation sub-technique
  • T1134.004 Parent PID Spoofing sub-technique
  • T1036.001 Invalid Code Signature sub-technique
  • T1036.003 Rename Legitimate Utilities sub-technique
  • T1027.001 Binary Padding sub-technique
  • T1027.002 Software Packing sub-technique
  • T1548 Abuse Elevation Control Mechanism technique
  • T1548.002 Bypass User Account Control sub-technique
  • T1546.002 Screensaver sub-technique
  • T1546.005 Trap sub-technique
  • T1546.006 LC_LOAD_DYLIB Addition sub-technique
  • T1546.008 Accessibility Features sub-technique
  • T1546.009 AppCert DLLs sub-technique
  • T1546.010 AppInit DLLs sub-technique
  • T1546.013 PowerShell Profile sub-technique
  • T1547.009 Shortcut Modification sub-technique
Show all 70 ›

Child of · MITRE D3FEND (1)

  • D3-EI Execution Isolation defensive technique

References