All articles

What is device configuration integrity?

Line drawings of a router, a gateway, a controller and a sensor beside a settings list, with a lens resting on the one setting that changed

In late 2023, attackers got into at least 75 industrial controllers, at least 34 of them in US water and wastewater systems. They used no clever exploit. The devices were reachable from the internet, and each had either its default password or no password at all, according to a joint advisory from the FBI, CISA, NSA and partner agencies. Once inside, the attackers renamed the devices, changed the remote access port and turned off upload and download.

Almost every step was a change to how a device was set up. That is what device configuration integrity watches.

Device configuration integrity means you know the approved settings of every connected device you run, and you are told when any of them changes. It asks one question, over and over: is this device still set up the way we left it? For connected devices such as routers, cameras and industrial controllers, it is often the question nobody is asking.

The attack was a list of settings changes

The advisory (AA23-335A, first published December 1, 2023) describes a group linked to Iran's Islamic Revolutionary Guard Corps. It targeted Unitronics Vision Series controllers, which are used in water plants and in other industries, including energy, food and beverage manufacturing, transportation and healthcare. The attacks ran in waves between November 2023 and January 2024.

Here is what the attackers did once they had logged in:

  • Renamed the devices, which delayed the owners' remote access.
  • Changed the remote access port from 20256 to 20257.
  • Turned off upload and download, and put a password on the upload settings.
  • Replaced the controller's program with their own.
  • Put a splash screen on the operator display, so staff could no longer read the normal values.

None of this needed malware in the usual sense. A check that compared each device's settings with the day before would have raised an alert at the first step.

Three parts: a baseline, regular checks and an alert that names the change

Every device on a network has settings. Some are obvious, like the admin password. Others sit deep in menus: which services are on, where the device sends its data, which time server it trusts, what happens after five failed logins.

Device configuration integrity has three parts:

  1. A baseline: a record of how each device should be set up, the settings you approved.
  2. Regular checks: reading each device's current settings and comparing them with the baseline or with the last check.
  3. An alert that names the change: which device, which setting and when, sent to the people who look after it.

It is an old IT idea applied to devices that usually get left out.

  1. A baseline

    port: 20256upload/download: on
  2. Regular checks

    port: 20256 → 20257upload/download: on → off
  3. An alert that names the change

    • Which device
    • Which setting
    • When

Where the idea comes from

NIST, the US standards agency, describes configuration management as "establishing and maintaining the integrity" of products and systems, through control of the processes for "initializing, changing, and monitoring" their configurations. It defines a baseline configuration as a set of specifications "formally reviewed and agreed on at a given point in time, and which can be changed only through change control procedures."

Put the two together and you have the idea: agree on how something should be set up, then watch that it stays that way.

For IoT devices, NIST's report NISTIR 8259A (May 2020) lists six capabilities a device should have. One is Device Configuration: the device's software configuration "can be changed, and such changes can be performed by authorized entities only." Another is Cybersecurity State Awareness: the device "can report on its cybersecurity state."

So NIST expects a good device to let only the right people change its settings and to report on its own state. Configuration integrity checks that this still holds, months or years after install day.

Why connected devices need it more than laptops do

Laptops and servers have had this kind of checking for years. Connected devices mostly have not, for five reasons.

They stay in service for decades

NIST's guide to operational technology security, SP 800-82 Rev. 3 (September 2023), says the lifespan of an OT system "can exceed 20 years." A device set up correctly today will see many technicians, updates and staff changes before it is retired. Each one is a chance for a setting to move.

You usually can't install anything on them

On a laptop, you install security software. On a controller, a camera or a printer, you usually can't. The same NIST guide says anti-malware software "may not be available for systems such as PLCs and DCS." A PLC (programmable logic controller) is a small industrial computer that runs a machine or a production line. A DCS (distributed control system) runs a whole plant, such as a refinery or a water treatment plant. The guide also warns that host-based agents "can impact the performance of the OT device because of the resources that they consume." Whatever watches these devices has to do it from the outside.

A harmful change looks like normal admin work

When someone logs in with a real username and password, the device sees an admin. MITRE ATT&CK for ICS (industrial control systems), a public catalog of attacker techniques, lists this as Valid Accounts (T0859) and notes that "default credentials for control system devices may be publicly available." The login raises no alarm. The settings change that follows is often the first visible sign.

The device keeps working

A changed setting rarely breaks a device. The router still routes, the camera still records, the controller still runs. Nothing turns red, so nobody looks, and the change can stay in place for weeks.

Nobody clearly owns the device

IT thinks the device belongs to operations. Operations thinks security handles it. The installer has moved on to the next job. A device that belongs to everyone is watched by no one.

The changes it catches, on purpose and by mistake

Some changes are made by someone who shouldn't make them:

  • A remote access service is switched on, or a port forwarding rule appears on a router.
  • A new admin account is added. It keeps working after you reset the main password.
  • The device starts sending data somewhere new: a new email server, FTP target or cloud service.
  • Logging is turned off, or the time server is changed so the logs no longer line up. MITRE calls this kind of clean-up Indicator Removal on Host (T0872).
  • An alarm threshold is raised so a dangerous condition no longer sounds an alarm. MITRE calls this Modify Alarm Settings (T0838).
  • A process value on a controller is changed. MITRE calls this Modify Parameter (T0836).

