EN
  • English
  • Русский
  • ქართულიsoon
  • Українськаsoon
  • Shqipsoon
  • Azərbaycancasoon
  • Türkçesoon
Get in touch
Crypto exchangersOffice network & Wi-FiLaws & compliance

Crypto Exchange CCTV Security: 30-Day Archive, No Open Ports

Crypto exchange CCTV security: a 30-day archive, an NVR with no internet or port forwarding, Hikvision viewing from a phone over VPN, NBG requirements.

Читать на русском →

On this page

An NVR with a port open to the internet gets found by scanners sooner or later, and a hard drive bought "by eye" holds half the archive you need — so when an incident happens, the footage from that day is already gone. After these steps the archive reliably holds 30 days, the NVR is invisible from the internet, and the cameras can be viewed from a phone over a VPN. Menu items are for Hikvision NVRs; Dahua differences are given separately.

Plan

Step What we do Who Time
1 Size the drive for 30 days and check the real archive depth admin 20 min
2 Move the NVR to the camera network and block its internet access admin 20 min
3 Remove port forwarding, cloud access and UPnP admin 15 min
4 Set up viewing from a phone over a VPN admin 40 min
5 Split the NVR user accounts owner + admin 15 min
6 Update the NVR and camera firmware admin 30 min
7 Protect the archive against theft of the NVR owner 30 min
8 Put up signs and notify employees owner 15 min
9 Test from outside and inside admin 15 min

For exchange offices in Georgia: what NBG and the law require

The National Bank of Georgia (NBG) registers and supervises virtual asset service providers (VASPs) under Order No. 94/04 of June 13, 2023.

NBG rules on video surveillance (as described by the law firm AXIOM 11; check the wording against the text of the order on matsne.gov.ge):

  • Video surveillance in exchange offices and branches is mandatory (Art. 7(6)–(9)).
  • Recordings are kept for 30 days.
  • Premises that do not meet the requirements of Art. 7 are grounds for refusing registration (Art. 3(9)).
  • AXIOM 11's description does not say what exactly must be in frame or where the recording is stored — check the current version of the order.

Law on Personal Data Protection (No. 3144 of June 14, 2023, in force since March 1, 2024), Art. 10 "Video Monitoring":

  • the purpose, scope and duration of surveillance, the retention period of recordings, and the procedure for accessing and destroying them must be set out in writing in an internal document;
  • a sign in a visible place: a notice, a clearly visible video surveillance symbol, and the company's name and contact details;
  • an employee's workstation may be filmed only in exceptional cases, when the purpose cannot be achieved otherwise; the employee is notified in writing of the purpose;
  • every access to recordings is logged: who viewed them and when.

Steps 1, 7 and 8 cover the NBG and legal requirements; steps 2–6 protect the system itself.

What actually gets exploited in cameras and NVRs

In the CISA Known Exploited Vulnerabilities (KEV) catalog:

  • Hikvision CVE-2021-36260 (in the catalog since Jan 10, 2022) — command execution through the web server of cameras and NVRs without a password; a public exploit is available in Metasploit.
  • Hikvision CVE-2017-7921 (in the catalog since Mar 5, 2026) — authentication bypass; exploitation attempts were still being recorded eight years after disclosure.
  • Dahua CVE-2021-33044 and CVE-2021-33045 (in the catalog since Aug 21, 2024) — authentication bypass.

What follows from this:

  1. Vulnerable devices are found by scanning the internet → the NVR must not be reachable from outside: neither through port forwarding nor through UPnP (step 3).
  2. The vulnerabilities are years old, yet devices remain unpatched → update the firmware and check quarterly (step 6).
  3. Authentication bypass makes the password useless → the protection is the network, not the password (steps 2–3).
  4. A hacked NVR becomes a foothold inside the office → the NVR goes on its own network with no access to the cash desk (step 2).
  5. Hacked cameras are used by botnets → block cameras and the NVR from reaching the internet (step 2).
  6. The vendor's cloud access is one more path in from outside → turn it off and view through your own VPN (steps 3–4).

Step 1. Size the drive for 30 days and check the real archive depth

Why: you need 30 days (that is, for example, what NBG requires from exchange offices in Georgia), while a drive bought "by eye" often holds 10–15.

