Skip to content
A proof of concept injectable C++ dll, that uses naked inline hooking and direct memory modification to change your TeamViewer permissions.
Branch: master
Clone or download

Latest commit

gellin Merge pull request #1 from DarkyZShadow/master
Change VirtualProtect size from 6 to 5
Latest commit 84b3aec Dec 7, 2017


Type Name Latest commit message Commit time
Failed to load latest commit information.
TeamViewerHook_13_0_3711_88039 Change VirtualProtect size from 6 to 5 Dec 7, 2017
.gitignore swap Dec 4, 2017
LICENSE swap Dec 4, 2017 readme update Dec 5, 2017
TeamViewerHook_13_0_3711_88039.dll swap Dec 4, 2017
TeamViewerHook_13_0_3711_88039.sln swap Dec 4, 2017
client_takes_control.gif readme update Dec 5, 2017
server_switch_sides.gif swap Dec 4, 2017

TeamViewer Permissions Hook V1


A proof of concept injectable C++ DLL, that uses naked inline hooking and direct memory modification to change TeamViewer permissions.


  • As the Server - Enables extra menu item options on the right side pop-up menu. Most useful so far to enable the "switch sides" feature which is normally only active after you have already authenticated control with the client, and initiated a change of control/sides.
  • As the Client - Allows for control of mouse with disregard to servers current control settings and permissions.


As the Server



  • Utilizes signature/pattern scanning to dynamically locate key parts in the code at which the assembly registers hold pointers to interesting classes. Applies inline naked hooks a.k.a code caves, to hi-jack the pointers to use for modification via direct memory access to their reversed classes.
  • Inject and follow the steps


  • Your favorite Manual Mapper, PE Loader, DLL Injector, inject into - "TeamViewer.exe"
  • This version was Built on Windows 10, for TeamViewer x86 Version 13.0.5058 - (Other versions of TeamViewer have not been tested but with more robust signatures it may work, linux not supported)


  • Developed for educational purposes as a proof of concept for testing. I do not condone the or support the use of this software for unethical or illicit purposes. No responsibility is held or accepted for misuse.


@timse93 - Research and Testing

You can’t perform that action at this time.