KDL
What is KDL?
An Android app for test phones. Turn on capture and use the phone. KDL logs what you did and when: taps, typed text, screens, incoming messages and calls from their notifications, from 0.6.0 messages that arrive in a chat you have open, and a screenshot each time you tap the red MARK button, saved since 0.5.0 with the text the app reported for that screen (its view tree). Every entry carries the device clock, the time zone, the time since boot and the boot count. Export the log into the documentation/ folder next to the extraction, and tools/make_documentation.py turns it into an .xlsx.
It is there to make known data for apps the LEAPPs do not parse yet, so a parser can be built and checked against it. Two scripts in the repository help with that: kdl_locate.py takes the export and an extraction and finds where the app stored each logged value and time, and kdl_check.py grades a LEAPP artifact's output against the log.
Test phones only. KDL records typed text and screens in the apps you pick, plus System UI and Settings, which are always captured. Never install it on an evidence device.
Highlights
- Every row is hash-chained, screenshots and view trees included. Change a row, or remove one that has a row after it, and the chain breaks there. Rows cut off the end can leave the chain intact, so write down the latest row hash and compare it later.
make_documentation.pychecks the chain - Rules ship for Google Messages, Instagram, Threads, WhatsApp, Signal, Messenger, Telegram, Discord, Snapchat, Wire, LINE, TikTok and Zangi. Each says what it was checked on. For other apps, teach your own
- Android 8.0 or later (screenshots need 11). The iOS version (iOS 17 or later) is in its own repository: build it yourself with Xcode
- Not on Google Play. Check the APK against
SHA256SUMSand the signer certificate SHA-256:ab957515938e78247caa26a3747e7e429b4a6bd766854a8fdf3aa8929bb50faf - MIT licensed. The
tools/scripts come with the source code download. User manual
AppWalk
What is AppWalk?
AppWalk runs on the examiner's computer and drives a connected Android phone over adb. Open the app on the phone and AppWalk scrolls that screen from one end to the other, or opens the rows you choose from a list (conversations, for example) and walks each one. At every step it saves a screenshot and the text the app reported for that screen (its view tree), and it logs everything it did in a hash-chained log in KDL's export format. Each run also gets a transcript and a PDF report.
It is for a phone examined with the owner's consent or other lawful authority. It does not unlock anything or get around any lock: when a lock screen, a password prompt or another app is in front, it stops and waits for the examiner.
It changes the phone. Opening a thread can mark it read, as it does for a person, and USB debugging stores the computer's key on the phone. If the phone is online, opening a conversation can also send read receipts and download content. Reading the phone's identity can leave a Settings search and show the dialer in app usage. It installs no app.
Highlights
- A four-step window, and a command line that runs the same code
- Profiles say who sent each message for Google Messages, Fossify Messages, WhatsApp, Signal, Messenger, Telegram, Discord, Snapchat, Wire, LINE, TikTok, Instagram, Threads and LinkedIn. Teach more in the window, and check each one against the screenshots
- Every screenshot and view tree is hashed into the log, and
appwalk.py verifychecks them. KDL'smake_documentation.pyreads the export - Screens the app marks as secure come back black, logged as
blank - Add a file after the walk (WhatsApp's Export chat zip, for example) and it joins the hash chain
- Documents Settings > About phone as screenshots, since adb can no longer read the IMEI or phone number. On phones that give that screen's text, AppWalk reads the values out for you to check. Stock Android, Pixel included, does not. If About phone shows no IMEI, it tries Settings search and then enters
*#06#on the dialer. It places no call and records the call log before and after - macOS, Windows and Linux, ARM64 and x64. Not signed yet: the README.txt in each pack says how to open it. Get adb from Android's SDK Platform-Tools
- Tried on an Android 15 emulator, a Pixel 7a with Android 17 (WhatsApp, Signal, Discord, Instagram, Threads and LinkedIn), and a Galaxy A16 5G and a moto g play with Android 16 (Google Messages, WhatsApp, Signal, Messenger, Telegram, Discord, Snapchat, Wire, LINE, TikTok, Instagram and Threads). No iOS. MIT licensed
- Quick start and user manual