Skip navigation
First Android malware that secretly streams device screen abuses legitimate scrcpy tool
0:00 / 1:32

First Android malware that secretly streams device screen abuses legitimate scrcpy tool

Lukas Stefanko

@LukasStefanko24K followers

Visit on X
1,113 likesDownloadOriginal post

75,520 views

First Android malware that secretly streams device screen abuses legitimate scrcpy tool TZRat can enable Wireless Debugging, gain ADB access, and stream a victim's screen without relying on traditional screen-recording permissions

49 Comments

Comments from the original post on X (Twitter)

  • Juhyung Park's profile picture

    @arter97

    There are legitimate apps self-pairing itself to wireless ADB, many of which are actively hosted on Google Play. I hope you made clear this is not an adb problem and Google does not lock this down.

    24 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    For more details, check our blog about new Android malware that secretly streams screen

    15 likes

  • idontrecall22 🧯✠'s profile picture

    @idontrecall22

    That App been out for years and it uses adb debugging

    15 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    scrcpy? yes, that is true

    1 like

  • idontrecall22 🧯✠'s profile picture

    @idontrecall22

    scrcpy yes

  • Mad Deerfox of Trolberg's profile picture

    @ThatHartleyKat

    >malware >needs ADB Debugging enabled, something that 90% of users wouldn't even enable unless they agreed to their device being exposed to danger C'mon bruh

    13 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    by misusing accessibility services, malware taps through Settings, enables Developer options and ADB. User is not participating. It is pretty common technique

    6 likes

  • Mad Deerfox of Trolberg's profile picture

    @ThatHartleyKat

    I'm not sure if I'm missing something, but accessibility services still require user to grant permission in order to interact with the screen. Also it depends on which Android OS too. I don't know about current AOSP, but One UI, Hyper OS and Color OS have separate warning...

    6 likes

  • Mad Deerfox of Trolberg's profile picture

    @ThatHartleyKat

    ... screen that cannot be clicked on by any other services, and would require your physical touch to the screen, maybe even require screen unlock before enabling.

    1 like

  • AJ - e/acc ⚡'s profile picture

    @abdiisan

    Abusing scrcpy means the screen streaming isn't even the malware's own code, so the interesting part to reverse is the ADB side. How does it get Wireless Debugging turned on in the first place?

    6 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    by misusing accessibility services, malware taps through Settings, enables Developer options, USB debugging and Wireless debugging. User is not participating. It is pretty common technique

    3 likes

  • AJ - e/acc ⚡'s profile picture

    @abdiisan

    ah, accessibility services is the foothold and the user never taps anything. thanks for spelling that out, that is the part that keeps surprising me.

    1 like

  • e's profile picture

    @u172724659

    It's improper to label such ADB functionality as a misuse when, by design, it exposes the device to a huge amount of attack surface and control by the trusted computer. >core functionality... rests upon the misuse of ADB

    3 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    even trusted tools can be misused if not authorized by device owner

  • Kabel-Salat | AI & Tech's profile picture

    @kabelsalat_info

    Does TZRat need the victim to switch Wireless Debugging on, or can it flip that itself once it has accessibility access? That decides what a normal user can actually check.

    3 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    it can flip it itself using accessibility access, no need for user interaction

    5 likes

  • Gabe Oldwell's profile picture

    @KuromoriGabe

    did it also bypass to enable developer mode?

    2 likes

  • Lukas Stefanko's profile picture

    @LukasStefanko

    it cant bypass it, however it can enable it via Accessibility services

    2 likes

  • Pavit Chhabra's profile picture

    @mesosan16

    This is bait, nobody will grant accessibility to random app, let alone watch it while it completes the adb pairing process.

    2 likes

  • Greg Linares (Laughing Mantis)'s profile picture

    @Laughing_Mantis

    This is a great format for malware review and threat analysis, please keep it up Also solid report and honestly not surprising that it's related to the dark sword authors as mobile exploit teams usually do both platforms. Is there a list of all Android UI versions targeted?

    1 like