Skip to content

Fix rnpkeys dll sideloading vulnerability of rnp.dll #2411

Description

@RootLUG

Hello,
the binary rnpkeys.exe as distributed with Thunderbird is currently being used in advanced threat actor operations by leveraging a DLL sideloading vulnerability for rnp.dll to bypass security scans and possibly EDR systems. The DLL lookup path should be fixed to not allow the loading of dll from arbitrary location from which the program is placed/executed or to verify the chain of trust for dlls to be also signed with same CA as the main rnpkeys before they are being loaded.

The vulnerability is abused by replacing the legitimate rnp.dll in the same directory as rnpkeys.exe with malicious implant which is then loaded without any verification by rnpkeys that is digitally signed (with valid legit cert for Thunderbird). On system level this would then appears as a legitimate trusted process which is further used to bypass security defences once the malicious implant is loaded and being executed by rnpkeys.exe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions