The basic functionality of the application is as follows:
- Application sends out a UDP broadcast on port 5978
- Camera sees the broadcast on port 5978 and inspects the payload – if it sees that the initial part of the payload contains "FF FF FF FF FF FF" it responds (UDP broadcast port 5978) with an encoded payload with its own MAC address
- Application retrieves the camera's response and creates another UDP broadcast but this time it sets the payload to contain the target camera's MAC address, this encoded value contains the command to send over the password
- Camera sees the broadcast on port 5978 and checks that it is meant for it by inspecting the MAC address that has been specified in the payload, it responds with an encoded payload that contains its password (base64 encoded)
After spending some time with the application in a debugger I found what looked like it was responsible for the decoding of the encoded values that are passed:
super exciting screen shot. |
Translated into english: the application first uses a lookup table to translate every byte in the input string, to do this it uses the value of the current byte as an offset into the table. After it is done with "stage1" it traverses the translated input buffer a dword at a time and does some bit shifting and addition to fully decode the value. The following roughly shows the "stage2" routine:
(Dword[0] << 2) + (Dword[1] >> 4) = unencoded byte 1
(Dword[1] << 4) + (Dword[2] >> 2) = unencoded byte 2
(Dword[2] << 6) + Dword[3] = unencoded byte 3
I then confirmed that this routine worked on an "encoded" value that went over the wire from the application to the camera. After confirming the encoding scheme worked, I recreated the network transaction the application does with the camera to create a stand alone script that will retrieve the password from a camera that is on the same lan as the "attacker". The script can be found here, thanks to Jason Doyle for the original finding (@jasond0yle ).
Related articles
- Blackhat Hacker Tools
- World No 1 Hacker Software
- Hacking Tools Free Download
- Termux Hacking Tools 2019
- Hacking Tools And Software
- Usb Pentest Tools
- Hacking Tools For Beginners
- Hacking Tools Windows 10
- Hack Website Online Tool
- How To Install Pentest Tools In Ubuntu
- Bluetooth Hacking Tools Kali
- Pentest Tools For Mac
- Pentest Tools Nmap
- Pentest Tools Alternative
- Hacking Tools Mac
- Hack Tool Apk No Root
- Pentest Automation Tools
- Top Pentest Tools
- Pentest Tools Alternative
- Pentest Tools
- Termux Hacking Tools 2019
- Pentest Tools Alternative
- Hacker Tools 2020
- Pentest Tools Github
- Hacker Tools 2019
- Hack Tools Download
- Hacker Tools Software
- Hacking Tools Windows
- Hacker Security Tools
- Hack Tools 2019
- Hacker Tools Mac
- Hacking Tools 2020
- Top Pentest Tools
- Black Hat Hacker Tools
- Hacker Tools Github
- Hack Tools For Windows
- Wifi Hacker Tools For Windows
- Hacker Tools Software
- Pentest Tools Linux
- Pentest Tools Nmap
- Hacking Tools For Beginners
- Physical Pentest Tools
- Hacking Tools Name
- Hack Tools Github
- Hacker Tools Mac
- Pentest Tools Review
- Nsa Hack Tools Download
- Hacks And Tools
- How To Hack
- Pentest Tools Website
- Hack Tools For Mac
- Hacker Tools Mac
- Hacking Tools Windows 10
- Hacking Tools For Games
- Tools Used For Hacking
- Nsa Hack Tools Download
- Pentest Tools Open Source
- Tools For Hacker
- Usb Pentest Tools
- Hacking Tools For Windows 7
- Hack Tools For Ubuntu
- Hacker Tools Apk Download
- What Are Hacking Tools
- Hack Tools Github
- Pentest Tools
- Hacker Tools Linux
- Pentest Tools Windows
- Android Hack Tools Github
- Hacking Tools
- Hacking Tools Online
- Blackhat Hacker Tools
- Easy Hack Tools
- Hacking Tools Usb
- New Hacker Tools
- Hacker Tools 2020
- Termux Hacking Tools 2019
- Computer Hacker
- Hacking Tools 2019
- Hacking Tools For Beginners
- Best Hacking Tools 2019
- Hacker Tools
- Hack Tools
- Hacker Tools Windows
- Hacker Tools Mac
- Pentest Tools Subdomain
- Top Pentest Tools
- Hack Website Online Tool
- Hack Tools Mac
- Hack Website Online Tool
- Pentest Tools Website Vulnerability
- Hacker Tools Github
- Hacking Tools For Pc
- Hacks And Tools
- Pentest Tools Url Fuzzer
- Hacker Tools For Pc
- Easy Hack Tools
- Hack App
- Hacker Tools Free
- Pentest Tools Url Fuzzer
- New Hack Tools
- Hacking Tools For Games
- Hacking Tools Windows
- Hacking Tools For Mac
- Pentest Tools For Android
- Hacker
- New Hack Tools
- Hacking App
- Hacker Tools Apk
- Hacking Tools For Windows Free Download
- Hacks And Tools
- Hacker Hardware Tools
- Hacking Tools Usb
- Pentest Tools List
- Hack Tools Mac
- Hacker Tools Free Download
- Pentest Tools
- Hacking Tools Online
- Hack Tools For Windows
- Hacking Tools For Kali Linux
- How To Install Pentest Tools In Ubuntu
- Hacking Tools 2020
- Install Pentest Tools Ubuntu
- Nsa Hack Tools
- Hacker Tools Free
- Hack Tools For Games
- Pentest Tools List
- Easy Hack Tools
- Hacker Hardware Tools
- Pentest Tools Open Source
- Pentest Tools For Android
- Pentest Tools Website Vulnerability
- Hacking Tools Kit
- Hacking Tools Online
- Hack Tool Apk
- Pentest Tools Open Source
- Nsa Hacker Tools
- Pentest Tools For Windows
- Pentest Tools For Windows
- Kik Hack Tools
- World No 1 Hacker Software
- Hacking Tools For Games
- Hacking Tools Online
- Hacker Tools
- Pentest Tools Github
- Pentest Tools Review
- Pentest Tools List
0 comments:
Post a Comment