MLXProjects/dwm_hooks

Win10 DWM hooking tests assisted by AI

★ 0Forks 0C++GitHub ↗Compare

README

DWM Hooks

Because AI helped unleashing the RE potential of a guy

What's this?

I'm a fan of doing silly things with the Windows desktop/windowing system, as you may already see at my old project :)
This repo is just a sharing of my findings on researching the Windows 10 21H1 DWM by using IDA, OpenCode (along with it's random free models) and half of my brain while I listen to Dubstep music.
Some of the projects mentioned later on the Motivation section are clearly not "simple", not even for an experienced dev with lots of reverse engineering experience I think, so I'm first learning to walk until I can finally run and do such crazy things.

Contents

  • hooks.sln main solution to build all projects
  • dinject/ DLL injector that targets DWM, requires SYSTEM permissions (I guess due to DWM running in Session 0/1 user)
  • mlxghost/ DLL that hooks into the dwmghost.dll to turn the "not responding" windows red instead of white
  • mlxcore/ DLL that hooks into the dwmcore.dll to write text at the top left of any window (I hope to turn this into a window transform soon) and logs to C:\mlxcore.log for debug

Motivation

I don't really remember which was the first one, but since ~2015 I've found a bunch of content that made me think "hey that's cool, let's replicate it".
Due to lack of knowledge and the annoying StackOverflow people, I gave that learning a low priority until something that would answer dumb questions without hating on me was created lol
Some videos I've found REALLY motivating were:

License

I just use Apache 2.0 for everything I make, not sure if it's the right license to use for this repo and really don't care much about that; if you have any concerns (or are MS and want to seriously discuss about this all) please open an issue :D

Contributors

MLXProjects

Issues