Showing posts with label Uniview. Show all posts
Showing posts with label Uniview. Show all posts

Thursday, June 1, 2023

Ports on Security Camera NVR & DVR

Ports on Security Camera, NVR & DVR? 

When you receive your DVR you might be wondering what some of the ports are for. This article will explain some of them, the reason they are their as well as a little bit of history.

USB = Universal Serial Bus

Universal Serial Bus is an industry standard developed in the mid-1990s to replace the slower serial and ps2 communication ports on a computer.  The purpose was to be able to attach devices like a mouse, a keyboard, disk drives, network adapters, portable media players, and other devices that help qualify the word Universal in the name of the port.  It has become such a standard that it has evolved over the years as USB 1.x, USB 2.0, USB 3.0, USB 3.1, and USB Type-C.  The DVRs and NVRs continue with this trend by offering USB ports for connecting a mouse and flash drives or hard drives to the unit by using one of the available ports.  Unfortunately, USB keyboards are not supported by the operating system and only the online keyboard is available for entering data.  DVRs and NVRs are very similar to computers, so the device needs to be supported in the operating system.  This matters especially when connecting drives in the sense that you could try to use a USB drive that is too new for the unit.  A DVR or NVR manufactured during a certain era will only support flash drives and hard drives with sizes appropriate to that era.  For example, you will not find a 64GB flash drive or a 6 Terabyte hard drive in 2007.  There is no harm plugging in a USB drive to see if it is recognized since the port is plug and play.

Ethernet Port

An 8P8C (8 position 8 contact) modular connector, often called RJ45 (Registered Jack 45), has become an extremely important plug since the world wide web is connected with this standard Ethernet port on all kinds of devices.  Our DVRs have one Ethernet port so that they can connect to a router for access to the unit from the world wide web.  Our NVRs have the same port, and may also have power over Ethernet ports (POE) for cameras to connect to it for power and video data transmission.  You can buy an 8 channel NVR, for example, that has a built-in 8 port POE switch that allows you to plug 8 IP network cameras into the back of the unit.  You can also buy an 8 channel NVR that does not have any built in POE ports, so the video data would need to be networked back to the NVR.  This can congest a network if you have other computers and devices using the same routers and switches, but there are ways to design your network topology to reduce or separate traffic.

BNC Connector

The BNC connector derived its name from Bayonet Neill–Concelman, which is a combination of its bayonet mount locking mechanism and its inventors, Paul Neill and Carl Concelman.  The BNC connector is a quick connect radio frequency connector commonly made in 50 and 75 ohm versions used for coaxial cable. 

This connector has become the heart and soul of the analog and HD-CVI DVR because of a quick plug and play connection option.  Many people like to use existing coax cable and continue to use it with new technologies like HD-CVI rather than mess with a complete overhaul to an IP technology system.  While IP may be the future, this connector has found new legs with new technologies and should remain viable for years to come.  As long as coax cable still exists, the BNC connector will remain the default option.

RCA Connector

An RCA connector is designed to carry audio and video signals, and received its name from the Radio Corporation of America in the early 40s when it was designed to be an internal connector in home radio-phonograph consoles.  This port has evolved over the years to encompass video in the famous red, white, and yellow composite video.  Our DVRs and NVRs use the connector for audio-in and audio-out primarily since video on our DVRs is covered by the BNC port and NVRs use networking to transmit video.

HDMI Port

HDMI stands for High-Definition Multimedia Interface, and it is a proprietary interface designed for sending video and audio to and from HDMI compliant devices.  The video is uncompressed and the audio can be compressed or uncompressed.  Our DVRs and NVRs have this port as a connection option to a TV or monitor for viewing the live video or playback, as well as adjusting the settings of the unit through the menu options.  The main improvement of this port over VGA, for example, is the ability to do high definition without video loss, which allows us to see higher quality video.  This means that we can see more cameras on the screen at one time clearly and see more detail.

In Summary

There were many ports used in the past that are now likely on the way out.  Most notably is the RS485 connector that is used to control the PTZ cameras.  With Ethernet IP camera and HD-CVI camera technologies taking off, connecting a PTZ is now done over the one cable with no additional cables needed for PTZ control.  They should still be present on hybrids and tribrids, but anyone buying a new system should opt for one of the new technologies since video surveillance is about protecting assets.  VGA should hang around a little longer, but HDMIs ability to handle high definition video without video loss and audio on the same cable, make it very convenient.  RS232 / Serial, PS2, LPT, are all in the port graveyard, but there are likely still some machines out there that have them.

