Drama RAT explained: dropper, Accessibility takeover, C2, and how Android gets locked

2026-10-22 · 18 min read

SecurityAndroidMalwareBanking

Drama RAT is an Android banking trojan with remote-access (RAT) capabilities. If a victim installs one of its skins, operators can harvest OTPs from SMS, read what is on the screen, inject taps, overlay fake banking UI, record camera and mic while trying to hide indicators — and in many cases prevent normal uninstall so the phone effectively belongs to the panel operator.

This insight is a defender-oriented deep dive based on public research by Positive Technologies Expert Security Center (PT ESC IR), published on Habr (company blog ptsecurity, 4 September 2026) and summarised in English on ptesc.tech, plus earlier public warnings from Russia’s MVD UBK cyber unit (June 2026). We rewrite the mechanics in plain expert language for CISOs, mobile product owners, and IR teams. It is not a build guide.

Drama RAT — research cover
Drama RAT — research cover — Credit: Positive Technologies / PT ESC. English summary on ptesc.tech, 4 Sep 2026.

Why this family matters

Classic Android banking malware often stops at overlays and SMS theft. Drama RAT is built for session control: once Accessibility is granted, the malware can operate the UI like a human. That turns “one bad APK from Telegram” into ongoing fraud — password changes, money transfers, device lockouts — without needing a separate Windows implant.

The MVD warning framed the same risk for consumers: steal data, drive banking apps, fully block the handset. PT’s lab work showed the engineering behind that marketing claim: dropper → encrypted payload → Accessibility automation → persistence → dual-channel C2.

Infection path: messengers first, Play Store last

Distribution is social, not supply-chain. Operators send APKs or download links over messengers, SMS, and email. Lures copy whatever people already want: free ChatGPT or Yandex Music access, “new” VPN brands, cracked paid apps, Minecraft mods, or attachments styled as invoices and tax declarations.

The victim’s mental model is “I am installing a tool.” The technical reality is “I am installing a loader that will fetch a second stage.” Sideloading from unknown sources is therefore not a minor UX annoyance — it is the entire kill chain’s first required permission.

APK skins observed in telemetry — VPN and utility names
APK skins observed in telemetry — VPN and utility names — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Stage 1 — the dropper and the Update Now theatre

Every sample PT analysed behaved as a dropper-loader. On first run the UI claims the installed version is obsolete and pushes Update Now. That button, plus “install from unknown sources,” is the moment the real trojan is pulled down.

Before or during that fetch, the dropper phones home with a device fingerprint and a list of installed packages. Knowing which banks and messengers are present lets the panel prioritise targets and choose which overlays or steal modules to enable later.

Dropper UI: Update Required / Update Now (PiplVPN-style skin)
Dropper UI: Update Required / Update Now (PiplVPN-style skin) — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

How the dropper identifies the device

PT describes a dedicated library inside the droppers that talks to C2 and builds a stable device id: SHA-256 of ANDROID_ID concatenated with SHA-256 of the dropper’s signing certificate. That fingerprint lets operators track reinfections and map one physical phone across multiple lure APKs.

Multi-part payload decryption (why static APK scans miss the core)

C2 returns an encrypted payload plus one key fragment. On-device decryption combines three inputs: (1) the fragment from the server, (2) a key fragment embedded in the dropper code, (3) SHA-256 of the dropper signature. After decrypt-and-install, the dropper deletes the payload blob and the ephemeral key piece from disk.

That design is intentional anti-analysis: a dead APK sitting in a sandbox without the live C2 fragment never reconstructs the same second stage a victim receives in the field. Memory-resident native logic (discussed below) pushes the same idea further.

Stage 2 — what the trojan sends after install

Once the banking/RAT stage is up, it reports rich telemetry: assigned id, Android version, battery, network type, wallpaper image, SIM data, granted permissions, and more. Heartbeats keep confirming the channel is alive and can include accelerometer readings — a cheap way to tell “real pocket device” from some automated farms.

Example C2 telemetry / panel fields (identifiers redacted in source)
Example C2 telemetry / panel fields (identifiers redacted in source) — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Accessibility: the permission that finishes the takeover

Drama RAT requests Android Accessibility (assistive / special capabilities). Legitimate apps need this for screen readers and switch control. Malware needs it because Accessibility can read the UI tree, perform gestures, and drive system dialogs.

