This part takes the place first planned for an article on network implants, the small commercial devices sold for authorized penetration tests that are connected inside a network or between a keyboard and a computer. That article could not be written: while its draft was being produced, the automated cyber safeguards of Claude, the artificial intelligence (AI) model this site is written with, stopped it. It is now the last part of the series, whose page explains why and what happens next. This part looks at the same problem from the defender's side.

Every part of this series so far has described a device from the side of the person holding it. This part turns around and looks from the switch, the and the asset register. The threat is stated generically on purpose: an unauthorized device connected to a network port, a cable or a keyboard. Commercial implants built for that purpose exist, and the part on Hak5 lists that company's catalogue; nothing here depends on any one product, because the controls do not. After reading, you can retell three documented cases from the reports that describe them, explain what the Institute of Electrical and Electronics Engineers () 802.1X standard, MAC Authentication Bypass (which admits a device by its media access control, or MAC, address), MACsec and the switch features around them actually stop, say what network access control (NAC) products add and where their own documentation says they stop, map the inventory and monitoring rules of the Center for Internet Security (CIS), the National Institute of Standards and Technology (), the Cybersecurity and Infrastructure Security Agency (CISA), the United Kingdom's (UK) National Cyber Security Centre (NCSC), the payment card industry and Brazilian regulators, and run a physical audit of network closets that knows what to do when it finds something.

Why an open port is a door

The standards bodies start from the same admission. The IEEE's page for MAC Security says local networks carry mission-critical applications and that "it is usually not practical to secure an entire network against physical access" (IEEE 802.1 Working Group, 802.1AE: MAC Security). Its device-identity standard adds that local networks "cannot be completely physically secured" (IEEE 802.1 Working Group, 802.1AR: Secure Device Identity), and the port access control standard exists, in its own words, to guard "against transmission and reception by unidentified or unauthorized parties, and consequent network disruption, theft of service, or data loss" (IEEE 802.1 Working Group, 802.1X: Port-Based Network Access Control).

The United States National Security Agency (NSA) put the consequence plainly in its 2022 network infrastructure guidance: "A switchport not configured to enforce port security could allow an adversary with physical access to connect an unauthorized system", which could then "act as a trusted system and bypass existing security restrictions" (NSA, Network Infrastructure Security Guidance, PP-22-0266, March 2022). 's ATT&CK knowledge base files the behaviour as technique T1200, Hardware Additions: adversaries "may physically introduce computer accessories, networking hardware, or other computing devices into a system or network that can be used as a vector to gain access", and it notes that public references of use by threat actors are scarce while many red teams use the approach for initial access (MITRE ATT&CK, T1200 Hardware Additions, version 1.7, last modified 24 October 2025).

Three entry points recur in the sources, and each is watched by a different control:

Where the device attachesWhat normally notices itWhere this article covers it
A wall jack, a floor box or a spare switch portPort authentication (802.1X, MAC Authentication Bypass), port security, NAC profiling, inventory scansThe standard at the port; switch features; NAC; inventory
A cable, between a legitimate device and its portSingle-host authentication modes, MACsec, link state alarms, physical inspectionHost modes; MACsec; link alarms; the audit
A keyboard or Universal Serial Bus (USB) port on a computerDevice control and allow lists on the computer, physical inspectionThe keyboard and the USB port

The silo problem is organizational before it is technical. CISA's guide to security convergence observed that physical security and cybersecurity divisions were often still treated as separate entities, and that a gap in access controls, such as unauthorized access to facilities or to system permissions, could let someone use a universal serial bus (USB) device or other removable hardware (CISA, Cybersecurity and Physical Security Convergence, file dated 5 January 2021; link dead as of 17 November 2026). NIST's incident response guide, Special Publication (SP) 800-61, names "Physical security and facilities management" among the parties a response needs, because "Some computer security incidents occur through physical security breaches or involve coordinated logical and physical attacks" (NIST SP 800-61 Revision 3, April 2025).

Three documented cases

DarkVishnya: banks entered through meeting rooms (2017 and 2018)

Kaspersky's researchers were called to a series of thefts in 2017 and 2018 and found "a common springboard: an unknown device directly connected to the company's local network", at no fewer than eight banks in Eastern Europe, with damage "estimated in the tens of millions of dollars" (Kaspersky, Securelist, DarkVishnya: Banks attacked through direct connection to local network, 6 December 2018). The intruder walked in "under the guise of a courier, job seeker, etc." and connected a device to the network, "for example, in one of the meeting rooms"; a photograph in the report carries the caption "High-tech tables with sockets are great for planting hidden devices" (same report). The devices were one of three kinds: a netbook or cheap laptop, a Raspberry Pi single-board computer, or a USB attack tool of the kind covered in the part on keystroke injection; on the network each "appeared as an unknown computer, an external flash drive, or even a keyboard", and the attackers reached it through "a built-in or USB-connected GPRS/3G/ modem" (same report). The modem gave the attackers a path to the device that did not depend on the bank's own internet connection.

Kaspersky's press release quoted its researcher Sergey Golovanov on why the cases were hard: "These unknown devices, smuggled in and hidden by intruders, could not be found remotely", and it advised financial institutions to "Pay particular attention to the monitoring of connected devices" (Kaspersky, DarkVishnya: new series of unprecedented cyber-robberies, press release dated 16 December 2018). MITRE lists DarkVishnya (group G0105) as the first procedure example under T1200 (MITRE ATT&CK, T1200).

UNC2891: a Raspberry Pi on the switch next to a cash machine (2024, reported 2025)

Group-IB's incident responders described, on 30 July 2025, a case in which the attacker used physical access to install a Raspberry Pi "connected directly to the same network switch as the ", that is, the automated teller machine, with "a 4G modem, allowing remote access over mobile data"; a backdoor then opened an outbound command-and-control channel through a dynamic DNS domain, "completely bypassing perimeter firewalls and traditional network defenses" (Group-IB, UNC2891 Bank Heist: Physical ATM Backdoor and Linux Forensic Evasion, 30 July 2025). The device was found through the network, not on the bench: a review of the network monitoring server showed "outbound beaconing occurred every 600 seconds" and repeated connection attempts to the Raspberry Pi, while process listings on the hosts showed nothing, because the actor hid its processes with a Linux technique that MITRE has since catalogued as T1564.013; Group-IB concludes that "Memory and network forensics were the only effective techniques in detecting the backdoor" (same post). Removing the device did not end the intrusion: "Even after the Raspberry Pi was discovered and removed, the attacker maintained internal access through a backdoor on the Mail Server" (same post). Among Group-IB's recommendations is one line for the facilities team: "Physically secure switch ports and ATM-connected infrastructure" (same post).

