Security Research in 2016: Measurements and Usability

Posted: February 27th, 2017 | Author: | Filed under: privacy, research, security | Tags: , , , , , , , , , , , , , , | No Comments »

My security research in 2016 focused on two broad categories: measurement-, and usability-studies. In this blog post, I briefly discuss the four most important papers we published in these domains in 2016.

Data-driven security and measurement studies

The Transport Layer Security (TLS) protocol is the building block of secure web communication. A number of important Internet applications rely on the TLS  protocol for the protection of exchanged information. One of these important applications is E-Mail, which despite of the growing use of mobile messengers, remains very popular. In a joint project with Wilfried, Aaron, and Martin we analyzed how TLS is used in the global E-Mail ecosystem. Our measurements consist of over 10 billion TLS handshakes against 20 Million global email services. Our findings showed that weak Diffie Hellman parameters are a serious threat for the security of the current E-Mail systems. We also showed that roughly one third of all analyzed E-Mail services supported the insecure plain-authentication method. Our paper got the award for best paper at ARES 2016, for the details on our research: read the paper and/or download our dataset.

number of email hosts that offer auth plain authentication (2016)

In 2016 we furthermore conducted a study on the effectiveness of state-of-the-art blocker tracking tools. Online tracking is a widespread practice for web services in order to tailor online advertisement as well as to identity the online behavior of people. Tracker-blocking tools such as Ghostery or AdBlock Plus are currently the only available solution for people to protect against tracking and malicious advertisement, yet little is known how effective these tools are. We performed the first large-scale measurement study on the effectiveness of tracker-blocking tools on websites as well as mobile apps. The research is part of our PriSAd research project (FH St. Pölten + nimbusec) and joint work with SBA Research (in particular Georg + Damjan), as well as Nick Nikiforakis from Stony Brook University. We will present our findings at the EuroS&P conference in Paris / April 2017. A preprint of our paper is available here.

Usability of Secure Mobile Applications

In addition to measurements on the usage of TLS in E-Mail services we tackled the correct usage of TLS in mobile applications. Android enables application developers to customize how TLS certificates are verified. Per default Android applications trust valid certificates based on its own CA store. Developers can however completely disable certificate validation (which is very bad and renders the security of TLS useless), or in best case pin certificates. Ultimately, users have to trust application developers to use TLS correctly. We outlined a method improve the correct usage of TLS in Android applications for end users, despite potential implementation bugs introduced by app developers. The main idea we proposed consists in intercepting calls to the Android TrustManager and pin TLS certificates on the fly. Damjan presented our method and proof-of-concept implementation at the IFIP Networking conference.

Finally, in 2016 we conducted a usability study on the state-of-the-art secure messenger: Signal. The Signal protocol provides both forward as well as future secrecy. Signal also works if message recipients are offline. In 2016 WhatsApp rolled out encrypted communication based on Signal and the cryptographic protocol is now used by more than a billion users worldwide. Signal makes the use of state-of-the-art cryptography easy, the whole protocol is however broken if an attacker manages to compromise the key-exchange servers of e.g. Signal or WhatsApp. We studied how users perform on countering targeted attacks with Signal’s fingerprint verification feature. We found that 75% of our study participants failed to correctly verify the identity of other Signal users. Read the paper for further details on our study and our suggested usability improvements for the Signal messenger.

example warning dialog from Signal once identity key changes

Linux Home theater PC with AMD E-450 and XBMC

Posted: August 26th, 2014 | Author: | Filed under: personal, random | Tags: , , , , , , , , , , , , , , , | No Comments »

Since some years I tinker with the perfect Home theater PC (HTPC) and finally I am pretty happy with my setup. I use a Zotac AD11 PLUS with an additional external HDD Raid1. For the actual sound I use the combination of a Denon AVR-X1000 with Teufel Consono 35 Mk3 5.1 speakers.

I use Ubuntu Server 14.04 LTS (trusty) on my Zotac AD11 (AMD E-450 CPU) and switched to the open source ATI radeon driver which now supports VDPAU. A post on the XBMC forum provides straightforward instructions to setup XBMC with the open source radeon driver and AMD 350/450 chipsets. I had to make two additional fixes. The opensource radeon driver does not support multichannel sound but supports pass-through of common dolby audio formats, so in order to upscale stereo sound – I relied on my Denon receiver instead of XBMC/pulseaudio. The second issue I had to solve was the constant loss of the HTPC’s HDMI signal on my TV, once I switched HDMI inputs on my Denon receiver to a different device (“no signal”).

In order to fix the HDMI issues I created a custom HDMI udev rule in:


to start a custom script upon HDMI signal changes:

KERNEL=="card0", ACTION=="change", RUN+="/home/htpc/"

The actual HDMI script simply uses xrandr to set the display output to HDMI-0.

export XAUTHORITY=/home/htpc/.Xauthority
export DISPLAY=:0.0
xrandr --output HDMI-0 --auto