How to Secure CNC and HMI Machines You Can’t Upgrade

Secure CNC and HMI machines: an older CNC machine with an HMI control panel on a manufacturing shop floor

Every shop has one CNC mill that still runs Windows XP. An HMI panel on Windows 7 that nobody dares to touch. The machine works, it makes parts, and it pays for itself every day. The problem is that the operating system on it stopped getting security patches years ago.

You can’t always upgrade these machines. The software may not run on anything newer. The vendor may not support it. A shutdown may cost you more than the risk feels worth. But leaving them as they are is not a plan either.

Manufacturing is the top target for ransomware. Researchers found that nearly one in five ransomware attacks in 2025 hit a manufacturer, with 1,156 incidents in the sector, a 32% rise from the year before. Manufacturing was the most attacked sector in the US for the fourth year in a row, with a median attack cost of $500,000, not counting long-term losses.

The good news is that you don’t need to replace the machine to protect it. This guide shows you how to secure CNC and HMI machines you can’t upgrade, in six practical steps: find your legacy machines, isolate them, lock them down, control remote access, back them up, and plan their replacement. We end with a checklist, a look at what insurers and customers expect, and answers to common questions.

Secure CNC and HMI machines: an older CNC machine with an HMI control panel on a manufacturing shop floor

Why Manufacturers Still Run Windows XP, 7, and 10 on Machines

Nobody keeps an old PC on the shop floor because they like risk. They keep it because the machine is tied to it. Here are the three most common reasons.

Vendor Certification and Recertification Costs

A CNC or HMI is certified to run with a specific operating system and software version. If you change the OS, you may void the warranty or the vendor’s support. In regulated work, such as aerospace or medical parts, a change can also mean you must validate the process again.

Recertification takes time and money. The machine may be down while it happens. For many owners, the math says to leave it alone.

Driver and Hardware Dependencies (serial, PCI cards)

Many older machines talk to controllers through serial ports, parallel ports, or special PCI cards. These parts only have drivers for old versions of Windows. A new OS may not support them at all.

Some shops use DNC software to send programs over serial lines. That software was also written years ago. If the card, the driver, and the software only work together on Windows XP or 7, then the PC stays on Windows XP or 7.

Windows 10 End of Support: What It Means for the Plant Floor

Microsoft ended support for Windows 10 on October 14, 2025. Since then, Windows 10 PCs no longer get free security updates, bug fixes, or technical help. The PCs still run. They just don’t get patched.

For businesses, Microsoft offers a paid Extended Security Updates (ESU) program. TechRepublic and Computerworld report the first year costs $61 per device, and the price doubles each year after that. ESU covers only version 22H2, and it is a bridge, not a fix. Windows XP lost support in 2014 and Windows 7 in 2020. Windows 10 has now joined them. Some Windows 10 editions built for industrial use, such as certain IoT and LTSC releases, follow different support dates. Check the exact edition on each machine before you assume anything.

The Real Risks of Unsupported Windows in Manufacturing

When an OS stops getting patches, every new flaw found in it stays open forever. Attackers know this. They scan for old systems and build tools to use those known flaws.

Ransomware Spreading from the Office to Production

Most attacks don’t start on the shop floor. They start with a phishing email in the office. Then the attacker moves across the network until they find machines they can lock.

If your office and your CNC machines share one flat network, that path is short. Sophos found that 74% of ransomware attacks on manufacturers in its 2024 survey resulted in data encryption. The average recovery cost for manufacturers was $1.67 million. Black Kite counted 1,183 ransomware incidents in manufacturing between January 1 and July 29, 2026, up from 847 in the same period the year before.

Infected USB Drives and Laptops

Old machines are fed by hand. A programmer carries a USB drive to load a program. A technician plugs in a laptop to run a diagnostic. Each trip is a chance to carry malware in. In September 2025, NIST published SP 1334 to help plants use USB drives and other removable media more safely.