How to do it.

  1. Find the bitrate of each camera: in the NVR web interface, Configuration → Video/Audio → Video (or Configuration → Camera → Encoding on newer firmware) — Max. Bitrate of the main stream.
  2. Calculate: GB per day per camera = bitrate (Mbps) × 10.8; multiply by the number of cameras and by 30, then add 20%.
Cameras Bitrate For 30 days Drive
4 2 Mbps 2.6 TB 4 TB
4 4 Mbps 5.2 TB 6 TB
8 2 Mbps 5.2 TB 6 TB
8 4 Mbps 10.4 TB 12 TB or 2 × 6 TB
  1. Recording must be continuous: Storage → Schedule Settings → for each camera, a Continuous schedule on all days.
  2. Drive status: Storage → Storage Management — status Normal, capacity matches what you bought.
  3. If the drive is too small, lower the bitrate of secondary cameras or switch the codec to H.265 (usually 1.5–2 times more efficient than H.264), or add a drive.

What the screen looks like. Storage Management shows a table of drives: capacity, status, free space; a working drive has the status Normal. The recording schedule is a "days of the week × hours" grid filled with the color of the recording type; with continuous recording the whole grid is filled with the Continuous color.

Check: after 30+ days of operation: Playback → select the earliest available date. It must be at least 30 days ago.

Done when: the earliest recording is older than 30 days for every camera.

Step 2. Move the NVR to the camera network and block its internet access

Why: a vulnerable NVR must not see the cash desk or reach the internet.

How to do it.

  1. Connect the NVR to a port on the "Cameras" network (VLAN 20) — how to create that network is covered in Network Segmentation for a Crypto Exchange Office.
  2. Give the NVR a static address: Configuration → Network → Basic Settings → TCP/IP: IP 10.10.20.10, mask 255.255.255.0, gateway 10.10.20.1, DNS 10.10.20.1.
  3. Block the camera network from going anywhere on the router:
    • MikroTik: the rule add chain=forward action=drop in-interface=vlan20-cams above the "to the internet" rule (the full rule set is in the network article);
    • TP-Link Omada: Settings → Network Security → ACL → Gateway ACL: direction LAN → WAN, source Cams, Deny.
  4. If the cameras are connected to the NVR's PoE ports, they are already on the NVR's internal network; leave them as they are.

Check: on the NVR, Configuration → System → Maintenance → Upgrade → Online Upgrade — the update check should fail with a connection error. From the cashier's computer, http://10.10.20.10 does not open.

Done when: the NVR cannot reach the internet and is not visible from the cash desk or guest networks.

Step 3. Remove port forwarding, cloud access and UPnP

Why: open ports are exactly how NVRs get found.

How to do it.

Hikvision:

  1. Configuration → Network → Advanced Settings → Platform Access — uncheck Enable (Hik-Connect).
  2. Configuration → Network → Basic Settings → NAT — turn off UPnP.
  3. Configuration → Network → Advanced Settings → Integration Protocol — turn off ONVIF if no third-party software or recorders connect to the NVR. After turning it off, check that all cameras show a picture; if any went dark, turn it back on.

Dahua: Main Menu → Network → P2P — turn off; Network → UPnP — turn off.

Router:

  • MikroTik: /ip firewall nat print — delete all dstnat rules pointing to 10.10.20.x; /ip upnp set enabled=no.
  • TP-Link / Omada: delete the port forwarding rules (Port Forwarding / Virtual Servers) to the NVR and turn off UPnP.
  • ISP router: the same (see step 2 of the network article).

What the screen looks like. The Platform Access tab has an Enable checkbox at the top, and below it the platform type (Hik-Connect), server address, verification code and registration status. Uncheck the box and click Save.

Check: from mobile data: nmap -Pn -p 80,443,554,8000,37777 <office_external_IP> — everything is filtered or closed.

Done when: no NVR port responds from the internet, and cloud access and UPnP are off.

Step 4. Set up viewing from a phone over a VPN

Why: the owner wants to see the cameras from a phone, but without open ports.

How to do it.

  1. Make sure the office has a public IP address. Look up the IP on the router (the WAN interface) and compare it with what an IP-check website shows from an office computer. If they don't match, the address is behind the ISP's NAT; ask the ISP for a static public IP or run WireGuard on a cloud server.
  2. WireGuard on MikroTik:
