this post was submitted on 04 May 2025
1207 points (97.0% liked)

linuxmemes

24808 readers
1534 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    Back in January Microsoft encrypted all my hard drives without saying anything. I was playing around with a dual boot yesterday and somehow aggravated Secureboot. So my C: panicked and required a 40 character key to unlock.

    Your key is backed up to the Microsoft account associated with your install. Which is considerate to the hackers. (and saved me from a re-install) But if you've got an unactivated copy, local account, or don't know your M$ account credentials, your boned.

    Control Panel > System Security > Bitlocker Encryption.

    BTW, I was aware that M$ was doing this and even made fun of the effected users. Karma.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] yesman@lemmy.world 27 points 2 days ago (2 children)

    The control panel dialogue allows you to do this as well. Control Panel > system security > Bitlocker encryption. But it also has the superior option which is to turn it off.

    I didn't loose any data BTW. I had my M$ account info, and a backup besides.

    [–] dan@upvote.au 23 points 2 days ago (3 children)

    But it also has the superior option which is to turn it off.

    Why would you not want to encrypt your files? My Linux systems are encrypted too.

    [–] splendoruranium@infosec.pub 8 points 1 day ago (1 children)

    Not using Bitlocker is not the same as not encrypting your stuff.

    [–] dan@upvote.au 2 points 1 day ago (1 children)

    I know, I just meant why would someone willingly disable Bitlocker?

    [–] splendoruranium@infosec.pub 8 points 1 day ago (1 children)

    I know, I just meant why would someone willingly disable Bitlocker?

    I mean... the premise of the thread seems like a good enough reason, doesn't it?
    And even if it doesn't, if one is already using a different encryption solution that doesn't rely on TPM and secureboot silliness, what possible reason could there be not to disable Bitlocker?

    [–] dan@upvote.au 6 points 1 day ago* (last edited 1 day ago) (1 children)

    the premise of the thread

    Some of the things mentioned in the OP don't actually happen in real life, though. Bitlocker is only automatically activated if you use a Microsoft account to log in, and why wouldn't you know the account credentials if it's what you use to log in?

    doesn't rely on TPM and secureboot silliness

    TPM is optional (but recommended) for Bitlocker. Practically every computer released in the past 10 years has TPM support.

    Secure boot is needed to ensure that the boot is secure and thus it's okay to load the encryption key. Without it, a rootkit could be injected that steals the encryption key.

    You generally want to use TPM and secure boot on Linux too, not just on Windows. You need secure boot to prevent an "evil maid attack"

    [–] splendoruranium@infosec.pub 4 points 1 day ago (1 children)

    Some of the things mentioned in the OP don’t actually happen in real life, though. Bitlocker is only automatically activated if you use a Microsoft account to log in, and why wouldn’t you know the account credentials if it’s what you use to log in?

    Maybe I'm misunderstanding something here, but does this whole thing not mean that the moment you use your Microsoft account for logging in, you immediately tie the permanent accessibility of your local files to you retaining access to a cloud account?

    TPM is optional (but recommended) for Bitlocker. Practically every computer released in the past 10 years has TPM support. Secure boot is needed to ensure that the boot is secure and thus it’s okay to load the encryption key. Without it, a rootkit could be injected that steals the encryption key. You generally want to use TPM and secure boot on Linux too, not just on Windows. You need secure boot to prevent an “evil maid attack”

    You have different opinions on TPM and the prevalence of evil maids than me, fair. But please don't disregard the central premise of my last comment: One is already using a different encryption solution. Say, Veracrypt is churning away in the background. Why would one leave Bitlocker activated?

    [–] dan@upvote.au 3 points 1 day ago* (last edited 1 day ago) (1 children)

    you immediately tie the permanent accessibility of your local files to you retaining access to a cloud account?

    The Microsoft account holds a backup of the recovery key, which you need to use to restore access in if you do something like significantly change the hardware or move the drive to a different system (which are effectively the same thing).

    You don't need it for day-to-day use of the system, and you can also just get the recovery key and print it out or write it down somewhere, which is usually how it's handled on systems that don't use a Microsoft account.

    Say, Veracrypt is churning away in the background. Why would one leave Bitlocker activated?

    That's a good point.

    You have different opinions on TPM and the prevalence of evil maids than me, fair

    I work at a big tech company so have to be vigilant even with my personal systems :)

    [–] splendoruranium@infosec.pub 1 points 14 hours ago

    The Microsoft account holds a backup of the recovery key, which you need to use to restore access in if you do something like significantly change the hardware or move the drive to a different system (which are effectively the same thing).

    You don’t need it for day-to-day use of the system, and you can also just get the recovery key and print it out or write it down somewhere, which is usually how it’s handled on systems that don’t use a Microsoft account.

    Not as disastrous as I assumed then, thanks!

    [–] kablammy@sh.itjust.works 0 points 1 day ago (1 children)

    Years ago I thought I was being smart encrypting my home dir on my Linux server. I found out the hard way this prevents remote login over ssh using public key encryption, as the .ssh dir is in the home dir, which is encrypted unless you are already logged in at the time! So every time I wanted to ssh in, I had to plug in a monitor and log in on the console first.

    [–] dan@upvote.au 7 points 1 day ago* (last edited 1 day ago) (1 children)

    You can install Dropbear into your initramfs and configure it to allow entering the encryption key via SSH. Example guide I found: https://www.cyberciti.biz/security/how-to-unlock-luks-using-dropbear-ssh-keys-remotely-in-linux/

    You do have to have an unencrypted /boot, but the rest of the system can be encrypted. This uses a separate authorized_keys file embedded within the initramfs.

    [–] yesman@lemmy.world -2 points 2 days ago (1 children)

    Why would you not want to encrypt your files?

    Bitlocker is only as secure as Microsoft is. If someone hacks your account, they've got your keys. And Micosoft stores that key in plain text.

    [–] dan@upvote.au 9 points 1 day ago* (last edited 1 day ago) (1 children)

    It sounds like you're complaining about both approaches.

    If Microsoft doesn't have the key: You can't recover your files if you lose it.

    If Microsoft does have the key: An attacker could get in and take it (unlikely if you have two factor auth though) and you need to trust Microsoft.

    And Micosoft stores that key in plain text.

    How do you know this, though? It could be encrypted using your account password as a key or seed.

    [–] meliaesc@lemmy.world 2 points 1 day ago

    Microsoft is very much encouraging passwordless accounts. Mine only has a passkey with MFA.

    [–] JasonDJ@lemmy.zip 10 points 2 days ago

    Disk encryption should absolutely be used, especially on laptops/portable systems.

    Otherwise someone steals your laptop and swaps the disk into another system and they've got all your stuff. Including that folder that nobody knows about.