dll-injection Questions

5

Solved

I was browsing the internet lately, when I stumbled upon Dll Injection. I think its an interesting subject but, I have no clue what the purpose of it is? I have read that it can be used for crack...
Barracuda asked 29/9, 2010 at 7:58

0

I don't know much about C/C++ but I have some knowledge about golang. I was playing around with simple lib written in golang which I would like to use it in simple C++ program. I was thinking it wo...
Intellect asked 3/5, 2022 at 9:49

4

I am doing the DLL injection job recently, so I have did some research into it on google. Now I know use CreateRemoteThread is a good way. The ASLR(Address space layout randomization, since Window...
Tisman asked 6/12, 2014 at 14:7

2

Solved

using System; using System.Diagnostics; using System.Reflection.Emit; using System.Threading; using EasyExploits; namespace ConsoleApp1 { class Program { EasyExploits.Module module = new EasyEx...
Oudh asked 28/5, 2020 at 6:35

3

Solved

Because of ASLR(Address space layout randomization, since Windows Vista), the base address of an exe is random, so it can't be found in PE file anymore. In Visual C++ now the /DYNAMICBASE option i...
Charnel asked 5/12, 2014 at 13:52

4

Solved

If you take a look at the following working code of a simple DLL injection: //Open the target process with read , write and execute priviledges Process = OpenProcess(PROCESS_CREATE_THREAD|PROCES...
Telegraph asked 30/3, 2014 at 21:28

1

I have got the following code. using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Threading; using ClassLibrary1; namespace Injection { class Program { ...
Seabee asked 24/12, 2015 at 15:31

4

Solved

Komodia says: DLL injection is not possible with Modern UI on Windows 8,It is possible to inject DLLs into Metro apps, BUT, you will not be able to redirect Winsock traffic to localhost. In ...
Thyrotoxicosis asked 29/4, 2013 at 0:33

3

Solved

I want to detour EndScene from an arbitrary DirectX 9 application to create a small overlay. As an example, you could take the frame counter overlay of FRAPS, which is shown in games when activated...
Richardricharda asked 3/1, 2010 at 11:23

1

Solved

I have some code var aa = a(); b(aa); While debugging, I set a breakpoint on the b() call. Then going to the immediate window, I'd like to be able to execute code from a DLL that is in my proje...
Elnaelnar asked 23/4, 2015 at 20:58

1

Edit: The answer of this question is here: https://stackoverflow.com/a/27317947/996540 When you create a project in msvc, the option /DYNAMICBASE is default enabled now. Because of ASLR(Address ...
Noeminoesis asked 6/12, 2014 at 11:11

2

Solved

I have a DLL I inject into other processes using SetWindowsHookEx. Inside the DLL I increment the module's reference counter by calling GetModuleHandleEx so I can control when the module is unloade...
Giana asked 29/8, 2014 at 22:35

2

Solved

Following code will inject dll and DllMain will be called. How I call specific function from DLL, not just DllMain? DWORD pid; HANDLE hd; LPVOID gp, rs, proc; gp = (LPVOID)GetProcAddress(GetM...
Huddle asked 27/8, 2014 at 7:31

2

Solved

I am making a 'mod' dll that modifies behaviour of the target process. I succeeded to inject my dll and hook some functions of target. But it requires more work to do when I need to hook some APIs...
Anet asked 29/7, 2014 at 5:22

2

Solved

I want to call a function in a remote process of an injected DLL that I've made. I have successfully injected my DLL with: CreateRemoteThread(pHandle, NULL, 0, (LPTHREAD_START_ROUTINE)GetProcAddr...
Henebry asked 7/4, 2012 at 19:36

1

Solved

I want to hook functions that are called from a loaded DLL on Run time, i used the class CAPIHook from the book "Windows Via C/C++" (the DLL Injecting done by Install System Wide hook and The hooki...
Bronson asked 21/7, 2012 at 13:7

4

I am working on a project which captures all User Interactions. MSDN tells (this) SetWindowsHookEx can be used to inject a DLL into another process. A 32-bit DLL cannot be injected into a 64-bi...
Mosqueda asked 27/1, 2012 at 9:41

2

Solved

I wrote this function to inject DLL into running process: DLL_Results CDLL_Loader::InjectDll() { DWORD ThreadTeminationStatus; LPVOID VirtualMem; HANDLE hProcess, hRemoteThread; HMODULE hModul...
Boletus asked 4/12, 2011 at 1:22

5

Solved

I have created an additional thread in some small testing app and want to suspend the main thread from this additional thread. The additional thread is created via CreateRemoteThread from an extern...
Reichsmark asked 28/12, 2009 at 13:56

5

Solved

I am facing a problem related to get out all the controls from some hooked process. My SpyDll launched into hooked process sucessfully, But when I check the statement Control control = Control.Fr...
Conservancy asked 28/6, 2011 at 16:8

1

Solved

Is it possible to inject a DLL file into a process such as explorer or svchost using C#? I know this is possible in C++ but is it in C#? If so would it matter how the DLL was written, e.g. would it...
Ancon asked 7/7, 2011 at 11:3

5

Solved

I'd like a user to download an exe from my website, where (synchronously upon download) an XML file is injected into this application. This XML file contains a public key, and a signature. How do...
Coercive asked 17/3, 2011 at 14:48
1

© 2022 - 2025 — McMap. All rights reserved.