Live Active security incident? Get immediate response
MITRE ATT&CK® Technique

T1601.001: Patch System Image

Adversaries may modify the operating system of a network device to introduce new capabilities or weaken existing defenses.[1] [2] [3] [4] [5] Some network devices are built with a monolithic architecture, where the entire operating system and most of the functionality of the device is contained within a single file. Adversaries may change this file in storage, to be loaded in a future boot, or in memory during runtime.

To change the operating system in storage, the adversary will typically use the standard procedures available to device operators. This may involve downloading a new file via typical protocols used on network devices, such as TFTP, FTP, SCP, or a console connection. The original file may be overwritten, or a new file may be written alongside of it and the device reconfigured to boot to the compromised image.

To change the operating system in memory, the adversary typically can use one of two methods. In the first, the adversary would make use of native debug commands in the original, unaltered running operating system that allow them to directly modify the relevant memory addresses containing the running operating system. This method typically requires administrative level access to the device.

In the second method for changing the operating system in memory, the adversary would make use of the boot loader. The boot loader is the first piece of software that loads when the device starts that, in turn, will launch the operating system. Adversaries may use malicious code previously implanted in the boot loader, such as through the ROMMONkit method, to directly manipulate running operating system code in memory. This malicious code in the bootloader provides the capability of direct memory manipulation to the adversary, allowing them to patch the live operating system during runtime.

By modifying the instructions stored in the system image file, adversaries may either weaken existing defenses or provision new capabilities that the device did not have before. Examples of existing defenses that can be impeded include encryption, via Weaken Encryption, authentication, via Network Device Authentication, and perimeter defenses, via Network Boundary Bridging. Adding new capabilities for the adversary’s purpose include Keylogging, Multi-hop Proxy, and Port Knocking.

Adversaries may also compromise existing commands in the operating system to produce false output to mislead defenders. When this method is used in conjunction with Downgrade System Image, one example of a compromised system command may include changing the output of the command that shows the version of the currently running operating system. By patching the operating system, the adversary can change this command to instead display the original, higher revision number that they replaced through the system downgrade.

When the operating system is patched in storage, this can be achieved in either the resident storage (typically a form of flash memory, which is non-volatile) or via TFTP Boot.

When the technique is performed on the running operating system in memory and not on the stored copy, this technique will not survive across reboots. However, live memory modification of the operating system can be combined with ROMMONkit to achieve persistence.

EnterpriseT1601.001Sub-techniqueObject v2.0 Modified
Glexia's Take

Analyst context for executives and security teams

Analyst confidence High

Patch System Image matters because it targets the operating system of network devices, not ordinary endpoint software. If an adversary can alter a router, firewall, or similar device image in storage or memory, they may weaken defenses, add hidden capabilities, or make device commands report misleading information. For leaders, this is a resilience and trust problem: the devices that enforce connectivity, segmentation, authentication, encryption, and perimeter control may no longer be reliable sources of truth.

Executive priority

Treat this as a high-consequence network infrastructure integrity risk. Priority questions are: who can administer network device images, how image changes are approved and evidenced, whether boot and code integrity controls are available, and whether incident response can verify a device independently when its own commands may be untrustworthy. This technique also supports compliance and audit conversations around privileged access, change control, firmware/software integrity, and network device logging.

Technical view

This enterprise ATT&CK sub-technique applies to Network Devices under defense-impairment and is a sub-technique of Modify System Image. ATT&CK describes patching the device operating system image in storage, modifying the running image in memory, or using boot-loader-level manipulation such as ROMMONkit-related behavior to patch the live operating system. SOC and IR teams should validate monitoring around administrative access, image transfers using protocols commonly used by network devices, boot configuration changes, unexpected image files, integrity mismatches, runtime anomalies, and cases where local device command output may be falsified. Relationship context notes DET0469 as a detection strategy and SYNful Knock as software using this behavior.

Likely telemetry

  • Network device AAA/authentication and privileged command logs
  • Configuration change records, especially boot image or boot path changes
  • File transfer logs involving device images, including TFTP, FTP, SCP, or console-driven maintenance evidence
  • Device storage inventory, image filenames, hashes, timestamps, and resident flash changes
  • Boot logs, reload events, boot loader or ROMMON-related evidence where available

Detection direction

  • Use DET0469 relationship context as the ATT&CK-linked detection direction, but validate it against local device models and logging capabilities because the official detection field is not provided.
  • Correlate privileged administrator activity with image write operations, file transfers, boot variable changes, reloads, and maintenance windows.
  • Do not rely only on commands run on the suspected device; ATT&CK notes patched systems may falsify command output such as version information.
  • Compare device images and configurations against trusted baselines from out-of-band backups or known-good repositories.
  • Tune for legitimate maintenance activity to reduce false positives, but require strong change-control evidence for image replacement, downgrade, or unexpected co-resident image files.

Mitigation priorities

  • Start with privileged account management: restrict who can modify network device images, boot settings, and debug-level functions; enforce least privilege and accountability.
  • Require strong password policy, MFA where supported, and credential access protection for administrative access paths to network devices and management systems.
  • Use code signing and trusted image validation where the platform supports it, and maintain known-good image repositories for comparison and recovery.
  • Implement boot integrity controls where available, including secure boot or hardware-rooted verification mechanisms supported by the device.
  • Strengthen change management: require approved maintenance windows, image hash validation, backup capture, and independent review for image or boot configuration changes.
