Code Monkey home page Code Monkey logo

hikkup's Introduction

Hikkup - Hikvision wifi doorbell MITM proxy

NOTE: the provided script is not fully functional yet; please help and improve it.

This python script tries to run a man-in-the-middle proxy service to intercept traffic from and to a Hikvision rebranded wifi camera doorbell. The current script is targeted at a Uniden DB1 unit, but it exists under other labels as well: Clare - CVP-B2DB50-ODIW, RCA - HSDB1, LTS - LTK6128W-WIFI and Nelly - NSC-DB1. It accepts connections and tries to change foreign IP addresses in the XML it receives to its own IP address.

Prerequisites

Everything is written and tested only using Ubuntu Mate Linux; your mileage may vary on different systems

  • python3
  • python libraries (some are packaged with python) :
    • sys
    • select
    • socket
    • ssl
    • re
    • hashlib
    • Crypto.Cipher
    • time
  • Router/gateway that lets you enter a DNS entry manually

Setup

  • Add a DNS entry for dev.ezvizlife.com that points to the IP address of your PC (verify with ping that this works)
  • You might want to do the same for alarmeu.ezvizlife.com (not sure)
  • run the script in a command prompt: ./hikkup.py and it will show something like this:
[*] Listening on 192.168.2.202 6900 (SSL)
[*] Listening on 192.168.2.202 6800
[*] Listening on 192.168.2.202 7400 (SSL)
  • After this, power your wifi doorbell and make sure it connects to the same network as your PC resides in

It now should start spitting out logs of information and the doorbell should succeed with connecting (via the proxy).

Notes

The script connects to 52.212.63.175 (initially) and 34.246.99.36 (after initial connection); these IP addresses were the addresses where the DNS entries were pointing to officially.

hikkup's People

Contributors

xopr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.