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 ).
- Hacker Tools For Mac
- Hacking Tools Kit
- Hacker Search Tools
- Best Pentesting Tools 2018
- Hacker Tools Software
- Physical Pentest Tools
- Kik Hack Tools
- Pentest Tools Free
- Hacker Tools Software
- Hacker Tools List
- Hacker Tools Online
- Hacking Tools Github
- Tools Used For Hacking
- Hack And Tools
- Hack Website Online Tool
- Pentest Tools For Android
- Pentest Tools Website
- Pentest Tools For Android
- Hacking Apps
- Hacker Tools For Mac
- Best Hacking Tools 2019
- Hacking Tools Online
- Pentest Tools Github
- Hack Tools For Mac
- Hacker Tools 2019
- Pentest Tools Android
- Pentest Tools Framework
- Pentest Tools Windows
- Hacker Tools Free Download
- Pentest Tools Download
- Hacking Tools Download
- Hacker Tools For Mac
- Black Hat Hacker Tools
- Easy Hack Tools
- Hacking Tools Usb
- How To Install Pentest Tools In Ubuntu
- Underground Hacker Sites
- How To Install Pentest Tools In Ubuntu
- Computer Hacker
- Hacks And Tools
- Hack Tools Download
- Hacker Tools Hardware
- Hacking Tools Download
- Bluetooth Hacking Tools Kali
- Hacks And Tools
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Free Download
- Hacker Tools Hardware
- Hacker Tools Apk
- Easy Hack Tools
- How To Make Hacking Tools
- Pentest Tools Review
- Hacker
- Hacking Tools Name
- Hacking Tools For Windows 7
- Hacker Tools Online
- Hack Tools For Pc
- Hacking Tools Usb
- Hackrf Tools
- Hacker Tool Kit
- Pentest Tools List
- Hacking Tools Mac
- Tools Used For Hacking
- World No 1 Hacker Software
- Hack Website Online Tool
- Hacker Security Tools
- Wifi Hacker Tools For Windows
- Black Hat Hacker Tools
- Growth Hacker Tools
- Hacking Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Subdomain
- Hacker Tools For Mac
- Hak5 Tools
- Hacking Tools For Mac
- Hacking Tools Name
- Hacking Tools Mac
- Pentest Tools Nmap
- Hack Tools Online
- Pentest Tools For Mac
- Hack Apps
- Hacking Tools For Kali Linux
- Pentest Tools For Android
- Github Hacking Tools
- Hack Tools For Mac
- Hacking Apps
- How To Make Hacking Tools
- Hack Tools Online
- Hacker Tools List
- Hack And Tools
- Pentest Tools Alternative
- Install Pentest Tools Ubuntu
- Hacker Tools 2019
- Hacker Tools 2019
- Pentest Tools Apk
- Kik Hack Tools
- Pentest Tools Online
- Pentest Tools Linux
- Pentest Automation Tools
- Tools Used For Hacking
- Underground Hacker Sites
- Pentest Tools Free
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Pc
- Nsa Hack Tools Download
- Hack Tool Apk
- Tools Used For Hacking
- Hacking Tools Windows
- Hacker Tools List
- Nsa Hack Tools Download
- Hackrf Tools
- Hacker Tools Online
- Hack Tools 2019
- What Is Hacking Tools
- Pentest Tools Framework
- Game Hacking
- Hacks And Tools
- Pentest Tools Linux
- Pentest Reporting Tools
- Physical Pentest Tools
- Hacker Tool Kit
- Hack Tools
- Hacking Tools Windows
- Hack And Tools
- Pentest Tools Url Fuzzer
- Best Hacking Tools 2019
- Pentest Box Tools Download
- Hacking Tools Mac
- Pentest Recon Tools
- Wifi Hacker Tools For Windows
- Hacking Tools
- Pentest Tools List
- Hacking Tools And Software
- Hacking Tools Windows
- Hacker Tools Windows
- Hacking Tools For Games
- Hacks And Tools
- Hack Tools Mac
- Usb Pentest Tools
- Ethical Hacker Tools
- New Hack Tools
- Hacks And Tools
- Pentest Tools Linux
- Pentest Reporting Tools
- Nsa Hack Tools Download
- Hacking Tools Software
- Pentest Tools Tcp Port Scanner
- Hacking Tools Windows
- Pentest Tools Review
- Hack Tools For Pc
- Pentest Tools Github
- Hacking Tools Usb
- Hacker Search Tools
- Tools Used For Hacking
- Hacker Tools Linux
- Black Hat Hacker Tools
- Hacker Tools Apk
- Hack Tools For Pc
- World No 1 Hacker Software
- Pentest Tools Kali Linux
- Hack Tools For Windows
- Hacker Tools For Windows
- Pentest Automation Tools
- Pentest Tools Windows
- Hack Tools Mac
- Hacking App
- Hacking Tools For Windows
- Tools 4 Hack
- Hacking Tools Software
- Hacking Tools For Pc
- Pentest Tools Nmap
No hay comentarios:
Publicar un comentario