Analyst notes and limits

The key defensive decision is whether the organization can prove that network device operating systems are authentic and unchanged. This technique is especially material because network devices often sit in control points for segmentation, remote access, encryption, and perimeter enforcement. The SYNful Knock relationship shows ATT&CK-recognized software use of this behavior, but the supplied data should not be read as evidence of current activity in any environment.

MITRE provides no official detection text for this object in the supplied fields. Practical coverage depends heavily on device vendor, model, logging depth, secure boot/code-signing support, network management architecture, and whether trustworthy baseline images and configuration backups exist. Local telemetry is required to distinguish malicious patching from authorized maintenance.

Official MITRE ATT&CK definition

Patch System Image

Adversaries may modify the operating system of a network device to introduce new capabilities or weaken existing defenses.[1] [2] [3] [4] [5] Some network devices are built with a monolithic architecture, where the entire operating system and most of the functionality of the device is contained within a single file. Adversaries may change this file in storage, to be loaded in a future boot, or in memory during runtime.

To change the operating system in storage, the adversary will typically use the standard procedures available to device operators. This may involve downloading a new file via typical protocols used on network devices, such as TFTP, FTP, SCP, or a console connection. The original file may be overwritten, or a new file may be written alongside of it and the device reconfigured to boot to the compromised image.

To change the operating system in memory, the adversary typically can use one of two methods. In the first, the adversary would make use of native debug commands in the original, unaltered running operating system that allow them to directly modify the relevant memory addresses containing the running operating system. This method typically requires administrative level access to the device.

In the second method for changing the operating system in memory, the adversary would make use of the boot loader. The boot loader is the first piece of software that loads when the device starts that, in turn, will launch the operating system. Adversaries may use malicious code previously implanted in the boot loader, such as through the ROMMONkit method, to directly manipulate running operating system code in memory. This malicious code in the bootloader provides the capability of direct memory manipulation to the adversary, allowing them to patch the live operating system during runtime.

By modifying the instructions stored in the system image file, adversaries may either weaken existing defenses or provision new capabilities that the device did not have before. Examples of existing defenses that can be impeded include encryption, via Weaken Encryption, authentication, via Network Device Authentication, and perimeter defenses, via Network Boundary Bridging. Adding new capabilities for the adversary’s purpose include Keylogging, Multi-hop Proxy, and Port Knocking.

Adversaries may also compromise existing commands in the operating system to produce false output to mislead defenders. When this method is used in conjunction with Downgrade System Image, one example of a compromised system command may include changing the output of the command that shows the version of the currently running operating system. By patching the operating system, the adversary can change this command to instead display the original, higher revision number that they replaced through the system downgrade.

When the operating system is patched in storage, this can be achieved in either the resident storage (typically a form of flash memory, which is non-volatile) or via TFTP Boot.

When the technique is performed on the running operating system in memory and not on the stored copy, this technique will not survive across reboots. However, live memory modification of the operating system can be combined with ROMMONkit to achieve persistence.

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Related techniques

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

1 rows
Domain ID Name Relationship / procedure
Enterprise T1601 Modify System Image This object subtechnique of Modify System Image.
Associated objects

Groups, software, and campaigns

Malware Enterprise

S0519: SYNful Knock

SYNful Knock is a stealthy modification of the operating system of network devices that can be used to maintain persistence within a victim's network and provide new capabilities to the adversary.[1][2]

Network Devices
Relationship explorer

All related ATT&CK context

Mitigations

Mitigation direction

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .

ATT&CK release
19.1
Object version
2.0
Created
Modified
Raw hash
e835cda2ca9525f0...
Imported snapshots across ATT&CK releases (1)
Release Bundle imported Object version Modified Status Raw hash
19.1 2.0 Current bundle e835cda2ca95…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Killing the myth of Cisco IOS rootkits

    Sebastian 'topo' Muñiz. (2008, May). Killing the myth of Cisco IOS rootkits. Retrieved October 20, 2020.

    Open source URL
  2. [2]
    Killing IOS diversity myth

    Ang Cui, Jatin Kataria, Salvatore J. Stolfo. (2011, August). Killing the myth of Cisco IOS diversity: recent advances in reliable shellcode design. Retrieved October 20, 2020.

    Open source URL
  3. [3]
    Cisco IOS Shellcode

    George Nosenko. (2015). CISCO IOS SHELLCODE: ALL-IN-ONE. Retrieved October 21, 2020.

    Open source URL
  4. [4]
    Cisco IOS Forensics Developments

    Felix 'FX' Lindner. (2008, February). Developments in Cisco IOS Forensics. Retrieved October 21, 2020.

    Open source URL
  5. [5]
    Juniper Netscreen of the Dead

    Graeme Neilson . (2009, August). Juniper Netscreen of the Dead. Retrieved October 20, 2020.

    Open source URL
  6. [6]
    mitre-attack T1601.001
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.