MITRE D3FENDdefensive technique

D3-IDA Input Device Analysis

Official page ↗
Tactic
Detect

Definition

Operating system level mechanisms to prevent abusive input device exploitation.

How it works

How it works Input Device Hardening techniques filter certain commands, or disable related operating system functionality. Analytics All of these values can be analyzed and compared to a baseline: • Amount of input • Duration of a single input • Durations between inputs • Value of input Context can also include: • User which is logged in, to include attributes such as physical location of the user • Date and time • System which is processing the input • Source device of input, to include its properties (eg. manufacturer), configuration (eg. keyboard layout) and behavioral attributes of this device (eg. first use) • Source system of input (local or remote system) • Other hardware devices attached to the system Actions Actions can include: • Disabling the source device • Sending an alert • Locking the current session (eg. system screen lock, or returning to an authentication screen in a web app) and requiring one or more methods of authentication to continue • Administratively disabling credentials for the account or the entire account -- the technique *Account Locking* Examples A malicious input device sends many keystrokes with approximately the same delay between each. This does not match the normal cadence of input, and the device is disabled. Input to type the session user's name takes abnormally longer for each keystroke. The system is locked to the password prompt screen. A system receives key press events from two different devices -- one device sends keystrokes after the other has been idle for a long time. A system receives physical input in a user session, while that user has sent input from a device located out of the country in the past hour. Network traffic is suddenly routed through a new external device, and nearly the same volume of network traffic is subsequently sent out the previously existing interface. The new external device is disabled, and an alert is raised to investigate the network configuration for a potential compromise. Considerations Given some example of legitimate behavioral input patterns, attackers could mimic those input patterns, a technique which has been used in popular culture in the creation of Deepfake videos and This Person Does Not Exist.

Related

Counters · MITRE ATT&CK (4)

  • T1056.001 Keylogging sub-technique
  • T1056 Input Capture technique
  • T1123 Audio Capture technique
  • T1125 Video Capture technique

Child of · MITRE D3FEND (1)

  • D3-OSM Operating System Monitoring defensive technique

References