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 ).
Read more
- Pentest Tools Url Fuzzer
- Pentest Tools For Android
- Hacker Security Tools
- Pentest Recon Tools
- Hacker Tools 2019
- Hacker Tool Kit
- Underground Hacker Sites
- Hacker Hardware Tools
- Hacking Tools Software
- Hack Tools For Mac
- Pentest Tools Apk
- Ethical Hacker Tools
- Hacker Tools Mac
- Hacker Tools List
- Kik Hack Tools
- Hacking Tools Mac
- Pentest Recon Tools
- Hacking Tools Name
- Blackhat Hacker Tools
- Hacking Tools Software
- Hack Tools Pc
- Hack Tools Pc
- Hacker Tool Kit
- Hacking Tools 2019
- Hacking Tools For Mac
- Hack Tools Pc
- Hack And Tools
- Pentest Tools For Windows
- Hacker Tools Free
- Pentest Tools Download
- Hacker Tool Kit
- Hacker Tools Online
- Hacker Tools Apk
- New Hacker Tools
- Hack Tools For Games
- Hack Tools 2019
- Hacker Tool Kit
- Hacking Apps
- Hacking Tools Github
- Hack Tools Online
- Pentest Reporting Tools
- Hacking Tools Name
- Pentest Reporting Tools
- Pentest Tools Linux
- Hacker Tools For Windows
- Hacker Tools Windows
- Pentest Tools Github
- Pentest Tools
- Hacking Tools 2019
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Tcp Port Scanner
- Hacker Tools For Windows
- Hacker Tools For Windows
- Pentest Tools For Android
- Best Hacking Tools 2020
- Hacking Tools Online
- Hacking Tools Hardware
- Hacker Tools For Mac
- Hacking Apps
- Pentest Tools Android
- Hacker Search Tools
- Hacks And Tools
- Pentest Tools Apk
- Hackers Toolbox
- Hack Tools For Pc
- Pentest Tools Alternative
- Pentest Reporting Tools
- Hack Tools Online
- Hacking Tools Free Download
- Pentest Tools Windows
- Pentest Tools Kali Linux
- Hack Tools For Games
- Pentest Tools
- How To Make Hacking Tools
- Hacking Tools For Pc
- How To Make Hacking Tools
- Pentest Tools Nmap
- Free Pentest Tools For Windows
- Best Pentesting Tools 2018
- Pentest Tools For Windows
- Pentest Tools Port Scanner
- Easy Hack Tools
- Hacking Apps
- Hacker Tools Free
- Tools Used For Hacking
- Nsa Hack Tools Download
- Hacking Tools Github
- Pentest Tools Url Fuzzer
- Hacking Tools For Mac
- Nsa Hacker Tools
- Hacking Tools Github
- Install Pentest Tools Ubuntu
- Hacker Search Tools
- Pentest Tools Open Source
- Nsa Hack Tools
- Beginner Hacker Tools
- Pentest Tools Subdomain
- Game Hacking
- Hack And Tools
- How To Hack
- Hacking Tools Free Download
- Tools 4 Hack
- Hack Tools Download
- Hacking Tools For Windows Free Download
- Hacking Tools
- Hacking App
- Hacking Tools For Windows Free Download
- Hacker Hardware Tools
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Review
- Hack Tools For Windows
- Computer Hacker
- Hack Apps
- Hacker Tools For Pc
- Hackers Toolbox
- Pentest Tools Open Source
- Hacking Tools Windows 10
- Pentest Tools Review
- Hacking Tools 2020
- Hacker Tools Free
- Hacker Tool Kit
- Hacker Tools Github
- Hacking Tools Hardware
- Ethical Hacker Tools
- Hacker Tools Free Download
- Hacking Tools Name
- Github Hacking Tools
- Hacker
- Hacking Tools 2020
- Nsa Hack Tools
- Hack Tools Online
- Hak5 Tools
- Underground Hacker Sites
- Termux Hacking Tools 2019
- Android Hack Tools Github
- Hack App
- Hack Tools For Pc
- Hack Tools
- New Hack Tools
- Pentest Tools Bluekeep
- Pentest Tools Url Fuzzer
- Pentest Tools Open Source
- Pentest Tools Website
- Hack Tools For Games
- Hack Tools Pc
- Best Hacking Tools 2019
- Hacker Tools Software
- Nsa Hacker Tools
- Hack Tools For Games
- Hacker Tools Software
- Hacker Tools Linux
- Hacking Apps
- Tools Used For Hacking
- Hacker Tools Hardware
- Hack Tools Github
- How To Make Hacking Tools
- Hackrf Tools
- Hacker Tools
- Hacker Tools For Pc
- Hacker Tools For Windows
- Hackrf Tools
- Pentest Tools For Ubuntu
- Hack And Tools
- Usb Pentest Tools
- How To Hack
- Hacker Tools 2019
- Hack Tools Online
- Hacker Tools Hardware
- Pentest Tools Url Fuzzer
- Hack And Tools
- Hacker Tools For Ios
- Hacking Tools For Windows Free Download
- Bluetooth Hacking Tools Kali

No comments:
Post a Comment