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 posts
- Hacking App
- Pentest Tools Online
- Nsa Hack Tools
- Kik Hack Tools
- Android Hack Tools Github
- Hacks And Tools
- Hack Tools Github
- Hack Tools For Pc
- Hacking Tools For Kali Linux
- Pentest Tools Android
- Hacking Tools Software
- Tools Used For Hacking
- Nsa Hacker Tools
- Pentest Tools Website Vulnerability
- What Is Hacking Tools
- Tools 4 Hack
- Hacker Tools For Pc
- Hacker Tools Hardware
- Hacker Search Tools
- Hacker Search Tools
- Pentest Automation Tools
- Hack Tools 2019
- Android Hack Tools Github
- Usb Pentest Tools
- Hacker Tools Github
- Beginner Hacker Tools
- Hacker Tools List
- Pentest Tools List
- Physical Pentest Tools
- Easy Hack Tools
- Hacker Hardware Tools
- Hacking Tools Software
- Pentest Tools Url Fuzzer
- Hack Tools 2019
- World No 1 Hacker Software
- Hack Tools
- Hacker Tools Mac
- Hacker Tools Windows
- Pentest Tools Website
- Android Hack Tools Github
- Best Pentesting Tools 2018
- Top Pentest Tools
- Nsa Hack Tools
- Pentest Tools Website Vulnerability
- Hacking Tools For Mac
- Hacker Tools
- Hackrf Tools
- Pentest Tools Review
- Hacker Tools Apk Download
- Bluetooth Hacking Tools Kali
- Pentest Tools
- Hacker Tools For Windows
- Wifi Hacker Tools For Windows
- Pentest Tools Windows
- Hacker Techniques Tools And Incident Handling
- Tools 4 Hack
- Hacker Tools Apk
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Kali Linux
- Hacking Tools For Windows
- Hack Website Online Tool
- Hacking Tools Github
- Nsa Hacker Tools
- Hack Rom Tools
- Hacker Tools For Pc
- Hack Tool Apk No Root
- Pentest Tools Github
- Bluetooth Hacking Tools Kali
- Pentest Tools For Ubuntu
- Hacking Tools 2019
- Pentest Tools Android
- Pentest Tools Port Scanner
- Hacking Tools For Beginners
- Hacking Tools Software
- Pentest Tools For Windows
- Hacking Tools For Windows Free Download
- Pentest Tools Url Fuzzer
- What Is Hacking Tools
- Nsa Hack Tools
- Hacker Tools Apk
- Hack Tools For Ubuntu
- Hacking Tools 2019
- Hacking Tools Github
- Best Hacking Tools 2019
- Hack Tools 2019
- Pentest Tools
- Pentest Tools List
- Hacking App
- Pentest Tools
- Hacking Tools Name
- Hacking Tools Windows 10
- Top Pentest Tools
- Hacking App
- Bluetooth Hacking Tools Kali
- Pentest Tools
- Pentest Tools Nmap
- Hacker Tools Windows
- Hacker Tools List
- Hacking Tools Hardware
- Best Pentesting Tools 2018
- Hack Tools For Games
- Hacking Tools Software
- Pentest Tools Url Fuzzer
- Pentest Tools Nmap
- Hacking Tools For Mac
- Hacking Tools Windows 10
- Black Hat Hacker Tools
- Hack Tools Online
- Hack Tools Github
- Hacker Tools Software
- Hacking Tools Online
- Easy Hack Tools
- Hacker Tools For Mac
- Ethical Hacker Tools
- Top Pentest Tools
- Hacking Tools Download
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Windows
- Hack Tools Online
- Pentest Tools Review
- Nsa Hack Tools
- Hack Tools For Ubuntu
- World No 1 Hacker Software
- Bluetooth Hacking Tools Kali
- Hacker Tools 2019
- Hack App
- Underground Hacker Sites
- Hacker Tools Free Download
- New Hack Tools
- Best Hacking Tools 2020
- Pentest Tools Github
- Beginner Hacker Tools
- Tools For Hacker
- Hack Tools For Ubuntu
- Ethical Hacker Tools
- Hacking Tools For Kali Linux
- Hack App
- Hacking Apps
- Pentest Tools Port Scanner
- Hack Tools
- Hacker Tools Free Download
- Hacking Tools 2019
- Hacking Tools 2020
- Pentest Tools Github
- Best Hacking Tools 2019
- Hacking Tools And Software
- Pentest Tools Free
- Pentest Tools Online
- Hack Tools For Ubuntu
- Black Hat Hacker Tools
- Hacker Tools Windows
- Growth Hacker Tools
- Pentest Tools For Ubuntu
- Free Pentest Tools For Windows
- Hacking Tools For Games
- Beginner Hacker Tools
- Tools 4 Hack
- Game Hacking
- Hacking Tools For Kali Linux
- Pentest Tools Subdomain
- Pentest Tools Apk
- Pentest Tools Github
- Hack App
No hay comentarios:
Publicar un comentario