First Android malware that secretly streams device screen abuses legitimate scrcpy tool
@LukasStefanko24K followers
75,520 views
49 Comments
Comments from the original post on X (Twitter)

@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

@LukasStefanko
For more details, check our blog about new Android malware that secretly streams screen
15 likes

@idontrecall22
That App been out for years and it uses adb debugging
15 likes

@LukasStefanko
scrcpy? yes, that is true
1 like

@idontrecall22
scrcpy yes

@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

@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

@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

@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

@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

@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

@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

@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

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

@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

@LukasStefanko
it can flip it itself using accessibility access, no need for user interaction
5 likes

@KuromoriGabe
did it also bypass to enable developer mode?
2 likes

@LukasStefanko
it cant bypass it, however it can enable it via Accessibility services
2 likes

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

@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



















