<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti" -->

---
title: Your USB-C dock has more access to your PC's memory than...
description: PCIe-based peripherals like USB-C and Thunderbolt docks get direct memory access (DMA) to a PC's entire physical memory, bypassing the OS-level protections...
canonical: https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your USB-C dock has more access to your PC's memory than any app you'll ever install | daily.dev
og:description: PCIe-based peripherals like USB-C and Thunderbolt docks get direct memory access (DMA) to a PC's entire physical memory, bypassing the OS-level protections...
og:url: https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti
og:image: https://api.daily.dev/og/posts/0zaUK6GTI.png
og:image:alt: Your USB-C dock has more access to your PC's memory than any app you'll ever install
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your USB-C dock has more access to your PC's memory than any app you'll ever install

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 3 min read · 0 upvotes · 0 comments

## Summary

PCIe-based peripherals like USB-C and Thunderbolt docks get direct memory access (DMA) to a PC's entire physical memory, bypassing the OS-level protections that normally isolate application processes. This has been demonstrated in practice through tools like Inception, PCILeech, and Thunderspy, which exploited early Thunderbolt implementations to read encrypted drives and compromise system memory. Modern systems mitigate this risk with Kernel DMA Protection, which uses the IOMMU to block unauthorized DMA from external peripherals, though machines older than around 2019 lack this defense and should be more cautious about which devices they plug in.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/any-usb-c-dock-you-plug-in-gets-more-access-to-your-pcs-memory-than-any-app-you-install>

## Questions this post answers

### Can a USB-C or Thunderbolt dock access my computer's memory directly?

Yes, because docks that use Thunderbolt or USB4 communicate over PCIe, which relies on direct memory access (DMA) for performance. DMA lets a peripheral read and write system memory without CPU brokering, meaning a malicious or compromised dock can potentially access the full state of a PC's memory, unlike a regular application confined to its own address space.

_Anyone weighing dock or peripheral choices against this risk can follow hardware security coverage like this on daily.dev._

### What is Kernel DMA Protection and does it stop malicious Thunderbolt devices?

Kernel DMA Protection uses the system IOMMU to block external peripherals from performing DMA unless their drivers support memory isolation, and it blocks incompatible devices from starting until an authorized user signs in. It's available on modern systems roughly from 2019 onward with virtualization and IOMMU enabled in firmware; older machines have no equivalent protection.

_Developers auditing endpoint security for older hardware can track protections like this via daily.dev._

### What was Thunderspy and what could it do to Thunderbolt security?

Thunderspy was a tool published by Björn Ruytenberg in 2020 that could create arbitrary Thunderbolt device identities, clone already-authorized devices, and permanently disable Thunderbolt security while blocking firmware updates, demonstrating that even Thunderbolt 2's security improvements over Thunderbolt 1 could be defeated.

_Security researchers tracking peripheral attack history can find writeups like this through daily.dev._

## Similar posts on daily.dev

- [Please stop treating your USB hubs as port replicators](https://daily.dev/posts/please-stop-treating-your-usb-hubs-as-port-replicators-2hx5gjbbk) · XDA Developers · 2 upvotes · 0 comments
- [New hardware device can RAM into encrypted memory, expose your data](https://daily.dev/posts/new-hardware-device-can-ram-into-encrypted-memory-expose-your-data-hgbrudqcw) · The Register · 0 upvotes · 0 comments
- [Thunderbolt Strikes Windows98](https://daily.dev/posts/thunderbolt-strikes-windows98-7qovqzgxc) · Hackaday · 0 upvotes · 0 comments
- [Your SSD might be quietly borrowing your RAM, and you'd never know from the box](https://daily.dev/posts/your-ssd-might-be-quietly-borrowing-your-ram-and-you-d-never-know-from-the-box-a8uplotej) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Your USB-C dock has more access to your PC's memory than any app you'll ever install","url":"https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti"},"datePublished":"2026-09-13T17:33:58.228Z","dateModified":"2026-09-13T17:34:26.137Z","description":"PCIe-based peripherals like USB-C and Thunderbolt docks get direct memory access (DMA) to a PC's entire physical memory, bypassing the OS-level protections...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/031a5b622debfe4d64611bde013cda61?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/031a5b622debfe4d64611bde013cda61?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"Your USB-C dock has more access to your PC's memory than any app you'll ever install"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/your-usb-c-dock-has-more-access-to-your-pc-s-memory-than-any-app-you-ll-ever-install-0zauk6gti#faq","mainEntity":[{"@type":"Question","name":"Can a USB-C or Thunderbolt dock access my computer's memory directly?","acceptedAnswer":{"@type":"Answer","text":"Yes, because docks that use Thunderbolt or USB4 communicate over PCIe, which relies on direct memory access (DMA) for performance. DMA lets a peripheral read and write system memory without CPU brokering, meaning a malicious or compromised dock can potentially access the full state of a PC's memory, unlike a regular application confined to its own address space. Anyone weighing dock or peripheral choices against this risk can follow hardware security coverage like this on daily.dev."}},{"@type":"Question","name":"What is Kernel DMA Protection and does it stop malicious Thunderbolt devices?","acceptedAnswer":{"@type":"Answer","text":"Kernel DMA Protection uses the system IOMMU to block external peripherals from performing DMA unless their drivers support memory isolation, and it blocks incompatible devices from starting until an authorized user signs in. It's available on modern systems roughly from 2019 onward with virtualization and IOMMU enabled in firmware; older machines have no equivalent protection. Developers auditing endpoint security for older hardware can track protections like this via daily.dev."}},{"@type":"Question","name":"What was Thunderspy and what could it do to Thunderbolt security?","acceptedAnswer":{"@type":"Answer","text":"Thunderspy was a tool published by Björn Ruytenberg in 2020 that could create arbitrary Thunderbolt device identities, clone already-authorized devices, and permanently disable Thunderbolt security while blocking firmware updates, demonstrating that even Thunderbolt 2's security improvements over Thunderbolt 1 could be defeated. Security researchers tracking peripheral attack history can find writeups like this through daily.dev."}}]}
```

