Blog

Deciding what is allowed on the network

An inventory records what an organization believes it has. Network access control decides what is permitted to connect in the first place, which is the same question approached from the opposite end. The two work together: network access control narrows what can appear, and the inventory records what is allowed to.

The simple form

The smallest usable version is a list of permitted hardware addresses. Only devices whose MAC address is known are allowed to connect; anything else is refused.

At small scale this is genuinely useful and costs almost nothing. The list is short enough to maintain by hand, every addition is a deliberate act, and an unrecognized device becomes conspicuous rather than routine. For a small office or a practice network it may be entirely proportionate.

Its weakness is not subtle, though it is worth being precise about why, because the mechanism depends on the medium.

On wireless it is literal. Addresses sit in the 802.11 frame header, and WPA2 and WPA3 encrypt the payload rather than the header, so every address in range is readable by anyone with a radio in monitor mode—on an otherwise properly secured network.

Switched Ethernet takes slightly more work and not much more. A switch forwards unicast frames only to the port that needs them, so an attacker does not simply see every conversation. But ARP is broadcast to the whole domain and carries the sender's address, as, variously, do DHCP, mDNS, LLMNR, and IPv6 neighbor discovery. Traffic to an address the switch has not learned is flooded to every port. And a switch whose address table has been deliberately filled fails open and floods everything, which is an old attack with mature tooling.

For the devices this control usually protects, none of that is necessary anyway. The address is on a sticker on the chassis, or in the device's own web interface, and anyone close enough to unplug a printer is close enough to read it.

Changing the address an interface reports is, meanwhile, a configuration option on every mainstream operating system. However the address is obtained, the conclusion is the same: a MAC address is an identifier, not a secret. The control stops the accidental and the unaware; it does not stop anyone who is trying.

That is a reasonable thing to accept knowingly. It is not a reasonable thing to believe you have solved.

The standard-based form

Larger networks, and any network where the consequence of an unauthorized device is serious, need authentication rather than recognition. The usual answer is port-based network access control to the IEEE 802.1X standard.

Most people meet 802.1X on wireless without being told its name, because it is the authentication behind WPA2-Enterprise and WPA3-Enterprise—the arrangement where staff sign in to the wireless network with their own credentials instead of a shared passphrase. It is easy to conclude from that experience that this is a Wi-Fi technology. It is not. 802.1X is a port-based standard, and a wall jack is a port. The wireless half is simply the half that usually gets done first, which is why so many organizations with properly authenticated Wi-Fi still have an unauthenticated Ethernet socket in the lobby.

The arrangement has three parts: the device asking to connect, the switch or wireless controller that will or will not carry its traffic, and an authentication server that decides. Until the decision is made, the port passes nothing but the conversation needed to make it. The credential can belong to the user, to the device, or to both, and a device credential is the stronger choice for the inventory question, because it establishes that this machine is one the organization issued rather than merely that someone with a valid password is sitting at it.

That distinction matters more than it first appears. A network that authenticates only users will happily admit a personal laptop belonging to an employee in good standing, which is precisely the device least likely to appear in the inventory or the patching system.

What it takes to run

The client side is the part nobody has to buy. Every major operating system—Windows, macOS, Linux, iOS, Android—ships an 802.1X supplicant. Laptops and phones can already do this.

The cost is in the two pieces behind them: a switch or access point willing to act as the authenticator, and an authentication server to decide. Unmanaged switches cannot participate at all, having nowhere to put the configuration. Managed switches usually can, but "usually" is doing real work in that sentence, and the answer for any particular model is a question of fact rather than assumption.

Three ways to establish it, in increasing order of reliability. The datasheet should say IEEE 802.1X under security or authentication features, and should list RADIUS or AAA client support, because a switch that cannot speak RADIUS cannot ask anyone anything. The administration interface should offer per-port authentication settings. And the configuration guide should describe what happens to a port before authentication succeeds.

The trap is partial support. Plenty of inexpensive smart switches list 802.1X and stop there: no MAC Authentication Bypass, no dynamic VLAN assignment from the authentication server. Those are precisely the two features the printers and the segmentation need, so check for them by name rather than accepting 802.1X as a yes. Check the specific model as well, and the firmware release it is running. Support varies within a product line often enough that the line's reputation says very little about the switch actually on the wall.

The authentication server is a separate decision. Some management consoles include a basic RADIUS server, adequate for a small deployment and quick to run out of room. FreeRADIUS and Windows NPS are where organizations usually end up once the policy gets more interesting than a single shared answer.

What it does not do

Network access control decides admission. It says nothing about what a device does once admitted, and it is not a substitute for segmentation, monitoring, or keeping systems current.

Anything that has to work during an outage of the authentication server also needs a deliberate answer, and it is worth settling before the outage rather than during it. The durable answer is redundant authentication infrastructure, separated geographically, which is a network architecture question rather than a compliance one. An organization at that scale should be asking a network architect, not an assessor.

The devices that cannot authenticate

Printers, cameras, environmental sensors, laboratory instruments, building controls, and most of what gets called the Internet of Things frequently cannot run a supplicant at all. Neither can much industrial control and SCADA equipment, which tends to be older, less patchable, and more consequential than anything in the office.

