How To Write A Basic Keylogger In VB
May 25, 2008 by Ashik in Hacking Computer, Hacking Tutorials, Hardcore Hacking, Keyloggers, Software | Tags: Hacking, Keylogger, Visual Basic
If you're new here, you may want to subscribe to my RSS feed or get Email Alerts. If you like this website Refer it to a Friend. Thanks for visiting!
Intro: What a Keylogger is made of
Before we start programming, we need to answer a basic question: what is a keylogger? As the name implies (key+logger) - a keylogger is a computer program that logs (records) the keys (keyboard buttons) pressed by a user. This should be simple to understand. Lets say that I am doing something at my computer. A keylogger is also running (working) on this computer. This would mean that the keylogger is “listening” to all the keys I am pressing and it is writing all the keys to a log file of some sort. Also, as one might have guessed already, we don’t want the user to know that their keys are being logged. So this would mean that our keylogger should work relatively stealth and must not, in any case, show its presence to the user. Good, now we know what a keylogger as and we have an idea of its functions, lets move on to the next step.
=========================================
Basic Concepts: What needs to be achieved
=========================================
Ok, now lets plan our program, what should such keyloger do and what it should not. Significant difference to previous section is in the sense that here we shall discuss the LOGIC, the instructions that our program will follow.
Keylogger will:
1 - listen to all the key strokes of the user.
2 - save these keys in a log file.
3 - during logging, does not reveal its presence to the user.
4 - keeps doing its work as long as the used is logged on regardless of users actions.
==========================================
Implementation: Converting logic into code
==========================================
We shall use Visual Basic because it is much easier and simple to understand comparing to C++ or Java as far as novice audience is concerned. Although programmers consider it somewhat lame to code in VB but truthfully speaking, its the natural language for writing hacking/cracking programs. Lets cut to the chase - start your VB6 environment and we are ready to jump the ride!
Popularity: 6% [?]
Related Posts
- 26.11.07: Fastest Way to Hack into Others System (2)
- 12.07.08: Gmail chat tips and tricks round up (1)
- 17.11.07: Top 10 Hacks of all time (0)
- 21.07.08: Enabling/Disabling User Access Control in Windows Vista (0)
- 26.11.07: Access Data of a Password Protected User in Windows XP in Case the PC Fails to Boot (0)
Recently
- New Tools Section
- The World’s Most Secure Flash Drive
- Top 15 SQL Injection Scanners
- Top 10 PC Speed Boosters
- List of all the SQL Injection Strings
![[blinklist]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/blinklist.png)
![[del.icio.us]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/facebook.png)
![[Fark]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/fark.png)
![[Faves]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/faves.png)
![[Furl]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/google.png)
![[Ma.gnolia]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/magnolia.png)
![[Mixx]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/mixx.png)
![[MySpace]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/myspace.png)
![[Netvouz]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/netvouz.png)
![[Propeller]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/propeller.png)
![[Reddit]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/slashdot.png)
![[Sphere]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/sphere.png)
![[Sphinn]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/sphinn.png)
![[StumbleUpon]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/technorati.png)
![[Windows Live]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.hungry-hackers.com/wp-content/plugins/bookmarkify/email.png)

























May 27th, 2008 at 12:30 pm
this guide was quite useful for the beginners…
Can you please mail me about how to autostart the application when system starts without keeping it in the startup and how to run this application when other application is statted,eg.run keylog only when user starts yahoomail….
October 1st, 2008 at 2:14 pm
copy the exe to the systemroot directory i.e. if ur windows is installed in c:\ then copy the .exe file to c:\windows\system32
now goto run>gpedit.msc>computer configuration>admin templates>system>logon>
right click on run these programs at usr logon in the right frame and click properties. click on the enable radio button and click add.
now type the filename.exe in it and cllik add.
ur done.
else if u dont copy the exe in system root type the full path of the .exe in the last step.
cheers.