towelroot
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
7 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
Specifically, at the same time the cyber criminal with the administrative access could potentially run malicious code, retrieve files, bypass third-party or security applications including containers like Samsung’s secure Knox sub-operating system, and place backdoors for future access on users’ devices.
You can manipulate kernel stack value... by doing syscall... Learning from geohot’s exploit, he found that there are four very convenient functions that can be used... sendmmsg, recvmmsg, sendmsg, and recvmsg...
Privilege Escalation
2 techniques
Privilege Escalation
The Futex bug (CVE-2014-3153) is a serious bug that affects most Linux kernel version... This post will describe in detail about what exactly is the futex bug, how to exploit the futex bug, and also explains how towelroot works...
Once we overwrite the addr_limit... we can then (from userspace) read the address of the task_struct field, then from there, read the address of our credential ( cred ) field, then write/set our uid/gid to 0, and spawn a root shell...
Defense Impairment
1 technique
Defense Impairment
Specifically, at the same time the cyber criminal with the administrative access could potentially run malicious code, retrieve files, bypass third-party or security applications including containers like Samsung’s secure Knox sub-operating system, and place backdoors for future access on users’ devices.
Collection
1 technique
Collection
The part about finding the address to overwrite: use other kernel vulnerability to leak kernel memory... Towelroot uses CVE-2013-2141... You can experiment a little bit to get a (mostly) reliable kernel stack address leak.
Impact
1 technique
Impact
These two things: that stack content can be manipulated, and that a manipulated list can be used to write to any address is the basis of the futex exploit.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.