The accounts of the outcome differ. Group-IB's post says the ultimate target was the ATM switching server, to deploy a rootkit called CAKETAP and spoof authorization messages, and that "the threat actor's campaign was disrupted before they could achieve their objective" (Group-IB). The Register reported on 1 August 2025 that Group-IB told it the attack took place in the first quarter of 2024 at an Indonesian bank, involved paying "runners" to plant the devices, and that "the team successfully withdrew cash from a compromised ATM, and the attack was mitigated a few days after that first withdrawal", without saying how much (The Register, Connor Jones, 1 August 2025). The post speaks of the ultimate objective and the article of a first withdrawal; neither source reconciles the two accounts. The cluster itself was named years earlier: Mandiant's 2022 overview described UNC2891 as financially motivated, fluent in and Linux, and the author of a CAKETAP variant that "manipulated messages transiting a victims Automatic Teller Machine (ATM) switching network", while stating that it had "not determined" UNC2891 and the earlier cluster UNC1945 to be the same actor (Mandiant, Have Your Cake and Eat it Too? An Overview of UNC2891, 16 March 2022).

NASA JPL: the unauthorized device the attacker found (2018, audited 2019)

The third case is different in kind from the first two. The National Aeronautics and Space Administration (NASA) Office of Inspector General (OIG) audited the Jet Propulsion Laboratory (JPL) after an April 2018 incident in which an external user's account was compromised and used "to steal approximately 500 megabytes of data from one of its major mission systems" (NASA OIG, Cybersecurity Management and Oversight at the Jet Propulsion Laboratory, IG-19-022, 18 June 2019). The Raspberry Pi in this story was not planted by the attacker. The report says the attack "exploited this particular weakness when the hacker accessed the JPL network by targeting a Raspberry Pi computer that was not authorized to be attached to the JPL network", and that "The device should not have been permitted on the JPL network without the JPL OCIO's review and approval", the OCIO being the Office of the Chief Information Officer (same report, page 12).

The weakness was the inventory. JPL's Information Technology Security Database was "incomplete and inaccurate"; of 13 systems the auditors sampled, four "were not properly recorded and could not be traced"; 8 of 11 system administrators kept their own spreadsheets and updated the database by hand, and one said he did not regularly enter new devices "because the database's updating function sometimes does not work and he later forgets"; the auditors concluded that "assets can be added to the network without being properly identified and vetted by security officials" (same report). The gateway that let partners into a shared environment "had not been properly segmented", which let the attacker reach the mission network from the compromised external system (same report). NASA concurred with 9 of the 10 recommendations; it did not concur with the one on a formal threat-hunting process (same report).

DarkVishnyaUNC2891NASA JPL
Who put the device thereThe attacker, posing as a visitor (Securelist)People paid by the attackers, per The Register; Group-IB says physical access (The Register; Group-IB)An insider or administrator, without approval; the attacker found it (NASA OIG)
Where it attachedLocal network sockets, for example in meeting roomsThe same switch as the ATMThe JPL network
How the attacker reached itIts own cellular modemIts own 4G modem, then a dynamic DNS channelThrough a compromised external user system and an unsegmented gateway
How it came to lightIncident response after thefts; "could not be found remotely"Network forensics: beaconing every 600 secondsIncident response and the OIG audit
What the reports single outMonitoring connected devicesPhysically securing switch ports; memory and network forensicsA complete inventory; segmentation; reviewing new devices

The standard at the port: IEEE 802.1X

How 802.1X and the Extensible Authentication Protocol () work is covered in the article on 802.1X and its EAP methods and, packet by packet, in RADIUS end to end; the 802.1X glossary entry has the short form, and the history of network access control explains why the idea took two decades to stick. What matters here is the current text and what it promises against an unknown device.

The edition in force is IEEE Std 802.1X-2020. Its project was approved on 14 June 2018, the standard on 30 January 2020, and it was published on 28 February 2020, superseding 802.1X-2010; a corrigendum, 802.1X-2020/Cor 1-2026, followed (IEEE Standards Association, IEEE 802.1X-2020). The working group lists the 2020 text as a revision of 802.1X-2010 and its amendments, the MACsec Key Agreement extensions of 802.1Xbx-2014 and the data model of 802.1Xck, with a further revision, P802.1X-2020-Rev, in progress, and says the standard is "Available free from the IEEE Get Program" (IEEE 802.1, 802.1X). The corrigendum's project authorization was approved on 10 September 2025 (IEEE 802.1, 802.1X-2020/Cor1).

The abstract says the standard lets an administrator "restrict the use of IEEE 802(R) service access points (ports) to secure communication between authenticated and authorized devices", and that it specifies the protocols "used to discover and establish the security associations used by IEEE 802.1AE(TM) MAC Security" (IEEE SA). Each port has two halves: "A Controlled Port that provides secure access-controlled communication, and An Uncontrolled Port used by authentication and key management protocols"; peers must authenticate mutually, "specifying the use of the Extensible Authentication Protocol (EAP, 3748) and its encapsulation over LANs (EAPOL)" (IEEE 802.1, 802.1X). The Internet Engineering Task Force () defines EAP in Request for Comments (RFC) 3748, which says it "typically runs directly over data link layers such as Point-to-Point Protocol () or IEEE 802, without requiring IP" (RFC 3748, June 2004), which is why an unknown device gets nothing, not even an address, until it proves something. The switch relays the exchange to a Remote Authentication Dial-In User Service (RADIUS) server, following the usage guidelines of RFC 3580 (September 2003).

What the device proves is the method's business. For the "unknown device" problem the strong answer is a certificate: , EAP with Transport Layer Security (RFC 5216, March 2008), updated for TLS 1.3 by RFC 9190 (February 2022). The NSA's guidance calls 802.1X with "a trusted digital certificate installed on the device" the "more robust solution": harder to implement, but "easier to manage than port security" and offering "a higher level of assurance" (NSA, PP-22-0266). The UK NCSC makes the same point in general terms: certificates "are normally a more robust method for authentication" than passwords and can be used "for network access" (NCSC, Network security fundamentals, 6 February 2025). NIST's control IA-3 asks organizations to "Uniquely identify and authenticate" devices before a local, remote or network connection, and names IEEE "802.1x and Extensible Authentication Protocol [EAP], server with EAP-Transport Layer Security [TLS] authentication" as examples of authentication solutions, alongside "shared known information" such as MAC and addresses used for identification (NIST SP 800-53 Revision 5, September 2020, IA-3).

