All articles

Drift: how devices change when nobody attacks them

A year of a camera's settings in six groups, month by month, drifting after a repair, a firmware update and a reset, with a lens on the first change

Two years ago, a building systems contractor commissioned the controllers that run heating, cooling and the cold room at your distribution center. Each controller got its own password, remote access went through the VPN, and the cold room's alarm was set at the temperature your food safety plan names. Since then, an operator raised that alarm limit during a heat wave because it kept sounding, one controller failed and its replacement was set up from memory, and a firmware update arrived last spring.

Nobody attacked anything. But is the building still set up the way it was handed over?

Probably not. That gap is configuration drift: the slow, undocumented change of a device's settings away from the way they were approved. Most of it comes from people doing their jobs. It still opens doors, breaks things and hides real attacks, which is why it deserves the same attention as an intruder.

NIST doesn't call it drift

NIST's guide to security-focused configuration management, SP 800-128, never uses the word drift. It calls any change that didn't go through the approved process an "unauthorized change," whatever the reason behind it.

Its list of causes is worth reading in full, because only one item on it is an attack:

  • Accidental or unintentional changes
  • Malicious intent or attacks
  • People who believe the change process doesn't apply to them
  • People who aren't aware of the change process
  • Errors made when changes are carried out
  • A delay between making a change and updating the inventory and the baseline

The guide is plain about how common this is: "it is not uncommon to see activities such as deploying or disposing of hardware, making changes to configurations, and installing patches occurring outside the configuration change control process."

It also explains why a good start isn't enough. Setting things up securely and then controlling change "is usually not sufficient to ensure that a system which was once secure will remain secure." Something has to check.

Seven ways a device drifts

The sources below come up again and again on routers, cameras, door controllers, printers and industrial controllers. None of them needs an attacker.

1. Maintenance and repairs

A technician needs access to fix something. They open remote management, add a temporary account, or switch on a diagnostic service. The fix works and the visit ends. The open door stays.

NIST's guide to operational technology security, SP 800-82 Rev. 3, warns about exactly this: "Any maintenance performed on an OT device can inadvertently modify its configuration and result in an increased attack surface." It also asks that "any temporary connections should be removed" when maintenance is done. Asking is the easy part. Checking is the work.

2. Firmware updates

Updates fix weaknesses, so you want them. But an update can also change settings. It can switch a feature back on, add a new service with its own defaults, or reset a setting the maker changed the meaning of.

SP 800-82 says it directly: "Device configuration should be verified after maintenance and software patching, as some features may have inadvertently been reenabled or new features installed."

3. Replacements and factory resets

When a device fails, the replacement comes out of the box with the maker's defaults. When a device misbehaves, a common fix is a factory reset, which puts it back to those same defaults. Both are normal. Both undo every change you made on install day, unless someone sets the device up again exactly as before.

Defaults are rarely what you want. SP 800-82 lists them among configuration weaknesses: "Using default configurations often exposes vulnerabilities and exploitable services. All settings should be examined." It adds that many OT devices have functions that "may be enabled by default and without the organization's knowledge."

4. Vendor and integrator support

Makers and integrators often reach devices remotely to support them. SP 800-82 names "vendors and system integrators performing system maintenance functions" as one of the main reasons remote access exists. Each session is a chance for a setting to change, and the person who changed it doesn't work for you. Their notes, if there are any, stay in their ticket system.

5. Emergency fixes

A site goes down on a Saturday night. Someone changes a firewall rule, a VLAN, a camera's stream settings, whatever brings it back. Nobody fills in a change request at 2 a.m.

SP 800-128 accepts that this happens. It asks that unscheduled changes "are still managed and controlled," and reviewed "as soon as is practical" afterward. That only works if someone notices the change was made.

6. The well-meaning shortcut

A store manager asks for guest Wi-Fi. A facilities team changes the building system's schedule. An operator raises an alarm limit because it keeps sounding. Each person thinks the change is too small for a process, or doesn't know there is one. NIST lists both cases among its causes of unauthorized change.

7. The paperwork lag

Some changes are approved and correct, but the records never catch up. The new baseline lives in someone's head. A year later, nobody can tell which differences were approved and which weren't. NIST names this lag as a cause in its own right, and CISA's 2025 guidance on OT asset inventories asks for the inventory to be updated when devices come in or go out "in all cases, even under emergency change authority."

Why drift matters even when nobody attacks

Drift causes damage of its own. A remote access port left open after a repair is exposed whether or not anyone has found it yet. A recorder whose retention dropped from 30 days to 7 after an update fails you on the day you need footage from two weeks ago. A controller's alarm limit raised during a busy shift stays raised.

Drift also gives attackers cover. SP 800-128 notes that unauthorized changes "may be an indication that the systems are under attack or that SecCM procedures are not being followed or need updating." When a site has dozens of unexplained differences, one more goes unnoticed. The attackers described in Anatomy of an attack with no malware changed exactly the kinds of settings that drift changes: accounts, ports, logs.

