Slashdot Mirror


Lenovo Installed Software On Laptops That Persisted After Complete Wipes

An anonymous reader writes: The Next Web has confirmed reports from owners of Lenovo laptops that the company used a BIOS feature to install its software on the laptops even if a user wiped a device clean and reinstalled the operating system. "If Windows 7 or 8 is installed, the BIOS of the laptop checks 'C:\Windows\system32\autochk.exe' to see if it's a Microsoft file or a Lenovo-signed one, then overwrites the file with its own. Then, when the modified autochk file is executed on boot, another two files LenovoUpdate.exe and LenovoCheck.exe are created, which set up a service and download files when connected to the internet." Lenovo has published a patch to remove this functionality. The article notes that this technique seems to be sanctioned by a Microsoft policy. "Manufacturers are obligated to ensure that the mechanism can be updated if an attack is discovered and should be removable by the user, but the rules outlined in the document are fairly loose and don't require the OEM to notify the owner of the laptop that such a mechanism is in place."

36 of 163 comments (clear)

  1. Simple, no malice from Lenovo by jkrise · · Score: 4, Funny

    When Windows auto-updates go horribly wrong, almost all users blame the h/w vendor, not Microsoft. So Lenovo uses this BIOS trick to protect their reputation. Why is this being depicted as malicious behaviour?

    --
    If you keep throwing chairs, one day you'll break windows....
    1. Re:Simple, no malice from Lenovo by Anonymous Coward · · Score: 3, Insightful

      Because geeks want to maintain complete control over that sort of thing, and when the vendor takes that away it feels like they are crossing a line.

      This emotional response shouldn't be hard to understand or predict. Lenovo should continue doing this, but should put public disclosures of this sort of thing in easy-to-find documentation so that geeks know about this going in, rather than discover it on the outside. That wouldn't hurt their sales at all but would palliate a lot of nerd rage.

    2. Re:Simple, no malice from Lenovo by Djoulihen · · Score: 5, Insightful

      The problem is that this feature mostly targets users who are trying to get rid of lenovo software. On a laptop you would normally restore your system or reinstall windows using the recovery partition which is full of vendor-added software. If you went through the trouble of installing a clean version of windows (by finding an OEM install of windows you can use your key with) it probably means that you expect your installation to be clean of any lenovo software. But guess what, you still end up with Lenovo software installed behind your back. I'm not saying there is absolutely no good reason to have the Lenovo software installed, but they could at least prompt you with a message like "We detected that you are running a fresh installation of windows, would you like to install our software to improve the performances of your computer and fix known hardware problems ?". Then it's your choice to go along with their software or handle the possible windows update mess yourself like a responsible geek.

    3. Re:Simple, no malice from Lenovo by Anonymous Coward · · Score: 3, Funny

      When Windows auto-updates go horribly wrong, almost all users blame the h/w vendor, not Microsoft.

      What the fuck are you talking about? Everyone, and I mean EVERYONE blames Microsoft.

    4. Re:Simple, no malice from Lenovo by Impy+the+Impiuos+Imp · · Score: 5, Funny

      You must be newer. He was making a sarcasm.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    5. Re:Simple, no malice from Lenovo by fph+il+quozientatore · · Score: 2

      Two very good reasons: because they didn't tell their users, and because there is no way to disable it.

      --
      My first program:

      Hell Segmentation fault

    6. Re:Simple, no malice from Lenovo by Just+Some+Guy · · Score: 4, Insightful

      but they could at least prompt you with a message like "We detected that you are running a fresh installation of windows, would you like to install our software to improve the performances of your computer and fix known hardware problems ?"

      Yeah, no. Because even then they're injecting unknown code into your otherwise pristine environment; that dialog ain't gonna display itself.

      In the situation where the user has explicitly gone out of their way to install a clean OS, it's a fairly safe bet that they're expecting to boot into a clean freaking OS, not a "mostly clean except what the hardware vendor dicked around with" system. I don't want the Western Digital BIOS injecting a SATA driver update, or my keyboard injecting a keyboard driver update, or my laptop injecting a laptop driver update. If I'm capable of laying down a clean image, I'm capable of installing all that stuff myself if I want it.

      --
      Dewey, what part of this looks like authorities should be involved?
    7. Re:Simple, no malice from Lenovo by LinuxIsGarbage · · Score: 2

      or my keyboard injecting a keyboard driver update, or my laptop injecting a laptop driver update. If I'm capable of laying down a clean image, I'm capable of installing all that stuff myself if I want it.

      As it is I get annoyed when Windows update tries to installed bloated Logitech drivers for my wireless Mouse / keyboard. They work fine as standard USB items, leave it that way!

      I think it was the upgrade from Win8.0 to 8.1 that automatically installed bloated drivers from Logitech, and the shitty Synaptics drivers for my touchpad.

  2. Vendor-sponsored Malware by gweihir · · Score: 3, Insightful

    What is the world coming to?" It seems, no matter how obviously bad an idea is, somebody has to try it.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Vendor-sponsored Malware by meta-monkey · · Score: 2

      You didn't think they were really going to let you own the thing you purchased from them, did you?

      --
      We don't have a state-run media we have a media-run state.
  3. Gigantic, gaping Lenovo-shaped hole by kheldan · · Score: 2

    Nevermind that in creating such a thing they've created a gigantic security hole in the hardware itself that an attacker could potentially use to make sure your computer is a permanent part of someones botnet!

    --
    Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
    1. Re:Gigantic, gaping Lenovo-shaped hole by SlithyMagister · · Score: 2

      Companies and governments are stupid/greedy/indifferent.

      fyp
      The purpose of a company is to move money from your pockets to its shareholders.
      The purpose of government is to create laws that facilitate the flow.

      Constitutions notwithstanding.

  4. Fuck Lenovo by bazmail · · Score: 4, Interesting

    Never buying from that company again and will, in my capacity as family tech support guy, ensure that nobody in my family buys one. Wow. That company cannot die quick enough.

    1. Re:Fuck Lenovo by Lumpy · · Score: 5, Informative

      Yep My Thinkpad X250 has this and there is a bios update to fix it.

      --
      Do not look at laser with remaining good eye.
    2. Re:Fuck Lenovo by Baloroth · · Score: 3, Informative

      Really? Because literally everything I've seen about it says none of the Think series are affected in any way. None of the thinkpads are listed on Lenovo's download page (and in fact the initial advisory specifically states none of the Think-branded laptops are affected).

      --
      "None can love freedom heartily, but good men; the rest love not freedom, but license." --John Milton
    3. Re:Fuck Lenovo by kthreadd · · Score: 3, Interesting

      Yep My Thinkpad X250 has this and there is a bios update to fix it.

      Which update are we talking about? The README for the latest BIOS update for the X250 (July 7) does not mention anything like this as far I can see.

  5. Windows Platform Binary Table by jones_supa · · Score: 5, Informative

    This is actually a mechanism called Windows Platform Binary Table (WPBT).

    More information can be found in the Microsoft WPBT whitepaper:

    "This paper describes the format of a Windows Platform Binary Table (WPBT). The WPBT is a fixed Advanced Configuration and Power Interface (ACPI) table that enables boot firmware to provide Windows with a platform binary that the operating system can execute. The binary handoff medium is physical memory, allowing the boot firmware to provide the platform binary without modifying the Windows image on disk. In the initial version, the WPBT simply contains a physical address pointer to a flat, Portable Executable (PE) image that has been copied to physical memory. The WPBT is extensible, allowing the layout of published platform binaries to be more complex in future versions and allowing the support of more than one binary type.

    It is expected that the binary pointed to by the WPBT is part of the boot firmware ROM image. The binary can be shadowed to physical memory as part of the initial bootstrap of the boot firmware, or it can be loaded into physical memory by extensible boot firmware code prior to executing any operating system code. A boot firmware component would create the WPBT based on the location of the platform binary. During operating system initialization, Windows will read the WPBT to obtain the physical memory location of the platform binary. In the first version, the binary is required to be a native, user-mode application that is executed by the Windows Session Manager during operating system initialization. Windows will write the flat image to disk, and the Session Manager will launch the process. Windows may reclaim the physical memory described in the WPBT.

    If Windows observes a WPBT during operating system initialization, it will attempt to use an ACPI control method to communicate binary execution status back to the platform."

    1. Re:Windows Platform Binary Table by mythosaz · · Score: 4, Insightful

      In short then, the summary is wrong.

      Windows, not Lenovo, installs software on Lenovo laptops, by requesting the software from compatible hardware.

    2. Re:Windows Platform Binary Table by MobyDisk · · Score: 4, Informative

      Both are to blame because there are 2 distinct problems here:

      1. Microsoft trusts BIOS firmware enough to allow it to install arbitrary software on the machine.
      2. Lenovo BIOS miuses the feature to install crapware.

      We would not be complaining about #1 if Windows required user confirmation before doing this.
      We would not be complaining about #2 if Lenovo was installing a fix for a video driver that they knew caused lock-ups on their hardware.

      Technically though, the BIOS could probably do this even without Microsoft's help, although it would be much tougher to implement.

    3. Re:Windows Platform Binary Table by mythosaz · · Score: 2

      The binary itself (loaded from the WPBT) needs signed with and is inspected by Signtool.

  6. Not sure if Google abandoned Lenovo... by __aaclcg7560 · · Score: 4, Interesting

    When I briefly worked inventory in 2008, Google management was thinking of abandoning Lenovo laptops as they kept finding backdoors for Chinese hackers in the BIOS. Not sure if they ever did. On the few contract assignments I've done for Google since then, everyone I worked with had a MacBook Pro laptop.

  7. Re:China ... by 0123456 · · Score: 5, Funny

    Sorry, but this is what happens when you let a country under the sway of a totalitarian government build you computers.

    But isn't Lenovo based in China these days, not America?

  8. Details missing... by ad454 · · Score: 3, Informative

    When does the bios install the files, at boot time, or when the OS is running?

    If at boot, this should require bios drivers for read+write ntfs filesystem support in order to know where in the primary drive the bios needs to install the files, which means the bios can hold a much larger amount of storage then expected.

    If when the OS is running, this opens up the potential for many new scarier exploits and backdoors, even for a more secure OS with different file systems, such as Linux or *BSD, beyond just storage, such as memory and network access.

    Does this still work with FDE (Full Disk Encryption), such as bitlocker, truecrypt, bestcrypt, pgpdisk, etc.?

    1. Re:Details missing... by tlhIngan · · Score: 2

      When does the bios install the files, at boot time, or when the OS is running?

      If at boot, this should require bios drivers for read+write ntfs filesystem support in order to know where in the primary drive the bios needs to install the files, which means the bios can hold a much larger amount of storage then expected.

      If when the OS is running, this opens up the potential for many new scarier exploits and backdoors, even for a more secure OS with different file systems, such as Linux or *BSD, beyond just storage, such as memory and network access.

      Does this still work with FDE (Full Disk Encryption), such as bitlocker, truecrypt, bestcrypt, pgpdisk, etc.?

      Well, it depends.

      There are BIOS modules that will inject themselves into a Windows hard drive - e.g., CompuTrace LoJack for Laptops. In this, if the module is enabled, it will scan the disk on startup for the Windows partition and inject two binaries to download and install CompuTrace when Windows starts up. (This is for the tracking to survive an OS wipe). Of course, it doesn't work if you install say, Ubuntu, but the general expectation is someone will probably want to reinstall Windows or something on it.

      And yes, the BIOS does have a lot of space on it - modern BIOS chips are at least 1MB in size, probably larger, halve that if you want a "safety BIOS" capability, but 8 or 16MB of flash isn't unheard of. With EFI, it's a fair bit larger, but it's just the runtime and whatever it wants to be built in (the set up program, for instance). Things like the Windows loader exist in the EFI partition on the hard drive.

      Obviously FDE will negate this check as well.

      The second method is more modern and built into Windows. Which only requires memory so it can pass through any FDE.

  9. Re:China ... by Anonymous Coward · · Score: 5, Funny

    Tell me your thoughts on the NSA and FBI please

    Do NOT buy an NSA or FBI laptop.

  10. LoJack for Laptops does this... by mlts · · Score: 4, Interesting

    It isn't just Lenovo. On most major brands of PC laptops, there is a BIOS setting that once set, can't be unset, which either enables LoJack for Laptops permanently, or permanently disables it. If it is set, it will always load the LoJack executables when Windows is installed, even if the hard disk is blank and the install media is clean.

    Of course, this is a mechanism that can be both used for good or ill... I wouldn't be surprised to see BIOS attacks that allow an attacker to flash a Trojan dropper which will always be present even on a reinstall with the only fix being either a firmware upgrade (if the attacker didn't already block that), or replacement hardware. The only real way to prevent it is to virtualize everything, with the bare metal OS as thin as possible [1].

    [1]: Would be nice to see something like VMWare ESXi, except with the ability to use the console graphically, one step up from a dumb terminal.

  11. Re:Lenovo by MachineShedFred · · Score: 5, Funny

    ... install Windows ...

    I think I just found how to fix it. Don't install Windows!

    --
    Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
  12. Licensing agreement by LoyalOpposition · · Score: 3, Interesting

    "If Windows 7 or 8 is installed, the BIOS of the laptop checks 'C:\Windows\system32\autochk.exe' to see if it's a Microsoft file or a Lenovo-signed one, then overwrites the file with its own.

    Since this doesn't require my agreement, then does that mean I'm unrestricted as to what I can do with it? Namely, reverse compiling, distributing, etc?

    ~Loyal

    --
    I aim to misbehave.
    1. Re:Licensing agreement by msauve · · Score: 4, Interesting
      It should mean that Lenovo gets prosecuted for violation of the CFAA:

      knowingly causes the transmission of a program, information, code, or command, and as a result of such conduct, intentionally causes damage without authorization, to a protected computer;

      Deliberately replacing a file I've installed with one of their own sure seems like intentional damage to me.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  13. The root problem by Macdude · · Score: 2

    The root problem is the people who design a feature to allow code to persist through a wipe and don't see that as a huge security hole!

    Security is simple is you care about it, things like a BIOS update shouldn't be possible without a physical action by the user. For example a jumper on the motherboard has to be installed during the boot (which can easily be extended to a button on the case) which would look for a specific file in a specific location and update the bios after confirming on screen with the user. The jumper would then have to be removed prior to the system booting normally.

    Any feature that a good application can use to update your system, a bad application can use as well. To use a car analogy, a security "feature" that lets you unlock your car if you've lost your keys (which sounds useful on its face) - also allows a bad guy to unlock your car.

    --
    "Grab them by the pussy" -- President of the United States of America
  14. It could be worse... by mandark1967 · · Score: 2, Funny

    They could be loading Adobe Flash

    --
    Sig Follows: "Suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself." -- Mark Twain
  15. Re:Lenovo by fuzzyfuzzyfungus · · Score: 4, Interesting

    On the plus side, the script kiddie might have a somewhat tricky time of it. On the minus side, if the OEM doesn't cave, or is actively hostile, you are also going to have a nasty time of it.

    Suitably recent Intel CPUs have 'Intel boot guard'(Just above the middle of page 4). Apparently, in practice, basically all the vendors ship in 'Verified boot' mode. Their public key is fused in to the silicon at the factory; and if the appropriate private key wasn't used to sign the firmware, no dice.

    The 'measured boot' capability is a bit more interesting; but largely moot because nobody uses it. I wouldn't put it past an OEM to somehow screw this up; but all reasonably contemporary laptops are not going to take kindly to 3rd party firmware.

  16. Re:Lenovo by Z00L00K · · Score: 2

    What if Windows is installed in a non-standard path? Will this BIOS tool still be able to inject the stuff?

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  17. Re:Lenovo by flacco · · Score: 2

    > I think I just found how to fix it. Don't install Windows!

    The solution to so many life's problems.

    --
    pr0n - keeping monitor glass spotless since 1981.
  18. Re:Lenovo by adamstew · · Score: 3, Informative

    This has little to do with Intel CPUs and everything to do with Intel Chipsets. The CPUs are interchangeable, but the chipsets on the motherboard are not. It's the chipset that is fused with the manufacturer's public key. The chipset then verifies the FIrmware/EFI/BIOS software.