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 Website
- Hacking Tools Usb
- Hack Tools
- New Hack Tools
- Pentest Tools Apk
- Wifi Hacker Tools For Windows
- Hacks And Tools
- Pentest Tools Open Source
- Bluetooth Hacking Tools Kali
- Hacking Tools For Games
- Hacking Tools For Mac
- Hack Rom Tools
- Hacker Tools
- Best Hacking Tools 2020
- Hacker Tools Windows
- Tools 4 Hack
- Physical Pentest Tools
- Hacker Tools Free
- Android Hack Tools Github
- Pentest Reporting Tools
- Pentest Reporting Tools
- Hacker Tools Github
- Pentest Tools Review
- World No 1 Hacker Software
- Top Pentest Tools
- Pentest Tools For Windows
- Hack Tools Download
- Hacking Tools Windows
- Pentest Automation Tools
- Top Pentest Tools
- Hacker
- Hack Tools Mac
- Hack Tools For Ubuntu
- Hacker Tools For Mac
- Pentest Tools
- Pentest Tools Find Subdomains
- Hacking Tools Name
- Pentest Tools List
- Hack Tools Mac
- Hacker
- How To Make Hacking Tools
- What Are Hacking Tools
- Hacking Tools Software
- Hack Apps
- Hack Tools Github
- Hack Tools 2019
- Hacking Tools Free Download
- Hacking Tools Pc
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Windows 10
- Hacking Tools Hardware
- Hacking Tools Free Download
- Nsa Hacker Tools
- Nsa Hack Tools
- Hacking Tools
- Pentest Reporting Tools
- Pentest Automation Tools
- Pentest Tools For Windows
- Pentest Automation Tools
- Pentest Tools Nmap
- Pentest Tools Nmap
- Hacker Tools For Pc
- Hacking Tools Online
- Hak5 Tools
- Pentest Tools Windows
- Hacking Tools
- Hack Tools
- How To Hack
- Pentest Tools Free
- Pentest Tools For Mac
- Hacking Tools 2020
- World No 1 Hacker Software
- Hacking Tools For Pc
- Hacker Tools Software
- Hacking Tools Software
- Black Hat Hacker Tools
- Hacker Tools Online
- Tools 4 Hack
- Hacking Tools For Windows Free Download
- World No 1 Hacker Software
- Hacking Tools For Windows Free Download
- Best Hacking Tools 2020
- Hack And Tools
- Tools 4 Hack
- Hacking Tools For Mac
- Hacker Tools 2020
- Hack Tools For Pc
- Hacking Tools For Windows Free Download
- World No 1 Hacker Software
- Pentest Tools Subdomain
- Hacking Tools For Kali Linux
- Best Hacking Tools 2020
- Termux Hacking Tools 2019
- Install Pentest Tools Ubuntu
- Hacking Tools Pc
- Android Hack Tools Github
- Pentest Tools Open Source
- Easy Hack Tools
- Hacker Security Tools
- Nsa Hacker Tools
- Bluetooth Hacking Tools Kali
- Hacker Tools Free Download
- Hacker Hardware Tools
- Kik Hack Tools
- Hack Tools 2019
- Best Hacking Tools 2020
- Hacker Tools Apk Download
- Pentest Tools Url Fuzzer
- Hacker Tools 2020
- Pentest Tools Android
- Pentest Tools For Windows
- Pentest Tools Subdomain
- Wifi Hacker Tools For Windows
- Hacking Tools Free Download
- Hacking Tools Windows 10
- Hack Tools 2019
- Hacking Tools For Windows
- Tools 4 Hack
- Growth Hacker Tools
- Tools 4 Hack
- Hacker Tools Linux
- Hack And Tools
- Hack Tools Pc
- Pentest Tools Linux
- Pentest Tools Download
- Pentest Tools Bluekeep
- Hack Tool Apk No Root
- Hacker Techniques Tools And Incident Handling
- Hacks And Tools
- Pentest Tools Review
- Pentest Tools List
- Hacking Tools Hardware
- Pentest Tools Find Subdomains
- Nsa Hack Tools Download
- New Hacker Tools
- Pentest Tools For Ubuntu
- Hacker Tools 2019
- Hacker Tools 2020
- Pentest Tools Bluekeep
- Hacker Tools Free Download
- Physical Pentest Tools
- Hack Tools
- Pentest Tools Open Source
- Hacker Search Tools
- Hacker Tools Free
- Hacker Tools 2020
- Hacks And Tools
- Pentest Tools Github
- Github Hacking Tools
- Best Pentesting Tools 2018
- Pentest Tools Free
- Hacking Apps
- Pentest Tools Kali Linux
- Kik Hack Tools
- Tools 4 Hack
- Hack Tools Online
- Hacker Tools Mac
- Tools Used For Hacking
- Hacker Tools For Windows
- Pentest Tools Online
- Pentest Tools Review
- Hack Tools 2019
- New Hacker Tools
- Hacker Tools 2019
- Hacking Tools For Windows
- Hacking Tools Online
- Hacker Tools
- New Hack Tools
- Pentest Tools Nmap
- Nsa Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Pentest Tools List
- What Is Hacking Tools
- Pentest Tools Android
- Hacker Search Tools
- Pentest Tools Find Subdomains
- Install Pentest Tools Ubuntu
No comments:
Post a Comment