PanelSimulator Academy

Cybersecurity of Security Systems, lesson 1 of 8

Why security systems get attacked

A camera looks like a camera and a door controller looks like a gray box. Inside, each one is a small computer with an operating system, a sign-in page and a network cable. This lesson shows what that means, who takes advantage of it, and why the rest of this course exists.

About 13 minutes. Read "Software, servers and cloud" in the Access Control course first.

Open the lid

Pick a device, then play or step through what is inside it.

from outside Camera Sign in user ______ pass ______ its sign-in page inside the camera Lens and sensor light to picture Processor runs the programs Storage operating system web server video program user accounts settings Memory working space Network port the way in and out Internet Office computers Network switch

The everyday picture

Suppose you hire a night guard for a warehouse. To do the job, the guard gets a key to every door, sees everything that happens, and is trusted when he says "all quiet". Because of that, you check who he is before you hire him. A dishonest guard is worse than no guard, because he already stands inside the fence.

Cameras, controllers and recorders are guards made of software. They hold the keys, they see everything, and the building trusts what they report. If a stranger takes one over, the stranger gets the guard's position.

Physical security people are used to asking "who can reach this door?". This course asks the same question about the network cable on the back of every device.

Four computers in disguise

  • Camera Runs an operating system, a web server for its settings pages and a program that compresses video. It usually sits on an outside wall, at the far end of a cable that leads indoors.
  • Door controller Holds the list of cards and decides who gets in, as the Access Control course showed. Whoever controls it can unlock its doors or add a card.
  • Recorder Stores weeks of video and is the device people most want to reach from home, so it is the one most often left open to the internet.
  • Server An ordinary computer running the access or video software. It holds every name, every schedule and every operator password in one database.

The software stored inside a device is called firmware. It is the same kind of thing as the software on a laptop: written by people, shipped with mistakes, and corrected over the years by updates. The only real difference is that nobody sits in front of a camera every day and notices when it asks for one.

What an attacker gains

Few people break into a camera to watch a parking lot. The device is usually a means to something else.

What they wantWhat it looks likeWho is hurt
A way inThe camera becomes a stepping stone to the office computers on the same network.The customer's whole business
Free computing powerThousands of taken-over devices are joined into a botnet and used to flood websites with traffic.Strangers, using your customer's internet line
What the system knowsVideo of people, names of cardholders, when the building is empty.Staff and visitors, and the customer's legal position
ControlUnlocking a door, switching off recording, deleting last night's video.The physical security you installed
MoneyLocking the recorder or server and demanding payment to release it, known as ransomware.The customer, and the installer who gets the phone call

The botnet case is not a theory. In 2016 a botnet built largely from cameras and recorders that still had their factory passwords knocked several of the best-known websites offline for hours. The owners of those cameras never knew their equipment had taken part.

Who does it

WhoHow they find youWhat stops most of it
Automatic scanning programsThey sweep the whole internet, all day, looking for any device with a known weakness. They do not know or care whose it is.Not being reachable from the internet, changed passwords, current firmware
Criminals after moneyThey arrive through an office computer, often by a deceptive email, then look around the network.Keeping security devices on a separate network
Insiders and former staffThey already know a password, because it was shared or never changed when they left.A personal account for each person, removed on the day they leave
Someone planning a physical crimeThey study one particular site. This is the rarest kind.Everything above, plus watching the logs

Notice the first row. Most attacks are not aimed at anyone. A device that can be reached from the internet will be probed within hours of being plugged in, however small or dull the site. "Nobody would bother with us" is the most expensive sentence in this field.

Check yourself

A bakery has four cameras and a recorder that the owner views from home. Why would anyone attack it?

Why these devices are soft targets

An office laptop and a camera can have the same kind of weakness. The laptop usually gets fixed and the camera does not, for reasons that have little to do with technology.

  • They are installed and forgotten. A camera that shows a picture is considered finished. It may run for seven to ten years without anyone signing in to it again.
  • Nobody owns them. The IT department says the cameras belong to facilities. Facilities say they belong to the installer. The installer's contract ended at handover.
  • They arrive ready to work, not ready to defend. Out of the box, many devices have extra features switched on to make setup easy.
  • They are never switched off. A device that runs all night gives a patient attacker all night.
  • They hang where people can touch them. An outdoor camera is a live network socket on the outside of the building.

Three things to protect

Computer security has a simple way to describe what can go wrong with information. It can be seen by the wrong person, changed by the wrong person, or made unavailable to the right person. The three are called confidentiality, integrity and availability.