Unsecured Vendor Remote Access

Machine builders often need to log in to fix problems. Too often this is a remote desktop tool left running all the time or a shared password the vendor has used for years. If that account is stolen, the attacker walks in through a door you didn’t know was open.

Step 1: Find Every Legacy Machine (Asset Inventory)

You can’t protect what you can’t see. Start with a list of every machine and PC on the production floor. CISA and partner agencies, including the NSA and FBI, released guidance in August 2025 on building an OT asset inventory. It calls the inventory a living list of the devices, systems, and software in your environment. Use the same idea in your shop.

For each machine, record the following:

  • Machine name, location, and owner
  • Operating system and version
  • Network connections (Ethernet, Wi-Fi, serial, USB)
  • Software and drivers it depends on
  • Vendor contact and remote access method
  • How critical it is to production

Step 2: Isolate Legacy PCs with Network Segmentation

If you can’t patch a machine, keep threats away from it. Segmentation is the most useful control you can add to secure CNC and HMI machines.

Separate the Office (IT) Network from the Production (OT) Network

Put the production floor on its own network, apart from email, web browsing, and office PCs. Use a firewall between the two. Legacy machines should then sit in their own zone, away from everything else. NIST’s Guide to OT Security (SP 800-82 Rev. 3) recommends this kind of layered network design.

Firewall Rules That Allow Only Required Traffic

Start with “deny all.” Then allow only what each machine truly needs, such as one connection to a file server or one connection to a controller. Block the internet from legacy machines. Block them from reaching each other unless they must.

Write down each rule and who asked for it. Review the list twice a year.

Step 3: Lock Down the Machine Itself

Now harden the PC. You can’t patch the OS, so reduce what can run on it.

Application Allowlisting vs. Antivirus on Old PCs

Antivirus needs frequent signature updates and uses CPU. Many modern tools no longer support XP or Windows 7 at all. On a CNC controller, it can also slow things down or interfere with the machine software.

Application allowlisting works the other way around. It lets only approved programs run and blocks everything else. A legacy machine runs the same few programs for years, so it is a good fit. NIST also lists allowlisting as a control for OT systems.

Controlling USB Ports and Removable Media

NIST SP 1334 gives a clear list of steps:

  • Disable ports you don’t need in the BIOS, the OS, or with physical port locks
  • Restrict which devices and files can run
  • Scan media before and after each use
  • Encrypt data on the drives
  • Alert on insertion and data transfer

Removing Unused Services and Accounts

Turn off what the machine doesn’t use: file sharing, remote desktop, print services, and old protocols. Remove shared logins. Give each operator their own account with the lowest rights that still let them work. Change default passwords on every HMI and controller.

Step 4: Control Vendor and Remote Access

Vendors need access sometimes. They don’t need it all the time.

  • Keep remote tools turned off until someone requests a session
  • Route all access through one managed, logged gateway
  • Require multi-factor authentication for every vendor account
  • Give each vendor a separate account, never a shared one
  • Limit access to the single machine being serviced
  • Record or log each session, and end it when the work is done

Put these rules in your vendor contracts. If a vendor can’t meet them, ask why.

Step 5: Back Up Machine Images for Fast Recovery

If an old machine fails or gets encrypted, you may not be able to rebuild it. The install media may be gone. The license key may be lost. The person who set it up may have retired.

Make a full disk image of every legacy PC while it is healthy. Also save:

  • Machine parameters, offsets, and PLC programs
  • License keys and installation media
  • Driver files and software versions
  • Network and configuration notes

Step 6: Plan Retrofit or Replacement

Protection buys time. It doesn’t last forever.

When to Protect vs When to Replace

Keep protecting the machine when:

  • It is stable, isolated, and well backed up
  • The machine has years of useful life left
  • Replacement costs far more than the risk

Replace or retrofit when:

  • It must connect to the internet or the office network
  • Parts or drivers are no longer available
  • It handles data tied to a contract or compliance rule
  • The machine fails often

