0xalexei / windowsdefendertools Goto Github PK
View Code? Open in Web Editor NEWTools for instrumenting Windows Defender's mpengine.dll
Tools for instrumenting Windows Defender's mpengine.dll
Hello! I applied the patch for loadlibrary. When i did it, i had 2 issues
gcc version 10.2.1
)/usr/bin/ld: ODSHook.o:/tmp/loadlibrary/ODSHook.h:17: multiple definition of `Parameters1'; mpclient.o:/tmp/loadlibrary/ODSHook.h:17: first defined here
/usr/bin/ld: ODSHook.o:/tmp/loadlibrary/ODSHook.h:20: multiple definition of `FP_pe_read_string_ex'; mpclient.o:/tmp/loadlibrary/ODSHook.h:20: first defined here
The solution for this error is at ODSHook.h
, line 17 and 20, change the variable to type static
. Source code should look like this
void SetHooks(const uint32_t ImageBase, const uint32_t ImageSize);
//Typedef for templated Parameters<> calls
typedef uint32_t __thiscall(* ParametersCall)(void * params, void * v);
static ParametersCall Parameters1;
// address of pe_read_string_ex
static uint32_t *FP_pe_read_string_ex;
//struct to store offsets
typedef struct _RVAS {
char * MPVERNO;
uint32_t RVA_Parameters1;
uint32_t RVA_pe_read_string_ex;
uint32_t RVA_FP_OutputDebugStringA;
} RVAS, *PRVAS;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.