Dahua Hard-Coded Credentials Vulnerability

Author: IPVM Team, Published on Nov 20, 2017

A newly discovered Dahua backdoor is described by the researcher discovering it as:

not the result of an accidental logic error or poor programming practice, but rather an intentional backdoor placed into the product by the vendor

This comes after other recent cyber security issues involving Dahua, including:

A group of ex-NSA researchers found these hard-coded credentials in Dahua products. The finding was picked up by The Washington Post and Fortune, but those publications failed to analyze the true extent of Dahua's most recent vulnerability.

IPVM spoke with Terry Dunlap, the CEO of ReFirm, the research company that discovered the vulnerability, as well as representatives from Dahua, to analyze its potential for impact. Will it be the next Mirai? Details are in this note.

* ***** ********** ***** ******** ** ********* ** *** ********** discovering ** **:

*** *** ****** ** ** ********** ***** ***** ** **** programming ********, *** ****** ** *********** ******** ****** **** *** product ** *** ******

**** ***** ***** ***** ****** ***** ******** ****** ********* *****, including:

* ***** ** **-*** *********** ***** ***** ****-***** *********** ** Dahua ********. *** ******* *** ****** ** ***** ********** **************, *** ***** ************ ****** ** ******* *** **** ****** of *****'* **** ****** *************.

**** ***** ********* ******, *** *** ********, *** ******** ******* **** ********** *** *************, ** **** as *************** **** *****, ** ******* *** ********* *** ******. Will ** ** *** **** *****? ******* *** ** **** note.

[***************]

*******

* ****-***** ******** *** ******** *** ** **** ** ****** rogue ******** ** ******** *******, ********* ******** ************** ******* **** control ******** ********. **** ****** ** ******** ** ***** ***** own **** (*.*., *****-***** ****** ****) **** ********** ******** *** load ** ******** **** ***** *******. *** ************* ** **** easy ** *******, ****** ** ****** ** * ******** **** being ******** ********** (**** ****), ***** *** **** ***** ******* impact.

***** *** ******** ******* ********, ****** *** *** ** ******** by *** ******** *******.

Vulnerability ********

****-***** *********** (********/******** ** *****/*****) **** ***** ** * ******* called "********", ***** ******* ** **** **** *** ** **** to ******** ****** ******** *******. *** ************* *** ***** ** Dahua ******** ******* *.***.****, ****** ** ** *** ******* ** only **** *******. **** ******* ** *** ************* *** ******** in******'* ******** **** ************* ******, ******** ** **** **.

*** ***** ***** ** * ********** ****** ******** **** ***** analysis ***** ***** ***** *** ****-***** *********** ****** ** *** code:

********* ** *****, *** ************* *** **** ** **** *** firmware ******* *********, *** *** *** ** **** ** **** remote ****** ** ******** ******* ** ******** *** **** ****.

Exploit ********* ****

****** ****** ** **** ********* * ***** ** ******* *******, where **** **** **** ** ****** * ***** ******** ***** that ******* ** *************** ****** *******, ******** **** ****** **** a ***** ***** ** *** ******. **** **** ***** ** attacker ***** **** **** ***** ** *** ******, ******** **** to ****** * *** *****-***** ******, ****** ** ***** ***** data ** *** ******, ** ********* **** *** *********. ********* could **** ****** ******** ******** **** ******* *** ****** ********** installed, ****** * ****** **** ********* ****** *******, ********* *** original ***** ******.

Affected *******

***** ****** * ******** ************, ***** **** ***** * ******** ********, ********* * ** camera (***-********) *** * *** (*******, ***** ***** **** **** in *****). ***** ** ******* ******** *** **** ********* ** the ******** ************.

****** *** ****: ***** ********** ***** ******** ************, ****** * ** ******* *** * **** ***.

****** **** ****** ** **** ***** *** ************* ** * wider ***** ** ********, ******* "******** ** ******* ***** ******** images **** ******** ***** ****** ****** ******** **** **** ***** camera ******** ******* **** ***** **** ******** *******, ********* *** “dahua” ****-***** ******** ***********."

***** ****** "*** ******** ******* ***** **** **** *** *** affected", *** **** ********* **** *** ***** ********* ******** **** older ********. ***** ** ****, ** ***** ********** *** **** of ******** ******** ***** ******* ** ***** ********* ** *********** affected *******.

Overall **** ******

***** *** ****** ******* ** **** ******* ** **** ****, meaning ** ***** ** ******** ** **** ****-********** ***** ***** for ****** ****** (****** ***** ****** *** ****** ** * DMZ), ******** ******* ********* ** ***** *** ****. *****, **** presents * **** ** ******* *******, ** ********* ******* ****** to *** *** ******* ***** ***** (**** ****, ***** *********** devices, ***.), *** **** ************* ****** *** ** ********** ****** simply ******* ** ***** ********* ** **** *******.