PT documents that after Accessibility is on, native code in libnative_core.so decides which extra permissions are required (SMS, contacts, microphone, screen capture, and others), finds the system Allow button, and grants them automatically. While that happens, an opaque black overlay can cover the real permission dialog so the user never sees a coherent consent flow — only a brief dark flash or a phishing-styled cover.

The same machinery watches for Deny so the malware does not accidentally revoke something it already won. From Android 12 onward, camera/mic use shows status-bar indicators; Drama RAT tries to paint near-transparent overlays over those cues during recording.

Anti-uninstall and “dangerous screen” logic

Accessibility continuously classifies the foreground UI. When the user opens App info, Force stop, Uninstall, Clear data, revoke Accessibility, deactivate device admin, battery restrictions, or Play Store uninstall flows, the malware treats the screen as dangerous and injects Back / Cancel or redirects to Home. Uninstall in normal mode becomes a frustration loop by design.

isDangerous-style checks against uninstall / force-stop / Accessibility revoke UI
isDangerous-style checks against uninstall / force-stop / Accessibility revoke UI — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Capability map (what the panel can order)

Public analysis lists a wide command surface. Think of it as modules the operator enables per victim rather than a single “steal password” script:

SMS: intercept, exfiltrate, and optionally become the default SMS app so OTP flows for banks and messengers land in attacker-controlled channels.

UI abuse via Accessibility: read active screen text, steal or swap clipboard, scrape browser content, keylog PIN and in-app passwords in near real time.

Overlay phishing: HTML templates for PIN entry, finish-setup, extra permissions, waiting-for-login — PT notes templates spanning on the order of 29 languages (including EN, DE, ES, RU, TR, AR, ZH, JA, and many more).

Remote view / VNC-style screen stream so an operator can drive banking sessions live.

Mic and camera capture with attempts to suppress user-visible recording indicators.

Contacts, account material, and location where permissions allow.

Icon hiding, notification suppression, and call-related tricks such as spoofing displayed numbers when the module is present.

Botnet-style extras: the infected phone can be told to participate in DDoS against a URL chosen by C2 — PT published a handler named in the vein of handDds / DOSEngine as evidence of that module.

C2 also pushes lists of packages the operators care about for targeted theft — so the same binary behaves differently against a victim who has Bank A versus Bank B installed.

What the victim sees (and why it feels “normal”)

After payload install, users are walked through HTML pages bundled in assets — not always native Android dialogs.

Fake Set PIN: looks like a security onboarding step; the value is stored for the malware (lock / unlock / ransom-style pressure later).

Fake Set PIN HTML screen used after infection
Fake Set PIN HTML screen used after infection — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Fake VPN required: shown when C2 is unreachable — trains the user to enable network conditions the malware wants, or simply buys time.

Fake Service Unavailable / use a VPN screen
Fake Service Unavailable / use a VPN screen — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Fake incompatible device / removing: countdown theatre that claims the app is uninstalling itself while the icon is hidden and the process keeps running.

Fake Incompatible Device / Removing countdown
Fake Incompatible Device / Removing countdown — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Command-and-control engineering

Primary channel — WebSocket + mTLS

The main channel is WebSocket over TLS with mutual authentication. Native library code embeds a client certificate (PT references helpers akin to nb_getClientP12 / password getters). The server validates that client cert; casual TLS interception without the client identity fails. Published certificate metadata in the research shows an issuer styled as DramaCA and a subject like panel-client — RSA-4096 material for the client identity.

Client certificate details (DramaCA / panel-client) from the research write-up
Client certificate details (DramaCA / panel-client) from the research write-up — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Fallback — HTTPS via CDN-looking hosts

If WebSocket is blocked, commands can ride ordinary HTTPS through CDN-associated domains, blending with legitimate traffic. Decompiled helpers classify host types (direct vs named CDN brands, including strings researchers associated with drama-connect and popular CDN providers). Defenders should not assume “CDN IP = safe.”

cdnType-style host classification in decompiled code
cdnType-style host classification in decompiled code — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Persistence: AlarmManager, Doze, reboot

Drama RAT schedules recurring work with AlarmManager — PT observed a primary ~8 second cadence and a backup ~30 second alarm if the first fails. Each tick re-checks C2 connectivity, required permissions, Accessibility health, and restarts dead components.

