win-capture: Add obfuscation functions

This adds obfuscation functions primarily for use with GetProcAddress.
This takes an obfuscated string and uses a simple integer key to
de-obfuscate it to the intended function name string, which is then
loaded dynamically using GetProcAddress.

This is typically only used with functions such as OpenProcess,
SetWindowsHookEx, and the like, which can often be misinterpreted the
wrong way by security programs if those strings are found within the
strings segment of a scanned executable.
This commit is contained in:
jp9000
2014-11-10 01:21:50 -08:00
parent 7bf69e8a0a
commit a49d731df8
3 changed files with 55 additions and 0 deletions

View File

@@ -1,11 +1,13 @@
project(win-capture)
set(win-capture_HEADERS
obfuscate.h
window-helpers.h
dc-capture.h)
set(win-capture_SOURCES
dc-capture.c
obfuscate.c
window-helpers.c
monitor-capture.c
window-capture.c