Fix ********

****** ****** **** ********** *** ****** ******** **** *** **** Dahua ********, *** ***** *** ****-***** *****/***** *********** ***** *******, as **** **** **** ** ****** * ******** ******* ** a ****** ******* *** ********** ******* ********. ***** ****** **** have **** ****** ** ********* ******'* ********, *** **** *** hard-coded **** **** *** **** ******* **** ****** ********. ** of *** **** ** **** ***********, ***** ** ********** ** contact ****** ** *** **** ******* ** ***** ***** ** the ************* ***** ******** ** *** ********* ***** ********.

Dahua ******** *********

*****'* ******** ** **** ************* ****** *** **** ******* ****** than ******* *************** ** *** ****. **** **** **** ********** to ********* **** **** *** *******, *** **** ******* ***** Security ************ ** **** **** ********** ******* ********** *** *************. To ***** ******, **** **** ******** ****** ******* ***** *** vulnerability *** *********, ** ****** **** ******** ***** * **** in ******* ** ***** *******, ****** **** *********** ***** ******* are ***** **-** **** ******* ****** ** *********** ** ******* a ********.

ReFirm **** ******** *******

****** ** * *********, ** ***** ******** ******** ******* ******* by **-*** ******** ********. *** ******* **************** $*.** ** ******* *******, *** **** *********** **** **** ** ******* ***** ***** analysis ****** ** ******* ***** *******, **** ** ******* *** The ********** ****.

*** ******* *** ********* * ******* ****** "**********", ***** **** claim *** ******** ******** *** ******* *** ******* ************* ** detect *************** **** ** **** *****. ****** **** ******* *** Centrifuge ******** ** * **** ***** ** ********** ** ***-***** who **** ** *** ** *** ********* ************* ********.

****** **** ******* *** ** **** ******** *** ******** ** advance ** *** *******, ***** ** ******* ***** ** ***** get ******** **** *****.

Comments (16)

* ***** **** ** **** *****'* *********** *** *** '*********** backdoor ****** ** ** *** ******* ** *** ******' **********...

** ** ** ***** ******** ****** ****** ** *** ******:

*******:

******** ******* ************** ****** ************* *** ***** ** ***** ***-******** and **** ** ********. *** ************* *** ****** ** ******** Debug ********. **** ********** ******** *** **** *** ******* ******** and *********** ****** ****** ******* *********** *****. ** ******* *** device ** ******* **** ******** **** (*** *********, ** ********) and ********* ** *** *** ******** ** *** ******** ** collecting **** ******* **** ** ******** ****** **** *********.

******** ******* **** ***** ***** **** ** *** * ***** by ****** ** ***** ** ****** **** *****, *** **** no ***** ***** ******* ******** *** ********. ** ****’* ***** REAL **** ** **** ******.

** ************* **** ***** ** ****, **** ********* *** ************* found ** ******, ** * ** *** ***** ** ** fair ** **** ** * "*****" **** ***** *** *** dispute *** *************.

***** ***** *** *** *** ********** *** **** **** ***** was * *****-**** *****, **** *** *** ***** **** ******-******** ****** *** ******* **** ** ******** *******. **** **** do *** ***** **** ** ***** ******** ******. ** ** is ****, ***** ****** ******* **** *********** ** **** ** their *******, *** ******* * ******-**** ******* ** ****

****** ****** ******* ********** ******* ** ***** ****** ***** **** Dahua ************* *** *********. *** ****** ********* ****** ** **** attention ** ***** *******, *** *** ***** ******** **** **** doing ****, ** ***** ** ****, * ****** ** *** publicity. *****, **** **** *** ******* **** *** **** **** they ***** * ************* **** ***** ******** **.

*** ** **** *** "*****" ****** **** *** *** "******** sources **** *****" ****. ****** *** * **** **** **** that. ** ***** *** **** ** "*********" ** **** ** you ****.

“******** ******* **** *****”

***** ** ***** “**********”.

"** ******* *** ****** ** ******* **** ******** **** (*** direction, ** ********) *** ********* ** *** *** ******** ** any ******** ** ********** **** ******* **** ** ******** ****** code *********."

+* *** *** ***** *** ** ***** ********* **** **** put **** ******** ** ********** - ****** ********* (****: *** continue ** **** *** *******.)

-* *** *** ***** *** ******** ** ***** *** '***-**************' by ********* ***** ********* ** *** **** **** ** '********'. (ignoring, ** ******, **** *** ********* ** *** **** **** itself ** **** ***** ***** ****** *********** ********* - *** vulnerable ** ******** **** *** ***** *** ******)

**** ******* *** **** **** ** **** ** ** "****** around" **, *** *** ** **** * ***** ******.

****: *****, * ***** **** ** *******, ** ** ******** allow *** ** ****** *** ******** ** ** '*********', ** the *** **** ****** **** **** ** ****.

********* ******* ** ***** *** **** ** *** "***" *** the **** ***** **** ***** ** ********.

******'* **** **** * ****** *** ***** *** ******** ****** already **** ********* *** **** **** ******* ****'* ****** ****** that *** *** **** ****** ******** **** * **** ***?

***'* ******, ***** ****** ******* * *** **** **** *** a ************* **** **** *** ******** ** ****.

**** **** ******* ****-****** *******!

****** **'** *** **** ***** **** ******** ***** **** ****. So *** ** **** ************* ******** ***?

*** **** ********* *** **** ******** **** *** *** ******* changing *** ****? ** * ***** ** **** ** ******* them *****?

********* ****** ** ********** ** ***** *** *** **, ** I ***'* *** *** "*****" ******...

******:***** ********** ***** ******** ************, ****** * ** ******* *** * **** ***, *******:

***** **** **** **** "******* ****** *********** ** ********** ******** products *** **********."

***** ** ***** *** ********** **** *********** *** *********** ******* it **** **. *******, ** ** ******** ********* **** **** cannot **** ******, ************** *** ******* ****** **** ** ** the ******** *** ******* ********. ****** ************ ***** ** ******** on ****?

****, ** ***** **** **** ******** **** *** ****** *** press ******* ***** **'** *** **** ******** *** ** ****'* particularly *** **** ***.

*** ******* ******* **** ***** *** ******** *** ****** **** older *********. *** ****** *** ***** ******* ** ******.

** ******* **** ***** **** **** * **** **, "** got ****** *** ** *** ************* *****, *** ** ***** this **** ** ******* *** ** ***** **** **, ********* we ***** **** ***** *** ** *** ******** ***** ** to ******."

*********, ***** *** ***** ** **** **** ** ***** **** 3800 ********** (***** ******** *** **** ****** ** *** ******** from **** ****-**** ******). *******, * *** ** **** ******* of *** ******* ** *** ******** *******/***********, ** *** **** is **** "***"?

