1.6 KiB
1.6 KiB
MVT (mvt-project) on the phone itself, from Termux
Install (verified)
unset LD_LIBRARY_PATH
pkg install -y python-pip python-cryptography rust # rust is needed for the pydantic-core build
/data/data/com.termux/files/usr/bin/python -m venv --system-site-packages --without-pip ~/mvt-venv
# run in the background, it takes several minutes:
env -u LD_LIBRARY_PATH ~/mvt-venv/bin/python -m pip install mvt > ~/mvt-install.log 2>&1
env -u LD_LIBRARY_PATH ~/mvt-venv/bin/mvt-android download-iocs # -> ~/.local/share/mvt/indicators/*.stix2
--without-pip: venv's ensurepip fails here. The system pip is reused through--system-site-packages.- If even plain Termux python fails to
import array, runpkg upgrade python(a partial upgrade leaves lib-dynload out of sync).
Quick check without ADB (app IDs vs IOCs)
/system/bin/pm list packages -f -i -U > ~/pkgs.txt
Line format: package:<apk path>=<pkg> installer=<x> uid:<n>. Parse the package with \.apk=(\S+)\s+installer. Pull the IOC app IDs from the STIX pattern fields with the regex app:id\s*=\s*'([^']+)', then intersect the two sets.
Also list the /data/app packages with installer=null. These are sideloaded via adb or restored from a backup, so mention them as "worth a look", not as a finding.
Limits: this check covers app IDs only. Processes, logs, SMS/URLs, files and settings need mvt-android check-adb (or androidqf) over a paired ADB session.
Full scan
Pair via wireless debugging (SKILL.md §4), then:
env -u LD_LIBRARY_PATH ~/mvt-venv/bin/mvt-android check-adb --output ~/mvt-out