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 ).
- Install Pentest Tools Ubuntu
- Hack Tool Apk No Root
- Hacking Tools And Software
- Hacking Tools For Pc
- Hacking Tools Pc
- Pentest Box Tools Download
- Tools 4 Hack
- Pentest Tools Github
- Hak5 Tools
- Pentest Reporting Tools
- Hack Tools
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Games
- Hacks And Tools
- Pentest Tools For Ubuntu
- Hacking Tools Online
- Pentest Tools Find Subdomains
- Hacker Tool Kit
- Hacker Tools Mac
- Hack Tools Download
- Hacking Tools For Mac
- Hacking Tools Online
- Ethical Hacker Tools
- Tools 4 Hack
- How To Install Pentest Tools In Ubuntu
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Software
- World No 1 Hacker Software
- Pentest Reporting Tools
- Hacker Tools Online
- Pentest Tools For Ubuntu
- Usb Pentest Tools
- Hacker Tools List
- New Hack Tools
- Hacking Tools For Pc
- Hacker Tools For Ios
- Hacking Tools For Games
- Pentest Tools Android
- Pentest Tools Website
- Hacking App
- Game Hacking
- Hacking Tools Github
- Hacking Tools Download
- Pentest Tools For Android
- Hack Tools Online
- Pentest Automation Tools
- Hacking Tools For Windows 7
- Hack Tool Apk No Root
- Hacking Tools Free Download
- Pentest Tools Subdomain
- Pentest Tools Port Scanner
- Best Hacking Tools 2020
- Pentest Tools Bluekeep
- Pentest Tools Find Subdomains
- Hack Tools Mac
- Kik Hack Tools
- Pentest Tools Apk
- Hack Tools
- Pentest Tools Bluekeep
- Best Hacking Tools 2019
- Nsa Hack Tools Download
- Termux Hacking Tools 2019
- Hacks And Tools
- Pentest Tools Linux
- Pentest Tools Open Source
- Nsa Hack Tools
- Pentest Tools Url Fuzzer
- Hacker Tools Github
- Pentest Tools Review
- Nsa Hack Tools Download
- Physical Pentest Tools
- Pentest Reporting Tools
- New Hack Tools
- Pentest Tools Nmap
- Hacker Tools Free Download
- Hacker
- Hack Tools For Games
- Hack App
- Physical Pentest Tools
- Blackhat Hacker Tools
- Hacking Tools Free Download
- Pentest Tools For Ubuntu
- Pentest Tools Framework
- Hacking App
- Pentest Tools Download
- How To Make Hacking Tools
- Hack Tool Apk
- How To Hack
- Pentest Reporting Tools
- Pentest Tools For Windows
- Android Hack Tools Github
- Hak5 Tools
- Hack Tool Apk No Root
- Install Pentest Tools Ubuntu
- Hackrf Tools
- Best Hacking Tools 2019
- Hack Tool Apk No Root
- Hacker Tools For Pc
- Pentest Tools Apk
- Hacker
- Hacking Apps
- Hacker Tools Windows
- Pentest Reporting Tools
- Pentest Tools Kali Linux
- Pentest Tools Alternative
- Pentest Tools Android
- Hacking Tools Free Download
- Kik Hack Tools
- Hacks And Tools
- Pentest Tools For Ubuntu
- Hack Website Online Tool
- Pentest Tools Android
- Pentest Tools Github
- Hack Tool Apk No Root
- Hack Tools For Mac
No comments:
Post a Comment