Giter VIP home page Giter VIP logo

proxy_dll's Introduction

proxy

A simple system for hooking protected applications. I have employed this method to make hooks for various MMORPG games, for the past two years.

void __security_init_cookie(void);	// dear friend!

Details

Most Windows binaries have a predictable pattern that can be used to our advantage.

To do this we take advantage of the fact that __security_init_cookie is called by the CRT when it's initialized. The initialization is the first call at the OEP:

__int64 start()
{
  __security_init_cookie();	// hello!
  return __scrt_common_main_seh();
}

GetSystemTimeAsFileTime is the first import called first in __security_init_cookie

GetSystemTimeAsFileTime is embarassingly easily to recreate within our own code. We only need only a few structures. And I do not wish to share my ntdll.h =x

We recreate the original GetSystemTimeAsFileTime function, and perform our hooking inside, having added a check to determine when our target is decrypted in memory, and unhooking our hook as our last step, not to add lag to the game.

CLIENT_ID KSYSTEM_TIME KUSER_SHARED_DATA (however we only need the first 5 entries of this structure)

For further elaboration on this idea, I suggest you look over the project code, which I have made compatible with Windows 11 22H2, ...

In hopes someone finds purpose with it,

-Fyyre

proxy_dll's People

Contributors

fyyre avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.