By Hamza Faisal

Britain has quietly carried out a secret nationwide operation to protect tens of thousands of supermarket fridges and freezers from hackers, the BBC has revealed. The three-week effort, kept secret until the work was done, secured units at major supermarkets, warehouses, restaurants, petrol stations and stadiums.

The operation began in late October, when ethical hackers at refrigeration consultancy Omega Solutions found a serious flaw in the UK's most widely used refrigeration controllers, made by British firm Resource Data Management (RDM). Specialists at Pen Test Partners verified the finding, uncovered further weaknesses and helped raise the alarm.

A race against the next wave

The National Cyber Security Centre (NCSC), the Department for Environment, Food and Rural Affairs (Defra) and the Food Standards Agency (FSA) joined the response, holding industry calls and tasking teams to contact companies at risk. Thousands of controllers — each one overseeing many refrigeration units — were taken off the open internet, remotely or by physically pulling out network cables, with staff ordered to check temperatures by hand.

Most major supermarkets had to divert IT teams to the task. One large chain took hundreds of devices offline every day for about a week, a worker told the BBC. "It did feel like a race against time as we were expecting another wave of these fridge hacks to come," the worker said. Warehouses held millions of pounds' worth of food that could have spoiled if attackers had found the flaw first.

The urgency was real. Three waves of attacks on refrigeration temperature controllers have already hit this year: US military bases in August; hundreds of French supermarkets and food sites on 11 and 12 October, when Danfoss systems were targeted; and dozens of supermarkets across seven European countries on 1 and 2 November. France has blamed Iran for one wave, a claim Tehran denies.

The flaw, and the dispute over how serious it was

Pen Test Partners' Ken Munro said the RDM controllers had a similar weak-password problem to the Danfoss units attacked in Europe. "These popular controllers had a similar weak password problem to the Danfoss and other controllers that were attacked so successfully in previous hacks so we had to get the message out as soon as possible and keep it secret," Munro said. He warned it was likely only a matter of days before criminals or nation-state hackers found the same route.

RDM disputes how critical the vulnerabilities were. The company says comparisons with the units attacked in mainland Europe are unfair, because hacking its fridges and freezers would have required getting hold of a piece of hardware. The researchers counter that the hardware can be bought cheaply online, including on eBay.

RDM chief executive Ged Evans said the flaw was found in a test environment and that the researchers went beyond what such exercises usually involve, including dismantling the company's hardware. He said RDM has "acted at pace", deploying first patches and contacting customers to flag issues and recommend mitigations. RDM confirmed no sign of malicious activity on its controllers and said it continues to work with the NCSC and other authorities.

Why the operation stayed secret

The BBC did not report on the operation until now, to reduce the chances of hackers causing harm if they found the vulnerability while the fixes were still being rolled out. Warnings went beyond supermarkets to convenience stores, petrol stations, restaurants, sports arenas, hotels, food processing plants and cold-storage sites. As of 22 November, no confirmed case of attackers using the weakness against a UK supermarket had been reported — the operation got there first.