DEF CON 34 - Main -  Memory Laundering via Metal  What EDR Cant See on Your Mac - Hxr1 @DEFCONConference
DEF CON 34 - Main -  Memory Laundering via Metal  What EDR Cant See on Your Mac - Hxr1  @DEFCONConference
Uploaded November 2026 | Updated November 2026, 1 day ago
Metal is Apple's GPU framework, it replaced OpenGL and is now the only way to talk to the GPU on macOS. Among its buffer types is StorageModePrivate: memory managed entirely by the GPU. The CPU can't read it, write to it, or map it into virtual address space.

macOS endpoint security scans process memory through mach_vm_region and task_for_pid. Apple's own Endpoint Security framework watches mappings via ES_EVENT_TYPE_NOTIFY_MMAP. None of them see StorageModePrivate buffers. Those pages live in GPU firmware page tables, allocated through IOGPUDevice in the IOAccelerator family, completely outside Mach VM. No API exists to let a security tool inspect them from another process.

I turned this gap into a working evasion technique. Incoming payload gets XOR-encoded to destroy signatures, staged through a shared MTLBuffer, then blitted into private GPU memory via MTLBlitCommandEncoder on AGXCommandQueue. All CPU-side artifacts get wiped, volatile pointers, __sync_synchronize barriers, multi-pass zeroing. At that point the data exists only in pages no process on the box can read. When I need it back, I reverse the blit, decode, execute, and wipe again. Total CPU exposure is milliseconds.

Tested on the latest Apple Silicon hardware. 100% evasion. No entitlements, no kexts, no root. Runs from a sandbox
DEF CON 34 - Main -  Memory Laundering via Metal  What EDR Cant See on Your Mac - Hxr1DEF CON 34 - Main -  The DEF CON 34 Badge - Andrew bunnie HuangDEF CON 34 - PhysSec - No Entry  Badge Access Denial on Demand - Andrew QuillDEF CON 34 - Main - LGTM Bypassing an LLM Build Gate When Prompt Injection Fails - Aviv DonenfeldDEF CON 34 - IoT - Lessons in Industrial IoT Disclosure & Mitigation - Weihan Goh, ZhengChao WenDEF CON 34 - Main - Long Range Keystroke Injection via LoRa Mesh Networks - Benito SaucedaDEF CON 34 - Maritime - Trusted HMI Toolchains An ICS Supply-Chain Blind Spot - J Yoo, T Kim, E ChoiDEF CON 34 - BioHack -  Hacking Hearts by Reverse Engineering Pacemaker Firmware - PanelDEF CON 34 - IoT - Beyond Your Bookshelf  Hackable eReaders - Katie Paxton-FearDEF CON 34 - Main - LaunchBreak - Sip of Tea, Click, & Full Desktop Takeover - G Zhong, Z Liu, J YuDEF CON 33 - Hacking Hotel Locks: The Saflok Vulnerabilities Expanded -Noah Holland, Josh StiebelDEF CON 34 - Main - Breaking Amazon lockers by any means necessary - Martin Vigo
DEFCONConference |

DEF CON 34 - Main - Memory Laundering via Metal What EDR Can't See on Your Mac - Hxr1

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER