Do you have Windows or Android? Scientists have shown a new way to track users
Scientists have discovered vulnerabilities in Windows, Linux and Android. They allow you to track some of the user’s activity, including the rhythm of entering passwords.
Researchers from Graz University of Technology have discovered problems in file management systems used in popular operating systems. Their research shows that file activity notification mechanisms can be used to collect information about user activity. The results will be presented in November at the ACM Conference on Computer and Communications Security in The Hague.
These mechanisms inform applications, among others: when a file is created, deleted, opened, closed or modified. This allows programs to respond to changes without constantly searching the disk. However, researchers have shown that the solution can be used for side-channel attacks.
Vulnerabilities in Windows, Linux and Android
In certain situations, such notifications may be accessed by another application or user without administrator privileges. This does not allow direct reading of the contents of protected files. However, it is possible to know their names and information about when they were created, opened or modified. According to scientists, this may be enough to draw conclusions about user behavior.
In Windows, researchers have shown that access restrictions to specific folders can be partially bypassed by observing notifications from a directory above. By monitoring the C: directory, they could track events in its subfolders as well. In the case of Firefox, this allowed us to determine what pages a user visited.
Researchers could track the rhythm of writing
On Linux, researchers used the inotify mechanism. They couldn’t monitor the protected file directly, but they had access to the directory where it was located. This way they were able to detect every key press.
The researchers didn’t know which specific keys the user was pressing, but they could measure the intervals between keystrokes. As they pointed out, there are techniques that allow drawing conclusions about the created content based on the rhythm of writing.
The fake window may have captured the password
An even more serious problem was discovered in KDE Plasma, one of Linux’s desktop environments. The researchers observed the activity of the polkit program responsible for checking permissions. When the system displayed a real window asking for a password, they were able to almost immediately superimpose their own, similar-looking window on top of it. The password entered there was sent to the attacker. A similar attack was possible using Wayland.
The problem also affected Android. Researchers have shown that an application without special permissions can observe changes to resources belonging to another application through file notifications. In the case of WhatsApp, this allowed us to determine when photos, videos and other files were uploaded, sent or deleted.
macOS revealed the least information
Among the analyzed systems, macOS disclosed the least information. Researchers did not detect any leakage of private data, although some of the user’s activity could be tracked to a limited extent using the FSEvents interface.
Before publication, the authors of the study informed the creators of Linux, KDE, Android, Windows and macOS about their findings. In cooperation with the Linux security team, patches have already been prepared to remove some of the detected problems.
