Hello,

Suppose you have a PC with 2 separate SSDs. One is an install of Windows 11. The other is an install of a Linux distro, encrypted at time of installation (for example, with LUKS). Obviously you would only boot into one or the other at a time.

So a dual-boot, but each boot portion is on its own SSD (not sure if this matters, but its a relevant scenario).

Can the Windows 11 portion somehow get through the Linux encryption and access / read data on the Linux portion?

Sorry if this is a stupid or obvious question.

removed by mod

@mayra@lemmy.world
creator
link
fedilink
17M

Thanks!

an encrypted Linux portion

So, uh, encrypted file or folder?

Sure you can. Here’s one way that looks similar how I do it using wsl. This assumes you’re on an EXT4 file system.

https://superuser.com/questions/584883/how-can-i-access-volumes-encrypted-with-luks-dm-crypt-from-windows#936284

There’s quite a few options for this but this should at least get you closer to your goal.

I use btrfs on my Linux installs now and there’s a windows driver that is phenomenal for that here.

https://github.com/maharmstone/btrfs

Good luck!

@mayra@lemmy.world
creator
link
fedilink
57M

Thanks for the detailed reply. Just to clarify, I’m asking if the Windows 11 system itself, without my intervention, can access the encrypted Linux portio on its own. Something like a system scan.

No, that’s the whole point of using encryption. If the windows boatloader had a means of scanning the content of an encrypted file system, it would have already been exploited to circumvent encryption.

@mayra@lemmy.world
creator
link
fedilink
27M

Thanks! That makes sense.

Heck just read the updates on that post linked above and it looks like someone wrote something just for this. My bad for missing it earlier. It is linked in the 4th-ish answer down.

https://github.com/AlexSSD7/linsk

Lemongrab
link
fedilink
47M

It can access the encrypted data and any unencrypted startup software that hands things off to the OS after decryption.

PonyOfWar
link
fedilink
407M

Not without the encryption key, no.

@mayra@lemmy.world
creator
link
fedilink
27M

Thanks!

@mindlight@lemm.ee
link
fedilink
5
edit-2
7M

Not even if Windows and Linux were on different partitions on the same disk would Windows be able to access the files on the Linux partition without the key.

Just pointing out that s separate disks doesn’t change anything. The data, in its encrypted form, will be inaccessible without the decryption key.

@mayra@lemmy.world
creator
link
fedilink
17M

Thank you! Good to know.

Create a post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 57 users / day
  • 383 users / week
  • 1.5K users / month
  • 5.7K users / 6 months
  • 1 subscriber
  • 3.11K Posts
  • 77.9K Comments
  • Modlog