Hikvision Firmware Decrypted

Author: Brian Karas, Published on Mar 09, 2017

A developer has decrypted Hikvision's firmware, allowing examination of Hikvision's device source code and contents.

In this report, we overview the tool, showing you how it works, sharing a Hikvision's camera decrypted firmware and overviewing some things to look for inside.

* ********* *** ********* *********'* ********, ******** *********** ** *********'* device ****** **** *** ********.

** **** ******, ** ******** *** ****, ******* *** *** it *****, ******* * *********'* ****** ********* ******** *** *********** some ****** ** **** *** ******.

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

Utility ********

*** *********, ***********,********* *** ******* ** *** ******* **** ** *********. "*******" ** ***** *** "********* ******/********". ** ******** *** extracts ****** ********* ******** ******, ******** *** ********* **** ******* to *******, *** ******* **** **** *** ****** ******** ** install ** ** * ****** ** ********. *** ****** ******* takes * *** *******.

*** ******* ******** "** *** **" ****** ********* *** "*** and ***" ******** *********, ***** ****** *** ******** ** *********'* most ******* ** *******, *** ****-****** *********.

Hikpack *****

* ** *** ***** *********** ** ******** ** *** *** hikpack *******. *** ***** ******* * ***** *******, * *********** of************* ****-***** ***** ***** ******** ** ****.

** *** ******* *** **** ********* ******** ****** (********* ******** ********* ****), ***** *** **** ****** ***** *** ********* *******:

** *** ***** ** ****** **** ************* (*.*., ******** ******** from *******), ******* "-* *" ** **** ** ** ******* the ***** ** ** ******* *******:

*** ********* ******** ** **** ****** ** *** ********* ********* ("test1" ** **** ****), ***** *** ** *******, ** ******** further ** ******** *****.

Sample ********* ********

***** **** *******, *** ** **** ** ******* *** ******* Hikvision's ******** ******** ****** ** *** * *** ** ******** files. ************** .*** ***** ********* ****** ********** ***** *** *********** ** examine.

******* **** *** ****, ******** *** *** *********** / ********** of *********'* ********:

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

*** ********* "*****.***-**************" ******** *** **** ** *** ***** ********* system **** **** ** *** ******. **** **** ********* ** can **** ** /***/****** *** *** ** ******** * ****** value:

**** ***** **** ***** ** * ****-***** "****" ****, **** alone ** *** **********, ** ********* ***** ***** ** ***** a **** **** ** *** ********* *****. *** **** ** other ***** ***** ******** **** ***** ******* ** *** ****** runs ** ****, ***** *** **** ** ***** *********** ********** if ********** *** ***** ** ***** *********.

/***/****.*/*** ***** *** ********* *** ******** *** ****** ***** ** when ** ******:

*** *********** **** **** ** *** ******** ******** ****, ******* the ****** ** **** *********** ****** ** ** **** ** (SSH). ***** ****** ** ** **** ** **** *** *********** if *** ** *** ******* ** *** ******.

********* *** /***/*** **** **** ** ****** ***** **** **** shows *** ***** ******* ***** "********", * ****** *** ****** **** ** ******** *******:

** *** ******** **** *** ******* ***, *** ***** **** likely ** **** ** **** *** ****** ** *** ******, which ***** **** ******* *** ** **** *** **** ******** of *** ******.

***** ** **** * ****** **** ****** "*************", ***** **** implies ** ***** ** ****** **** ***** ********* ** ******* system-level ******** ** ******** ** ***** *******.

***** **** ** ***** ***** ******** ** ******** ******** *****, they ** **** **** ******** *** ********* ***** ****** ** keep ** *** ****** *******, *** ******* ** * ******** rule, ******* ** ****** *** ******* *** ** ***.

Firmware ********** **** ********

