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 ).
- Wifi Hacker Tools For Windows
- Blackhat Hacker Tools
- What Are Hacking Tools
- What Are Hacking Tools
- Hack And Tools
- Hacker Tools Hardware
- Hacker Tools 2019
- Pentest Tools Url Fuzzer
- Hacker Security Tools
- Best Hacking Tools 2019
- Beginner Hacker Tools
- Hacking Tools Download
- Pentest Tools Nmap
- Pentest Tools List
- Pentest Reporting Tools
- Pentest Tools For Ubuntu
- Hacking Tools For Windows 7
- Pentest Tools Subdomain
- Hacking Tools Hardware
- Tools For Hacker
- Hack Tools For Windows
- Bluetooth Hacking Tools Kali
- Hacker Tools Mac
- Hacker
- Hack Tools For Ubuntu
- Blackhat Hacker Tools
- Android Hack Tools Github
- Pentest Reporting Tools
- Hack App
- Hacking Tools Pc
- Pentest Tools Open Source
- Hacking Tools For Kali Linux
- Hacker Tool Kit
- Hackrf Tools
- Hacking Tools 2019
- Nsa Hack Tools
- Easy Hack Tools
- Android Hack Tools Github
- Hacker Tools 2019
- Pentest Tools For Android
- Pentest Tools Bluekeep
- Physical Pentest Tools
- Computer Hacker
- Hacking Tools Pc
- Hacking Tools Name
- Easy Hack Tools
- Hacks And Tools
- Hack Tools Mac
- Pentest Tools Framework
- Hacker Search Tools
- Growth Hacker Tools
- Hacker Tools For Pc
- Hacking Tools
- Pentest Tools For Windows
- Hacking Tools Download
- Underground Hacker Sites
- Pentest Tools Open Source
- Hack And Tools
- Hacker Tools Free Download
- New Hacker Tools
- Hacker Tools 2020
- Pentest Tools Review
- Hack Tools
- Best Hacking Tools 2020
- Pentest Tools Download
- Hacking Tools For Windows Free Download
- Pentest Tools Windows
- Pentest Tools Bluekeep
- Hacking Tools For Windows
- Pentest Box Tools Download
- Free Pentest Tools For Windows
- Hack Tools For Mac
- Game Hacking
- Usb Pentest Tools
- Hacking Tools For Windows 7
- Hack Rom Tools
- Hacker Tools 2020
- Hacker Tools Software
- Hacking Tools Mac
- Hack Tools Online
- Hacking Tools And Software
- Pentest Tools Nmap
- Hack Tools For Mac
- Pentest Tools Website Vulnerability
- Hacking Tools For Windows
- How To Make Hacking Tools
- Hacking Tools Kit
- Hack Tools
- Nsa Hacker Tools
- Hacking Tools Hardware
- Hackrf Tools
- Hacks And Tools
- Hack Tools Pc
- Hacker Tools For Windows
- Pentest Tools Subdomain
- Hack Tools For Pc
- Game Hacking
- Pentest Tools Subdomain
- Hacker Tools Hardware
- What Are Hacking Tools
- Hacker Tools For Windows
- Hack Tools For Pc
- Hack Tools 2019
- Bluetooth Hacking Tools Kali
- Install Pentest Tools Ubuntu
- Pentest Tools Website Vulnerability
- Underground Hacker Sites
- Hacker Search Tools
- Nsa Hacker Tools
- Hacker Tools 2019
- Hacking Apps
- Easy Hack Tools
- Pentest Tools Framework
- Hacker Tool Kit
- Pentest Tools Port Scanner
- Hacking Tools Kit
- Hacking Tools Kit
- Growth Hacker Tools
- Hacks And Tools
- Physical Pentest Tools
- Hacking Tools For Beginners
- Github Hacking Tools
- Pentest Tools Free
- Pentest Tools Open Source
- Nsa Hacker Tools
- Pentest Tools Apk
- Hacker Tools For Pc
- Hacking Tools For Kali Linux
- Hacker Tools For Windows
- Pentest Tools Website Vulnerability
- Pentest Tools Apk
- Hacker Tools Hardware
- Hacker Tools For Mac
- Hacking Tools Windows
- Hacking Tools Windows
- Bluetooth Hacking Tools Kali
- Usb Pentest Tools
- Top Pentest Tools
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Download
- Hack Tools Pc
- Hack Tools Download
- Top Pentest Tools

0 comments:
Post a Comment