It is three in the morning, the change window is open, and the command you just typed removed the route your own session was using. The router is running, healthy, forwarding everyone's traffic but yours, and unreachable. What happens next depends entirely on decisions made months earlier: whether there is a second way in that does not depend on the first, whether anyone can still find its address and its password, and whether the change you made will undo itself. This part of NetFun III is about that second way in. The previous part, network operating systems, compared the software on the boxes; the series started from the five numbers that name a conversation, and the last two parts, SNMP and flow telemetry, were about watching the network. This one is about reaching it when watching is no longer enough. It covers the definitions the operational standards give, the serial console from the pins up, the break signal and password recovery, terminal servers and management networks, the lights-out controllers in servers, the confirmed commit that rolls a change back on its own, the ways out-of-band networks fail, and the management plane as the target of a decade of government advisories. After it you should be able to design a management path that survives the outage it exists for, and secure it so that it does not become the way in.
The case studies, Meta in October 2021, Rogers in July 2022, a Boston hospital in 2002 and the June 2012 derecho, are told in full in physical and power redundancy. One sentence from them sets the tone here. Meta's account of the outage that took its services off the internet reads: "Our primary and out-of-band network access was down, so we sent engineers onsite to the data centers to have them debug the issue and restart the systems", and the loss of the Domain Name System (DNS) "broke many of the internal tools we'd normally use to investigate and resolve outages like this" (Santosh Janardhan, Meta Engineering, More details about the October 4 outage, 5 October 2021). An out-of-band path that fails with the in-band one is not out of band.
In-band and out-of-band, as the standards define them
(Request for Comments) 3871, the operational security requirements for large Internet Service Provider () networks that George Jones of the Corporation edited in September 2004, gives both definitions. "In-Band management" is "any management done over the same channels and interfaces used for user/customer data", for example "using for management via customer or Internet facing network interfaces". "Out-of-Band management" is "any management done over channels and interfaces that are separate from those used for user/customer data", for example "a serial console interface or a network interface connected to a dedicated management network that is not used to carry customer traffic" (RFC 3871, section 1.8). The same RFC is honest about the trade. In-band management "has the advantage of lower cost (no extra interfaces or lines), but has significant security disadvantages": saturation "can make the device unmanageable unless out-of-band management resources have been reserved", attackers can "directly address and reach the device", and public interfaces "may become unavailable due to bugs (e.g., buffer overflows being exploited) while out-of-band interfaces (such as a serial console device) remain available" (RFC 3871, section 2.2).
How large operators actually did it was surveyed three years later. RFC 4778, Merike Kaeo's account of current practice at ISPs (January 2007), reports, abbreviating out-of-band as OOB, that "most ISPs prefer an OOB management system, since access to the devices that make up this management network are more vigilantly protected", that "Console access is always architected via an OOB network", and describes the pattern: "OOB management is done via a terminal server at each location. SSH access is used to get to the terminal server from where sessions to the devices are initiated. Dial-in access is deployed as a backup if the network is not available", with "dial-back, encrypting modems, and/or one-time-password () modems to avoid the security weaknesses of plain dial-in access" (RFC 4778, sections 2.1.2, 2.2 and 2.2.2). The same section notes that the authentication, authorization and accounting (AAA) server for out-of-band access is often "a separate physical device from the AAA server used for in-band management".
Telecommunications carriers built the most complete version. RFC 8368 (May 2018) recalls that "In the late 1990s and early 2000, IP networks became the method of choice to build separate OAM networks", standardized by the International Telecommunication Union as "Data Communications Networks" (DCNs) in Recommendation G.7712/Y.1703: "physically separate IP or IP/ networks that provide access to OAM interfaces of all equipment that had to be managed", which "provide stable connectivity" because "change configuration of the production IP network is done via the DCN but never affects the DCN configuration" (RFC 8368, section 1.2). Operations, administration and maintenance (OAM) is the umbrella term. The same RFC names the price, "the cost of buying and operating a separate network", which "is not feasible for many providers -- most notably, smaller providers, most enterprises", and names the problem it is all for: OAM "is often subject to the problem of circular dependencies when relying on the connectivity service provided by the network to be managed", and "OAM can easily but unintentionally break the connectivity required for its own operations" (RFC 8368, section 1.1). That last sentence is the three-in-the-morning scenario, in the 's words.
RFC 3871 assumes two out-of-band topologies, "serial line (or equivalent) console connections using a " and "network interfaces connected to a separate network dedicated to management" (RFC 3871, section 2.3). The rest of this part takes them in that order.
The console port
What the standard asks. RFC 3871's first out-of-band requirement is a console: the device "MUST support complete configuration and management via a 'console' interface that functions independently from the forwarding and IP control planes", because there are times when the network is down, "routing and network interfaces are incorrectly configured, the IP stack and/or operating system may not be working". Its model is "the classic RS232 serial port", recommended for simplicity ("It is simply a hardware specification. By contrast an based solution might require an ethernet interface, an operating system, an IP stack and an HTTP server all to be functioning"), proven use, availability "even in the presence of network failure" and low cost (RFC 3871, sections 1.8 and 2.3.1). Three more requirements make a console usable in a crisis: a published way to return the console to its default settings "must not require the current settings to be known" ("One method might be to send a break on a serial line"); the console "MUST NOT require proprietary devices, protocol extensions or specific client software"; and "The console default profile of communications parameters MUST be published in the system documentation" (RFC 3871, sections 2.3.2, 2.3.3 and 3.5).
The settings. The published defaults are almost always the same. Cisco's cabling guide gives "9600 baud", "8 data bits", "No parity" and "2 stop bits (9600 8N2) OR 1 stop bit" depending on the router, and adds that "The console port does not support modem control or hardware flow control" (Cisco, Understand Cable Requirements for Console and AUX Ports, document 12223, updated 4 December 2024; read through a summary, as cisco.com refused a direct copy). Juniper's root password recovery procedure sets the terminal to "Bits per second: 9600", "Data bits: 8", "Parity: None", "Stop bits: 1", "Flow control: None" (Juniper Networks, Recover a Root Password, Junos OS), and its configuration guide says "The console port is enabled by default, and its speed is 9600 baud" (Juniper Networks, Configuring Junos OS to Set Console and Auxiliary Port Properties). On a Linux server, the kernel's console option takes the form console=ttyS0,9600n8, where the default "is 9600n8" and "The maximum baudrate is 115200" (Linux kernel documentation, Linux Serial Console). The shorthand 8N1, eight data bits, no parity, one stop bit, is the universal asynchronous receiver-transmitter (UART) framing every console speaks, and a screen full of garbage is, as the terminal article says, "usually a speed setting, not a broken cable".
What 9600 baud means. Each character on an 8N1 line costs ten bit times: one start bit, eight data bits and one stop bit. At 9,600 bits per second that is 960 characters per second. The arithmetic decides what a console is for:
| Task | Characters | At 9,600 baud | At 115,200 baud |
|---|---|---|---|
| a login prompt and a password | about 40 | 0.04 s | under 0.01 s |
| a 3,000-line configuration, 40 characters a line | 120,000 | 125 s | 10.4 s |
| a 5 MiB diagnostic file | 5,242,880 | 5,461 s, about 91 minutes | 455 s, about 7.6 minutes |
A console is for getting in and fixing one thing, not for moving data. Pasting a long configuration into a console without flow control can also lose characters, since the port, as Cisco says, has none: paste in pieces, or apply the bulk over the network once the console has restored it.
The cable, pin by pin. The console port on most network equipment is an socket wired as a data terminal equipment (DTE) serial port, and the cable that connects it to a laptop's serial adapter is "rolled": "the colored wires at one end of the cable are in the reverse sequence" (Cisco, document 12223, as above). Cisco's tables give both the pinout and the reversal:
| RJ-45 pin | Console port signal (DTE) | Rolled cable, other end |
|---|---|---|
| 1 | CTS, clear to send | 8 |
| 2 | DTR, data terminal ready | 7 |
| 3 | TxD, transmit data | 6 |
| 4 | GND, ground | 5 |
| 5 | GND, ground | 4 |
| 6 | RxD, receive data | 3 |
| 7 | DSR, data set ready | 2 |
| 8 | RTS, request to send | 1 |
Follow pin 3: the console transmits on pin 3, the roll delivers it to pin 6 at the other end, and the DB-9 adapter labelled for a terminal maps that to the laptop's receive line. Swap in a straight Ethernet patch cable and transmit meets transmit, and nothing appears. Cisco lists the combinations that work, a rolled cable with a DTE adapter to a terminal, a rolled cable with a modem adapter to a modem, a straight cable with a non-modem DCE adapter to a terminal, and an RJ-45-to-DB-9 cable, and adds: "These are the only setups that work" (Cisco, as above). Juniper's recovery procedure uses the same parts: "Plug one end of the Ethernet rollover cable (supplied with the router) into the RJ-45 to DB-9 serial port adapter" (Juniper, Recover a Root Password, as above). Laptops lost their serial ports long ago, so in practice the far end is a USB serial adapter, and many current devices also offer a USB console port; Juniper's guidance on securing the console covers "Mini-USB Ports" alongside the RJ-45 port (Juniper Networks, Configuration Guidelines for Securing Console Port Access).
The break signal and the boot loader
A serial line has one signal that is not a character: break, the line held at zero for longer than a character takes. Consoles use it as the emergency door. RFC 3871 suggests it as the way to reset the console's own settings (section 2.3.2, as above). On Linux, the kernel's Magic SysRq feature listens for it on the serial console: "You send a BREAK, then within 5 seconds a command key" (Linux kernel documentation, Linux Magic System Request Key Hacks). On Cisco routers, a break during boot stops the normal start and drops into the read-only memory (ROM) monitor, ROMMON, the boot loader from which the configuration register can be changed; Cisco's documentation for its anti-recovery feature tells the operator to press Break "just after the Compiled <date> by message appears during the boot" (Cisco, No Service Password-Recovery, IOS 15.2M&T Security Configuration Guide, updated 2 February 2012; read through a summary). On Junos the loader waits for a keystroke instead: "Press Ctrl+c at the following part in the reboot to bring up the Junos Main Menu", at the line "Autoboot in 1 seconds... (press Ctrl-C to interrupt)" (Juniper, Recover a Root Password, as above).
Both doors have the same property: they only open from the console, during boot. That is what makes the console both the last resort and the most dangerous port on the box.
Password recovery: the console is root
Every provides a way to recover a device whose password is lost, and every such way runs through the console. Juniper is explicit: "You need console access to recover the root password" (Juniper, Recover a Root Password, as above). The procedure boots the device into a recovery mode where the root password can be reset. Cisco's procedure on IOS routers interrupts the boot into ROMMON and changes the configuration register so that the router starts without its saved configuration; the details differ by platform, and Cisco documents them per family.
The security consequence was stated in RFC 3871 in 2004, as a warning about terminal servers: "a password recovery mechanism that is available only via RS232 might give a remote hacker to completely reconfigure a router", and "strong attention should be given to policies, procedures, access mechanisms and physical security governing access to console ports" (RFC 3871, section 2.3.1). The grammar is the RFC's; the meaning is that whoever reaches the console can own the box.
Vendors let you close that door, at a price.
- Cisco's No Service Password-Recovery "prevents anyone with console access from accessing the router configuration and clearing the password" and "prevents anyone from changing the configuration register values and accessing NVRAM", non-volatile memory. Recovery remains possible, but destructively: if the operator confirms the break, "the startup configuration is erased" and the router boots with factory defaults. Cisco "recommends that you save a copy of the system configuration file in a location away from the switch or router" (Cisco, No Service Password-Recovery, as above).
- Juniper's insecure console.
set system ports console insecuremeans "root logins are not allowed to establish terminal connections", and "This option can be used to prevent someone from attempting password recovery by booting into single-user mode, if they do not know the root password" (Juniper, Configuring Junos OS to Set Console and Auxiliary Port Properties, as above); the recovery page puts it more bluntly, "You cannot perform root password recovery if you configure the console port as insecure" (Juniper, Recover a Root Password). In 2019 a flaw let the root password be changed from an insecure console on systems booted from an OAM volume, -2019-0035; the National Vulnerability Database () record says "Password recovery, changing the root password from a console, should not have been allowed from an insecure console" (NIST NVD, CVE-2019-0035). - Juniper's stronger advice is to "disable the console port to prevent unauthorized access to the device", especially "when the device is used as customer premises equipment ()", with the caveat that "It is not always possible to disable the console port, because console access is important during operations such as software upgrades", and a warning that on some SRX firewalls, combining the insecure console with an uninterruptible boot leaves "no alternative recovery method available if Junos OS fails to boot" (Juniper, Configuration Guidelines for Securing Console Port Access, as above). For Common Criteria certification, "the console port must be disabled" (Juniper, Console and Auxiliary Port Properties).
- Log out when the cable comes out. Junos can "log out the session automatically when the data on the console port is lost" with
log-out-on-disconnect; by default it does not (Juniper, as above). Without it, the next person to plug in inherits the last person's session.
The trade-off is real and should be decided per device, in writing:
| Setting | Protects against | Costs you |
|---|---|---|
| console open, recovery allowed | nothing at the console | anyone with physical or terminal-server access can reset the device |
| recovery blocked or destructive | a stolen or unattended device being reconfigured | a lost password means a factory reset and a restore from backup |
| console disabled | all console access | the last resort during an upgrade or a boot failure |
For devices in locked rooms, recovery allowed and the terminal server tightly controlled is the usual choice; for equipment on customer premises or in shared spaces, the opposite.
Terminal servers and console servers
The console solves the outage but not the distance. A terminal server, or console server, is the box in each rack whose serial ports are cabled to the consoles of everything around it, and whose network port is on the management network. RFC 4778's pattern, SSH to the terminal server and from there a session to each console, is still the standard one (RFC 4778, section 2.2.2, as above).
On Cisco access servers the classic access method is reverse Telnet to a port number tied to the serial line: "Port numbers can be obtained by adding 2000 to the line number", so line 5 answers on TCP port 2005, and a session is suspended back to the terminal server with "CTRL+SHIFT+6 then press x" (Cisco, Configure Terminal Server through Menu Options, document 200462, 21 July 2025; read through a summary). The same document's own example configures the access lines with transport input ssh. That is the right default, because RFC 3871 assumed that "There is no need for encryption of communication on out-of-band management interfaces, (e.g., on a serial connection between a terminal server and a device's console port)" only on condition that "The out-of-band management network is secure", and added that "it would be wise, as an application of , to apply the in-band requirements (e.g., encryption) to out-of-band interfaces" (RFC 3871, section 2.3, as above). A terminal server reachable by Telnet from the office network turns every console it holds, and every password recovery behind them, into an in-band service.
Two operational details decide whether the terminal server works on the night it is needed. It must authenticate without the network: RFC 3871 asks that the console "SHOULD support an authentication mechanism which does not require functional IP or depend on external services", such as falling back "to a local account if the TACACS or server does not reply" (RADIUS is the Remote Authentication Dial-In User Service; TACACS, the Terminal Access Controller Access-Control System), and warns that this "represents a trade-off between being able to manage the device (functionality) and security" (RFC 3871, section 2.3.4). How TACACS+ authorizes and records administrators is its own part of the curriculum. And its own way in must not share fate with the production network: its own power, its own uplink, ideally a different provider, and, as RFC 4778 describes, a dial-in or equivalent backup.
Management Ethernet, management networks and loopbacks
The second topology is a network interface on a separate network. Most switches, routers, firewalls and load balancers have a dedicated management port, and the operating system keeps it apart from forwarding. The BIG-IP article on management access shows one vendor's version: a management interface "with its own address and default route, deliberately separate from traffic processing", which explains "most 'I can reach the data plane but not the management plane' mysteries". Network operating systems do the same with a management routing instance; the network operating systems part compares how they separate planes in general.
Where there is no separate network, the management address should at least be stable. 's hardening guidance for Brazilian providers, discussed below, recommends choosing "a loopback interface for your services" and making it part of the management network, because loopbacks "are more stable, they do not suffer from link variations", and if a physical interface fails, routing finds another path (our translation) (NIC.br, Programme for a Safer Internet, Hardening (in Portuguese)). A loopback is in-band, though: it survives a link failure, not a routing mistake.
The management network then needs its own access control. The December 2024 guidance from six agencies to telecommunications operators is the most specific current statement: "Use an out-of-band management network that is physically separate from the operational data flow network. Ensure that management of network infrastructure devices can only come from the out-of-band management network", and "confirm that the out-of-band management network does not allow lateral management connections between devices to prevent lateral movement in the case that one device becomes compromised"; manage only "from trusted devices on trusted networks", using "dedicated administrative workstations (DAWs)", and "control access to device Virtual Teletype (VTY) lines with an " (CISA and partners, Enhanced Visibility and Hardening Guidance for Communications Infrastructure, 4 December 2024). The six authors are CISA, the NSA and the FBI in the United States, the Australian Signals Directorate's Australian Cyber Security Centre (ACSC), the Canadian Centre for Cyber Security (CCCS) and New Zealand's National Cyber Security Centre (NCSC-NZ). The access control list (ACL) side is in ACLs on switches and routers; the idea of a policy enforcement point in front of every administrative interface is the subject of zero trust without the marketing.
Lights-out management on servers
Servers have their own out-of-band processor: the baseboard management controller (), a small computer on the motherboard with its own network services, which keeps working while the main operating system is down or absent. The Intelligent Platform Management Interface (IPMI) is, in CISA's words, "a low level interface specification that has been adopted by many hardware vendors" that "allows a system administrator to remotely manage servers at the hardware level"; it "supports remote booting from a CD or through the network, and monitoring of the server environment", and "IPMI access may also grant remote console access to the system". Vendors brand their controllers; the alert lists HP's Integrated Lights Out (iLO) and Dell's Remote Access Controller (DRAC, today's iDRAC) among the affected products. The United States Cybersecurity and Infrastructure Security Agency (CISA) described the risk in 2013: IPMI "runs on the Baseboard Management Controller (BMC) and provides access to the BIOS, disks, and other hardware", and "Attackers can use IPMI to essentially gain physical-level access to the server", including the ability to "reboot the system, install a new operating system, or compromise data, bypassing any operating system controls" (CISA, Alert TA13-207A, Risks of Using the Intelligent Platform Management Interface (IPMI), last revised 7 October 2016).
The alert's list of problems, credited to the researcher Dan Farmer, is a catalogue of what goes wrong with out-of-band interfaces in general: "Passwords for IPMI authentication are saved in clear text"; "Knowledge of one IPMI password gives you the password for all computers in the IPMI managed group"; BMCs "often run excess and older network services"; "There are few, if any, monitoring tools available to detect if the BMC is compromised". Its remedies are the same as for every management interface: "Restrict IPMI traffic to trusted internal networks", noting the traffic is "usually UDP port 623"; disable "cipher 0", an option "enabled by default on many IPMI enabled devices that allows authentication to be bypassed"; and sanitize the controller's flash at end of life (CISA, TA13-207A). The protocol itself has a flaw no configuration fixes: the IPMI 2.0 specification's RAKP authentication "allows remote attackers to obtain password hashes and conduct offline password guessing attacks by obtaining the from a RAKP message 2 response from a BMC" (NIST NVD, CVE-2013-4786), so a BMC reachable from an untrusted network leaks crackable hashes to anyone who asks.
The successor standard is DMTF's Redfish, "a standard designed to deliver simple and secure management for converged, hybrid IT and the Software Defined Data Center", which "leverages common Internet and web services standards to expose information directly to the modern tool chain" (DMTF, Redfish). A modern interface is not a reason to expose it: CISA's directive of 2023 names "out of band server management interfaces (such as iLo and iDRAC)" among the devices whose management interfaces must come off the internet (see below).
The change that cuts the branch you sit on
The best out-of-band path is the one you never need, because the change undid itself. Junos and the Network Configuration Protocol () build that into the commit. Juniper's documentation describes it: "you can require an explicit confirmation for the commit to become permanent. The confirmed commit operation is useful for verifying that a configuration change works correctly and does not prevent management access to the device. If the change prevents access or causes other errors, the automatic rollback to the previous configuration restores access after the rollback deadline passes", and "If the commit is not confirmed within the specified amount of time, which is 600 seconds (10 minutes) by default, the device automatically loads and commits (rolls back to) the previously committed configuration" (Juniper Networks, Commit the Candidate Configuration Only After Confirmation Using NETCONF). The IETF standard has the same rule: "A confirmed <commit> operation MUST be reverted if a confirming commit is not issued within the timeout period (by default 600 seconds = 10 minutes)" (RFC 6241, section 8.4.1).
Worked through for the three-in-the-morning change, with a confirmation window of 10 minutes:
| Time | Action | State |
|---|---|---|
| 02:58 | commit with confirmation required, 10 minutes | new configuration active, rollback armed for 03:08 |
| 02:59 | your SSH session freezes: the change removed your route | device healthy, unreachable from where you are |
| 03:00 to 03:08 | nothing you can do in-band; you wait, or reach the console | rollback still armed |
| 03:08 | no confirming commit arrived | the device restores the previous configuration |
| 03:09 | your session reconnects | back where you started, with the evidence of what went wrong |
Had the change worked, a second, plain commit before 03:08 would have made it permanent. The timer turns a lockout into a ten-minute wait. It does not replace the console: a change that crashes the routing process, or a power loss in the middle, still needs the second way in. Planning changes so that they can fail safely is the subject of change windows that do not become incidents and blast-radius thinking; knowing whether one worked is proving a change worked.
How out-of-band networks fail
An out-of-band network fails the way any redundant design fails: by sharing something with what it backs up. The recorded cases show the common causes, each a dependency nobody drew on the diagram.
- The same core. In Canada in 2022, the regulator's assessment found the carrier's management network "relied on the Rogers IP core network", as told in physical and power redundancy.
- The same backbone and the same names. At Meta in 2021 the out-of-band access was down with the primary, and the loss of DNS took the internal tools with it (Meta, as above).
- The same power. In the 2012 derecho, monitoring on a short battery went dark long before the office it watched (told in the same article).
- The same identity store. If every console login asks a or RADIUS server reachable only in-band, the console is locked when the network is. RFC 3871 asks for fallback authentication (section 2.3.4), RFC 4778 found ISPs keeping a separate AAA server for out-of-band access (section 2.2.2), and the 2024 guidance asks to "use local accounts only for emergencies and change the passwords after each use", and to ensure "the AAA server is not linked to the primary corporate identity store" (CISA and partners, 2024).
- The same attacker. An out-of-band network that every device can reach is a lateral movement path; hence the 2024 guidance's "does not allow lateral management connections between devices".
The test for each is the same question: if the production network, its power, its DNS and its AAA were all gone, could you still log in to this device from home? If the answer has not been tried recently, it is not yet known.
The management plane as the target
For a decade, government advisories have described attacks that go through the management plane rather than around it. In 2018 the United States and United Kingdom described Russian state-sponsored actors who obtained legitimate credentials and then could "authenticate into the device as a privileged user via remote management services such as Telnet, SSH, or the web management interface", and told operators: "Do not allow unencrypted (i.e., plaintext) management protocols (e.g. Telnet) to enter an organization from the Internet" (CISA, Alert TA18-106A, 16 April 2018). The side of the same campaign is in SNMP decoded.
In June 2023 CISA made the principle binding for United States federal civilian agencies. Binding Operational Directive (BOD) 23-02 observes that "Most device management interfaces are designed to be accessed from dedicated physical interfaces and/or management networks and are not meant to be accessible directly from the public internet". Its scope covers "routers, switches, firewalls, concentrators, proxies, load balancers, and out of band server management interfaces (such as iLo and iDRAC)" (a VPN concentrator is where many virtual private network connections end), over protocols from HTTP and SNMP to Telnet, , the Remote Desktop Protocol (RDP), SSH and the X Window System. Within 14 days of discovery an agency must either "Remove the interface from the internet by making it only accessible from an internal enterprise network (CISA recommends an isolated management network)" or put it behind a "policy enforcement point separate from the interface itself (preferred action)" (CISA, Binding Operational Directive 23-02, 13 June 2023). The directive binds only federal agencies; the engineering it describes applies to everyone.
The December 2024 guidance, written after People's Republic of China (PRC)-affiliated threat actors compromised networks of major global telecommunications providers Officially attributed CISA, NSA, FBI, ASD's ACSC, CCCS and NCSC-NZ, 4 December 2024, adds that "When properly implemented, out-of-band management can mitigate many threat actor tactics, techniques, and procedures ()" (CISA and partners, 2024). That is the strongest endorsement out-of-band management has had: not just a way back in after a mistake, but a way to keep an attacker out of the place where mistakes are made.
The Brazilian angle
The Brazilian Network Information Centre (NIC.br) publishes hardening guidance for providers as part of its Programa por uma Internet mais Segura (Programme for a Safer Internet), and its access section reads like a summary of this part, adapted to the small and medium providers that make up much of Brazil's internet (NIC.br, Programme for a Safer Internet, Hardening (in Portuguese); our translation here and below):
- "Do not use insecure protocols, such as Telnet, , HTTP, MAC-Telnet or Winbox, disable them if they are not in operation. If this is the only means of access to the machine, restrict its reach so it can only be accessed through the management interface, a separate and protected network."
- "Do not allow access through all interfaces of the equipment", and use a loopback as the management address, as quoted above.
- "Force logout after disconnecting the cable", so that no one can reconnect the cable and use your login, which is Junos's
log-out-on-disconnectin one sentence. - "A single default administration account should not be used by different users: the default access should be used only for backup and emergencies", the same rule as the 2024 guidance's emergency-only local accounts.
- Synchronize with .br, the Brazilian legal time service, so that access logs can be correlated, and keep logs off the router, sent securely to another machine.
The list names MikroTik's Winbox and MAC-Telnet explicitly, and the reason is in 's own data. In NIC.br's release of 28 March 2019, , CERT.br's manager, said the honeypots showed scans against port 8291, MikroTik's Winbox service, going from "practically zero" in March 2018 "to a peak that remains significant to this day", and added that MikroTik routers "are widely used by access providers" (NIC.br, CERT.br publishes data on the 2018 security incident landscape, 28 March 2019 (in Portuguese)). A management port reachable from the internet was being searched for within months of the first attacks. No Brazilian regulation read for this article requires a separate management network as such.
What defenders can do
- Draw the management path and try it. From home, with the production network assumed dead, log in to one device of each kind through the out-of-band path, at least once a quarter.
- Give the terminal servers their own everything: power, uplink and, where it matters, a different provider; local authentication that works without the network (RFC 3871, section 2.3.4).
- Encrypt the out-of-band network anyway. SSH to terminal servers, never Telnet; the assumption that the management network is safe is the one attackers test first (RFC 3871, section 2.3).
- Decide password recovery per device. Locked rooms and controlled terminal servers: allow it. Customer premises and shared spaces: block it or make it destructive, and keep configuration backups off the device (Cisco and Juniper, as above).
- the rollback before risky changes. A confirmed commit with a short window, or the platform's equivalent, for every change that touches routing, filters or management access (Juniper; RFC 6241).
- Fence the BMCs. Server controllers on the management network only, cipher 0 off, unique passwords, patched (CISA, TA13-207A).
- Keep management interfaces off the internet. Inventory them as BOD 23-02 describes, and put a policy enforcement point in front of any that must be reached from outside (CISA, BOD 23-02).
- No lateral paths. Devices on the management network should accept management from administrative workstations, not from each other (CISA and partners, 2024).
What to remember
- In-band shares channels with user traffic; out-of-band does not (RFC 3871). The test is whether it survives the failure you are fixing.
- The console is RS-232 at 9600 baud, 8N1, no flow control on almost everything: 960 characters a second. Use it to get in, not to move data.
- Rolled cable: pins 1 to 8 reversed; console transmits on pin 3, which arrives on pin 6.
- Break, or Ctrl+C at the loader, opens the boot loader; the boot loader opens password recovery; so the console is root. Close it per device, knowing what it costs.
- Terminal servers make consoles reachable, and also make password recovery remote: SSH, own power, own uplink, local fallback login.
- BMCs are out-of-band computers in every server; keep IPMI and its successors on the management network.
- A confirmed commit turns a lockout into a ten-minute wait (600 seconds by default in NETCONF and Junos).
- Out-of-band fails by sharing fate: core, DNS, power, AAA. And the management plane is where attackers aim, which is why the 2023 directive and the 2024 guidance both say: separate it.
Sources
- G. Jones (ed.), RFC 3871, Operational Security Requirements for Large Internet Service Provider (ISP) IP Network Infrastructure, IETF, September 2004, Informational, text: definitions of in-band and out-of-band management, the console requirements, fallback authentication, the terminal server warning (accessed 23 November 2026)
- M. Kaeo, RFC 4778, Operational Security Current Practices in Internet Service Provider Environments, IETF, January 2007, Informational, text: console access via OOB networks, terminal servers per location, dial-in backup, separate AAA (accessed 23 November 2026)
- T. Eckert (ed.) and M. Behringer, RFC 8368, Using an Autonomic Control Plane for Stable Connectivity of Network Operations, Administration, and Maintenance (OAM), IETF, May 2018, Informational, text: circular dependencies, Data Communications Networks and their cost (accessed 23 November 2026)
- R. Enns, M. Bjorklund, J. Schoenwaelder and A. Bierman (eds.), RFC 6241, Network Configuration Protocol (NETCONF), IETF, June 2011, text: the confirmed-commit capability and its 600-second default (accessed 23 November 2026)
- Santosh Janardhan, Meta Engineering, More details about the October 4 outage, 5 October 2021, web page: primary and out-of-band access down, DNS and internal tools (accessed 23 November 2026)
- Cisco, Understand Cable Requirements for Console and AUX Ports, document 12223, updated 4 December 2024, web page read through a WebFetch summary (direct copy refused): console settings, rolled cable, RJ-45 pinout, valid combinations (accessed 23 November 2026)
- Cisco, No Service Password-Recovery, IOS 15.2M&T Security Configuration Guide, updated 2 February 2012, web page read through a WebFetch summary (direct copy refused): what the feature prevents, the destructive recovery, the break timing (accessed 23 November 2026)
- Cisco, Configure Terminal Server through Menu Options, document 200462, 21 July 2025, web page read through a WebFetch summary (direct copy refused): port numbering by line, escape sequence, SSH on the access lines (accessed 23 November 2026)
- Juniper Networks, Recover a Root Password, Junos OS, web page: console required, terminal settings, rollover cable, Ctrl+C at the loader, insecure console (accessed 23 November 2026)
- Juniper Networks, Configuring Junos OS to Set Console and Auxiliary Port Properties, web page: 9600 baud default, insecure, log-out-on-disconnect, Common Criteria (accessed 23 November 2026)
- Juniper Networks, Configuration Guidelines for Securing Console Port Access, web page: disabling the console, CPE, upgrades, the SRX warning, Mini-USB ports (accessed 23 November 2026)
- Juniper Networks, Commit the Candidate Configuration Only After Confirmation Using NETCONF, web page: the confirmed commit and its 600-second default (accessed 23 November 2026)
- NIST National Vulnerability Database, CVE-2019-0035, API record (JSON): password recovery from an insecure console (accessed 23 November 2026)
- Linux kernel documentation, Linux Serial Console, web page: console= syntax, 9600n8 default, 115200 maximum (accessed 23 November 2026)
- Linux kernel documentation, Linux Magic System Request Key Hacks, web page: BREAK then a command key on the serial console (accessed 23 November 2026)
- CISA, Alert TA13-207A, Risks of Using the Intelligent Platform Management Interface (IPMI), last revised 7 October 2016, archived web page: BMC access, Dan Farmer's list, UDP 623, cipher 0 (accessed 23 November 2026)
- NIST National Vulnerability Database, CVE-2013-4786, API record (JSON): RAKP password hash disclosure in IPMI 2.0 (accessed 23 November 2026)
- DMTF, Redfish, web page: the standard's description (accessed 23 November 2026)
- CISA, Binding Operational Directive 23-02, Mitigating the Risk from Internet-Exposed Management Interfaces, 13 June 2023, web page: rationale, scope, protocols, required actions (accessed 23 November 2026)
- CISA, NSA, FBI, ASD's ACSC, CCCS and NCSC-NZ, Enhanced Visibility and Hardening Guidance for Communications Infrastructure, 4 December 2024, web page: out-of-band management, no lateral connections, DAWs, VTY ACLs, emergency local accounts, AAA separation (accessed 23 November 2026)
- CISA, Alert TA18-106A, Russian State-Sponsored Cyber Actors Targeting Network Infrastructure Devices, 16 April 2018, web page: management services as the attack path, no plaintext management from the internet (accessed 23 November 2026)
- NIC.br, Programa por uma Internet mais Segura, Hardening, web page: access, loopback, logout, accounts, NTP.br, logs (accessed 23 November 2026)
- NIC.br, CERT.br divulga dados sobre cenário de incidentes de segurança em 2018, São Paulo, 28 March 2019, press release: scans against MikroTik's Winbox port (accessed 23 November 2026)