*** ********* ******** ****** **** *********** *** ********* ** ******* the ***** ******** ** *** ********. **** **** **** *** analysis ** ** ******** ** ***** *** ********** ********** **** can ** *********, *********, ***. **** ** *** *** *********** *************** ************ **********, **** *********** ******* ** ******* ******** ***** *** then ******* **** *** **********.

****** ********* ** *** **** ****** ** ******** ***** ** find *********** ********** ** * ******, ****** **** ****** ***** their *** **** ******.*** ********* **** *** ********** *** ******* ******** **** ** 70+ *** ************ **** ** **** **** **** ******** ******** ********.

Comments (16)

**** *****, **** ** ******.

***** * ***** **** ** **-***** ** *** **** ***** I *** **** **** *** **

******* **** ****** **** * ****** *** **** **** *** repos ** ** *******

Kali_screenshot

********* ** *** ***** ******** ***** ** **** ******< * had **** ******** ******* ** *** **** ****.

**** ******* ** **** *** *** ******* ** *** ***'* mind ** ******?

* ****** *** **** ****** ** **** * ****** ******* and ******** *** *** ********** ******* ** *** ****** *** server ******* ** ***, ***** ** ** ** **** ** access *** ****** *** * ********...

** ** * ***** ********** ** *** ***** ***** *** cia/nsa **** ********? =*

**,

** ***** * ********? ** "***** ****" ?

**** ********* ******** ******** **** **** ********* **** ******* ******. Now *** *** ***** ***. *** ***** ***** ******* **** their ****-******* (*********** *** ********* ************* ********) *** **** **** find **** *** ****** *******.

********* ****** ******* *** * ******* ****** ** ******** *******...

**'* **** ***** *** ** ******* *** ******** *** * long *****. **** ** *** ******* *************** **** **** *****.

*** **** ***'* *** ********** *** ** * ******** *****.

***** **** ** * **** ** ****** **** ** ** indeed ******* ****** ********?

***** ** ** **** ** * ***** * **** **** is *** ******* *** ********.

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

"********* *** /***/*** **** **** ** ****** ***** **** **** shows *** ***** ******* ***** "********", * ****** *** ****** **** ** ******** *******:"

"*** ********* ***** ****** ** **** ** *** ****** *******, but ******* ** * ******** ****, ******* ** ****** *** running *** ** ***."

******* **** *** ******* *** ******** **** ** * ****** cgi ** ********... *** ****** ** ** *** ********.

****'* ** *********** *******. *'* *** **** * ***** **** my ******* ***, *** **'* ***** * **********... *** ***** Hikvision **** **** ******* ***** ****** ********? **** **** ***** on ******** ***** *** ** **** **** ****** **, **** would ******* **** *** ********* ************ ** ***** **** (** at *** **** ***** ************ *** ******** ***************). ***** *** be * *** ****** **** ****'* **** ** **** ** themselves, **** *** ******** ******** ********, ** ******* **** ** the *********, *** **** ***** **** ******* **** *** ************ of ******** ****** ** *** *** ******.

**** ***** ** *** ******** *** **** ****** *******.

* ***** ****** ****** ******** **** *** ***** ********.

*** *** ***** ** *** ***** ********* ***'* ********** ** request *** ****** **** ** *** *** ******** ******** ** any ****. *** ************ *** ** **** *** * **** that ******** *** *** ***** *** *** ** *** ************* to *** ***** ****. *** "********" ** *** *** ******** the ************ ** ******* *** ************* ** *** **** **** under *** *******. **** ******* *.*. ** ******/****** ************* ** support *** ********* ***'*.

****** ***** ********: *****://**.*********.***/****/**************************

**** ********* ******* **** * *** ********?

********* **** ***, ********. ************ ********* **** ****** ******** ****

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

  • *** *******
  • ***** ******
  • ******* *.**.*
  • *-****
  • **** ***
  • ******** *.*.**
  • *** - ***** *** ******* *.*.*
  • ** *** ** *.*
  • ************** *.*.*
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.

Related Reports

