Trend Micro Password Manager DLL Hijack

Infiniti Team
2 min readAug 15, 2019

--

Trend Micro Password Manager managed website passwords and login IDs in one secure location.

A DLL Hijacking vulnerability has been discovered in the official Trend Micro Password Manager. DLL Hijacking vulnerability is not difficult to find and exploit if an application has this issue.

Vulnerability Details

The “tmtap.dll” file that is loaded by PwmSvc process that is service of Trend Micro Password Manager However, this file does not exist in the folder where PwmSvc.exe locates.

PwmSvc service process will load tmtap.dll file but this DLL does not exist in PwmSvc.exe’s folder. So, PwmSvc.exe will find this DLL file in Environment folders. A local user can exploit this issue by placing a malicious tmtap.dll file in a writeable Environment folder.

Steps to exploit:

  • Creates a small “tmtap.dll” file and place to any writeable Environment folder. When this DLL file is loaded, the “calc.exe” will be executed as system privilege. In the case the folder is “C:\Python37”, it is an Environment folder.
  • PwmSvc.exe process will load “C:\Python37\tmtap.dll”
tmtap.dll is loaded by PwmSvc.exe
Exploit success

Service that causes vulnerability: PwmSvc.exe

DLL that is dynamically tested and succeeded: tmtap.dll

Affected Products

Trend Micro Password Manager for Windows below 5.0.0.1058

Timeline:

Trần Văn Khang (aka Khang Kì Tổ) — Infiniti Team, VinCSS (a member of Vingroup)

--

--

Infiniti Team

We are The Infiniti — practical cyber security R&D team from VinCSS (a member of Vingroup).