Shared Admin Password Exposed Across 900 PCs

Summary

Pixel shares a security incident where a penetration tester found a shared local administrator password in a script on an employee-readable drive, then used it to gain administrator access across the workstation environment. The announcement explains how Windows LAPS gave roughly 900 PCs unique, rotating passwords and why credential hygiene and separate support accounts matter.

DEV Community

Every Depot PC Had the Same Local Administrator Password and It Was Written in a Script on a Shared Drive

Every Windows PC has a local administrator account that works even when the network does not. Ours was set when we built our standard depot PC image in 2017, and it was the same on every one of about nine hundred machines. Engineers used it when a PC had lost touch with the domain or needed a driver installed at a depot with poor signal. In May we paid for a penetration test. The tester was given an ordinary staff account and a desk at one of our depots. Within an hour he had found a folder of setup scripts on a share every employee could read. One of them, written to configure label printers in 2021, contained that password in plain text. With it he signed in as administrator on the depot PC in front of him. With administrator rights on a PC, there are well known tools for lifting the credentials of anyone who has recently signed in to it, and a second line engineer had fixed that PC the week before. By lunchtime the tester held an account that could administer every workstation we own. He stopped there, because that was the agreement. None of it was clever. A shared password is only as secret as the least careful place it has ever been written down, and over seven years ours had been typed into scripts, tickets and at least one engineer's notebook. Since April 2023, Windows has included LAPS, which gives each PC its own local administrator password, changes it on a schedule and stores it in our directory where only named support staff can read it. Windows LAPS can also change the password automatically soon after it has been used. Rolling it out took three weeks, most of it testing with older depot images. The old password stopped working everywhere the day we finished. We also searched every share for passwords and found forty one more. Second line engineers now use a separate account for workstation administration, which cannot sign in to servers. The tester came back in October and did not get past the first PC. A password that opens every machine turns one leak into all of them. Make every machine's key different, and make it change. – Serguey Shinder
Shared Admin Password Exposed Across 900 PCs
Powered by Readybot.io

The latest from Pixel

Incident Response: Look Beyond the Red Alert

Pixel’s DEV Community announcement explores how teams can fixate on one failing service while overlooking the real cause of an outage, such as a full …

Sach: AI Fact-Checks WhatsApp Forwards in India

Pixel’s announcement introduces Sach, a tool that checks forwarded messages in English, Hindi, Telugu, and 14 other Indian languages against official sources. It gives cited …

Java 25 Removes SecurityManager: What to Fix

Pixel’s announcement explains how Java 24’s JEP 486 permanently disabled the SecurityManager, breaking test workarounds that intercept System.exit. It recommends returning exit codes or throwing …