A way to extract Authy TOTP tokens using a rooted Android device. Read the full blog post on: https://markuta.com/export-authy-backups/
Use Python 3.12
or above. I also recommend using a virtual environment with venv
to keep things organised.
python3 -m venv .venv
source .venv/bin/activate
pip3 install frida pyotp qrcode
Ensure your rooted Android device is connected via USB and the Frida server is running as root.
python3 authy-offline.py
Output:
exported.json
exported_authy.xml
with the raw Authy databaseNOTE: To ensure the safety of your TOTP tokens, make sure to delete these exports after use!
https://github.com/user-attachments/assets/d0bb8f59-9da7-405b-9eae-30dd76f91eac