/interface wireguard add name=wg-staff listen-port=13231
/ip address add address=10.99.0.1/24 interface=wg-staff
/interface wireguard peers
add interface=wg-staff public-key="<phone_key>" allowed-address=10.99.0.2/32 comment="Owner phone"
/ip firewall filter
add chain=input action=accept protocol=udp dst-port=13231 comment="WireGuard" place-before=[find comment="I6 everything else to router"]
add chain=forward action=accept in-interface=wg-staff out-interface=vlan20-cams comment="VPN -> cameras" place-before=[find comment="F6 everything else"]
/interface wireguard print

The last command shows the router's public-key — the phone needs it.

  1. Phone: WireGuard app → "+" → Create from scratch:
[Interface]
PrivateKey = <generated in the app>
Address = 10.99.0.2/32

[Peer]
PublicKey = <wg-staff public-key from the router>
Endpoint = <office external IP>:13231
AllowedIPs = 10.10.20.0/24
PersistentKeepalive = 25

Enter the phone's public key (shown in the app) as public-key on the router.

  1. Hik-Connect on the phone: add a device → manually → IP/Domain → address 10.10.20.10, port 8000, the view-only account from step 5. For Dahua in DMSS, use port 37777.

  2. TP-Link Omada: the VPN server is configured under Settings → VPN; the available types (WireGuard, OpenVPN) depend on the gateway model and firmware. Allow VPN clients to reach only the camera network.

What the screen looks like. In the WireGuard app, a tunnel is a row with a toggle. Inside the tunnel there are two blocks: Interface (the phone's keys and address) and Peer (the router's key, Endpoint, Allowed IPs). Allowed IPs must contain only the camera network 10.10.20.0/24.

Check: VPN off — the cameras are unavailable in the app; VPN on — they are available; with the VPN on, the cash desk address 10.10.10.10 does not open.

Done when: the cameras are visible only over the VPN, and the VPN reaches only the camera network.

Step 5. Split the NVR user accounts

Why: a single shared admin is known to everyone who has ever set up the cameras.

