Using the T2 for Detection and Forensics
With the advent of modern security hardware, it has become near impossible to perform comprehensive security auditing of devices used in the field. This has allowed malware to run at layers of the stack not accessible to traditional endpoint security. Recent un-patchable hardware vulnerabilities that may have served as vectors for infection can be re-purposed for DFIR purposes, allowing us to mitigate their malicious impact.
With the recent discoveries of checkm8, blackbird and the subsequent work of checkra1n, we are finally able to directly interact with non-mutable storage on Apple Macs, and some models of iPhone. This provides a unique opportunity for the following:
- Reading raw data from non-volatile storage, allowing full capture in cases of legal or forensics cases
- Interacting with the SEP to potentially pull otherwise encrypted data by brute forcing the password (a working PoC is yet required)
- Comparing the contents of the system to known good baselines for implant detection and surveillance. (seegithub.com/rickmark/efivalidate)
- Using the debug functionality of the T2 and Intel DCI to capture volatile memory for malware analysis
- Placing “tripwires” into the T2 to detect if the device is restarted without authorization
Law Enforcement/Intelligence: Direct Sale
- Forensics: Full physical forensic disk recovery with or without a password or filefault key.
- Forensics: Password Retreival - Brute Force
- Tamper Detection: DTrace / Hash Run / Store
- Lawful Warrant: Implement Limited Warrant / Access to Device / Audio Tap
- Lawful Wire: Implement undetectable Screen, camera, Audio Tap for UCEs and Informants.
- Triggered Interdiction or National Security Intervention: End point triggered shutdown / disconnect to prevent communication or computation that might result in immediate harm to people, infrastructure, etc.
- Hidden Terminal and Desktop and/or novel encryption and communication scheme that evades normal procedures to place malware and or extract information from laptops.
- Self-Destruct: Implementation of triggered secure erase of devices bases on specific triggers or the absence of specific triggers.
- Audio and Video Surveillance of via camera mic and bluetooth or wifi connection.
- Implementation of Remote or Local Full Wipe.
- Implementation of Netboot or Network File System
- Backup / Reset to Known State
- Virus, Malware, Tamper Scanning and Protection
- VPN / Proxy
- Enterprise APP and Default Build Distribution and Implementation
- Custom Recovery Environments
Consumer / Advocacy:
- Detect and Remove DEP
- Detect and Remove Geo Restrictions
- App Store Alternative: Mounted
- Disable Camera, Mic, Speaker & Sensor
- Hidden Disk Partition
- Ability to Reflash and Lock Device in Specific Config ie Media Server, VPN / Cache, Simple Terminal Server, etc.
- Tamper Detection, Recording, and Alert
- Wifi / BT Mac Randomization
- Mounting and Booting from Network Drives and/or Locally Stored DMGs
- Low Level Wifi / Bluetooth / Networking Firewall and VPN that persists during Recovery etc.