Devices that run unattended need a certificate they did not have to type. IEEE 802.1AR defines a "globally unique manufacturer provided Initial Device Identifier (IDevID), stored in a way that protects it from modification", on which an administrator can build Locally Significant Device Identifiers that are "infeasible" to forge or transfer without the private key; the 2018 revision added a P-384 signature suite and a 2026 amendment adds the Module-Lattice-Based Digital Signature Algorithm (IEEE 802.1, 802.1AR).

Host modes: how many devices a port may carry

An authenticated port can be told how many devices to admit, and this setting decides whether a device slipped in behind a legitimate one gets a free ride. Cisco and Juniper document the choices in their own words:

Mode ( term)What the vendor says it doesSource
Single-host (Cisco default)"only one client can be connected to the 802.1x-enabled switch port"Cisco, IOS XE Dublin 17.12.x, 802.1X chapter
Multiple-hosts (Cisco)"only one of the attached clients must be authorized for all clients to be granted network access"Same chapter
Multidomain authentication (Cisco)"allows both a data device and a voice device, such as an IP Phone, to connect to the same switch port"Same chapter
Multiple authentication (Cisco)"Each host is individually authenticated"Same chapter
Single supplicant (Juniper)"Authenticates only the first end device"; the others "effectively piggyback on the first end device's authentication"Juniper, 802.1X Authentication, 25 June 2025
Single-secure supplicant (Juniper)"Allows only one end device to connect to the port"Same page
Multiple supplicant (Juniper)"Each end device is authenticated individually"Same page

Cisco's guide makes the consequence explicit when it notes that a feature for replacing a host's address "does not apply to ports in multiple host mode, because in that mode, only the first host requires authentication" (Cisco). In the modes where each device authenticates (Cisco's single-host, multidomain and multiple authentication, Juniper's single-secure and multiple supplicant) there is no such piggyback, because every device must present its own identity; the earlier, standard-level limit of an authenticated port that does not re-check each frame is recorded in the 802.1X article, together with MACsec as the standard's answer.

The server behind the port