No doubt that new standard ports will come, as they are always being invented or improved.  The research and development teams at all technology companies are working towards the next big thing, so that they can create a new standard port for years to come.  DVR and NVR companies will incorporate any new port into their system that is useful as it grows in popularity.  For example, if a port replaces USB 3.0 for connecting external hard drives, that would become a standard very quickly.

Some software based port are required to come online of IP camera, DVR or NVR. One for the HTTP port (port 80) and one for the TCP port (port 37777). You will find that the majority of network devices which are accessible using an Internet browser will be set as standard to port 80, including IP cameras and routers etc. This is due to the standard port for HTTP, or information being displayed through an browser, being port 80.

HTTPS (Hypertext Transfer Protocol Secure) is a secured HTTP version where all traffic is bind with strong encryption that passes through Port 443. This port is also connected with TCP protocol and creates a secure connection between the webpages and browser.

Port 554 RTSP for communication between the Content Server and the Wowza Media Server. Needs to be open between the Content Server and the Wowza Media Server.

TCP port 9530 uses the Transmission Control Protocol. TCP is one of the main protocols in TCP/IP networks. TCP is a connection-oriented protocol, it requires handshaking to set up end-to-end communications. Only when a connection is set up user's data can be sent bi-directionally over the connection.
Attention! TCP guarantees delivery of data packets on port 9530 in the same order in which they were sent. Guaranteed communication over TCP port 9530 is the main difference between TCP and UDP. UDP port 9530 would not have guaranteed communication as TCP.

A web server would typically have this open and listening if there are any types of these activities. If the machine is windows you can run "netstat -a -b -v -n", to display the processes associated with a particular open port.

A backdoor was found in Chinese-produced DVRs and NVRs that secretly allowed access to the recorders. While it was first attributed to Huawei (HiSilicon), Huawei subsequently refuted their involvement.

How the Backdoor Works

The backdoor uses port knocking via the management port of vulnerable equipment. A series of commands are sent to the device via the management port, TCP 9530, which in turn opens telnet. When telnet is enabled the attacker can use one of six hardcoded root credentials to gain full control of the vulnerable device.

The skill level needed to exploit this is low and similar to the skill level needed to exploit the Dahua Wiretapping Vulnerability from last year, requiring a limited working knowledge of python. A proof of concept is available, which is used to:

  • Send a command to open Telnet on the target device (OpenTelnet: OpenOnce)
  • Use a pre-shared key for access (2wj9fsa2)
  • Receive an 8 character number / respond with that number + PSK
  • Open a Telnet session with the device
  • Login with 1 of 6 hardcoded root accounts

Major Chinese Manufacturer Impact Unlikely

Major China manufacturers like Dahua, Hikvision, Uniview are not impacted, from everything we have seen. We executed the proof of concept code from the disclosure on multiple devices and were unable to gain access using the backdoor.

The backdoor primarily impacts devices using HiSilicon SOC with Xiongmai software, which is dozens of small OEM manufacturers, using minimally modified OEM firmware, Open Source OS and drivers, and enabling telnet on port 9530.

Friday, June 29, 2018

Reset IP Security Cameras

Reset IP Security Cameras
If an IP security camera has failed or if some of its functions are not responding you may need to reset the camera. Every brand has its own resetting sequence. 


As per my last 12yr experience I have prepared this useful guide about how to reset IP cameras, with the help of IPVM.com (one of the most reliable and frontier information source of surveillance systems).

Reset Button Locations
There are a few common reset button locations, shown below. For added security some reset buttons may be located under the dome bubble or an access panel. For ease of access some reset buttons are located at the end of the whip or exposed on the exterior of the camera. Exposed locations are notably less secure than others, as they allow the camera to be reset without disturbing it, which could effectively take it offline.

3xLogic
3xLogic has two different reset methods for different series.
Visix V Series:
Press and hold the reset button for 2 seconds while the device is in use. System will reboot.
Visix:
Press the reset button and hold it for 10 seconds. This procedure will reset everything to the factory settings (password, username etc)
ACTi
1.                Disconnect the power cable.
2.                Press and hold the Reset Button. While continuing to hold the reset button, reconnect the power cable.
3.                After the power cable plugged keep holding the reset button around 6 seconds, release the reset button. The unit will reset to factory settings
ADI / W Box
Follow the same steps of Hikvision resetting procedure.
Advidia
Advidia has different resetting methods because of OEMs multiple manufacturers
A Series (HikVision OEM)
Follow the same steps of Hikvision resetting procedure..
B Series (ACTi OEM)
1.                Disconnect the power cable.
2.                Press and hold the Reset Button. While continuing to hold the reset button, reconnect the power cable.
3.                After the power cable plugged keep holding the reset button . The red Power LED light will flash on for 3 second first, turn off for about 15 seconds, flash on for another second and turn off again. This procedure takes around 20 seconds and camera will power up. Release the reset button.
E Series (Dahua OEM)
Press and hold the reset button until the blue LED (about 5 seconds) underneath the camera lights up.
Arecont Vision
*For MicroDome Duo , MegaVideo 4K and the new generation models
Press the reset button and hold 10 for seconds and then release the button.
ATV
4.                Switch off the network camera by disconnecting the power adapter.
5.                Press and hold the Reset button (SW1) on the board with your finger while reconnecting the power.
6.                Keep the Reset button (SW1) pressed for about 2 seconds.
7.                Release the Reset button (SW1).
8.                The network camera resets to factory defaults and restarts after completing the factory reset.
Aventura
Press and hold the INITIAL SET button for about 10 seconds while the power is on.

