Man-in-the-Conference-Room

Submitted by quentin on Tue, 04/23/2019 - 12:25

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.

Note: given that this research started from a test I executed for Gremwell but led to deeper research performed on my personal time, this blog is cross-posted between Gremwell's site and my own blog.

Here's the agenda for this blog series:

  1. **Intro** - You're reading that post right now.
  2. **Hardware Hacking** - Where we discover debug ports, connect to it and ultimately dump the firmware.
  3. **Network Assessment** - Scanning the device for exposed ports and network protocols reverse engineering.
  4. **Vulnerability Research & Development** - Armed with a firmware dump and known exposed services, we find multiple RCEs and bypasses.
  5. **Hunting OEMs** - A methodology to find devices from other manufacturers that are affected by the exact same issues.
  6. **Conclusion & Recommendations** - General conclusion and recommendations to secure those devices, coordinated disclosure timeline and release of tooling for all pentesting teams out there.

First and foremost, security research on wireless presentation devices is not entirely new. Some folks already looked at it (but apparently not deeply enough ?):


Our test device is an Airmedia AM-101 running firmware version 2.4.1.19 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.

am_101_outside

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:

am_101_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.

Contacts

+32 (0) 2 215 53 58

Gremwell BVBA
Sint-Katherinastraat 24
1742 Ternat
Belgium
VAT: BE 0821.897.133.