Back in 2017 a small device appeared on my desk. A wireless presentation device that one of our customers wanted to deploy on its premises, but not before we had audited it first.
The idea behind those devices is pretty simple: instead of running from meetings to meetings with HDMI and VGA cables in your pockets, just leave a device connected to a presentation screen at all time and let presenters connect to the device using a client application on their laptop or smartphone. These presentation devices are usually deployed in large companies or universities and cost between $800 to something around $1800 based on the features they got.
The device in question was an Airmedia AM-101 and in this blog series I’ll describe my complete process on how I went to test it. Hopefully this can be used as some kind of cheat sheet for folks starting in the field.
Here’s the agenda for this blog series:
- Intro - You’re reading that post right now.
- Hardware Hacking - Where we discover debug ports, connect to it and ultimately dump the firmware.
- Network Assessment - Scanning the device for exposed ports and network protocols reverse engineering.
- Vulnerability Research & Development - Armed with a firmware dump and known exposed services, we find multiple RCEs and bypasses.
- Hunting OEMs - A methodology to find devices from other manufacturers that are affected by the exact same issues.
- Conclusion & Recommendations - General conclusion and recommendations to secure those devices, coordinated disclosure timeline and release of tooling for all pentesting teams out there. (release: 29/03/2019)
First and foremost, security research on wireless presentation devices is not entirely new. Some folks already looked at it (but apparently not deeply enough 😎 ):
Cylance did some vulnerability research on the AM-100: Cylance Vulnerability Research - https://github.com/CylanceVulnResearch/disclosures
Mike Benich wrote a blog post explaining how he compromised an AM-100 from guest network using vulnerabilities disclosed by Cylance: An Unwanted (Wireless) Guest - Gaining a foothold onto the corporate LAN with the Crestron AM-100 - https://medium.com/@benichmt1/an-unwanted-wireless-guest-9433383b1673
Brian W. Gray did a presentation on how he unpacked the firmware and cracked hashes to gain a shell on the AM-100: SomethingBroken.com – Junk Hacks - http://somethingbroken.com/vuln/static/0003_b.pdf
Our test device is an Airmedia AM-101 running firmware version 18.104.22.168 on a WM8750A processor from WonderMedia. WonderMedia specializes in low-cost ARM processor with advanced graphics processing, which makes sense here given the device’s purpose.
The device is plug and play. You connect it to a screen over HDMI or VGA and hook it to the network over Ethernet, it will get a DHCP lease and display the following screen:
I tried streaming a presentation from Windows and using their Android app. You simply need to provide the device’s IP and the four digits code displayed on screen to associate with the device. Everything worked as expected, but we still don’t know what makes it tick.
To uncover how the device works we will start with hardware hacking, which is the subject of my next blog post. You can find it right here.comments powered by Disqus