NIST's OT guide lists "unauthorized configuration changes," "unauthorized creation of new accounts" and "cleared event logs" among the events a site should watch for.

  • Remote access

    remote access: off → onport forwarding: + 1 rule
  • Admin accounts

    admin: unchanged+ support2 (admin)
  • Where data is sent

    FTP target: none → 203.0.113.47
  • Logs and alarms

    logging: on → offhigh alarm: 80 → 95

Many changes are honest mistakes. A technician opens remote access for a repair and forgets to close it. A vendor's support team changes more than they said they would. A device is reset to factory settings and comes back with its defaults. Someone tests an idea on one device and never writes it down.

These cause outages and open doors as often as attacks do. NIST's OT guide puts it plainly: "Using default configurations often exposes vulnerabilities and exploitable services. All settings should be examined." It also asks for procedures to restore settings after "accidental or adversary-initiated configuration changes."

Configuration integrity doesn't decide why a setting changed. It tells you that it changed, so a person can decide.

How it fits with the tools you already have

Configuration integrity doesn't replace other security tools. It answers a question they leave open.

Tool The question it answers The question it leaves open
Asset inventory Which devices do we have, and where? Has any device's setup changed since last week?
Vulnerability scanning Does this device have a known weakness, such as old firmware? Did someone just add an admin user with a valid login?
Network monitoring (IDS, NDR) Is unusual traffic moving on the network? Which setting changed inside the device? A change made with a real login can look like normal admin traffic.
Endpoint security (EDR, antivirus) Is something harmful running on this computer? What is happening on the devices it can't be installed on, such as most controllers, cameras and printers?
Yearly audit Were the settings right on audit day? What changed on the other 364 days?

Inventory tells you what you have. Scanning tells you what is weak. Network tools tell you what is moving. Configuration integrity tells you what changed.

Reading devices from the outside

Most connected devices already offer a way to read their settings: a web management page and the interface behind it, a management protocol such as SNMP or SSH, or the maker's own API.

A configuration integrity system logs in through that existing door, with an account that only needs to read. Then, on a schedule, it:

  1. Reads each device's settings, group by group.
  2. Compares them with the baseline or the last check. A common method is a fingerprint (a hash) of each group of settings, so even a small change shows.
  3. Alerts the team when something differs, naming the device, the group of settings and the time.
  4. Keeps a history of every check, so you can show an auditor what changed and when.

Because it reads from the outside, it works the same way on a router, a camera, a printer or a controller. The firmware stays as it is, and nothing new runs on the device.

What the standards ask

If you face audits, several frameworks point the same way:

  • CIS Controls v8, Control 4, "Secure Configuration of Enterprise Assets and Software." Safeguard 4.1 asks for a secure configuration process for enterprise assets and names IoT and other non-computing devices. Safeguard 4.7 covers default accounts and 4.8 covers unnecessary services.
  • NIST SP 800-82 Rev. 3 says organizations "should document the approved baseline configuration for their OT devices."
  • NISTIR 8259A makes Device Configuration and Cybersecurity State Awareness baseline capabilities for IoT devices.
  • ETSI EN 303 645 V3.1.3 (2024), the European baseline for consumer IoT, says device passwords "shall be unique per device or defined by the user" and that unused interfaces "shall be disabled." It is written for device makers, but it shows which settings matter most.

Five steps to start, with any tool

  1. Pick the devices that would hurt most: those facing the internet, those at remote sites, and those that control something physical.
  2. Create a read-only account on each one, where the device allows it.
  3. Take a first reading of their settings and review it once. Look for default passwords, open services and old admin users you didn't know about. Fix them, then approve the reading as the baseline.
  4. Name one person or team per site to receive the alerts. An alert sent to everyone is read by no one.
  5. Review changes weekly at first. Most will be expected. The few that aren't are the reason you started.

Let Alertica watch your devices

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 for your auditors.

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.

FAQ

  • What is device configuration integrity?

    Device configuration integrity means knowing the approved settings of each connected device and being told quickly when any of them changes. It applies to any connected device whose settings can be read over the network, from routers and cameras to sensors and industrial controllers. It works by reading each device's settings on a schedule and comparing them with an approved baseline.

  • Is device configuration integrity the same as configuration management?

    Device configuration integrity is one part of configuration management. Configuration management covers the whole life of a setting: planning, approving, changing and watching it. Configuration integrity is the watching part, checking that what is on the device still matches what was approved.

  • Does device configuration integrity need software installed on the device?

    Device configuration integrity needs no software on the device. A check reads the settings through the device's own management interface, such as its web interface, SNMP, SSH or the maker's API, using an account that only needs read access.

  • Does device configuration integrity replace network monitoring or vulnerability scanning?

    Device configuration integrity doesn't replace network monitoring or vulnerability scanning; it answers the question they leave open. Network monitoring watches traffic, and vulnerability scanning looks for known weaknesses such as old firmware. Neither tells you that someone with a valid login added an account, opened a port or turned off logging. Configuration integrity tells you which setting changed inside the device, and when.

  • Which device settings should be watched first?

    Watch the settings attackers change first: remote access, user accounts, where data is sent, time and logs, and security controls. Then add the few settings that define the device's own job, such as alarm thresholds on a controller or the recording schedule on a camera.

Next in this series: The configuration baseline: six groups of settings every connected device has, which shows which settings to record first.

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.