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 links
- How To Make Hacking Tools
- Tools For Hacker
- Wifi Hacker Tools For Windows
- What Are Hacking Tools
- How To Make Hacking Tools
- Pentest Tools Open Source
- Pentest Tools Download
- Computer Hacker
- Hacking Tools Online
- Pentest Tools Free
- Free Pentest Tools For Windows
- Physical Pentest Tools
- Hacker Tools 2019
- Hack Rom Tools
- Nsa Hack Tools
- Hack Tools For Ubuntu
- Game Hacking
- Pentest Tools Find Subdomains
- Hack Website Online Tool
- Hacker Tools Software
- Hacker Tools Apk Download
- Hacking Tools Usb
- Hacker Tools For Windows
- Pentest Reporting Tools
- Tools 4 Hack
- Hacking Tools Hardware
- Nsa Hacker Tools
- Hack Tools For Games
- Hacking Tools For Windows Free Download
- Hack Tools
- Hack Tools Mac
- Hacking Tools For Pc
- Hacking Tools For Beginners
- Hacker Security Tools
- Hackers Toolbox
- Blackhat Hacker Tools
- Hacking Tools Usb
- Hack Apps
- Termux Hacking Tools 2019
- Hacker Tools
- Hacker Hardware Tools
- Pentest Tools Find Subdomains
- Hack Tools
- Pentest Tools Kali Linux
- Hacker Security Tools
- Hacker Techniques Tools And Incident Handling
- New Hacker Tools
- Hacking Tools Download
- Hacking Tools Mac
- Pentest Tools Windows
- Easy Hack Tools
- Hackrf Tools
- Pentest Tools Alternative
- Easy Hack Tools
- Pentest Tools Website
- Pentest Tools Website Vulnerability
- Hack Tools Online
- Hack Tools Github
- Pentest Tools Kali Linux
- Pentest Tools Linux
- Hacking Tools Usb
- Hack Tools For Games
- Hacker Tools Software
- Hacking Tools For Windows
- Free Pentest Tools For Windows
- What Is Hacking Tools
- Hacking Tools For Beginners
- Hacker Tools 2020
- Hacker Tools
- Pentest Tools Bluekeep
- Hacking Tools 2019
- Hacking Tools Software
- Hacker Tools For Ios
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Games
- Hacker Tools Hardware
- Hacker Tools 2019
- Pentest Tools
- New Hacker Tools
- How To Make Hacking Tools
- Tools Used For Hacking
- Computer Hacker
- Kik Hack Tools
- Pentest Tools Apk
- Hacking Tools Software
- Game Hacking
- Pentest Reporting Tools
- Pentest Tools Open Source
- Hacking Tools And Software
- Pentest Tools Bluekeep
- Pentest Reporting Tools
- Hack Tools For Ubuntu
- Pentest Tools Find Subdomains
- Hacker Techniques Tools And Incident Handling
- How To Hack
- Pentest Tools Android
- Hackers Toolbox
- Hacker Security Tools
- Hacker Tools Hardware
- Hackers Toolbox
- Hacking Tools Kit
- Hacking Tools Software
- Pentest Tools For Windows
- Hacker Tools For Pc
- Hak5 Tools
- Hack Tools Github
- Easy Hack Tools
- Nsa Hacker Tools
- Hacking Tools Windows
- Hacker
- Hacking Tools Software
- Pentest Tools Online
- Termux Hacking Tools 2019
- Hacking Tools Name
- Hacker Tool Kit
- Hack Tool Apk
- How To Hack
- Usb Pentest Tools
- Hacking Tools And Software
- World No 1 Hacker Software
- Pentest Tools For Android
- Nsa Hacker Tools
- Hacker Security Tools
- Hacking Tools And Software
- Pentest Tools Tcp Port Scanner
- Hacker
- Bluetooth Hacking Tools Kali
- Hacking Tools For Games
- Hacking Apps
- Pentest Tools Website
- Hack Tools
- Tools For Hacker
- Pentest Tools Bluekeep
- Hacker Tools Apk Download
- Hacker Tools
- Hacking Tools For Windows
- Hacker Tools Free Download
- Hacker Tools For Mac
- Hacker Tools Hardware
- Hacker
- Blackhat Hacker Tools
- Pentest Tools Subdomain
Tidak ada komentar:
Posting Komentar