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
- Beginner Hacker Tools
- Hack Tools For Mac
- Hacking Tools And Software
- Pentest Tools
- Computer Hacker
- Hacking Tools Kit
- Pentest Tools Download
- Hacker Security Tools
- Wifi Hacker Tools For Windows
- Hack Tools 2019
- Nsa Hacker Tools
- Hacking Tools For Beginners
- Beginner Hacker Tools
- Bluetooth Hacking Tools Kali
- Hacker Security Tools
- Hack Rom Tools
- Free Pentest Tools For Windows
- Pentest Tools Free
- Pentest Tools Kali Linux
- Hacker Security Tools
- Hacking Tools Hardware
- Pentest Tools For Android
- New Hacker Tools
- Hacking Tools For Beginners
- Hackrf Tools
- Hacker Tools For Mac
- Hack Website Online Tool
- Hacker Tools Linux
- Pentest Tools Website
- Hack Apps
- Hacking App
- Pentest Tools Android
- Pentest Tools Tcp Port Scanner
- Hack Tools Pc
- Pentest Tools For Mac
- Hack Rom Tools
- Easy Hack Tools
- Hacker Tools Github
- Hacking Tools And Software
- Nsa Hack Tools Download
- Hacking Tools For Windows 7
- Pentest Tools For Windows
- Pentest Tools Linux
- Hacking Tools For Kali Linux
- Pentest Tools Kali Linux
- Game Hacking
- Hacking Tools For Mac
- Hacker Tools For Ios
- Hacking Tools Download
- Hack Tools Online
- Hacker Tools Free
- Nsa Hacker Tools
- Easy Hack Tools
- Hack Rom Tools
- Hack Apps
- Hack App
- Blackhat Hacker Tools
- Pentest Tools Free
- Hacker
- Pentest Tools List
- Hacking Tools Software
- Hacking Tools 2019
- Hack Tools Github
- Hackers Toolbox
- Pentest Tools Windows
- Hacker
- Underground Hacker Sites
- Hack App
- Hacker Tools Mac
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Name
- Pentest Tools For Android
- Hacking Tools For Beginners
- Pentest Tools For Mac
- Install Pentest Tools Ubuntu
- New Hacker Tools
- Pentest Tools Github
- Hack Tools Online
- Hack Tools For Games
- Hacking Tools For Games
- Computer Hacker
- Hack Tool Apk No Root
- What Are Hacking Tools
- Hack Website Online Tool
- Nsa Hack Tools Download
- Hacker Tools Github
- Hack Rom Tools
- New Hacker Tools
- Hacking Tools Free Download
- Pentest Automation Tools
- Pentest Automation Tools
- Hacker Tools 2020
- Hacker Tools Apk
- Pentest Reporting Tools
- Hacking Tools Download
- Underground Hacker Sites
- What Is Hacking Tools
- Computer Hacker
- Termux Hacking Tools 2019
- Wifi Hacker Tools For Windows
- Hacking Tools Mac
- Hack Tool Apk No Root
- Hacking Tools Windows 10
- Hacking Apps
- Hacker Tools List
- Hacking Tools Hardware
- Hacking Tools For Windows
- Hacker Hardware Tools
- Hacker Tools 2020
- Pentest Tools Download
- Pentest Tools Tcp Port Scanner
- Pentest Tools Website
- Computer Hacker
- Nsa Hack Tools Download
- Hackrf Tools
- Hack Tools Github
- Pentest Recon Tools
- Hack App
- Pentest Tools Find Subdomains
- Hacker Tools Apk Download
- What Is Hacking Tools
- Free Pentest Tools For Windows
- Hacker Tools Linux
- Hacking Tools Windows
- Pentest Automation Tools
- Hackrf Tools
- Install Pentest Tools Ubuntu
- Hack Tools 2019
- Physical Pentest Tools
- Computer Hacker
- What Is Hacking Tools
- Pentest Tools For Ubuntu
- Pentest Tools Port Scanner
No comments:
Post a Comment