EN
Back to the archive

The archive · Content & Film · Product decision · 2021

Unit221B and Krebs turn ransomware's own Russia ban into a free PC 'vaccine'

Russian ransomware won't infect CIS machines, so Krebs and Unit221B spread a free 'vaccine': make Windows look Russian with one keyboard tweak.

Unit221B · KrebsOnSecurity

The ideaUse the malware's own country-exclusion list as a vaccine: make every Windows PC look Russian or Ukrainian so Russian ransomware's do-not-install check spares it.incremental

What it had to solve

During the May 2021 DarkSide attack that shut down the Colonial Pipeline, Krebs noted that virtually all Russian ransomware strains refuse to install on Windows machines that have Russian or Ukrainian keyboards installed — a built-in failsafe protecting the criminals from their own country's law enforcement. Readers wanted to know if ordinary users could exploit that rule.

How it works

In May 2021, as the DarkSide ransomware gang shut down 5,500 miles of Colonial Pipeline and sent US fuel prices climbing, Brian Krebs pointed at a quirk of the criminal economy: virtually all Russian-language ransomware refuses to install on Windows machines that carry a Russian or Ukrainian keyboard layout. The exclusion list covers the Commonwealth of Independent States, and it exists so affiliates never create victims in their own countries — where police only investigate when a local victim complains.

Krebs's creative stroke was to hand that rule back to defenders: if malware self-excludes machines that look Russian, make every machine look Russian. His article showed readers how to install a CIS-country keyboard, and Lance James of Unit221B shipped a two-line batch script that adds a Russian language reference to the exact registry keys malware checks. Allison Nixon called it a 'vaccine' whose real value was strategic: mass adoption would force Russian hackers to choose between keeping legal protection by avoiding domestic machines, or dropping the check and risking prosecution.

The post became one of the month's most-read security stories — 604 points and 278 comments on Hacker News plus 147 on the article itself — with readers installing layouts, sharing the script and debating whether criminals would adapt. The caveats were part of the pitch: the trick does nothing against malware without a CIS exclusion, it is no substitute for defense in depth, and Mandiant found a recent DarkSide variant had already dropped the language check. Still, as a free two-minute step, it gave ordinary users a real defense and made attackers pay for every workaround.

Why it lands

  • The vaccine needs no new security product: it weaponizes the criminals' own do-not-infect list, which already exists in their code.
  • A two-line registry script made the fix trivially adoptable, turning a clever idea into something any user could run that afternoon.
  • The Colonial Pipeline context gave the trick a moment: the most visible ransomware attack in years made a free defensive lifehack instantly newsworthy.
  • The strategic framing — force criminals to trade legal protection for income — made the trick more than personal hygiene, it made it a collective move.
  • Honest caveats (not all malware checks, variants already drop the check) kept the advice credible enough to spread through a skeptical security audience.

What it did

The explainer became one of May 2021's most-discussed security posts — 604 points and 278 comments on Hacker News plus 147 comments on the site — and James's script circulated as the free, one-step version of the fix. Nixon argued mass adoption would force criminals to weaken their own legal shield or accept losses, while the piece was explicit that the defense only works against malware with a CIS exclusion and that a recent DarkSide variant analyzed by Mandiant skipped the language check entirely.

Write-upRead the one weird trick

What you can take

An adversary's safety rule is a control surface: criminals stay off their own turf to dodge local police, so defenders who fake that turf force attackers to weaken their shield or lose income.

Since then

The trick became a reference point in the ransomware debate that followed Colonial Pipeline: DarkSide announced it was closing shop after its servers and bitcoin were seized, and the language-check defense circulated as a free stopgap while defenders debated its limits. Commenters probed the weaknesses — checking which keyboard is active, watching when a layout was installed, dropping the check entirely — which Nixon framed as the trade the vaccine was designed to force. The post stayed live and commented, a durable explainer of how a criminal's geography rule became anyone's defense.

Sources

spotted an error? The archive wants to know.

Your turn

You just read one. Describe the brief you are staring at, and see who has been given the same problem.

Free account · 3 free questions · no card

Related cases