To ensure your system and network are protected from malicious exploits, you should track and monitor known operating system vulnerabilities, and then make sure that your OS is up-to-date with all the security patches.
If it’s a windows based system there are lot of vulnerabilities and lot of updates to be applied. And though they are less frequent, Linux vulnerabilities must also be tracked and addressed quickly.
IT security professionals typically understand which ones are relevant and which ones you can skip, but this can be an extremely daunting task without the proper training and experience.
You can also proactively contact your DVR/NVR vendor to find out which OS your NVR/DVR is using (Linux, Windows) and also the OS Versions and the versions of the additional Modules that sit on the OS (e.g. Microsoft IIS webpage server) so you can understand which security vulnerabilities will impact you.
Then track vulnerabilities to that OS and contact your OS vendor to see what patches are needed.
The best practices for a VMS is to make sure that the machines are under the domain of the IT department and that the IT department has the responsibilities and staff assigned to do the proper patching, upgrading, modifications, and has processes in place to make sure the machines are secure.
Also, make sure your camera vendor is patching for security issues, and that you are upgrading your camera firmware as soon as new versions are available.