Your Ad Here
Home » Hacking Computer, Hacking Tutorials, Hardcore Hacking, Keyloggers, Software

How To Write A Basic Keylogger In VB

25 May 2008 6 Comments

Suggested Reading Resources(Free of Cost!)

noneProtection for Mac and Linux Computers: Genuine Need or Nice to Have?
Learn how protecting computers running Linux, UNIX, Mac and the like, can prevent Windows malware being stored and distributed across your IT network reducing the risks to business.....

none Vulnerability Management for Dummies
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.....



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:

  1. Remote Operating System Detection
  2. Three Most used Backdoor Programs
  3. Cd Drive Hack
  4. Top 20 Hacking Tools
  5. How To Hack Geocities Webpages


Enjoyed this article? Subscribe to Hacking Truths and get daily updates about new cool websites and programs in your email for free.

Pages: 1 2 3 4



6 Comments »

  • harry said:

    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….

  • vandit said:

    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.

  • TAHIR KHAN AFRIDI said:

    Sir Please if you give more help in the article i think that give us more easy to make keyloggers, sir i litle bilt understand but if you post it with images then i think i realy understood…plz sir

  • munna said:

    Very good article..

    I am not into coding but i was searching something else and came to this post. I’ve seen spyware installing automatically to remote computers.. how can that be possible?

    thanks for posting such article…

    keep it up..

    Cheers..

  • chethan kumar said:

    very good article….very usefull for keen learners…can u plz mail me the complete information about how to program a keylogger.

  • Computer boy said:

    Cool article….good for learners like me ^-^ could you please e-mail me the complete guide to making s keylogger.

Note : If you have any Query related to the above Article please Post it to the Support Forum.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Comment moderation is enabled. Your comment may take some time to appear.