The code path tries exact-alarm APIs that survive Doze where possible, with fallbacks for older SDKs and missing exact-alarm grants. Boot receivers for BOOT_COMPLETED / QUICKBOOT_POWERON (and related reboot intents) bring services back after power cycles. Reboot is not a clean slate.

AlarmManager scheduling used for keep-alive / restart
AlarmManager scheduling used for keep-alive / restart — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Packaging and anti-analysis (why IR hates this APK)

Second-stage packages show aggressive packing: many junk artefacts, fake DEX files with broken identifiers, and a deliberately damaged AndroidManifest binary structure that breaks casual decompilers (PT points analysts to tools such as apkInspector to rebuild the manifest).

Native libnative_core.so carries string decryption for sensitive behaviour (overlays, auto-grants, screen capture) and additional routines for HTML templates that may arrive from C2. Runtime Base64 + per-class arithmetic keystreams obscure strings. Security checks look for root (su / Magisk / KernelSU / SuperSU), Xposed-family frameworks, Frida hooks, ptrace debugging, and emulator tells.

Decompiler view: libnative_core.so and multi-DEX layout
Decompiler view: libnative_core.so and multi-DEX layout — Credit: Positive Technologies / PT ESC IR via Habr (ptsecurity), Sep 2026. Image author: PT research team.

Detection and monitoring ideas for defenders

Behavioural signals beat filename blocklists. Watch for: new Accessibility services bound to apps that are not screen readers; APK installs from downloads / messaging directories; sudden dual-app install patterns (lure then second package); WebSocket clients with client certificates to rare hosts; AlarmManager wakeups every few seconds from unknown packages; overlays that cover system permission dialogs.

EDR / MDM: disallow unknown sources on work profiles; inventory Accessibility bindings; alert on device-admin and default-SMS-app changes; quarantine phones that show anti-uninstall symptoms (settings bounce to home).

Network: sinkhole or alert drama-connect[.]com and sibling infrastructure as published IoCs rotate; inspect long-lived WebSocket to odd ASNs even when TLS looks “valid.”

Recovery if you believe the device is owned

Do not waste cycles on normal Uninstall — anti-uninstall will win. Boot Safe Mode (long-press Power, then long-press Power off / Shut down — OEM wording differs) so third-party apps stay cold. Factory reset from recovery if Safe Mode cleanup is incomplete. Change banking, email, and messenger passwords from a second clean device. Freeze cards with the bank. Preserve the phone for forensics if you must file a police report; otherwise wipe after evidence capture. The public MVD advisory maps to the same recovery spine.

Public indicators (time-bound)

Examples published with the PT research (defang before pasting into tickets): C2 domain drama-connect[.]com; IP 135.181.77[.]58; payload SHA-256 d1062e6bd4ec13c6bea5b484f42cb5034b3a2cd68a1c634a071cc4c65e9a3e33; numerous dropper hashes under skins such as SnakeVPN, FlashVPN, AutoCheck, Pipl VPN, TikTok18+, Sovavpn, FreewayVPN, ClearVPN, ObhodVPN, SvobodaVPN, EagleVPN, and document/utility names (Dogovor, Qrproverka, etc.). Always refresh from your threat intel feed — operators rotate hashes faster than blog posts.

Sources

Positive Technologies ESC IR — “Drama RAT — вредоносное приложение…” on Habr (ptsecurity), 4 Sep 2026; English digest on ptesc.tech. MVD UBK public warning and consumer recovery guidance, June 2026 (press syndication). Figures reproduced for education with attribution to Positive Technologies / PT ESC IR as image authors and first publishers.

Gualcore’s angle

We help organisations treat Android sideloading and messenger-delivered APKs as a primary fraud channel: awareness content, threat modelling for customer apps, and authorised penetration tests that include social-engineering paths. If your users live in Telegram and WhatsApp, assume the next “VPN / invoice / free AI” APK is a dropper until proven otherwise.

Educational note: this article explains publicly documented malware behaviour for defence and incident response. It is not guidance to develop, sell, or operate Drama RAT or any remote-access trojan.

Tell us what you need to build or harden.

Share the goal, audience, and constraints. We reply with how we would approach it — Partnership, Scoped build, or Care.

CONTACT US