BankBot: recovered C2 indicators & analysis
BankBot is an Android banking trojan family built from source code that leaked on an underground forum in late 2016; it uses overlay phishing screens and SMS interception, and variants reached Google Play in 2017.
What BankBot is
Doctor Web reported in January 2017 that the source code of an Android banking trojan, with usage instructions, had appeared on a hacker forum, and that malware built from it had been found in the wild. SecurityWeek (23 January 2017) said the code had been published about a month earlier. The reports describe standard banker features: hiding the icon after getting device-admin rights, an admin panel and C2 server, WebView phishing overlays over targeted apps, SMS interception and deletion, USSD requests, contact retrieval, device tracking and call placement. Overlays imitating a Google Play purchase page targeted card details inside apps such as Facebook, WhatsApp, Viber, YouTube, Uber, Snapchat, WeChat, Instagram and Twitter, and over three dozen financial apps were targeted.
Trend Micro dates the BankBot detection to January 2017 and calls it an improved version of an unnamed open-source banker leaked on an underground forum. ThreatFabric documented droppers on Google Play between January and May 2017: unprivileged dropper apps (for example 'Real Funny Videos') that downloaded the real trojan, followed by overly privileged apps with news and funny-video cloaks. It reported a target list of over 420 banking apps and, on one C2 server, 5,499 bots and 276 harvested credentials on 26 May 2017.
Trend Micro reported in September 2017 on a newer batch of five BankBot apps on Google Play, four posing as utilities, one downloaded 5,000 to 10,000 times. That variant targeted banking apps from banks in 27 countries (the list grew from 150 to 160 apps, including ten UAE banking apps), reported installed target apps to the C2 to receive an overlay URL, and did not run in Commonwealth of Independent States countries. For UAE targets it asked for the victim's details twice and used Firebase Cloud Messaging to deliver a PIN. Because the code was public, many unrelated variants exist under the BankBot name.
Capabilities
- WebView phishing overlays over banking and payment apps
- Fake Google Play purchase overlay to capture card details inside popular apps
- SMS interception, sending and deletion to defeat SMS-based two-factor authentication
- Device-administrator privileges and icon hiding
- USSD requests, contact retrieval, device tracking and call placement
- Reporting of installed (including antivirus) apps to the C2
- Operator admin panel and C2-delivered overlay content
- Dropper-based delivery of the payload (Google Play campaigns in 2017)
Known C2 / channel types: Disguised apps (for example fake Google apps with a Play Store icon) distributed outside the store, Dropper apps on Google Play in 2017 (entertainment, news, utility and banking lures) that download the real payload, Promotion through a fake Facebook page in one early dropper campaign, Reuse of the leaked source by unrelated actors.
MITRE ATT&CK (Mobile)
Techniques commonly associated with BankBot:
| ID | Technique |
|---|---|
| T1417[.]002 | Input Capture: GUI Input Capture |
| T1582 | SMS Control |
| T1636[.]004 | Protected User Data: SMS Messages |
| T1636[.]003 | Protected User Data: Contact List |
| T1418 | Software Discovery |
| T1430 | Location Tracking |
| T1616 | Call Control |
| T1437 | Application Layer Protocol |
| T1626[.]001 | Abuse Elevation Control Mechanism: Device Administrator Permissions |
What Privara Unmask recovered
Recovered from the sample's own network traffic during automated detonation and confirmed against the sample's configuration. The primary endpoint answered when checked. The analysis ran on a de-emulated Android 17 device that the sample could not fingerprint as virtual, so it behaved as it would on a real handset.
Package com.android.s2rhhxh
SHA-256 8166dfba7fd0b4ad44c8bc91cc0e98fa06b8912e3fca2093900eb58ba79d22d4
Source MalwareBazaar (abuse.ch)
Indicators of compromise (IOCs)
| Indicator | Type | Role | Confidence | Status |
|---|---|---|---|---|
| 2.57.91[.]92:443 | ip:port | C2 | high | live |
| 176.123.1[.]132:443 | ip:port | C2 | medium | unresponsive |
External references
- Source Code of BankBot Android Trojan Leaks OnlineSecurityWeek
- BankBot Found on Google Play, Targets Ten New UAE Banking AppsTrend Micro
- Sophisticated Google Play BankBot trojan campaignsThreatFabric
- BankBot, an Android malware based on a source code leaked onlineSecurity Affairs
Methodology & honest limits
This sample was obtained from MalwareBazaar and detonated in a controlled, isolated environment. C2 identity was recovered from the executing sample and its configuration. We report only what the analysis established: an offline sample yields a C2 identity, not a live beacon, and we say so. Nothing here is inferred beyond the evidence.
Analyze your own Android samples like this
Privara Unmask detonates arm64 samples on a de-emulated Android 17 device that anti-analysis code can't fingerprint, recovering C2, config and IOCs automatically, with a clean rollback per sample.
Try Unmask for free → See a sample reportFree: 10 samples or your first C2. Then pay per result: $25 live C2, $9 dead C2, nothing if none is found.