Dahua Trying, Struggling To Respond To Hacking Attacks on Oct 04, 2017
Now, 2 weeks since large-scale hacking attacks commenced against Dahua vulnerable devices, we analyze Dahua's response. On the positive side,...
Hikvision USA Misleads Dealers On Backdoor on Oct 03, 2017
Hikvision USA emailed their dealers overnight with their 5th cyber security 'special bulletin' of the year. Misleading Unfortunately, they...
FLIR Thermal Camera Multiple Vulnerabilities, Patch Released on Oct 03, 2017
Multiple cyber security vulnerabilities exist in FLIR thermal cameras, which have not been fixed, despite being reported months ago. In this note,...
Access Control Job Walk Guide on Sep 26, 2017
Significant money can be saved and problems avoided with an access control job walk if you know what to look for and what to ask. By inviting...
Hackers Globally Attacking Dahua Recorders on Sep 25, 2017
Dahua recorders are being hacked and vandalized around the world, as confirmed by dozens of reports to IPVM since the attacks surged 5 days...
Reseting IP Cameras - 30 Manufacturer Directory on Sep 22, 2017
Every camera has a reset button (well, almost) but it is not always clear what these buttons do, how long they need to be held, what settings they...
Avigilon Touting 'Made In America' on Sep 18, 2017
Canadian manufacturer Avigilon, who completed a US manufacturing facility in 2015, is now running a marketing campaign touting 'Made In America',...
September IP Networking Course on Sep 14, 2017
LAST Chance - Registration is ending. Register now. This is the only networking course designed specifically for video surveillance professionals...
Dahua USA President Out, South American President Takes Over on Sep 11, 2017
Dahua's South American President has taken over Dahua North America as well. This is Dahua's third North American head in 2017. Will this one...
Favorite Integrator Tablets 2017 on Sep 11, 2017
What percentage of integrators use tablets? Which tablets do they prefer? Apple? Android? Windows? Tablets have become popular integrator tools...

Most Recent Industry Reports

Exacq Unbreaks Avigilon Integration on Oct 18, 2017
For nearly 4 years, Exacq had broken and effectively blocked use with Avigilon cameras, as IPVM reported in January 2014. Now, Exacq has...
Search More Important Than Live Monitoring - Statistics on Oct 18, 2017
Search is overall more important than live monitoring to integrators, according to new IPVM statistics.  The key themes found in integrator...
Axis 'Sold Out' P3707-PVE Multi-Imager Tested on Oct 18, 2017
Axis faced significant product shortages over the summer. Perhaps the most notorious and significantly sold out model was the Axis P3707-PE 8MP...
Dahua Removes Auto Rebooting on Oct 17, 2017
For years, Dahua has automatically programmed its IP cameras to reboot weekly, a highly atypical and questionable practice. Following IPVM...
Deep Learning Tutorial For Video Surveillance on Oct 17, 2017
Deep learning is a growing buzzword within physical security and video surveillance. But what is 'deep learning'? In this tutorial, we explain...
Multipoint Lock Access Control Tutorial on Oct 17, 2017
Doors are notoriously weak at stopping entry, and money can be misspent on wrong locks that leave doors quite vulnerable. While closed and locked...
Buy From B&H, Ship Direct From ADI on Oct 16, 2017
B&amp;H, one of the largest online sellers of video surveillance equipment to end users, regularly purchases their video surveillance equipment...
Competing Against Siemens on Oct 16, 2017
Siemens entered the integration business with 15,000+ customers, through their acquisition of Security Technologies Group in 2001. Since that time,...
Geovision GV-EDR2100 Tested Vs Hikvision on Oct 16, 2017
A number of ADI's top selling IP cameras are, at least surprisingly to us, from Geovision. We recently bought and tested the Geovision EDR2100...
Top Problems Searching Surveillance Video (Statistics) on Oct 13, 2017
When crimes, accidents or incidents happen, the video surveillance system is a key component in finding out and proving what actually...

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