**** **** *** *** ******* ****** *** ** ********* ********** and ********* *** * *** ** ***** **** ****** ** upgrade ** *** ******* ****** ******* * ******** ******* *** can ***** ** ******. * ***** ********* *** **** ***** works ***** ***-**** **** **********, *** * *****'* ****-******* ****** units ******** ** ****.

*******, * *** ** **** ******* ** *** ******* ** the ******** *******/***********...

** ***** **** **** “*****”,“*****” *** *** *********** *** ****** conditional ****.

Login to read this IPVM report.
Why do I need to log in?
IPVM conducts unique testing and research funded by member's payments enabling us to offer the most independent, accurate and in-depth information.

Most Recent Industry Reports

Eagle Eye Favorability Results 2019 on Mar 21, 2019
Eagle Eye has been the biggest spender in the cloud VMS market including (via their owner) acquiring Brivo for $50 million and CameraManager from...
Large Hospital Security End User Interview on Mar 21, 2019
This large single-state healthcare system consists of many hospitals, and hundreds of health parks, private practices, urgent care facilities, and...
Silicon Valley Cybersecurity Insurance Startup Coalition Profile on Mar 20, 2019
Many industry people believe cybersecurity insurance is not worth it, as the voting and debate in our Cybersecurity Insurance For Security...
Covert IP Camera Shootout - Axis, Hanwha, Hikvision, March, Vivotek on Mar 20, 2019
Covert cameras were one of the last holdout areas for analog cameras. However, in the past few years, IP / HD covert cameras have become...
Top Metrics For Ensuring Integrator Profitability - Statistics on Mar 20, 2019
How do integrators ensure the profitability of their projects? As part of our profitability study, 100+ integrators answered the following...
Avigilon Launches 'Renewed Products Program' on Mar 19, 2019
There are lots of 'pre-owned' cars but pre-owned IP cameras? While such programs are common in other industries, in video surveillance, they are...
Hanwha Tax Evasion Probe, Camera Division Implicated on Mar 19, 2019
A Hanwha group subsidiary was raided as part of a tax evasion probe. While a Korean news media report listed the raided entity as 'Hanwha...
Genetec Security Center 5.8 Tested on Mar 19, 2019
Genetec has released Version 5.8. This comes after a wait of more than a year that caused frustrations for many Genetec partners. Our previous...
Retired Mercury President Returns As Open Options President on Mar 18, 2019
Open Options experienced major changes in 2018, including being acquired by ACRE and losing its President and General Manager, John Berman who...
Large US University End-User Video Surveillance Interview on Mar 18, 2019
Schools have become targets in modern days of active shooters and terrorist fears. The need for video and access security is high. Universities...

The world's leading video surveillance information source, IPVM provides the best reporting, testing and training for 10,000+ members globally. Dedicated to independent and objective information, we uniquely refuse any and all advertisements, sponsorship and consulting from manufacturers.

About | FAQ | Contact