Keylogger program.

Status
Not open for further replies.

anshul

Journeyman
Hey guys I am trying to make my own keylogger program in C and think that it has 3 steps:>
1. Execute an endless loop which constantly recieves keytaps and saves them into a file.
2. Schedule it to start everytime system starts.
3. Make it run in the background and recieve kaytaps on any window or program.

The first step was easy and second can be done by putting it in autoexec.bat.
But How to Do the third step. ?

Can anyone Help??
 

sreenidhi88

Journeyman
Hey guys I am trying to make my own keylogger program in C and think that it has 3 steps:>
1. Execute an endless loop which constantly recieves keytaps and saves them into a file.
2. Schedule it to start everytime system starts.
3. Make it run in the background and recieve kaytaps on any window or program.

The first step was easy and second can be done by putting it in autoexec.bat.
But How to Do the third step. ?

Can anyone Help??

are you using windows hook procedure for this??
which compiler are you using??give us more details!!

3>you can run it in the background but it wil be displayed in the processes list.
use windows hook procedures to get the key strokes.and to hide the process
2>u can also use registry to start a program as well as start up folderwhen system starts.
using multiple ways is always better than relying on single way.

atb
 

Roadripper

Journeyman
Tahts gr8 man .. let us knw once ur done .. it shdnt get detected in the processes or in the add remove programs.....;):p:eek:
 

dheeraj_kumar

Legen-wait for it-dary!
Keyloggers are not illegal. Learning to program one is probably the best way to learn windows hooking.

Now, you are way better off doing this stuff in windows c++. your "techniques" wont get you anywhere. If you dont know, learn it.

1. Execute an endless loop which constantly recieves keytaps and saves them into a file.
This works, but there are better methods.
2. Schedule it to start everytime system starts.
Okay, this is necessary, but you should hide it from task manager, etc.
3. Make it run in the background and recieve kaytaps on any window or program.
Heh, you wont EVER get this done unless you learn c++. Enough said. There is something called GetAsyncKeyState which beginning keylogger programmers use.
 
OP
anshul

anshul

Journeyman
I am using Bloodshed Dev C++.I don't konw about the hook algorithm can You post some useful link and I will try to improvise.
 

raghavpande123

Broken In
yes u can do 3 procedures and also GetAsyncKeyState can be used to trap keys (for beginners).
u can use windows.h file as header and then write down this code for hiding the window but task manager still shows it.
/*
HWND vanish;
AllocConsole();
vanish=FindWindowA("ConsoleWindowClass",'\0');
ShowWindow(vanish,0);
*/
this is the handle method.
 
OP
anshul

anshul

Journeyman
Dont worry friends.........I am still listening....and always open to suggestions......

Where can we get a offline copy of the entire MS API reference..........
Because I am trying my hands on disassembly nowadays..........
 

Rebecca Joiesh

Right off the assembly line
Did you check here?
*msdn.microsoft.com/en-us/library/aa383749(VS.85).aspx
*blogs.msdn.com/windowssdk/archive/2008/02/21/how-to-find-api-references-alphabetically.aspx
 

dheeraj_kumar

Legen-wait for it-dary!
@anshul

*www.carabez.com/downloads/win32api_big.zip

Very famous... Win32 API Programmer's Reference Guide

I'm interested in disassembly as well :) I've done a bit of cracking, but moved on to game hacking - imho one of the best uses of disassembly :)
 
OP
anshul

anshul

Journeyman
Well I also plan to learn the same thing someday............but would also want to learn it as a important factor in career.

So I would highly appreciate it if you could send me some useful links and resources about disassembly and cracking.
 

dheeraj_kumar

Legen-wait for it-dary!
^^
crackmes.de
tuts4you.com has lots of resources in disassembling and unpacking.
unpack.cn's english section.

extalia.com for game hacking
gamehacking.com
cheatengine.org/forum
 

lilovirus

Broken In
Long timeback it was written, but still it works
checkout this page
*www.codeguru.com/cpp/w-p/system/logging/article.php/c8709/
 
Status
Not open for further replies.
Top Bottom