docs(apk): record initial EnBW APK analysis

This commit is contained in:
alex committed 2026-09-21 17:53:14 +00:00
1 parent fbce240dd6
commit c5c5ac473e
1 file changed
+46
+46
View File
@@ -0,0 +1,46 @@
# EnBW mobility+ APK findings
## Artifact
- Source filename: `enbw-mobility-8.19.0.apk`
- Package: `com.enbw.ev`
- SHA-256: `3413e945148e9539fd221b2ccdd6c03991d870a50da1e3430cac6f713b5f6274`
- Size: `40,748,519` bytes
- ZIP integrity: verified with `unzip -tq`
- DEX files: `classes.dex`, `classes2.dex`, `classes3.dex`
- Native ABIs observed: `arm64-v8a`, `armeabi-v7a`, `x86`, `x86_64`
## Decompilation
- apktool output: `/apk/apktool-out/` — completed successfully
- JADX output: `/apk/jadx-out/` — completed with 84 decompiler warnings/errors; use smali for methods marked not decompiled
- Bulk strings: `/apk/strings/all-strings.txt`
- Filtered endpoint/auth strings: `/apk/strings/endpoints-and-auth.txt`
## Package structure anchors
- `com.enbw.ev` — application package
- `com.enbw.mobplus.mobile` — mobile application layer
- `com.enbw.lib` — shared EnBW library modules
- Relevant feature packages include charging history, charging points, charging station, auth/access management, payment, order flow, and debug UI
## Observed endpoint leads
- `https://api.emp.emob-enbw.com/engage-appapi/api/app/payment-method-verification` — embedded payment-method verification URL; treat as a confirmed embedded URL, not yet as a complete API base
- `https://collect.enbw.com/portal` — embedded portal URL
- `https://b2b-home-charging.emob-enbw.com/` — embedded B2B home-charging URL
- `https://b2b-mileage-recording.emob-enbw.com/` — embedded B2B mileage-recording URL
- Firebase host: `enbw-mobilityplus.firebaseio.com`
- Third-party URLs for maps, analytics, crash reporting, Airship, Adjust, and legal pages were also observed and are not EnBW API endpoints
## Embedded schemas
- `client_analytics.proto`
- `messaging_event.proto`
- `messaging_event_extension.proto`
- These are analytics/messaging schemas; no complete business API protobuf contract has been identified yet
## Preliminary API/auth leads
- JADX and smali contain OAuth/OpenID/client-id references; authentication flow must be traced through the Auth0-related and EnBW identity classes before implementing the SDK
- An existing public unofficial client is only a lead. Its `/api/v1/profiles` and `/emobility-complete/api/v2/charginghistory` paths must be verified against this exact APK/account and must not be treated as confirmed from static strings alone
## Next analysis
1. Trace Retrofit/OkHttp service interfaces and base URL construction from `com/enbw/lib/data` and obfuscated `aq`/related classes.
2. Identify OAuth issuer, client ID, redirect URI, scopes, and token storage without recording live tokens.
3. Map DTOs and request methods for profiles, charging history, charging points, live charging, tariffs, and payments.
4. Validate read-only calls with the owner-provided test account; do not exercise charge start/stop, payment mutation, or account deletion without explicit per-action approval.