CNC and HMI Retrofit Options

You often don’t need a whole new machine. Common options include:

  • Replace only the PC. Use an industrial PC with a supported OS and a serial-to-Ethernet adapter in place of the old PCI card.
  • Upgrade the control. Many builders offer a new controller for an older machine frame.
  • Use a virtual machine. Some software can run in a protected virtual environment, though it won’t work with all hardware.
  • Add a secure gateway. A small device sits in front of the machine and filters traffic.

Ask the builder first. Then get a second opinion from an independent integrator.

Legacy Machine Security Checklist

Use this list to secure CNC and HMI machines one at a time. You can also turn it into a one-page PDF to hand to your team.

  1. The machine is on your asset inventory with its OS and owner.
  2. It sits on a separate production network, behind a firewall.
  3. Firewall rules allow only the traffic it needs and nothing to the internet.
  4. Application allowlisting is on, or the machine runs a minimal approved set of software.
  5. Unused USB ports are disabled or locked.
  6. Only scanned, company-owned drives are allowed.
  7. Unused services, shared logins, and default passwords are removed.
  8. Vendor remote access is off by default and uses multi-factor authentication.
  9. A full disk image and machine settings are stored offline, and a restore has been tested.
  10. A replacement or retrofit plan has a date and a budget.

Conclusion

Old CNC and HMI machines don’t have to be your weak spot. You may not be able to upgrade them, but you can find them, isolate them, lock them down, control who connects, and keep a tested backup ready.

Start with the inventory this week. Then segment your most exposed machine first. Small steps, done in order, help you secure CNC and HMI machines and cut your risk a lot. And while you protect today’s machines, set a plan and a date to retire them. If you want help, panaTECH offers managed IT services for manufacturing and managed cybersecurity services built for shops like yours.

Frequently Asked Questions

Does the end of Windows 10 support affect manufacturing equipment?

Yes. Microsoft ended Windows 10 support on October 14, 2025. Any CNC, HMI, or shop PC running a standard Windows 10 version no longer gets free security patches. The machine keeps running, but new flaws go unfixed. You can pay for Extended Security Updates, which cost $61 per device in the first year for businesses and double each year. Some industrial editions have different dates, so check each one. Either way, segmentation and lockdown controls still apply.

Can an air gap fully protect a legacy machine?

No. An air gap lowers risk, but malware can still arrive on USB drives, laptops, and vendor tools. NIST SP 1334 exists because removable media is a real path into OT systems. Combine the air gap with port control, media scanning, allowlisting, and offline backups.

How much does it cost to secure legacy shop-floor PCs?

It depends on how many machines you have and how they connect. The main costs are a managed firewall or switch for segmentation, allowlisting software, a scanning kiosk, and time for the inventory and backups. Most of these steps cost far less than replacing a machine.

Who is responsible for securing a machine: the OEM, IT, or maintenance?

All three share it, so assign an owner. The machine builder is responsible for supported software and safe remote access. IT owns the network, firewalls, and backups. Maintenance and operators control the day-to-day use, such as USB drives and physical access. One named person should own the legacy machine list and the checklist, and your contracts should state what the vendor handles.

What’s the difference between IT security and OT security?

IT security protects data, email, and office systems. Its main goal is keeping information private. OT security protects the equipment that runs your production, such as CNCs, PLCs, and HMIs. Its main goal is keeping machines running safely. OT systems often can’t be patched or rebooted easily, and a mistake can stop production or hurt someone. That is why OT security relies more on isolation, allowlisting, and careful change control. NIST SP 800-82 Rev. 3 covers these differences in detail.

Is an air gap enough?

An air gap means the machine has no network connection at all. It helps, but it isn’t a full shield. USB drives, laptops, and vendor tools still cross the gap.

Picture of Brian Collins

Brian Collins

President of Marketing & Business Development, Panacea Smart Solutions