The standard mechanism for admitting them is MAC Authentication Bypass, where the switch, finding no supplicant, sends the device's MAC address to the authentication server as though it were a username. This is worth naming plainly: MAB is the simple form described above, wearing the standard's clothing. The address is still an identifier rather than a secret. What MAB buys is central policy and logging, not proof of identity.

So these devices do not belong on the network the authenticated machines use. They belong on their own segment, with traffic rules narrow enough that a compromised device has somewhere unattractive to go. A printer is the clean example: it needs to accept print jobs from inside, and it may need to reach its manufacturer to check for firmware updates. It does not need to reach anything else, in either direction, and a rule set that says so turns a weakly-authenticated device into a contained one.

Industrial control and SCADA segments deserve a further caution. The failure mode is not an inconvenienced employee but a stopped process, and enforcement that drops a programmable logic controller off the network has caused an outage rather than prevented one. Treat those segments as isolation problems first and authentication problems second.

Because these devices are in the inventory like everything else, they need reviewing on a schedule, annually at the very least. An exception created for a printer and never revisited is an unauthenticated port with a business justification attached to it, and three years later nobody remembers which printer.

Guests and contractors are not the same problem

Guests get a guest network: internet access, no route to anything internal, and no exception on the main one. That case is easy because one standing answer covers every guest. Nobody has to decide anything when a visitor arrives, and so nobody is asked to make an exception in a hurry.

Contractors are the case organizations get wrong, usually by treating them as guests and then quietly granting exceptions when the guest network turns out to be useless for the work. A contractor needs specific access to specific systems because of a specific role, which is a role-based access decision that happens to arrive over the network rather than a network problem. Decide what the role requires, provision exactly that, and give it an end date.

Provisioning is where least privilege either happens or does not. The fast method is to copy an existing employee—give the contractor what someone in a similar job already has. It works on the first try, which is why it is common, and it grants everything that employee accumulated across several years and several role changes rather than what this engagement requires. Starting from the statement of work instead is slower by an hour and narrower by a great deal: ask which systems the deliverable actually touches, and provision those. Contractors usually need less than an employee rather than more, because the work calls for one or two systems in depth instead of the whole environment shallowly.

The test is whether each grant can be explained by pointing at something in the contract. Access that cannot be traced back to a deliverable is access nobody chose on purpose.

The end date should come from the contract rather than from a default or a guess, and it should be set when the account is created. Adding it later requires someone to remember, and someone remembering is not a control. An account that expires on its own moves the burden to renewal, which is the more useful place for it: renewal forces someone to look at the account, confirm the engagement is still running, and confirm the access is still the right access. Extensions are ordinary and take a moment, and each one is a review that happens on its own schedule rather than because an auditor asked.

What this prevents is mundane and nearly universal. The engagement ends, everyone moves on, and the account survives because deprovisioning belonged to nobody in particular. A year later it is still valid, still carrying whatever was granted on the first day, and still usable by anyone holding the credential. Contract end should trigger removal the same way termination does for an employee, and for the same reason.

Two details decide whether any of this can be reviewed later. Contractor accounts need to be identifiable as contractor accounts, by naming convention or group membership, because a review that cannot find them cannot examine them. And each account should belong to a named person rather than to a company: a shared vendor login used by whoever is on shift that week gives up any ability to say who did what, which is usually discovered at the exact moment that question matters.

Somebody has to read the list

Whatever the authentication server checks against is a list of who and what may connect, and a list nobody reads drifts. It needs reviewing at least annually, and more often where turnover is high. The device exceptions described earlier belong in the same review, because they are entries on the same list even though they arrived by a different route.

The question worth asking first is where that list comes from, because the answer decides how much work the review actually is.

If the authentication server draws its identities from a directory that already sits inside the organization's joining, moving, and leaving process, much of this is already happening. An account disabled on someone's last day stops working on the network that day, and the access review that covers the directory covers network access along with it. That is the arrangement worth aiming for. It is not that the review disappears; it is that there is one review instead of two, and the one that exists is already somebody's job.

If the authentication server keeps its own list—local accounts on an appliance, a standalone RADIUS store, a hand-maintained exception list for devices that cannot authenticate—then nothing is reviewing it, and a review has to be scheduled deliberately and assigned to a person by name. This is where the familiar finding lives. Jane the contractor finished a year ago and her directory account was disabled on her last day, but the credential that admits her laptop to the network still works, because it lives in a place nobody thought of as an account list.

The review does not have to be elaborate. Read the list, and for every entry ask who this is, why it is here, and what would break if it were removed. An entry nobody can answer for is the finding.

Getting the sequence right

The order that works is discovery first, then enforcement. An organization that enables enforcement before knowing what is on the network will spend the following week disconnecting things it needed, and will usually respond by granting broad exceptions that hollow out the control.

Running the authentication infrastructure in a monitoring mode first—logging what would have been refused, without refusing it—produces both a working configuration and, incidentally, one of the better inventories the organization has ever had.

At Kenneth Ingham Consulting, we help organizations decide what level of network access control is proportionate to what they are protecting, and what it will cost to operate.

Tagged: network access control, 802.1X, inventory, architecture