ProcHarvester
ProcHarvester - Fully Automated Analysis of Procfs Side-Channel Leaks on Android
Install / Use
/learn @isec-tugraz/ProcHarvesterREADME
ProcHarvester
This is the Proof-of-Concept implementation of ProcHarvester, a tool published at ASIACCS 2018. See the "ProcHarvester" paper by Spreitzer, Kirchengast, Gruss, and Mangard for more details.
This repository contains a tool to analyze the procfs on Android-based devices for possible information leaks. ProcHarvester relies on the concept of template attacks. Thus, it works without prior knowledge about possible information leaks.
Design of ProcHarvester
The following figure illustrates the design of ProcHarvester, which consists of an Android app (H) and the Desktop Suite. The Desktop Suite consists of a tool to control the Android app as well as the Android device via the Android Debug Bridge (ADB), and an analysis framework (ML) to analyze the information leaks.

The basic work flow is as follows:
- Trigger Event: The Desktop Suite triggers events, such as app starts, website launches, or keyboard gestures, on the device.
- Log: The Android app (H) profiles/reads procfs resources, while events are being triggered.
- Fetch Data: After the profiling phase, the log files are fetched to the Desktop Suite.
- Analysis: The log files are analyzed to identify information leaks that allow inferring the triggered events.
Evaluation
We used ProcHarvester to analyze information leaks that allow inferring the following events from procfs resources:
- App starts
- Website launches
- Keyboard gestures
One note before starting
Warning: This code is provided as-is. You are responsible for protecting yourself, your property and data, and others from any risks caused by this code. This code may not detect vulnerabilities in your application/OS or device. This code is only for testing purposes. Use it only on test systems which contain no sensitive data.
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
