Rufus 3.17.1846 DLL Hijacking

Rufus version 3.17.1846 suffers from a dll hijacking vulnerability for both the executable and portable executable versions.

MD5 | 7400017ae2e5420d56dc998e4cc514eb

Hi all,

I would like to disclose a vulnerability that I just found today.

Details below:

Vulnerable Software and Version:

1. Rufus 3.17.1846 executable
2. Rufus 3.17.1846 portable executable

Vulnerable software download link:

Date discovered and reported:
25 Feb 2022

Both Rufus 3.17.1846 executable AND portable executable are suffering from DLL
Hijacking by placing x86 MSASN1.dll or VERSION.dll in the same directory as
the executables, which could cause arbitrary code execution and privilege

Taking MSASN1.dll as an example, craft a malicious x86 DLL with an entry
point with DllMain and place in the same directory, once double click the
executable, an x86 admin shell could be obtained as the executable requires
admin right to run by design.

Attack vector:
Taking MSASN1.dll as an example PoC code of dll can be found in my

Attack steps:


Craft and drop a malicious DLL named as "MSASN1.dll" with entry point
DllMain [image: image]

Double click the executable "Rufus", administrator privilege is required
to run

Malicious DLL has been called and an admin shell can be obtained as
PoC [image:

This issue has been submitted to github as well and is acknowledged by the

Thanks and regards,
James Tsz Ko Yeung

Related Posts