PanelSimulator Academy

Cybersecurity of Security Systems, lesson 4 of 8

Network separation

Passwords and updates make each device harder to take over. Separation limits what happens if one is taken over anyway. This lesson shows how to give security devices a network of their own, and how to decide the few conversations that may cross its edge.

About 14 minutes. Read lessons 1 to 3 first. "VLANs: separate networks on shared cable" in the Networking course gives the background.

How far can trouble travel?

Choose where the trouble starts and how the network is built. The drawing shows what can be reached from that spot.

office network guest network security network Network switch Internet Router Office PC Company files Guest Wi-Fi Outdoor cameraon the dock wall Recorderall the video Door controllerunlocks doors Access serverevery cardholder

where it startsfully reachablesign-in page onlyout of reach

other devices fully reachable
reachable at a sign-in page only

The everyday picture

A ship's hull is divided into watertight compartments. A hole in one lets water into that compartment and no further, and the ship stays afloat. Without the dividing walls, any hole anywhere sinks the whole ship.

Fire doors do the same job in a building. Nobody expects them to prevent a fire. They keep a fire in one room for long enough to deal with it.

A network needs compartments too. The aim is modest and realistic: when something on the network goes bad, it should find very little within reach.

The flat network

On many small sites everything plugs into the same switches and shares one range of addresses: office computers, the printer, guest Wi-Fi, cameras, recorder and door controllers. This is called a flat network. Any device can start a conversation with any other.

Trouble travels both ways across it. An office computer infected through an email can find the recorder and the door controllers and try their sign-in pages all night. And a camera taken over from outside, or a stranger using an outdoor camera's cable, sits on the same network as the payroll files. Try both in the tool with "One flat network" selected.

The cure is to split the network into segments, each holding devices that have reason to talk to each other, with a controlled crossing between them.

Three ways to separate

Separate hardwareVLANsCameras behind the recorder
What it isThe security system has its own switches and cable. Nothing else plugs in.Shared switches are told to treat groups of sockets as separate networks.Cameras plug into sockets on the recorder itself. Only the recorder touches the main network.
StrengthStrongest and simplest to understandStrong when set up correctlyGood for small systems
CostExtra switches and cableManaged switches and someone who can configure themNone, if the recorder has enough sockets
Watch forThe one cable somebody adds later "to view cameras from the office"A socket left in the wrong VLAN, and rules between VLANs that allow everythingThe recorder becomes the single gate. Its password and firmware matter even more.

A VLAN, short for virtual local area network, is the usual answer in buildings with an IT department. One set of switches carries several networks that cannot see each other, as if each had its own cable. The Networking course covers how they are configured. What matters here is who decides the traffic between them.

A network with no connection at all to any other is called air-gapped. It suits high-security sites, but it gives up remote viewing, automatic time setting and easy updates, so someone must carry updates in by hand and actually do it.

Rules at the crossing

Splitting the network is half the job. Traffic between segments passes through a router or a firewall, a device that inspects each new conversation and allows or blocks it according to a list of rules. If that list says "allow everything", the segments are separate in name only.

Good rules follow one principle, called default deny: block everything, then add back each conversation the system needs. A written list of those conversations is the most useful document you can hand to an IT department.

FromToWhyAllow?
RecorderCamerasPulls video and settingsYes
Access serverDoor controllersSends card changes, collects eventsYes
Operator workstationsRecorder and access serverPeople watch video and manage cardsYes, to those two only
Security devicesThe site's time serverCorrect clocks on video and eventsYes
Office computersCameras and controllers directlyNo reason. People use the software, not the devices.No
Cameras and controllersThe internetUsually no reason. Cloud-managed devices are the exception, lesson 6.No, or to the provider only
Guest Wi-FiAnything inside the buildingNoneNo

The exact port numbers for each line come from the maker's network guide. Ask for it by that name.

Check yourself

Cameras are on their own VLAN, but the router between VLANs allows all traffic. What has been gained?

Guarding the socket

An outdoor camera's cable ends in a plug that fits any laptop. Separation means the stranger who uses it lands on the security network instead of the office network, which is better, but the recorder and controllers are still in view. Three measures deal with that, in rising order of strength.

  • Switch off unused sockets on the switch, so a spare wall outlet is dead.
  • Port security. Every network device has a hardware address, its MAC address. The switch is told which one belongs on each socket, and shuts the socket and raises an alert when a different device appears. This stops casual attempts. A hardware address can be copied, so treat it as a tripwire more than a lock.
  • 802.1X. The device must prove its identity to the network, with a certificate or password, before the socket passes any traffic. Many professional cameras and controllers support it. It needs an authentication server and planning with IT, so it is found mostly on larger sites.

