Making a Keyogger with *.bat

February 4, 2009 at 11:46:05
Specs: Windows XP, 512 MB (I don't know much about this kinda stuff)
I would like to create a keylogger. Is it possible to create one with *.bat? I want to know. Is it really possible?

And, I want to create a program with BAT. I have a *.bat to .*exe converter. Could you tell me what I should make the program about? And something simple, but not so complex. I just started hacking. I would like to make it like CMD, where one could enter a command and it is executed.

Anyway, this is about making a keylogger. So is it possible, or what?

~~XD-51~~


See More: Making a Keyogger with *.bat

Report •


#1
February 4, 2009 at 12:31:35
I suggest KD-50 you get a book on proper progarmming and read it. Once you have read it you will realise why you cannot make a key logger with a batch file.

When you have done that get a book on computer hardware and find out how a keyboard actually works in relation to the rest of the hardware.

Somewhere along the line you might hopefully get discouraged and give up as it will be one less computer vandal to worry about.

Stuart


Report •

#2
March 10, 2009 at 18:14:22
YES IT IS POSSIBLE I'VE MADE ONE ALMOST I JUST NEED TO MAKE IT RUN IN THE BACKGROUND BUT YOU TYPE IN THE PROGRAM IT SENDS IT TO A TXT FILE

Report •

#3
March 10, 2009 at 18:36:10
ok here is the code step by step.

1.after you save it in a .bat file save one on your desktop.
2.then make a folder on your desktop called keys.
3.then make a txt file called keys
4 and also save the program in the keys folder but call the program k

5.here is the script / code / ???

@echo off
color 9c
echo .>>c:\users\..your login username\desktop\keys\keys.txt
echo :
set /p keys=
echo %keys%>>c:\users\...your login username\desktop\keys\keys.txt
start C:\USERS\.......your account name.....\desktop\keys\k.bat
exit

6.replace the ("..your login username") with the user name of the account your ussing.

hope i helped cause im the ....

THE COMPUTER GOD!


Report •

Related Solutions

#4
March 11, 2009 at 05:15:39
OH dear, another kid that thinks he owns the world.

Computer God,

A little education for you. BASIC is not the first computer language. BASIC is derived from COBOL and Fortran. Fortran (Formula Translator) goes back to the 1950s and COBOL (Common Business Orientated Language) goes back to the 1960s. BASIC (Beginners All Purpose Instruction Code) came along in the 1970s.

Batch and BASIC have nothing to do with each other except that they both begin with B. Batch is just that. A Batch of keyboard commands executed one other the other. It would appear that you haven't even reached the BASIC stage yet.

If you really want to be a programming God I suggest you learn a proper programming language like C++ then you may be able to write a key logger that is worth something.

If anyone is wondering, this post is in reply to a Private message. I don't carry out public discussions in private. If you have anything to say, say it in public otherwise its not worth saying.

Stuart


Report •

#5
March 12, 2009 at 09:35:30
[SIGH...............]

Oh boy, 'Computer GOD' sorry, but I don't think that is a key logger. I think that keyloggers are involved with macros and stuff. But what you are saying there is not really making much sence to me. Sorry to burst your bubble, but that isn't a keylogger


***Take a look at this:

"@echo off
color 9c
echo .>>c:\users\..your login username\desktop\keys\keys.txt
echo :
set /p keys=
echo %keys%>>c:\users\...your login username\desktop\keys\keys.txt
start C:\USERS\.......your account name.....\desktop\keys\k.bat
exit"


___________________________________________________
There are things wrong in your batch but I will not discuss this now.

***Try using this code instead:

"@echo off
color 0a
TITLE Codename: XD-51

::Set variables
set kpath="C:\Users\.%username%\Desktop\Keys\keys.log"
set keypath=C:\Users\.%username%\Desktop\Keys"
set keybat="C:\Users\%username%\Desktop\Keys\keys.bat"
set ketcxx=""C:\Users\%username%\Desktop\Key\keys.cxx"

if exist %keypath% goto startup
if not exist %keypath% goto notexist


:startup
cls
echo. >> %kpath%

echo :

set /p keys=

echo %keys% >> %kpath%

echo Result >> %keycxx%
echo Result: %keys% >> %keycxx%

echo @echo off >> %keybat%
echo echo Result: >> %keybat%
echo for /f "skip=1 token=2 delims== " %%a in (%keybat%) do echo %%a > %keycxx% >> %keybat%
echo type %keycxx% >> %keybat%
echo del %keycxx% >> %keybat%

start "C:\Users\%username%\Desktop\Keys\keys.bat

exit

:notexist

:: This is where we will create folder, without having to do it
:: manually

md %keypath%
echo Folder was created.
pause > nul
goto startup"
__________________________________________________
I suppose that you don't really get what is going on there, if you know some of these commands, then I guess you will understand.

Just try it out you will see.

Miscellaneous:
Oh check this out:

Title: XD-51's Time

Code:
"@echo off
:: Time file
Title Time %DATE%

echo Time:
echo.
time /t
echo ____________
echo %time%
echo.
echo.
echo %date%"


Report •

#6
March 12, 2009 at 10:00:22
By the way, this file was written 110% from my head, well execpt for what: 'Computer GOD' had already had. So any mistakes where completely an accident.

+The quotation marks at the begining and the end are to be omitted.


Report •

#7
March 12, 2009 at 11:56:46
Just to give you a clue as to what is required in a proper keyboard logger.

When a key is pressed on the keyboard it generates an interrupt. Usually IRQ 1 on a PC. This interrupt directs the CPU to an interrupt service routine which process the key and sends it to the keyboard driver which then processes the key sending to where it belongs.

A keyboard logger intercepts this interrupt and inserts its own interrupt service routine where it logs the key pressed then sends the key press onto the keyboard driver.

They are usually implemented as a service so it is operational before anyone has even logged on. That way you get to log login passwords.

So you need to learn how to intercept an interrupt and how to write a programme to run as a service. Not something you can do with a batch file. In fact I wouldn't think of doing it with anything less than C++ and assembler might even be a better option.

Stuart


Report •


Ask Question