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 word
- Pentest Tools For Ubuntu
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Mac
- Top Pentest Tools
- Hacking Tools For Windows 7
- Hacker Tools 2020
- Hack Tools Github
- Hacking Tools Online
- Hacker Tools List
- How To Hack
- Hacker Tools Apk
- Pentest Tools Url Fuzzer
- Kik Hack Tools
- Hackers Toolbox
- Pentest Tools Review
- World No 1 Hacker Software
- Pentest Tools List
- Hacker Tools Linux
- Hacker Security Tools
- Hacking Tools 2020
- Pentest Automation Tools
- Pentest Tools Subdomain
- Hacker Tools Free Download
- Hacker Techniques Tools And Incident Handling
- Github Hacking Tools
- Best Hacking Tools 2019
- What Is Hacking Tools
- Hacking Tools
- Hacks And Tools
- Hack Tools Github
- Hack Tool Apk No Root
- New Hack Tools
- Best Hacking Tools 2019
- Hacker Tools Github
- Pentest Tools Subdomain
- Hacker Tools Free Download
- Pentest Tools Website
- Pentest Tools Url Fuzzer
- Hacker Tools Apk
- Hacking Tools Download
- Physical Pentest Tools
- Hack Tools
- Hacker Tool Kit
- Github Hacking Tools
- Hacker
- What Are Hacking Tools
- Hacking Tools Windows 10
- Pentest Tools Apk
- Pentest Tools Port Scanner
- Pentest Tools For Windows
- Hack Tool Apk No Root
- Hacker Tools
- Pentest Tools Bluekeep
- Hack Apps
- How To Install Pentest Tools In Ubuntu
- Hack Tools 2019
- Hacking Tools Online
- Hacker Tools
- Github Hacking Tools
- Hacker Tools For Ios
- Install Pentest Tools Ubuntu
- Pentest Tools Github
- Hack Tools For Mac
- Black Hat Hacker Tools
- Hacking Tools 2020
- Android Hack Tools Github
- Hacker Tools Apk Download
- Hack Tools Pc
- Hacker Tools Github
- Termux Hacking Tools 2019
- Hacker Tools For Pc
- Nsa Hack Tools
- Install Pentest Tools Ubuntu
- New Hacker Tools
- Hacker Tools For Pc
- Tools Used For Hacking
- Pentest Tools Port Scanner
- Hacker Tools For Windows
- Pentest Tools Kali Linux
- New Hacker Tools
- Hack Tools For Windows
- Black Hat Hacker Tools
- Hacker Tools For Pc
- Best Hacking Tools 2020
- Hacking Tools Mac
- Pentest Tools Review
- Hacker Tool Kit
- New Hack Tools
- How To Hack
- Hacking Tools Pc
- Hacker Tools Mac
- Pentest Tools Github
- Hacker Tools Windows
- Pentest Tools Apk
- Hak5 Tools
- Hacker Tools For Ios
- Hack App
- Computer Hacker
- Hacker Tools List
- Hacking Tools For Kali Linux
- Growth Hacker Tools
- Hacker Tools Windows
- Hacking Tools Github
- Hacker Tools Apk
- Hacker Tools For Pc
- Hacking Tools For Mac
- Hacking Tools For Beginners
- Hacker Tools Mac
- Hacking Tools 2020
- Nsa Hacker Tools
- Hack App
- Best Hacking Tools 2020
- Hacking Tools For Windows
- Hacking Tools Free Download
- Pentest Tools Android
- Hacking App
- How To Make Hacking Tools
- Hacker Tools List
- Hacking Tools Name
- Hacking Tools For Games
- Hacks And Tools
- Hak5 Tools
- Pentest Tools Find Subdomains
- Hack Tools For Ubuntu
- Pentest Tools Subdomain
- Game Hacking
- Hack Tool Apk
- Hacker Tools 2019
- Hacking Tools Name
- Hacking Tools And Software
- Hacker Tools 2020
- Hacking Tools Windows
- Hack Tool Apk
- Hacking Tools Download
- Hacking Tools For Mac
- Hacker Tools For Pc
- Pentest Tools Apk
- Pentest Tools Windows
- Hacking Tools Download
- Pentest Tools Framework
- Game Hacking
- Hack Website Online Tool
- Hacking Tools Kit
- Hackrf Tools
- Pentest Tools Open Source
- What Is Hacking Tools
- Hacking Tools For Kali Linux
- Hacker Tools 2020
- Best Pentesting Tools 2018
- Hacking Tools Free Download
- Usb Pentest Tools
- Hack Tools For Games
- What Is Hacking Tools
- Hack Tools Pc
- Hacker Tools Hardware
- Pentest Tools Download
- Underground Hacker Sites
- Pentest Tools Kali Linux
- Hacking Tools Usb
No comments:
Post a Comment