AimIn plain wordsIn a security system
ConfidentialityKeep it privateOnly authorized people can watch video or read the cardholder list.
IntegrityKeep it trueNobody can quietly add a card, alter a schedule or edit a recording.
AvailabilityKeep it workingCameras keep recording and doors keep deciding, even while something is under attack.

Office IT tends to rank confidentiality first. For a security system, availability and integrity often matter more: a recorder that was offline during the break-in has failed, however private its video was.

The remaining seven lessons each cover one layer of protection: passwords and accounts, updates, network separation, encryption, remote access, hardening a device, and what to do when something goes wrong anyway.

Count the computers

A useful first step on any site is to count how many computers the security system has added to the network. The number is usually larger than the customer thinks.

How many computers did the security system add?

Enter what is on site. Every item counted here has firmware, a password and a network address.

computers added by the security system
of everything on the network
firmware checks a year, at one check per device each quarter

Three examples

Simple: the recorder at the bakery

The bakery owner wanted to see the shop from home. The installer set the internet router to pass outside connections straight to the recorder, and left the recorder's password as it came. Within a week the recorder was part of a botnet. The only symptom was a slow internet connection in the shop.

The fix was a factory reset, current firmware, a new password and a safer way of viewing from home, which lesson 6 covers. The cause was a device that strangers could reach and sign in to.

Medium: the password everyone knew

A property company used one administrator password on the access control software of all nine of its buildings. A maintenance supervisor left on bad terms. Three weeks later, doors at two buildings were found unlocked on a schedule nobody remembered creating.

There was no way to prove who had made the change, because every operator signed in with the same name. The company moved to personal accounts and a second sign-in step. Lesson 2 explains both.

Advanced: the camera on the loading dock

A distribution center had a camera at head height beside a loading dock. Its cable ran to the same network switch as the office computers, with nothing separating them. Anyone who unplugged that camera held a cable connected to the company's main network, outdoors, at night.

Nothing bad had happened yet. A security review flagged it, and the cameras were moved to their own network, where the switch accepts only the devices it expects and raises an alarm when one is unplugged. Lesson 4 covers how. The lesson here is that a cyber weakness can start with a ladder and a screwdriver.

From the field

  • Keep a device list from day one. Make, model, firmware version, network address, location and who holds the password. You cannot protect what you cannot list.
  • Ask "who looks after this after we leave?" at the sales stage. Put the answer in writing.
  • Treat the customer's IT people as allies. They have rules about what joins their network. Following them early is far cheaper than a failed inspection.
  • Mount outdoor cameras out of casual reach, and never leave a spare live network socket in a public area.
  • Talk about risk in the customer's terms. "Your video could be deleted" lands better than a list of technical faults.

Common mistakes

  • Believing a small site is too unimportant to be attacked.
  • Thinking of a camera as an appliance, like a light fitting, instead of a computer.
  • Leaving it unclear who maintains the devices after handover.
  • Putting security devices on the same network as office computers because it was quicker.
  • Judging the installation finished because the picture is on the screen.

Summary

  • Cameras, controllers, recorders and servers are computers, with firmware, accounts and a network port.
  • Attackers usually want the device as a way in, as computing power, or as something to hold for ransom.
  • Most attacks are automatic and untargeted. Being reachable is enough to be tried.
  • Security devices are soft targets because they are forgotten, unowned and always on.
  • Protect three things: privacy of the information, truth of the records, and the system staying up.

Exercises

Answer each one yourself first, then open the answer.

Exercise 1. Name three things inside a network camera that are also inside a laptop.

Show answer
A processor, memory and storage holding an operating system and programs. You could add a network port, user accounts and a web server. Step through the camera in the diagram at the top to see them.

Exercise 2. A site has 40 cameras, 6 door controllers, 2 recorders and 1 server. How many firmware checks a year does a quarterly check of every device mean?

Show answer
40 + 6 + 2 + 1 = 49 devices. Four checks a year each is 49 times 4, which is 196 checks. That is why later lessons recommend tools that check many devices at once, and a written schedule.

Exercise 3. Someone deletes one evening's recordings without being noticed. Which of the three aims has failed?

Show answer
Integrity, because the record is no longer true and complete. You could also argue availability, because the video is not there when it is needed. Confidentiality has not failed unless they also watched or copied it.

Exercise 4 (think, don't memorize). A customer says: "Our cameras only look at the car park. There is nothing secret on them, so we do not need to worry." How do you answer?

Show answer
The picture is rarely what an attacker wants. The camera is a computer on the customer's network. Taken over, it can be used to reach the office computers, to attack other people from the customer's internet line, or to be switched off on the night it matters. The worth of the video does not set the risk. What the device is connected to does.