I currently have a Dell laptop that runs Windows for work. I use an external SSD via the Thunderbolt port to boot Linux allowing me to use the laptop as a personal device on a completely separate drive. All I have to do is F12 at boot, then select boot from USB drive.

However, this laptop is only using 1 of the 2 internal M.2 ports. Can I install Linux on a 2nd M.2 drive? I would want the laptop to normally boot Windows without a trace of the second option unless the drive is specified from the BIOS boot options.

Will this cause any issues with Windows? Will I be messing anything up? For the external drive setup, I installed Linux on a different computer, then transferred the SSD to the external drive. Can I do the same for the M.2 SSD – install Linux on my PC, then transfer that drive to the laptop?

Any thoughts or comments are welcome.

Edit: Thank you everyone! This was a great discussion with a lot of great and thoughtful responses. I really appreciate the replies and all the valuable information and opinions given here.

  •  520   ( @520@kbin.social ) 
    link
    fedilink
    54
    edit-2
    5 months ago

    Danger Will Robinson! Do NOT fuck with company hardware!

    You are going to potentially set off a shit ton of alarm bells, and risk your job, by even attempting this.

    First of all, almost all such devices come with a BIOS lock. You’d need to get the password before you could even begin this (again, do not do it!)

    Secondly, they’ll be able to tell something is up from the foreign UEFI entries.

    Thirdly, if that doesn’t expose you, Intel IME will. Doesn’t matter what operating system you’re running.

    And you’re going to create some royal fucking headaches for a lot of people in your company.

    Let’s start with security. Remember when I said you’ll set off alarm bells? Well, I mean some mother fucking alarm bells. Security will have a god damn aneurysm over this, and they will believe you may be doing this to bypass security, possibly for nefarious reasons. A foreign hard drive with its own OS looks shady as shit.

    Then there’s the regular tech people. You’re going to cause various headaches for them too. Not least because under many service agreements, the company itself may not be authorised to open up the workstations themselves. Many workplaces rent their workstations nowadays, and it is not uncommon to see this language in their SLAs.

    Then there’s the fact that the OS image on the original drive potentially cannot be trusted any more, so they have to wipe the fucker clean and do a fresh image install.

    TL;DR, You are giving your company several solid reasons to fire you for cause by doing this.

    • He already boots linux via USB drive on it, I guess the difference to booting from PCI/M.2 drive would not be that different, in terms of security, or did I miss something?

      •  520   ( @520@kbin.social ) 
        link
        fedilink
        8
        edit-2
        5 months ago

        The security implication from a USB boot are probably more severe but also more the fault of the people configuring your work machine. It is expected that people will plug things like pen drives in, to a degree. It is your job to block it with configurations.

        The real problem is that once you start adding or removing internal hardware, that configuration no longer stays a trusted one because they’ve meddled with the components.

    • On top of all that, most hitting contacts I’ve seen contain language saying that if you use company resources to make a thing, that thing, the company owns that thing. Seems likely that in addition to firing they could compel you to turn over the drive and wipe it.

    • If I even tried to plug a USB into my laptop security would be down on top of me like a ton of the proverbial … the same way that the only true way to be secure is don’t plug into the internet the only way not to piss off corporate is don’t f*ck with their stuff.

  • apparently you are unaware of how much monitoring goes on in corporate IT. you’re lucky they haven’t already found the mac address yet booted with a different os, or maybe they’re already onto you.
    I would stop doing what you’re doing immediately and hope it’s not too late

  • I had a work laptop and did the “external USB” thing. One day, at work, I’m messing with my Linux on a public wifi, having unplugged from the corporate LAN.

    A co-worker walks by, sees the Network cord unplugged, plugs it in. I am oblivious in the washroom.

    Corporate security got to my laptop before I did.

    I didn’t get fired.

    I don’t work there anymore, though.

  • The big takeaway is that you do not own this computer. It is not yours, it is being lent to them for a very specific purpose. And what you want to do, hell what you’re already doing, is way outside of that purpose.

    How would you feel if you lent a friend your conputer to check their email and found out they had bypassed a lot of your security mechanisms (passwords) to set up their own admin account?

    What about when you begrudgingly get a MFA app on your personal phone because your employer’s too cheap to shell out for a yubikey or hardware token? How would you feel if their app also rooted your phone just for shits and giggles?

    What you’re proposing is not only dangerous to your career, it’s also potentially illegal. And also just downright unethical.

  • I have to second the get your own laptop.

    The company I work for has software that does hardware / software inventory regularly. So additional hardware added can and will show up.

    Also, when hired we are told in in uncertain terms that tampering with the laptop can and will be grounds for termination.
    Booting off of an external drive is ill advised as many work laptops have restrictions to the USB/thunderbolt ports as well as modifying bios settings.

    Lastly, using corporate hardware (be it a cell phone, or a laptop) should never be used for personal use. It’s a good way to lose your job. I know more than one person in my career that lost their job either from texts sent from a work cell phone, or using their work computer for personal things. It’s just not worth it.

      • Microsoft system administrators have full access to any physical device information, this includes a report on new internal devices or changes. Your company may not be so serious about security, but why on earth are you willing to risk your livelihood on this?

      • CPU/BIOS-level system management engines such as Intel IME/vPro or AMD Secure Technology give device access to IT even if the OS is replaced or the system is powered off.

        If your IT staff isn’t utilizing that technology, then when you boot into a corporate-managed OS, they can see any hardware that is currently connected to the system.

        If they’re not doing any monitoring at all, you’re fine (but the viability of the business is in question). If they’re doing OS-level monitoring, stick with the USB thing and leave it unplugged when booted into the corporate OS. If they’re doing CPU-level monitoring, you’re already likely flagged.

        If you’re unsure how much monitoring they’re doing, attempting to find out may also be a resume-generating event (RGE). Cheers, and good luck!

      •  WarmSoda   ( @WarmSoda@lemm.ee ) 
        link
        fedilink
        3
        edit-2
        5 months ago

        I’m glad you asked, people provided some great answers.

        Good rule of thumb is just don’t mess with company property at all, cuz they’ll know. For example I simply turned a wall TV on one weekend so my skeleton crew had something to do, and I was asked why a few days later. If it’s electronic they can track it.

  • For anyone wondering about the security issues caused by this, even if the windows partition is encrypted, it’s still possible to get secrets from the Windows install.

    If you have root access to a Linux machine, you can easily replace the Windows kernel loader with one that looks just like Windows, but does nothing other than steal your encryption password on login/boot.

    Secure Boot/TPM would protect against this, but Linux users (especially those that are more lax about security) tend to disable it as part of installing Linux.

  • In most cases, work laptops have software(s) installed to automatically keep track of these activities, and flag it to security team of your organization. At that point, it will either lead to a formal warning to you, or termination/forced resignation.

    From organization point of view, this is to avoid any accidental (or intentional) leak of confidential data, and/or accidentally (or intentionally) infecting your (work) system with malware/ransomware.

    The latter had happened in one of my previous organizations, and the person responsible was terminated from job immediately.