Example of doing so: Click me
you can use regex ^[a-zA-Z0-9]{64}$ to show only strings that match with the secret format. ( Proccess Hacker )
Before you can use the emulator, you need to do two things:
Add the generated root CA certificate to trusted root certificates
- Double-click on
rootCA.crt - Click "Install certificate"
- Select "Local Machine," then click "Next"
- Select "Place all certificates in the following store," click "Browse" and select "Trusted Root Certification Authorities"
- Click "Finish" ( only needed to do 1 time )
Same thing for keyauth.win.crt Certificate but Just pressing next works fine ( also 1 time also )
Redirect API URLs to localhost using hosts file
- Open
C:\Windows\System32\drivers\etc\hosts - Add the following line:
127.0.0.1 keyauth.win
install OpenSSL binary builds for Windows.
BEFORE STARTING MAKE SURE YOU HAVE THE CERTIFICATES INSTALLED AND THE FOLDER certs with all the files from the certificates
DONE
Once that is done, open EmuAuth.exe and enter the application secret. All traffic to KeyAuth servers should now be redirected to it. You might need to recompile it and edit/add some other responses depending on the target program.
- Download and install OpenSSL binary builds for Windows.
- Make sure you have VS2022 with C++ build tools and MFC installed
- Open
EmuAuth.slnand compile the project (you may need to adjust include and library directories if you have choisen non-default install location for OpenSSL) - Generate required certificates using the script in
Certificates/and place them incerts/folder next to theEmuAuth.exe
Tipp They are already generated but if they expire you would need to regenerate them!
- Get a Windows RDP
- Recompile the Emulator with the server IP instead of 127.0.0.1
- Install The Emulator on the RDP ( like u did on your PC )
- Disable Firewall or let port 443 be enabled
- Now just use instead of 127.0.0.1 in the hosts file the ip of the rdp
github.com/SamuelTulach for Creating this
github.com/yerrroo for fixing it in his fork
I just updated it and added some more handling for keyauth applications etc