Add the physical side: locked equipment cabinets, switches out of public reach, and a "camera offline" alarm that somebody actually looks at.

Inside the security network you can go one step further and stop cameras talking to each other, since each only ever needs its recorder. Switch makers call this port isolation or a private VLAN. It keeps one bad camera from reaching the other ninety-nine.

Allow or block?

You are writing the rule list for a new site. For each conversation, decide whether the firewall should allow it.

Six requests at the crossing

Three examples

Simple: eight cameras in a shop

A shop has eight cameras and a recorder with eight powered camera sockets built in. The cameras plug straight into the recorder and get addresses from it. Only the recorder's single uplink joins the shop's network. The cameras cannot be seen from the shop's computers at all, and the installer bought no extra equipment. What remains to protect is the recorder itself.

Medium: separate in name only

An office moved its 30 cameras to a camera VLAN after an audit. A year later a ransomware infection on a sales laptop still reached the recorder. The VLANs existed, but the router between them had been left routing everything, because that made the first day's testing easier and nobody went back.

The fix was the short rule list above: workstations to the recorder's viewing service, recorder to cameras, time, and nothing else. It took an hour to write and a morning to test.

Advanced: a warehouse with IT involved

A warehouse has 120 cameras, 30 door controllers and a small IT team. The design uses three VLANs: cameras, access control, and a server VLAN for the recorder and access server. Cameras may talk only to the recorder. Controllers may talk only to the access server. Guard workstations reach the two servers and nothing behind them.

Every outdoor camera socket uses 802.1X, so a device that cannot prove itself gets no traffic, and the switch reports the attempt. Unused sockets are off. The installer supplied the port list in the first week, and IT built and tested the rules before a single camera was hung. Run the third setting in the tool to see the result: wherever trouble starts, almost nothing is in reach.

From the field

  • Bring a port list to the first IT meeting. Which device talks to which, on what port, and in which direction. It answers most of their questions before they ask.
  • Test from the wrong side. Plug a laptop into the office network and confirm you cannot open a camera's page. A rule nobody tested is a hope.
  • Label the VLAN on the switch port and in the device list, so the next technician does not patch a camera into an office socket.
  • Plan how you will service the system. A locked-down network needs a defined way in for the technician. Agree it up front.
  • Never join two segments with a spare cable to get a job finished. That cable will still be there in five years.

Common mistakes

  • Putting cameras on the office network because the nearest switch had free sockets.
  • Creating VLANs and leaving every route between them open.
  • A recorder with two network sockets set up so that it quietly passes traffic between the two sides.
  • Letting cameras and controllers reach the internet when they have no need to.
  • Leaving live, unused sockets in public areas.
  • Trusting hardware-address filtering as if it were proof of identity.

Summary

  • On a flat network, one bad device can reach every other device.
  • Separation uses dedicated hardware, VLANs, or cameras behind the recorder.
  • Separation only works with rules between segments. Block everything, then allow what is needed.
  • Outdoor and public sockets need guarding: unused ones off, port security, or 802.1X.
  • Separation limits damage. It does not replace passwords and updates.

Exercises

Answer each one yourself first, then open the answer.

Exercise 1. In your own words, what is a flat network, and why is it a risk for a security system?

Show answer
A network where every device shares one range of addresses and can start a conversation with any other. An infected office computer can try every camera and controller, and a taken-over camera can reach the office's files.

Exercise 2. Under default deny, which conversations does a camera VLAN normally need?

Show answer
The recorder to the cameras, the cameras to a time server, and a controlled path for the technician or management tool. Operators reach the recorder, not the cameras. Anything else stays blocked until someone shows a need.

Exercise 3. In the tool, choose the outdoor camera's cable and "Separate networks". Why are the recorder, controller and access server still reachable?

Show answer
The stranger has joined the security network itself, so the wall between office and security does not help. Guarding the socket, with port security or 802.1X, and limiting what devices inside the security network may say to each other, closes that gap. The third setting shows it.

Exercise 4 (think, don't memorize). A manager wants to open any camera's own web page from her office PC "to check the picture". The cameras are on their own VLAN. What do you offer?

Show answer
Give her what she needs without the hole she asked for. She wants to see pictures, so give her a viewer account on the video software, which her PC is already allowed to reach. Opening the camera VLAN to an office PC would let anything that infects that PC reach every camera. If someone truly needs the cameras' own pages, that is a technician's task, done from a managed workstation on a defined path.