ANNKE
1.                Unplug camera from power source and NVR.
2.                press and hold reset button on camera for 20 seconds. KEEP HOLDING UNTILL the step let your hand go.
3.                keep holding reset button. At the same time, plug camera to NVR. ...
4.                hold on reset button for 20 seconds after camera is plugged into NVR and let hand go. NVR.

Avigilon
5.                Disconnect power source from the camera.
6.                Press and hold the firmware revert button.
7.                While holding the button, connect the power source back. Then release the button after 3 seconds
AXIS
1.                Disconnect product form the power source.
2.                Press and hold the control button while reconnecting power.
3.                Hold the control button until the amber lights turn on (up to 30 seconds)
4.                Release the control button. The process is complete when the light turns green.
Basler
1.                Disconnect product form the power source.
2.                Press and hold the reset button. Connect to power source back to device while holding the default button.
3.                Wait for 5 seconds and release the reset button
4.                Wait approximately one minute for the camera to finish the reset process and to reboot
Bosch
Press and hold the reset button for more than 10 seconds while the power is on.
Brickcom
Press and hold the Reset Button for more than 10 seconds
Canary
Hold the power button down for 12 seconds when the power is off.
Continue to hold until Canary Flex reboots (while light will be spinning) then release the button.
Cisco
1.                Press and release reset button. Wait for the Camera to reboot.
2.                Press and hold the reset button until the status LED rapidly blinks.
36300 and 6630 Cameras
Press and hold the reset button for 15 seconds
Dahua
Press and hold the reset button until the camera restarts (about 5 seconds) while the power source connected to camera.
Digital Watchdog
Press and hold the reset button for 5 seconds.
EZVIZ
Press and hold the RESET button for 3 seconds while the camera is on.
FLIR
Ariel
1.                Press and hold the reset button for 30 seconds.
2.                Both LEDs on the RJ45 connector are extinguished.After one second, the green network LED flashes once and remains lighted.
Others
Follow the same procedure for Dahua.
GeoVision
Press and hold the default button (for about 8 seconds) and release when status LED blinks
Hanwha-Techwin
Press and hold reset button for about 5 seconds to reboot the system.
Hikvision
Press and hold the reset button, power on the camera, continue holding for more than 10 seconds.
IQEye
1.                Disconnect the power source.
2.                Press and hold the reset button until the status indicator blinks. Then release the button.
3.                When the power indicator changes to green (may take up to 40 seconds), the process is complete.
Mobotix
Unfortunately Mobotix cameras do not have a reset button. They must be returned to the manufacturer.
Nest
1.                Press and hold the reset button on the bottom of the camera for several seconds while the power is on.
2.                Hold the button for five seconds (light will be yellow during this) when the light turns blue release the button
3.                When the blue light is faded, resetting is done.
Panasonic
1.                Disconnect the power source
2.                Press and hold the initial set button and plug the power back in.
3.                Keep holding for 5 seconds.
4.                Camera will boot itself for about 2 minutes then the resetting will be done.
Pelco
1.                Press and hold the reset button for 10 seconds.
2.                Press button down again and release to reboot camera.
Sony
1.                Turn off the camera.
2.                Press and hold the reset button while turning back on the camera.

Swann (for NHD-820/830/835/850/880/881)
1.      Reboot the camera by disconnecting the power source (Ethernet for PoE and power adapter for non-PoE) then plugging it back.
2.      Within 10 seconds of powering up the camera, press and hold the reset button for 10 seconds.
Uniview
1.                Turn of and turn back on the camera
2.                Press and hold the reset button until the PWR LED turns red. (about 15 seconds)
3.                You have 10 minutes to apply this procedure after the camera turned on.
Vivotek
1.                Press and hold the button for a few seconds.
2.                While you're holding down the button, the LED will go to POST (power on self test).
3.                Wait for the self-diagnostic to run twice.

Please keep it in mind, resetting a camera cannot solve the hardware problems and also it is not always accurate to solve software issues too.