PanelSimulator Academy

Cybersecurity of Security Systems, lesson 6 of 8

Remote access and cloud

Owners want to see their cameras from home. Managers want to cancel a card from a phone. Installers want to fix a fault without driving two hours. All of that means reaching into a building from outside, and the way it is done decides whether strangers can reach in too. This lesson compares the methods and shows how to run each one safely.

About 14 minutes. Read lessons 2 and 4 first. "Remote access done safely" in the Networking course covers the network side in more depth.

Three ways to reach a recorder from home

Pick a method, then play or step through. Watch what the scanning program can do in each.

the internet inside the building firewall VPNgateway outbound only Provider's servicesign-in and relay Ownerat home Scanning programtries every address Recordersign-in page Door controllersame network

The everyday picture

You are away and a neighbor needs to water your plants. You have three choices. You could leave the back door unlocked, which works for the neighbor and for anyone else who tries the handle. You could give the neighbor a key, so the door stays locked to everyone without one. Or you could use a staffed front desk: the neighbor shows identification there, and the desk lets them in.

Those are the three ways to reach a security system from outside. The unlocked back door is called port forwarding. The key is a VPN. The front desk is a cloud service.

The wall and the hole

Every site's internet router includes a firewall. Left alone, it does one valuable thing: it lets devices inside start conversations with the outside, and refuses conversations started from the outside. A recorder behind it can fetch the time or check for updates, and nobody on the internet can call the recorder.

Port forwarding is a router setting that makes an exception. It says: any connection arriving from the internet for this particular service, pass it straight to the recorder. For years this was the standard way to give an owner remote viewing, and it is the reason so many recorders ended up in botnets, as lesson 1 described.

The hole does not know who is knocking. It passes the owner and the scanning program alike, and from then on the only things between the whole internet and the recorder are the recorder's password and the age of its firmware. Step through the first situation in the drawing.

Two router features open holes without anyone deciding to. UPnP lets a device inside ask the router to open a port for it automatically. A setting usually called DMZ host forwards everything to one device. Turn UPnP off on the router and in each device, and never use the DMZ setting for a security device.

The ways compared

Port forwardingVPNCloud service
How it worksA hole in the firewall leads straight to the deviceThe user proves identity to a gateway, then works through an encrypted tunnel as if inside the buildingThe device calls out to the provider. Users sign in at the provider.
What the internet can seeThe device's own sign-in pageOnly the gatewayNothing at the site
Inbound holesOne or moreOne, to a device built for the jobNone
Who must look after itNobody does, which is the problemThe customer's IT, or the installerThe provider, plus the customer's accounts
Main riskAnyone can attempt the device, all dayA stolen VPN login gives broad reach inside. The gateway needs updates too.A stolen account, and dependence on the provider
Use it?NoYes, with a second sign-in step and limited reachYes, with a second sign-in step

A VPN, short for virtual private network, builds an encrypted tunnel from the user's laptop or phone to a gateway at the edge of the site, using the encryption from lesson 5. Set it up so that each VPN user reaches only what they need, such as the recorder's viewing service, and not the whole building. Newer products that go by the name zero trust network access work on the same principle: prove who you are, then reach one named service.

A fourth method deserves a warning. Some sites leave remote-desktop software running on the guard-room PC so that someone can "get in when needed". That PC then becomes the unlocked back door, often with a weak password and nobody watching. If remote desktop is used at all, it belongs behind the VPN.

Check yourself

Why can a scanning program not find a cloud-connected recorder?

What cloud changes

"Software, servers and cloud" in the Access Control course explained that a cloud device makes the call itself, from inside to outside, and keeps the line open. The firewall needs no holes. That removes the largest single risk in this lesson.

It also moves the front door. The sign-in page is now on the provider's website, where the whole internet can reach it by design. So the lock that matters is the account. An administrator with a reused password and no second step is one leaked password away from a stranger watching every camera.

Security in the cloud is shared, and it helps to be clear about who does what.

The provider looks afterThe customer still looks after
Its servers, their updates and their physical securityWho has an account, and removing leavers
Encryption between devices and the serviceMulti-factor authentication switched on for everyone
Backups of the service's dataRoles: who may view, export, change settings
Usually, pushing firmware to the devicesThe local network the devices sit on, as lesson 4 described
Sign-in logsReading those logs

Before recommending a provider, ask a few questions. Does it support multi-factor authentication and single sign-on? Does it keep a log of every sign-in and export? Has an independent auditor examined its security, and will it share the report? Where is the data stored? How and when will it tell customers about a breach? A serious provider answers these in writing without fuss.

The installer's own way in