The authentication server is part of the perimeter too. In July 2024 researchers disclosed (Common Vulnerabilities and Exposures entry -2024-3596), in which "a attacker between the RADIUS client and server" could forge an accept message; it affects "all RADIUS implementations using non-EAP authentication methods over UDP", while "EAP authentication methods are protected" (Blast-RADIUS). The fixes are the researchers' and vendors': clients and servers that "always send and require" the Message-Authenticator attribute in the short term, and RADIUS inside an encrypted, authenticated channel such as RADIUS over TLS in the long term (same site; CERT Coordination Center (CERT/CC), VU#456537, 9 July 2024, revised 3 September 2025). This bears on the subject of the next section: Cisco's guide says a MAC Authentication Bypass request is, "By default", a "Password Authentication Protocol () authentication request", so it falls in the non-EAP class the researchers describe (Cisco, MAC Authentication Bypass Deployment Guide, 6 September 2011).

MAC Authentication Bypass and its documented limits

Printers, cameras, badge readers and medical or industrial controllers often have no 802.1X software. The industry's fallback is MAC Authentication Bypass (MAB), in which the switch submits the device's media access control (MAC) address as its identity. Cisco's deployment guide is unusually frank: "Unlike IEEE 802.1X, MAB is not a strong authentication method", and "MAB can be defeated by spoofing the of a valid device" (Cisco, MAC Authentication Bypass Deployment Guide, last updated 6 September 2011). Extreme Networks lists the same disadvantage for its MAC-based mode: "Security is based on the MAC address of the client, so the network is more vulnerable to spoofing attacks", and adds that "If no password is configured, the MAC address is also used as the password" (Extreme Networks, ExtremeXOS 33.1.1 User Guide, Web-Based, MAC-Based, and 802.1X Authentication, October 2024). Juniper's MAC RADIUS "simulates the supplicant functionality of the client device, using the MAC address of the client as username and password" (Juniper, 802.1X Authentication). The NSA says the same of plain port security: "adversaries who can spoof a MAC address can bypass it as well" (NSA, PP-22-0266).

Worked example: what the RADIUS server sees for one printer

Cisco's guide specifies the request a Catalyst switch sends. Using a MAC address from the range reserved for documentation, 00-00-5E-00-53-00 to 00-00-5E-00-53-FF (RFC 9542, April 2024, section 2.1.4), a printer at 00-00-5E-00-53-1A produces this:

RADIUS attributeValue sentWhat Cisco's guide says
1, User-Name00005e00531a"12 hexadecimal digits, all lowercase, and no punctuation"
2, User-Passwordthe same string, hidden as RADIUS hides passwords"Same as the username but encrypted"
31, Calling-Station-Id00-00-5E-00-53-1A"6 groups of 2 hexadecimal digits, all uppercase, and separated by hyphens"
6, Service-Type10 (Call-Check)"Cisco switches uniquely identify MAB requests by setting Attribute 6 (Service-Type) to 10 (Call-Check)"

All of it derives from a value the device broadcasts in every frame. An optional EAP- form exists (EAP's MD5-Challenge method, defined in RFC 3748), but the guide says it "does not offer any additional security by encrypting the MAC address in the password" and makes MAB requests hard to tell from 802.1X ones (Cisco). The RADIUS packet decoder on this site reads such a packet field by field, and the OUI lookup shows which manufacturer an Organizationally Unique Identifier (OUI), the first part of a MAC address, was assigned to, which is a clue, not a proof.

The guide also gives the timing: when MAB is a fallback, it "waits for IEEE 802.1X to time out", and with the default tx-period of 30 seconds and max-reauth-req of 2 the timeout is "(max-reauth-req +1) * tx-period", 90 seconds (same guide). And it names the operational burden: "Creating and maintaining an up-to-date MAC address database is one of the primary challenges of deploying MAB" (same guide), which is the NASA lesson in another form.

What the vendors pair with MAB

The documented mitigations narrow what a MAB-admitted device can do and watch whether it still behaves like what it claimed to be:

  • Limited authorization. MAB "is compatible with ACLs that are dynamically assigned by the RADIUS server" (access control lists, or ACLs) and with dynamically assigned virtual local area networks (VLANs), so a printer's MAC can be admitted to a printer segment only (Cisco).
  • Changing its mind. RADIUS Change of Authorization (CoA) on Catalyst switches supports "four actions for CoA: reauthenticate, terminate, port shutdown, and port bounce" (same guide).
  • Profiling for anomalies. Cisco's Identity Services Engine (ISE) added anomalous endpoint detection, one of whose use cases "includes detection of MAC address spoofing"; it flags a change in the access method (NAS-Port-Type), in the Dynamic Host Configuration Protocol () class identifier, or in the endpoint profile "from Printer or IP phone to Workstation", and can then "send a CoA" or quarantine the endpoint (Cisco, Configure Anomalous Endpoint Detection and Enforcement on ISE 2.2, document 200973, updated 16 May 2018).
  • Moving devices off MAB. Device certificates under 802.1AR, where the manufacturer supports them, replace the MAC with something that cannot be copied off the wire (IEEE 802.1, 802.1AR).

MACsec: protecting the cable itself

802.1X decides who may start talking on a port; it does not, by itself, protect what is said afterwards. IEEE 802.1AE MAC Security (MACsec) does. The standard "specifies provision of connectionless user data confidentiality, data integrity, data origin authenticity, and privacy protection", and "The MACsec Key Agreement Protocol (MKA) specified in IEEE Std 802.1X discovers mutually authenticated MACsec peers, and elects one as a Key Server that distributes the symmetric Secure Association Keys (SAKs)" (IEEE 802.1, 802.1AE). Its history, from the same page: first edition in 2006; the --256 cipher suite (Galois/Counter Mode with the 256-bit Advanced Encryption Standard) in 802.1AEbn-2011; extended packet numbering in 802.1AEbw-2013; Data Encryption devices in 802.1AEcg-2017; a consolidated 802.1AE-2018; MAC Privacy Protection in 802.1AEdk-2023. An amendment specifying the Ascon cipher suite of NIST SP 800-232 is in draft (IEEE SA).

On the wire, Juniper describes an 8-byte header and a 16-byte tail on every frame, checked by the receiver; "If the data integrity check detects anything irregular about the traffic, the traffic is dropped" (Juniper, Understanding Media Access Control Security, 9 June 2026). Keys come either from a pre-shared connectivity association key (CAK), which Juniper recommends for links between switches or routers, or dynamically from 802.1X, where the peers derive the CAK during authentication; dynamic mode "relies on certificate-based validation using Extensible Authentication Protocol-Transport Layer Security (EAP-TLS)" and is the mode for a switch-to-host link (same page). Cisco's Catalyst switches "support 802.1AE encryption with MACsec Key Agreement (MKA) on switch-to-host links", with the switch acting as key server that "generates a random secure association key (SAK)" for the client (Cisco, IOS XE Dublin 17.12.x, MACsec chapter).

What MACsec adds against a device inserted on a cable is this: without the keys, it cannot read frames on that link (if encryption is on) and cannot inject frames that pass the integrity check. Juniper's documentation goes further, saying MACsec "is capable of identifying and preventing most security threats, including denial of service, intrusion, man-in-the-middle, masquerading, passive wiretapping, and playback attacks" (Juniper); the IEEE's own scope lists confidentiality, integrity, origin authenticity and privacy, and does not list availability (IEEE 802.1, 802.1AE). The documented limits are worth knowing before relying on it:

  • Policy. On Cisco switches, "With should-secure enabled, if the peer is configured for MACsec, the data traffic is encrypted", "otherwise it is sent in clear text"; with must-secure, "Unencrypted packets are dropped" and only EAPOL traffic is exempt (Cisco). A link where the cable is in doubt needs the strict policy.
  • Hop by hop. "MACsec with MKA is supported only on point-to-point links" (same chapter); Juniper says MACsec must be configured "individually on each link" and recommends combining it with protocols (Juniper).
  • What stays visible. On Juniper logical interfaces, " tags are not encrypted", and encryption itself "is optional and user-configurable" (same page).
  • Cost. Cisco's default cipher suite is GCM-AES-128, and the 256-bit and extended packet numbering suites "are supported only with Network Advantage license" (Cisco); Extreme describes line-rate MACsec as done "by the use of specialized cryptographic hardware" (Extreme Networks, ExtremeXOS 33.1.1, Security Features Overview), so both ends must have it.

Switch features that make a port harder to abuse

Extreme's documentation states the design principle: "No one feature can ensure security, but by using a number of features in concert, you can substantially improve the security of your network" (Extreme Networks, Security Features Overview). Why a switch believes any source address, and what learning limits, static entries and move detection do on nine platforms, is in the MAC address table. The table gathers the features the vendors document, with what each does and the limit or default that matters.

FeatureWhat it does, in the vendor's wordsDefault and limits worth knowing
Port security and sticky MAC"Port security limits the number of valid MAC addresses allowed to connect to a switchport" (NSA); persistent MAC learning, "Also known as sticky MAC", keeps learned addresses across reboots (Juniper, Overview of Port Security, 24 November 2023)"Port security is not a replacement for a NAC, such as 802.1X"; it "can be difficult to manage" and is spoofable (NSA)
MAC move limiting"Tracks MAC movement and detects MAC spoofing on access ports" (Juniper)A detection, not an authentication
Disabling unused portsShut them and place them in "an unused VLAN, which is not the default" (NSA)"If a device connected to the port is powered off, it may appear that the switchport is unused" (same guide)
DHCP snooping"Filters and blocks ingress Dynamic Host Configuration Protocol (DHCP) server messages on untrusted ports, and builds and maintains a database of DHCP lease information" (Juniper)"not enabled in the default configuration"; by default "access ports are untrusted, and trunk ports are trusted" (same page)
"Prevents Address Resolution Protocol () spoofing attacks. ARP requests and replies are compared against entries in the database" (same page)Depends on the snooping database; blocked packets are logged with the sender's addresses (same page)
"the source IP address in the packet sent from an untrusted access interface is validated against the DHCP snooping database. If the packet cannot be validated, it is discarded" (same page)Fortinet: disabled by default, enabled per port; "The discarded addresses are not logged" (Fortinet, FortiSwitch 7.6.0 FortiLink Guide, Configuring IPv4 source guard)
- inventoryThe Link Layer Discovery Protocol's Media Endpoint Discovery extension carries inventory fields "advertised by the remote device": hardware, and software revision, serial number, manufacturer, model and asset ID (Extreme Networks, ExtremeSwitching 200 Series Administration Guide, October 2018)Self-reported: useful for inventory, never proof of identity (LLDP)
Link and violation alarmsThe Interfaces Group Management Information Base () defines a linkDown notification when a link "is about to enter the down state" and a matching linkUp (RFC 2863, June 2000); the NSA advises configuring each port to "either shutdown or send an trap message when a port security violation occurs"An unplug and replug on a desk port is an event worth a ticket when it was not scheduled

Two of those are covered at more length elsewhere: ARP and MAC addresses for the protocol that DHCP snooping and ARP inspection protect, and FortiSwitch port security for one vendor's full feature set. The glossary entry on ARP poisoning has the attack that the inspection stops, and ARP poisoning on a switched LAN works it through.

Worked example: the NSA's hardened access port, line by line

The NSA guide gives a configuration for an access port with port security, in Cisco-style syntax (NSA, PP-22-0266, section 9.2):

interface <INTERFACE>
 switchport mode access
 switchport port-security
 switchport port-security maximum 1
 switchport port-security violation shutdown
 switchport port-security mac-address sticky
  • switchport mode access fixes the port as an access port; the guide recommends disabling dynamic trunking, because a port that negotiates could be told by an attached device "to become a trunk port" and see other VLANs (same guide, section 9.1).
  • switchport port-security turns the feature on; a dynamic port cannot have it, which is why the previous line comes first (same guide).
  • maximum 1 admits exactly one MAC address; the guide says "exactly one, or two if VoIP capabilities are in use", for a phone with a computer behind it.
  • violation shutdown disables the port when a second address appears; "If shutting down a port is not an acceptable action because of availability concerns, the shutdown keyword can be replaced with restrict".
  • mac-address sticky writes the first address learned into the configuration; "the configuration will need to be saved to retain the information after a reboot".

For ports with nothing on them, the same guide shuts the interface and parks it in an unused, disabled VLAN so that it stays useless "even if the ports become enabled" (section 9.4):

vlan 999
 name UNUSED-DISABLED
 shutdown
interface <INTERFACE>
 switchport mode access
 switchport access vlan 999
 switchport trunk native vlan 998
 no switchport voice vlan
 shutdown

None of this authenticates anything; it narrows what a stranger can do on a port and makes the attempt visible. The guide's own ranking is that port security "should be used when a NAC cannot be implemented" (section 9.2).

Network access control: admission, profiling, posture, quarantine

NAC is the product category that combines the pieces above with a policy server. The NSA's definition is short: "A NAC solution prevents unauthorized physical connections and monitors authorized physical connections on a network" (NSA, PP-22-0266, section 2.5). The Payment Card Industry Security Standards Council (PCI SSC) warned in 2011 that NAC "solutions can differ greatly in functionality" (PCI SSC, Information Supplement: PCI DSS Wireless Guidelines, version 2.0, August 2011), which is still the right way to read a datasheet. In vendor documentation, four functions recur.

Admission. The switch or access point enforces the decision through 802.1X, MAB or web authentication, and the policy server returns a VLAN, an access list or a refusal. Juniper's documentation shows the failure branches: a guest VLAN for "nonresponsive end devices that are not 802.1X-enabled" and a server-reject VLAN that gives limited access after a failed authentication (Juniper, 802.1X Authentication).

Profiling. Deciding what a device is, from what it sends. Aruba's ClearPass documentation lists its collectors: DHCP "attributes such as option 55 (parameter request list), option 60 (vendor class), and the options list"; HTTP user-agent strings that "further refine classification results"; the MAC OUI; the Simple Network Management Protocol (SNMP), which "is used to discover and profile static IP devices"; subnet scans; and (HPE Aruba Networking, ClearPass Policy Manager 6.11, Endpoint Information Collectors). Aruba's switches can do part of it themselves: device fingerprinting "helps categorize the devices by analyzing the data sent by the end devices" and forwards the data to the policy server (HPE Aruba Networking, AOS-S 16.11, Device Fingerprinting). The two FortiNAC articles cover one product's version in depth: device modeling and profiling and isolation and onboarding. Profiling reads what a device sends and how it behaves, and Cisco names "detection of MAC address spoofing" as a use case of its feature that flags a profile that changes (Cisco, document 200973).

Posture. Checking a managed device's state (patches, anti-malware, configuration) before or after admission. ClearPass's agent "performs advanced endpoint posture assessment" (HPE Aruba Networking, ClearPass collectors). The IETF standardized the architecture as Network Endpoint Assessment (NEA) in 2008, and its requirements document is candid about the limit: the endpoint "needs to be trusted to accurately represent the requested security posture", and the model "does not explicitly specify how to detect or prevent lying endpoints that intentionally misrepresent their posture" (RFC 5209, June 2008, section 8.1.1). Posture is a check on friendly devices, not a test of strangers.

Quarantine. Moving a device somewhere harmless. NIST's control CM-8(3) lists the responses to an unauthorized component as "disable network access by such components; isolate the components; notify", and explains that isolation can mean "placing unauthorized system components in separate domains or subnets or quarantining such components" (NIST SP 800-53 Rev. 5, CM-8(3)). CIS safeguard 1.2 gives the same three choices: remove the asset from the network, deny it remote access, or quarantine it (CIS Controls Navigator, version 8).

A newer idea runs the other way: let the device declare what it needs. The IETF's Manufacturer Usage Description (MUD) specification gives "a means for end devices to signal to the network what sort of access and network functionality they require", through a DHCP option, an LLDP field, a URL or an certificate extension, with signed descriptions (RFC 8520, March 2019). It narrows what an admitted thing may reach; it does not, on its own, keep an unknown thing out.

Knowing what is there: inventory and discovery

Every control above compares a device with a list. The NASA audit shows what happens when the list is a set of private spreadsheets. The frameworks agree on the remedy and differ in detail.

SourceWhat it requires or recommends
CIS Controls Navigator, version 8; CIS describes version 8.1 as current (CIS Control 1)1.1 "Establish and Maintain Detailed Enterprise Asset Inventory", reviewed twice a year (all implementation groups); 1.2 "Address Unauthorized Assets" weekly (all groups); 1.3 an active discovery tool run "daily, or more frequently" (groups 2 and 3); 1.4 DHCP logging to update the inventory (groups 2 and 3); 1.5 a passive discovery tool reviewed at least weekly (group 3); 13.9 "Deploy Port-Level Access Control", which "utilizes 802.1x, or similar network access control protocols" (group 3)
NIST SP 800-53 Rev. 5CM-8 an inventory that "Accurately reflects the system"; CM-8(3) "Detect the presence of unauthorized hardware, software, and firmware components" by automated mechanisms; CM-7(9) "Prohibit the use or connection of unauthorized hardware components"; -4 monitoring to detect "Unauthorized local, network, and remote connections"; IA-3 device authentication
NIST Cybersecurity Framework (CSF) 2.0, 26 February 2024ID.AM-01 "Inventories of hardware managed by the organization are maintained"; PR.AA-06 physical access "managed, monitored, and enforced"; DE.CM-01 networks monitored; DE.CM-02 "The physical environment is monitored to find potentially adverse events"
CISA, Cross-Sector Cybersecurity Performance Goals (CPGs)In the first version of the goals, as an automated read of the page gave them: 1.A an inventory of all organizational assets with an IP address, IPv6 included, and of operational technology (OT); 2.Q a hardware and software approval process; 2.V a prohibition on connecting unauthorized devices. CISA announced version 2.0 of the goals on 11 December 2025, and the page now presents version 2.0 (CISA bulletin)
NCSC, 10 Steps: Asset management, 11 May 2021Use logging and monitoring "(or other asset discovery tools) to help identify unknown assets"; "test your system to ensure unauthorised devices or non-compliant software configurations can be detected"; and "Recognise that you are unlikely to have a complete understanding of your organisation's assets"

NIST adds a practical warning to CM-8(3): when choosing detection tools, consider "whether such mechanisms depend on the ability of the system component to support an agent or supplicant in order to be detected since some types of components do not have or cannot support agents (e.g., IoT devices, sensors)" (NIST SP 800-53 Rev. 5).

Passive and active discovery. The tools are old and well documented. The Lawrence Berkeley National Laboratory's network research group still lists arpwatch, "the ethernet monitor program; for keeping track of ethernet/ip address pairings" (LBNL Network Research Group). Zeek's known-hosts script "logs hosts that Zeek determines have performed complete TCP handshakes and logs the address once per day", which gives a daily count of addresses in use (Zeek documentation, known-hosts.zeek). p0f identifies operating systems from traffic it merely watches, "often as little as a single normal SYN", "without interfering in any way" (p0f v3). Active tools such as Nmap use ARP requests "for any targets on a local ethernet network" (Nmap Reference Guide, Host Discovery). A device with its own cellular modem may say very little on the wired network, which is why Group-IB found UNC2891's device through a pattern (regular beacons) rather than an inventory gap (Group-IB).

Wireless is part of the same inventory. A rogue access point plugged into a wall jack is both a wired and a radio problem; the part on the WiFi Pineapple and the rogue access point entry cover the radio side, and NIST's wireless guidance asks for continuous monitoring that detects "Unauthorized devices, including rogue APs and unauthorized client devices" on wireless local area networks (WLANs) (NIST SP 800-153, February 2012). The PCI SSC's wireless supplement, written for version 2.0 of the PCI Data Security Standard (), explains why one method is not enough: "Wired-side network scans may identify some but not all unauthorized wireless devices", for instance not "a wireless access point attached via USB to an authorized system"; "physical intervention remains the ultimate response to remove the rogue device"; and physical inspections, while giving "a current view of connected devices", "would be unlikely to detect rogue devices that were previously connected and that had been removed prior to the inspection" (PCI SSC, PCI DSS Wireless Guidelines, August 2011). The standard has moved on since: the Council says PCI DSS v4.0 became fully effective after version 3.2.1 was retired on 31 March 2024, that version 4.0.1 was "released as a limited revision in June 2024", and that its future-dated requirements took effect on 31 March 2025 (PCI SSC blog, Now is the Time for Organizations to Adopt the Future-Dated Requirements of PCI DSS v4.x).

The keyboard and the USB port

The third entry point sits on the desk rather than in the closet. The part on keystroke injection covers the controls in depth, and this part keeps to the same level. On Linux, the USBGuard daemon applies a rule set to each new device and, where no rule matches, its "implicit default is to block the device until a decision is made by the user" (USBGuard, Rule Language); the project describes itself as protection "against rogue USB devices" through allow and block lists (USBGuard). On Windows, Microsoft Defender for Endpoint's device control governs removable storage, printers, Bluetooth and other peripherals (Microsoft Learn, Device control). MITRE's mitigation M1034, Limit Hardware Installation, is the policy counterpart to T1200 (MITRE ATT&CK, T1200). A device placed between a keyboard and a computer presents itself to the computer as a keyboard; the controls that see it are those that know which keyboard ought to be there, and a physical look behind the desk.

Physical security: closets, cables, seals and visitors

NIST's physical controls read like a checklist for this topic. PE-4, Access Control for Transmission, asks organizations to control physical access to distribution and transmission lines and gives the examples "disconnected or locked spare jacks, locked wiring closets, protection of cabling by conduit or cable trays, and wiretapping sensors"; PE-6 asks them to monitor physical access and review the logs; PE-8 to keep and review visitor access records, including "purpose of visits, and the names and organizations of individuals visited"; and PE-3(5) to employ anti-tamper technologies, including "tamper-detection seals", to "detect" or "prevent" tampering with chosen hardware (NIST SP 800-53 Rev. 5). The wiring closet, the patch panel and the conventions in structured cabling are what an audit walks through.

The UK's National Protective Security Authority (NPSA), writing with the NCSC for data centre owners, lists the measures for the most sensitive cable rooms, the meet-me rooms where carriers interconnect: "access control and screening, intrusion detection such as CCTV, entry and exit searches, rack protection, anonymisation, and asset destruction" (CCTV being closed-circuit television), and asks owners to mitigate "insider risk" (NPSA and NCSC, Data Centre Security: Key Considerations for Data Centre Owner Senior Leaders, 2022). The DarkVishnya visitors who came as couriers and job seekers are the case for PE-8 (Securelist); the NASA administrator who never registered a device is the case for an inventory that someone checks (NASA OIG).

What seals can and cannot do. Tamper-evident seals on closet doors, patch panels and rack doors are cheap, which is part of the problem. Seals, as Roger Johnston and Anthony Garcia of Los Alamos National Laboratory's Vulnerability Assessment Team put it, "are not meant to prevent physical access, just to record the fact that it has occurred"; they studied 94 seals, passive and electronic, commercial and government, and reported that they "learned how to defeat all 94 seals using rapid, inexpensive, low-tech methods" and that "Cost was not a good predictor of seal security" (Johnston and Garcia, Physical Security and Tamper-Indicating Devices, LA-UR-96-3827, Los Alamos National Laboratory, 1996). Their remedy is procedural: most seals "would also benefit significantly from changes in the manufacturer's or user's protocol for procurement, storage, installation, inspection, removal, disposal, and training", and inspectors aware of the likely attacks would "dramatically improve tamper detection" (same paper). Johnston's 2003 summary for the World Customs Organization repeats the theme, describing "considerable confusion about seals, as well as a lot of misconceptions, wishful thinking, sloppy terminology, and poor practice" after the team had analysed "over 200 different types of seals" (Johnston, Tamper-indicating seals: practices, problems, and standards, OSTI record, 2003). A seal is a record that someone must read: numbered, logged, photographed, and checked by a person trained to look.

Worked example: a physical audit of network closets and desk ports

The checklist below turns the sources into a walk-through. Each row says what to look for, how to record it and why, with the source that asks for it. It assumes the switch side is ready: an export of the port table (which MAC addresses are learned on which ports), the port security and 802.1X status, and the inventory.

AreaWhat to look forHow to record itBasis
Closet door and access logLock intact; access log entries match work orders; seal numbers match the registerPhotograph seal and number; note discrepanciesNIST PE-3, PE-6; Johnston and Garcia on seal protocol
Patch panels and switchesEvery patched port matches the cabling records; no cable runs to an unlabelled destination; no device on a shelf, behind a panel or inside cable management that is not in the inventoryPort-by-port sheet: panel position, switch port, MAC learned, inventory recordNIST PE-4; CIS 1.1; PCI wireless supplement on physical inspection
Spare jacks and unused switch portsSpare jacks disconnected or locked; unused switch ports shut and in an unused VLANCompare the switch configuration with the walkNIST PE-4; NSA section 9.4
Ports with more than one MAC addressAny access port that has learned more addresses than its design (one, or two with a phone)Switch export attached to the reportNSA section 9.2; host modes
Meeting rooms, table boxes, floor boxesDevices plugged into sockets under tables, behind screens or in floor boxesPhotograph in place before touchingDarkVishnya report on meeting rooms and table sockets
Desks and keyboardsUnknown adapters between keyboard and computer or between computer and wall; unknown USB devicesPhotograph; note the asset tag of the computerPart on keystroke injection; CISA CPG 2.V
WirelessUnknown access points, wired or radioScan results and physical locationNIST SP 800-153; PCI wireless supplement
Network sideNew MAC addresses since the last audit; devices with periodic outbound connections to unknown destinationsDiscovery tool output; monitoring alertsCIS 1.3 to 1.5; Group-IB on beaconing

When the audit finds an unknown device. The order of actions is where good intentions destroy evidence. The sources support this sequence:

StepWhat to doWhy, per the sources
1. Do not touch yetPhotograph the device in place, its cables, the port and the label on the panel; note time and people presentNIST SP 800-86 advises that "evidence should be photographed" and that one person act as custodian who will "photograph, document, and label every item" (NIST SP 800-86, August 2006)
2. Decide who owns the responseCall the incident response team, not the nearest technician; involve facilities and, where needed, legalNIST SP 800-61r3 on physical security as a response partner; SP 800-86: decide early whether evidence must support legal proceedings, and "If it is unclear ... by default it generally should be preserved"
3. Isolate from the network sideShut or quarantine the switch port rather than pulling the deviceNIST CM-8(3) lists disabling network access, isolating and notifying; RFC 3227 warns "Don't shutdown until you've completed evidence collection" (RFC 3227, February 2002)
4. Remember the second linkA cellular modem keeps the device reachable after the port is shutDarkVishnya devices used "GPRS/3G/LTE" modems (Securelist); UNC2891's had "a 4G modem" (Group-IB)
5. Preserve and collect in orderVolatile data first; memory and network records before disk; keep switch logs, DHCP logs and monitoring data for the portRFC 3227's order of volatility; Group-IB: capture "memory images in addition to disk"
6. Keep the chain of custodyDocument who found, handled and stored the device, when and whereRFC 3227, section 4.1; chain of custody
7. Look for the restCheck for other footholds before declaring the case closedAt UNC2891's victim, access continued through the mail server after the device was removed (Group-IB)
8. ReportInternally to the incident owner; externally where law or regulation requires (see the Brazilian rules below)NIST PE-6 and CM-8(3) notification; the Brazilian rules below

Not every unknown device is hostile. The PCI wireless supplement's discipline is to classify each device as authorized, rogue or a neighbour's, and to treat it as rogue until it is verified (PCI SSC, PCI DSS Wireless Guidelines). The JPL device was attached without approval, and the auditors' verdict was that it "should not have been permitted on the JPL network without the JPL OCIO's review and approval" (NASA OIG).

Brazil: what the rules say

Banks and other institutions supervised by the Banco Central. The Conselho Monetário Nacional (CMN) Resolution 4.893 of 26 February 2021 obliges institutions authorized by the Banco Central do Brasil (BCB) to adopt a cybersecurity policy whose procedures and controls must cover "authentication, encryption, and the prevention and detection of intrusion" (our translation here and below), among others, including "the access and segmentation controls of the computer network" (Banco Central do Brasil, Resolução CMN nº 4.893, consolidated text). CMN Resolution 5.274 of 18 December 2025, published in the Diário Oficial on 22 December 2025, rewrote that list into fourteen items and added the detailed provisions below; institutions had until 1 March 2026 to adapt (Banco Central do Brasil, Resolução CMN nº 5.274). In the consolidated text:

Provision (article 3)What it requires, in the regulation's words
§ 8, II"periodic scans of technological resources with the aim of identifying devices improperly connected to the corporate network that may establish a connection with technology assets outside the institution"
§ 9, I"mechanisms to limit access to the corporate network to credentialed users and authorized devices"
§ 11, Inetwork segmentation, protecting "in particular, the production environment" and resources supporting critical processes
§ 11, III and Vcriteria for monitoring connections to external environments and atypical events, "in particular at night and on non-working days"
§ 11, VI"measures to restrict access to corporate networks to duly authorized devices or technology assets only"

The same resolution requires penetration tests at least once a year, carried out "with independence and impartiality" (article 22-A), and keeps the older duty to maintain a plan of action and incident response (article 6) (Resolução CMN nº 4.893, consolidated). Payment institutions and the other entities that follow the Banco Central's own regulation got the same wording through BCB Resolution 538 of 18 December 2025, which amended BCB Resolution 85 of 8 April 2021 (Banco Central do Brasil, Resolução BCB nº 85, consolidated text).

The federal administration. The framework of the Privacy and Information Security Programme (PPSI 2.0, version 1.2, 30 January 2026) of the Ministério da Gestão e da Inovação em Serviços Públicos (MGI) carries the CIS inventory safeguards into Portuguese as measures 1.1 to 1.5: an inventory that records, at least, network and hardware address, name, owner, unit and "an indication of whether the asset has been approved to connect to the network"; a process to handle unauthorized assets by "removing them from the network, denying their remote connection or putting them in quarantine"; active discovery daily or more often; DHCP logs; and passive discovery reviewed at least weekly (MGI, Guide to the PPSI 2.0 Framework (in Portuguese), version 1.2). Its measure 13.9 asks agencies whether they deploy "port-level access control", using "the 802.1x protocol or similar solutions such as certificates" (same guide). The inventory measure builds on Chapter II of the Gabinete de Segurança Institucional (GSI) Normative Instruction 3 of 28 May 2021, which requires each agency to map its information assets into a register that names, for each asset, its owners and custodians, its security requirements, its "containers" and its interfaces and interdependencies (Diário Oficial da União, Instrução Normativa GSI/PR nº 3, 28 May 2021).

Personal data. Where an unknown device may have reached personal data, the General Data Protection Law () applies: article 46 requires "security, technical and administrative measures able to protect personal data from unauthorized access" (Câmara dos Deputados, Lei nº 13.709/2018, original text). The Autoridade Nacional de Proteção de Dados () regulation on incident communication requires the controller to notify the authority "within three working days", counted from the knowledge that the incident affected personal data, and to keep a record of every security incident, notified or not, for at least five years (Diário Oficial da União, Resolução CD/ANPD nº 15, 24 April 2024). The LGPD vocabulary article explains the terms.

Standards. The international code of practice of the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC), ISO/IEC 27002:2022 (third edition, February 2022, corrected March 2022), groups its controls into organizational, people, physical and technological themes; the controls that bear on this article include 5.9 "Inventory of information and other associated assets", 6.8 "Information security event reporting", 5.28 "Collection of evidence", the physical controls 7.1 to 7.14 (among them 7.2 "Physical entry", 7.4 "Physical security monitoring", 7.8 "Equipment siting and protection" and 7.12 "Cabling security"), and 8.20 "Networks security", 8.21 "Security of network services" and 8.22 "Segregation of networks" (ISO/IEC 27002:2022, publisher's preview with the table of contents). The federal PPSI framework cites the Brazilian adoptions as ABNT NBR :2023 and ABNT NBR ISO/IEC 27002:2023, published by the Associação Brasileira de Normas Técnicas (ABNT) (MGI, Guide to the PPSI 2.0 Framework (in Portuguese)).

What each control stops, and what it does not

ControlWhat it stopsWhat it does not stopCost and effort, per the sources
802.1X with device certificates (EAP-TLS)An unknown device gaining any network access on that portA device admitted behind an authenticated one in multi-host mode; a stolen managed device"more difficult to implement", "easier to manage than port security" (NSA); needs a public key infrastructure; CIS places port-level access control in implementation group 3
MABDevices whose MAC is not in the databaseA device using a copied MAC ("can be defeated by spoofing", Cisco)A current MAC database is "one of the primary challenges" (Cisco); pair with restricted VLANs, CoA and profiling
MACsec (must-secure)Reading or injecting frames on a protected linkCutting the link; anything beyond the point-to-point hop; should-secure links falling back to clear textHardware on both ends; licences for some cipher suites (Cisco)
Port security, sticky MACA second device on a port; A device that copies the one allowed address (NSA)"can be difficult to manage", raises support tickets (NSA)
Unused ports shut and parkedPlugging into a dead jackA device on a live, legitimate portLow; needs a check that ports are "truly unused" (NSA)
DHCP snooping, ARP inspection, IP source guardRogue DHCP servers, ARP spoofing, forged source addressesA device that takes a legitimate lease and behavesConfiguration per VLAN or port; Fortinet's source guard does not log discards
NAC profiling and postureDevices that look unlike their claimed type; managed devices out of policy"lying endpoints" (RFC 5209); a device that imitates the profile it replacedA policy server and its collectors (ClearPass lists DHCP, HTTP, SNMP, scans, NetFlow, agents)
Inventory and discoveryDevices nobody approved staying unnoticedDevices that are quiet on the wired side, such as those with their own cellular linkProcess work weekly and daily (CIS); NCSC: completeness is unlikely
Network monitoringPeriodic beaconing and unusual connections (UNC2891)Devices that make no unusual connectionsMemory and network forensics skills (Group-IB)
Physical audits and sealsDevices left in place long enough to be seen; tampering a trained inspector can noticeDevices removed before the walk (PCI supplement); seals defeated by low-tech methods (Johnston and Garcia)Low-cost changes to the seal and to the protocol of procurement, inspection and training help most (Johnston and Garcia)
Visitor control and escortingThe DarkVishnya pattern of a stranger alone in a meeting roomInsiders and paid helpers (UNC2891, per The Register)Front-desk process and records (NIST PE-8)

What to remember

  • An unauthorized device connected to a network port, a cable or a keyboard is a documented route in: DarkVishnya (eight or more Eastern European banks, 2017 to 2018), UNC2891 (a Raspberry Pi with a 4G modem on an ATM switch, 2024) and NASA JPL (an unapproved Raspberry Pi the attacker targeted, 2018).
  • IEEE 802.1X-2020 is the current port access control standard; with device certificates (EAP-TLS, IEEE 802.1AR identities) it is the strong control, and the host mode decides whether one authentication covers one device or many.
  • MAB is admission by MAC address and, by its vendors' own account, defeatable by spoofing; restrict what it admits, profile for anomalies and move devices to certificates where possible.
  • MACsec protects the frames on a link; it needs must-secure where the cable is in doubt and it does not protect availability.
  • Port security, unused-port shutdown, DHCP snooping, ARP inspection and IP source guard narrow what a stranger can do; none authenticates.
  • Inventory is the control everything else compares against: CIS 1.1 to 1.5, NIST CM-8 and CM-8(3), CSF ID.AM-01, CISA CPG 1.A and 2.V, the NCSC's asset management step.
  • Physical audits find what is there on the day; seals record tampering only if someone reads them well; visitor records and escorting answer the DarkVishnya pattern.
  • When a device is found: photograph, call the responders, isolate from the switch side, remember the cellular link, collect in order of volatility, keep the chain of custody, look for the rest, report.
  • In Brazil, CMN Resolution 4.893 as amended in December 2025 requires scans for improperly connected devices and network access limited to authorized devices; the federal PPSI 2.0 adopts the CIS inventory safeguards; the ANPD expects incident notice within three working days where personal data are affected.

Sources