Where drift comes from, and when to look

Source Typical change When to check
Maintenance and repairs Remote access left on, temporary account left behind After every visit or remote session
Firmware updates Features switched back on, new services, reset values After every update
Replacements and resets Back to the maker's defaults As soon as the device is back online
Vendor and integrator support Changes made outside your records After every support session
Emergency fixes Rules and settings changed under pressure The next working day
Shortcuts Small changes made outside the process On the regular schedule
Paperwork lag Approved changes missing from the baseline When reconciling, monthly

Which settings drift most

Drift doesn't spread evenly. Using the six groups from The configuration baseline, here is where it tends to show up and what usually causes it.

Settings group What tends to drift Usual cause
Ways in Remote management switched on, new port forwards, UPnP back on Repairs, support sessions, firmware updates
Who can log in Temporary and vendor accounts left behind, default accounts back after a reset Support sessions, replacements, resets
Where data goes New recorder, email, FTP or cloud targets; old ones left in place Replacements, upgrades, new services
Time and logs Time server changed, logging reduced, log destination lost Network moves, resets, firmware updates
Security controls Lockout, encryption or HTTPS-only turned off Troubleshooting, resets
The device's own job Recording schedules, retention, alarm limits, setpoints Shortcuts and day-to-day operations

The first two groups matter most for security: a door left open and an account nobody owns. The last group matters most for operations: it is where a change stays invisible until the day the recording, the alarm or the setpoint is needed. A baseline that covers all six catches both kinds.

Catching drift before it costs you

You can't stop every undocumented change. You can make sure each one is seen and decided on. Four habits do most of the work.

Compare with an approved baseline, on a schedule

Drift is a difference from something, so start from an approved baseline. The configuration baseline covers what to record. Then compare each device with its last reading regularly, daily for devices that face the internet or control something physical. The point is to find a change while the person who made it still remembers why.

Check after every visit, update and reset

SP 800-82 asks for configuration to be verified after maintenance and patching. Make the check part of closing the work order: the technician isn't done until the device matches its baseline, or the differences are approved.

Reconcile changes with the work you planned

When a difference shows up, SP 800-128 suggests asking four questions:

  1. Who made the change?
  2. Did it happen in a scheduled maintenance window?
  3. Does it match a change that was already detected and approved?
  4. Does it match an approved change request, a help desk ticket or a product release?

If the answer is yes, update the baseline, so tomorrow's comparison starts from the new approved state. NIST SP 800-53 asks for the baseline to be reviewed and updated "when system components are installed or upgraded." If the answer is no, treat it as a possible incident until someone explains it.

Measure it

Once a month, count how many devices match their approved baseline. SP 800-128 suggests this kind of metric: "the percentage of systems that are implemented in accordance with their approved baselines." Watching that number over time tells you whether drift is under control, and which sites or contractors produce the most of it.

Let Alertica catch the drift

Alertica reads the settings of your IoT and edge devices from the outside. Nothing is installed on the device, and Alertica never changes or blocks a setting. It runs in the public cloud, or on-premises inside your closed network, where no data leaves. On every check it compares each device with the last one and alerts your team by email, SMS or Slack when something changes: which device, which settings and when. Each check is kept as a record, so you can see what changed after every repair, update and reset.

Request a demo and we'll connect one of your devices and show you the alert that arrives when a setting changes. More on the product: IoT configuration monitoring. New to the idea? Start with What is device configuration integrity?

FAQ

  • What is configuration drift?

    Configuration drift is the slow, undocumented change of a device's settings away from the way it was approved. It builds up from repairs, firmware updates, factory resets, vendor support sessions and quick fixes that nobody records. NIST doesn't use the word: it counts these as unauthorized changes, even when they were made by mistake.

  • What causes configuration drift on IoT devices?

    Configuration drift on IoT devices comes mostly from ordinary work. Maintenance can switch features back on, firmware updates can reset or add settings, replaced and reset devices come back with factory defaults, and vendors and technicians make changes during support sessions that never reach the documentation.

  • Is configuration drift a security problem or an operations problem?

    Configuration drift is both a security problem and an operations problem. A remote access port left open after a repair is a security problem. A changed recording schedule or alarm limit is an operations problem until the day it is needed. And drift hides attacks: a malicious change looks like one more undocumented change unless every change is checked.

  • How often should I check for drift?

    Check after every piece of maintenance, and on a regular schedule in between. NIST's OT guide says device configuration should be verified after maintenance and patching. Between visits, a daily or weekly comparison with the last reading catches what nobody reported.

Sources

Stop breaches before they start

Get a personalized tour of Alertica from one of our team members and learn how it can fit your infrastructure.