Skip to content

Don't use LoadLibrary #1

@jbremer

Description

@jbremer

Just wanted to mention that using LoadLibrary to fetch a resource from a PE file isn't exactly secure. Any malicious application that redirects DllMain (if it's a DLL in the first place), adds a TLS callback to the PE file, or simply patches some of the programs' code will be able to run arbitrary code on the machine where your Py2ExeDecompiler program is running

https://github.com/endgameinc/Py2ExeDecompiler/blob/master/Py2ExeDecompiler/Form1.Designer.cs#L340

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