Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NustyFrozen authored Nov 6, 2024
1 parent 7cd46ea commit 555afb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ https://github.com/user-attachments/assets/e9ba327c-8c81-4a83-b684-03de9d0e5e79
reason #2 can be bypassed be sophisticated RAT that either running on kernel mode or hooking setWindowsAffinity,
in the future i plan to make the program attempt to take pictures every so often on protected processes and make sure it has no content to validate that setWindowsAffinity(WDA_MONITOR) works correctly.

##how it achieves it
## how it achieves it
this tool injects to the selected process (using CRT -> LoadLibrayA) a DLL that calls Win32::SetWindowsAffinity
to change the Process Windows content access either Monitor Only (WDA_MONITOR) or everything (WDA_NONE)

the reason it require injection because "The window must belong to the current process." - [SetWindowDisplayAffinity function (winuser.h)](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity).

Therefore it may not work on video games with anti-cheat and is NOT RECOMMENDED to be used as the risk of a ban since it calls openProcess

##hierarchy
## hierarchy
Internal_RemWindowsAffinity --> dll for setWindowsAffinity(WDA_NONE)
Internal_SetWindowsAffinity --> dll for setWindowsAffinity(WDA_MONITOR)
WindowPrivacy --> The Tool itself

0 comments on commit 555afb6

Please sign in to comment.