Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Hooking Windows Api Calls

Hooking Windows Api Calls

Scheduled Pinned Locked Moved C#
csharpphpdatabasewindows-adminjson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joejoeiscool
    wrote on last edited by
    #1

    Hi I found this : http://www.neowin.net/forum/index.php?showtopic=356523, which at the bottom says how I could get applications to work, using a different registry. It needs to inject a dll (how and could it be a .net one?) and to hook the api calls (how?) Please help JoeJoe

    D 1 Reply Last reply
    0
    • J joejoeiscool

      Hi I found this : http://www.neowin.net/forum/index.php?showtopic=356523, which at the bottom says how I could get applications to work, using a different registry. It needs to inject a dll (how and could it be a .net one?) and to hook the api calls (how?) Please help JoeJoe

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      joejoeiscool wrote:

      It needs to inject a dll (how and could it be a .net one?)

      No, you can't inject a managed-code .DLL into another process. They don't support the necessary exports required for code injection.

      joejoeiscool wrote:

      which at the bottom says how I could get applications to work, using a different registry

      No, the article hypothesizes how to get emulate an alternate registry. The problem is, in order to get code injection to work and hook into the Kernel code functions to redirect them to your code, you need admin priv's. Which, if you have, then all of this becomes a moot point. Basically, you can't do what you're thinking of doing to get around security.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups