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 ).
- Hacking Apps
- Hack Tools Mac
- Hack Tools For Windows
- Hack Tools For Mac
- What Are Hacking Tools
- Pentest Tools Tcp Port Scanner
- Hacking Tools Github
- Hacker Tools List
- Hacker Tools For Mac
- Tools 4 Hack
- Pentest Tools Linux
- Hacker
- Tools 4 Hack
- Best Hacking Tools 2019
- Hacking Tools Windows
- Hacking Tools Download
- New Hack Tools
- Usb Pentest Tools
- Computer Hacker
- Hacker Tools Mac
- Hacker Tools For Pc
- Tools For Hacker
- Hacking Tools For Kali Linux
- Hacking Tools Github
- Pentest Tools Website Vulnerability
- Install Pentest Tools Ubuntu
- Hack Tools For Games
- Hack Tools 2019
- Nsa Hack Tools Download
- Pentest Tools Framework
- Hack Website Online Tool
- Hacks And Tools
- Pentest Recon Tools
- Nsa Hacker Tools
- Hack Rom Tools
- Tools 4 Hack
- Pentest Tools Open Source
- What Is Hacking Tools
- World No 1 Hacker Software
- Pentest Tools
- Growth Hacker Tools
- Hacker Tools Apk
- Hack Tools Download
- Hacker Tools For Pc
- Hacking Tools For Mac
- Hacker Tools For Mac
- Hack Tools For Windows
- Hacker
- Hak5 Tools
- Hack Tools Pc
- Easy Hack Tools
- New Hacker Tools
- Hack Tools Online
- Hacking Tools
- Hacker Tools 2019
- Hack Tools For Pc
- Hacking Tools 2020
- Nsa Hack Tools Download
- Physical Pentest Tools
- Tools 4 Hack
- Hacking Tools For Windows 7
- Hacker
- Pentest Tools Windows
- Hacker Tools 2019
- Hack Tool Apk
- Github Hacking Tools
- Hackrf Tools
- Pentest Tools Windows
- Black Hat Hacker Tools
- Hak5 Tools
- Pentest Tools Apk
- Pentest Automation Tools
- Hacking Tools For Kali Linux
- Hack Tools For Games
- Hackers Toolbox
- Hacking Tools Github
- Hacking App
- Hacker Tools Mac
- Pentest Tools Github
- Pentest Tools For Mac
- Beginner Hacker Tools
- Hack Tools For Ubuntu
- Growth Hacker Tools
- Termux Hacking Tools 2019
- Pentest Tools Open Source
- New Hacker Tools
- Hacking Tools Github
- Pentest Tools Github
- Android Hack Tools Github
- Pentest Tools Android
- Hacking Tools Windows 10
- Game Hacking
- Hacking Tools Mac
- Pentest Tools Windows
- What Are Hacking Tools
- Hacking Tools 2019
- Pentest Tools Download
- Hacking Tools Kit
- Hack Tools Online
- Hacker Tools For Mac
- Pentest Tools Website
- Pentest Tools For Ubuntu
- Pentest Tools Url Fuzzer
- Hacking Tools Kit
- Hack Tools Online
- Hacker Tools Online
- Hacker Hardware Tools
- Hacking Tools Usb
- Underground Hacker Sites
- Tools 4 Hack
- Hacking Tools Usb
- Hacker Search Tools
- How To Make Hacking Tools
- Hacking Tools For Windows Free Download
- Hack Apps
- Pentest Box Tools Download
- Game Hacking
- Hacker Security Tools
- Pentest Tools List
- Hacking Tools Pc
- Hack Website Online Tool
- Hacking Tools Hardware
- Pentest Tools Tcp Port Scanner
- Hack Website Online Tool
- Hack Tool Apk No Root
- Hackers Toolbox
- Hacking Tools Github
- Growth Hacker Tools
- Hacks And Tools
- Hacking Tools Pc
- Free Pentest Tools For Windows
- Hack Tools Mac
- Pentest Box Tools Download
- Hack Apps
- Pentest Tools Kali Linux
- Pentest Tools Review
- Pentest Tools For Android
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Online
- Android Hack Tools Github
- Blackhat Hacker Tools
- Hack Tools
- Hacking App
- Best Hacking Tools 2019
- Hacking Tools 2020
- Tools 4 Hack
- Hacking App
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Download
- Hacking Tools Pc
- Pentest Automation Tools
- Usb Pentest Tools
- Pentest Tools Kali Linux
- Hacking Tools For Pc
- Pentest Tools Subdomain
- Pentest Tools For Windows
- Hacking Tools Software
- Hacker Tools Free
- Pentest Tools For Windows
- Pentest Tools Review
- Pentest Tools Windows
- Hack Tools For Games
- Hacker Tools 2020
- Hacker Tools Free Download
- Pentest Tools Website Vulnerability
- Nsa Hacker Tools
- Hacks And Tools
- Hacking Tools Windows 10
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Framework
- Hacker Tools Free
- Hacking Tools Download
- Hacking Tools Windows 10
- Hacker Tools
- Nsa Hack Tools
- Pentest Tools Github
- Beginner Hacker Tools
- Hack Tools For Windows

No comments:
Post a Comment