How to do it. Configuration → System → User Management:

  1. admin — a new long password, known to one person, used only for configuration.
  2. Add → type Operator or User → name owner-view → permissions: only Remote Live View and Remote Playback for the cameras needed. This login is for the phone.
  3. A separate user for security staff, if they watch the cameras.
  4. Delete every account you can't explain.
  5. On the cameras (if they are on the network rather than behind the NVR's PoE), change the admin passwords too.

Current Hikvision devices have no default password: on first power-up the device is activated and a password is set. Older models used the default password 12345: if your device is one of them, changing the password comes first.

Check: log in as owner-view in the app — live video and the archive are visible, but there is no settings menu.

Done when: everyone has their own login, and admin is used only for configuration.

Step 6. Update the NVR and camera firmware

Why: all the vulnerabilities listed above are fixed in updates that the victims had not installed.

How to do it.

  1. Version: Configuration → System → System Settings → Basic Information → Firmware Version; the model is shown there too.
  2. Download the firmware for your model from the official Hikvision website or from an official distributor, and make sure the model matches exactly.
  3. Configuration → System → Maintenance → Backup — export the configuration.
  4. Configuration → System → Maintenance → Upgrade → select the file → Upgrade. Do not cut the power until the device reboots.
  5. Add the model and version to your device list: to get alerts about new vulnerabilities automatically, we build Perimeter.

What the screen looks like. The Upgrade page has a firmware file picker and an Upgrade button. A progress bar shows the update; after it finishes, the NVR reboots on its own.

Check: after the reboot, the version in Basic Information is the new one and recording is running (Playback for the last few minutes).

Done when: the firmware version is the latest for the model and recording was not interrupted.

Step 7. Protect the archive against theft of the NVR

Why: in a robbery the NVR is the first thing taken — along with the evidence.

How to do it:

  1. Put the NVR in a locked cabinet or another room, not under the cash desk. Run its power through a UPS.
  2. Copy recordings to network storage (NAS) in another room, if the NVR supports network drives: Storage → Storage Management → Net HDD → add the NAS, then assign it for recording or backup of the important cameras. Which protocols (NFS, SMB/CIFS) and modes your model supports is stated in its manual.
  3. Regularly export important episodes (large transactions, incidents): Playback → select a clip → Export; the file goes to storage and its hash goes to the log:
Get-FileHash .\export-2026-11-01-1432.mp4 -Algorithm SHA256

Check: turn off the main NVR for 5 minutes (outside working hours) — the copy on the NAS still exists and opens.

Done when: stealing the NVR does not destroy the cash desk footage.

Step 8. Signs and employee notification

Why: video is personal data of customers and employees; the law requires transparency.

How to do it:

  1. A "Video surveillance in operation" sign at the entrance — in the local language and in English, with the video surveillance symbol and the company's name and contact details.
  2. A written notice to employees about the video surveillance, its purpose (regulatory requirement, protection of valuables) and the retention period; each employee signs it.
  3. A list of who has access to recordings (from step 5) kept with your documents.

Done when: the sign is up and the notices are signed.

Step 9. Test from outside and inside

From What we do Expected
Mobile data, VPN off nmap -Pn -p 80,443,554,8000,37777 <external_IP> all filtered / closed
Phone, VPN off open the cameras in Hik-Connect unavailable
Phone, VPN on open the cameras available
Cashier's computer open http://10.10.20.10 does not open
Guest Wi-Fi open http://10.10.20.10 does not open
NVR Playback of the earliest date ≥ 30 days ago

Record the result with the date in the log for your cybersecurity framework.

Checklist

# What to check How to confirm ☐
1.1 Recording is continuous on all cameras Storage → Schedule Settings — for each camera the whole grid is filled with the Continuous color ☐
1.2 The drive is healthy and at full capacity Storage → Storage Management — status Normal, capacity matches what you bought ☐
1.3 The drive is large enough for 30 days by calculation Bitrate × 10.8 × number of cameras × 30 + 20% — no more than the drive capacity ☐
1.4 The archive really holds 30 days After 30+ days of operation: Playback — the earliest recording for each camera is at least 30 days old ☐
2.1 The NVR is on the camera network Configuration → Network → Basic Settings → TCP/IP — IP 10.10.20.10, gateway 10.10.20.1 ☐
2.2 The NVR has no internet access Maintenance → Upgrade → Online Upgrade — the update check ends with a connection error ☐
2.3 The NVR is not visible from the cash desk From the cashier's computer, http://10.10.20.10 does not open ☐
2.4 The block is configured on the router MikroTik: /ip firewall filter print — drop for in-interface=vlan20-cams sits above the "to the internet" rule; Omada: Gateway ACL has a LAN → WAN, Cams, Deny rule ☐
3.1 Cloud access is off Hikvision: Advanced Settings → Platform Access — the Enable checkbox is cleared; Dahua: Network → P2P is off ☐
3.2 UPnP is off on the NVR and the router NVR: Basic Settings → NAT — UPnP off; MikroTik: /ip upnp print — enabled: no ☐
3.3 No port forwarding to the NVR MikroTik: /ip firewall nat print — no dstnat to 10.10.20.x; on TP-Link and the ISP router the Port Forwarding / Virtual Servers section is empty ☐
3.4 Ports do not respond from the internet From mobile data, nmap -Pn -p 80,443,554,8000,37777 <external_IP> — everything filtered or closed ☐
4.1 Cameras are not visible without the VPN VPN off on the phone — cameras unavailable in Hik-Connect; VPN on — available ☐
4.2 The VPN reaches only the camera network In the WireGuard app, the tunnel's Allowed IPs = 10.10.20.0/24; with the VPN on, http://10.10.10.10 does not open ☐
5.1 The admin password is changed Login with the old password fails; the new password is known to one person and kept in a password manager ☐
5.2 The phone uses a view-only login Logged in as owner-view in the app: live video and archive visible, no settings menu ☐
5.3 No extra accounts Configuration → System → User Management — every row can be explained ☐
5.4 Camera passwords are changed Login to a camera (if it is on the network rather than behind the NVR's PoE) with the old or factory password fails ☐
6.1 NVR firmware is the latest Basic Information → Firmware Version matches the latest version for this model on the official Hikvision website ☐
6.2 Camera firmware is checked Each camera's version is compared with the vendor's website and updated ☐
6.3 Configuration is saved before the update The file from Maintenance → Backup is stored off the NVR ☐
6.4 Recording runs after the update Playback for the last few minutes — there is a recording for each camera ☐
7.1 Outsiders can't get to the NVR The NVR is in a locked cabinet or another room, not under the cash desk; power through a UPS ☐
7.2 A copy of the recordings exists off the NVR Turn off the NVR for 5 minutes outside working hours — the copy on the NAS opens ☐
7.3 Important episodes are exported with a hash Every exported file has a SHA256 from Get-FileHash in the log ☐
8.1 The sign is up At the entrance — a sign with the video surveillance symbol and the company's name and contact details ☐
8.2 Employees are notified There is a signed notice from every employee about the purpose and retention period ☐
8.3 There is a list of access to recordings Your documents state who has access to recordings and under which account ☐
9.1 The NVR is unreachable from outside and without the VPN Rows 1–3 of the step 9 table match the expected results ☐
9.2 The NVR is closed from inside and the archive holds 30 days Rows 4–6 of the step 9 table match; the dated log entry is saved ☐

Questions

Isn't Hik-Connect more convenient than a VPN?

It is, but the NVR stays permanently connected to an external server, and access depends on a cloud account. A VPN is set up once (step 4).

Can I expose the NVR to the internet if I set a strong password?

No. Hikvision (CVE-2017-7921) and Dahua (CVE-2021-33044, CVE-2021-33045) have actively exploited authentication bypass vulnerabilities, and CVE-2021-36260 allows command execution with no password at all — password strength does not help here. An NVR visible from the internet gets found by scanning; view the cameras only over a VPN (step 4).

My ISP won't give me a public IP. How do I view the cameras from a phone?

Through WireGuard on a cloud server: both the office router and the phone connect to it, while the office ports stay closed from outside. How to set up WireGuard on MikroTik and connect phones is covered in WireGuard on MikroTik.

The NVR has no internet access — how do I update it?

Manually: download the firmware for your model from the official website to a staff computer and upload it through the web interface (step 6). Online upgrade is not supposed to work — the check in step 2 relies on that.

What is the Hikvision default password?

Current models have none: on first power-up the device is activated and a password is set. Older models used 12345. If your NVR or camera accepts it, change the password immediately and check the user list (step 5).

If the NVR has no internet access, why does it also need a separate network?

It can be attacked from inside too: from an infected computer, or from a guest's phone if the network is shared. CVE-2021-36260 works over the network without a password, and a hacked NVR becomes a foothold next to the cash desk. A separate network closes that path (step 2).

The NVR sat with open ports for years — what should I do?

Steps 3, 5 and 6 immediately, then check the user list for extra accounts. If you find unfamiliar ones, treat the device as compromised: reset it to factory settings and set it up again.

How do I find out who viewed the recordings?

From the NVR log: in the web interface, Configuration → System → Maintenance → Log, events of type Operation — user logins and remote playback of the archive. Georgia's personal data law (Art. 10) requires logging every access to recordings, so also keep a log of footage handed out: who received which clip and when.

Can I point a camera at the cashier's workstation?

In Georgia, the personal data law (Art. 10) allows filming an employee's workstation only in exceptional cases, when the purpose cannot be achieved otherwise, and with written notice to the employee of the purpose. Record that purpose in the internal document and in the notice to employees (step 8). In other countries, check the local personal data law.

Does this work for Dahua and other NVRs?

Yes, the order is the same: a separate network with no internet, no port forwarding, cloud or UPnP, viewing over a VPN, individual accounts, current firmware. For Dahua, the article gives the P2P and UPnP menu items and port 37777 for DMSS; look up the remaining menu items in your model's manual under the same names.


Note: Menu paths are for the web interface of Hikvision NVRs; names may differ between firmware versions. NBG requirements are based on a law firm's description and should be checked against the text of the order.

Sources

  1. AXIOM 11 — VASP licence in Georgia (2026): Order 94/04, Art. 7(6)–(9), video surveillance with 30 days of retention
  2. NBG Order No. 94/04 (Legislative Herald of Georgia)
  3. CISA KEV: CVE-2021-36260, CVE-2017-7921 (Hikvision), CVE-2021-33044, CVE-2021-33045 (Dahua)
  4. Law of Georgia on Personal Data Protection No. 3144 of 14.06.2023, Art. 10 "Video Monitoring" (Legislative Herald of Georgia, English)
  5. MikroTik — WireGuard
↑