A service company with remote access to 200 customer sites holds 200 sets of keys. That makes the service company a target in its own right. Hold yourself to a higher standard than you ask of customers.

  • A personal login for each technician, with a second step. No shared "support" account.
  • Access switched on by the customer when needed, for a set time, and switched off afterward. Many platforms have exactly this feature.
  • A record of each session: who, when and why.
  • Separate access per customer, so that a problem at one cannot spread to the rest.
  • Removal on the day a technician leaves, from every customer at once. A company password manager and single sign-on make that one action.

Check a remote setup

Mark what is true of a site's remote access today. The tool lists what is still open.

Which of these are in place?

Click each one that is true. Start from a typical site and work toward eight.

    Three examples

    Simple: the cafe owner's phone

    A cafe has four cloud cameras. The owner signs in with an email address and a password she also uses for shopping. The installer spends five minutes with her: a new password from her phone's built-in password manager, and the second step switched on with an authenticator app. He also gives the shift manager a viewer account, so the owner's login stops being shared by text message.

    Medium: the hole nobody opened

    A service company takes over a warehouse site. An external check of the site's internet address, arranged with the customer's permission, shows the recorder's sign-in page answering from the internet. Nobody remembers forwarding a port. The recorder had asked the router to do it, through UPnP, on the day it was installed.

    The technician turns UPnP off on the router and the recorder, confirms from outside that nothing answers, updates the recorder and changes its passwords, since it had been exposed for three years. Remote viewing moves to the customer's existing VPN. Lesson 8 covers what else to check after an exposure like this.

    Advanced: one technician leaves

    An integrator supports 140 sites. Remote access had grown up piecemeal: a shared remote-desktop login here, a forwarded port there, a VPN password in a spreadsheet. When a senior technician resigned, the owner realized he could not say which sites that person could still reach.

    The rebuild took three months. Every site moved to cloud management or to a VPN gateway. Technicians sign in through one company identity with a hardware key as the second step. Access to a site is requested, approved for a time window and logged. The next resignation was handled by disabling one account before lunch.

    From the field

    • Look at the router's forwarding table on every takeover. Anything pointing at a camera, recorder or controller needs an owner and a reason, or it goes.
    • Confirm from outside, with the customer's written permission, that nothing at the site answers from the internet.
    • Set up the second step with the customer in the room. People who are shown once keep it on.
    • Plan for the lost phone. Know how to sign a device out of the app remotely, and keep recovery codes in the password manager.
    • Write remote access into the handover document: the method, who has it, and how to switch the installer's access on and off.

    Common mistakes

    • Forwarding a port "just for now" during commissioning.
    • Leaving UPnP on, so devices open their own holes.
    • A VPN that gives every user the whole network.
    • Cloud accounts with no second step, shared among staff.
    • Remote-desktop software left running on a site PC.
    • Technicians who left the company a year ago and can still sign in.

    Summary

    • A firewall left alone refuses conversations started from outside. Port forwarding makes a hole in it for everyone.
    • A VPN admits only people who prove who they are, and should limit what each can reach.
    • Cloud devices call out, so no hole is needed. The account becomes the front door.
    • Every remote sign-in needs a personal account and a second step.
    • The installer's own remote access must be personal, time-limited and logged.

    Exercises

    Answer each one yourself first, then open the answer.

    Exercise 1. In one sentence each, how do port forwarding, a VPN and a cloud service let an owner reach a recorder?

    Show answer
    Port forwarding opens a hole in the firewall that leads straight to the recorder. A VPN lets the owner prove identity to a gateway and then work through an encrypted tunnel. With a cloud service the recorder calls out to the provider, and the owner signs in at the provider.

    Exercise 2. A customer moves from port forwarding to a cloud service. Which risk has gone, and which one now needs attention?

    Show answer
    Gone: strangers can no longer reach the recorder's own sign-in page. Needing attention: the cloud account, which anyone on the internet can try. It needs a strong unique password, a second step, and personal accounts.

    Exercise 3. What does UPnP do, and why turn it off?

    Show answer
    It lets a device inside the network ask the router to open a port to the internet automatically. A recorder can expose itself without anyone deciding that it should. Turn it off on the router and on each device.

    Exercise 4 (think, don't memorize). An owner says: "I do not want cloud, I do not want to pay for a VPN, and I must see my cameras from my phone. Just forward the port like the last installer did." What do you do?

    Show answer
    Explain the cost in his terms: a forwarded port puts his recorder's sign-in page in front of every scanning program on the internet, and his video, his internet line and his liability go with it. Then offer real choices at low cost. Many business routers include a VPN at no charge, and many recorders include a relay service run by the maker, which needs no hole in the firewall. If he still insists, decline to do it, or at the very least record his decision in writing. Forwarding the port quietly makes his risk your responsibility.