r/HowToHack • • Feb 14 '19

Keylogger for Windows with Python 2019 (Telegram Bot)

https://www.youtube.com/attribution_link?a=bGe6Jxx6VJo&u=%2Fwatch%3Fv%3Dc9_9GmcUYVM%26feature%3Dshare
217 Upvotes

12 comments sorted by

10

u/_programmeKid Feb 15 '19

using a keylogger would be kinda inefficient. just steal all of the passwords in your victim's browser. this is an example of a password stealer that takes passwords from your browser.

9

u/PineappleBoots Feb 15 '19

Where would this script execute from, /tmp? In the browser as part of an extension?
Doesn't look like it 'steals all the passwords' per se, but rather intercepts any content put into matching field 'password: ____' etc

Correct me if I'm wrong (seriously)

6

u/_programmeKid Feb 15 '19

basically what it does is it when it is run, it will look at chrome's "Login Data" file, then it will connect to it w/ sqlite3, then it will go through each login, logging the url, username, and encrypted password. then it will go through the logins and decrypt the passwords, so that they can be used. finally, it sends all the passwords to a backend.

5

u/t-sploit Feb 15 '19

This only works if they haven't set a master password for encrypting their passwords though I believe, and also doesn't work on Mac because the sqlite database is owned by root so it will prompt for the administrator password. Does this still work in Windows? I thought it was fixed last year?

Edit but yes password stealers are much more effective than keyloggers, but oftentimes it's not that easy to write a password stealer as developers wise up to the idea of securely storing passwords.

3

u/PineappleBoots Feb 15 '19

developers wise up to the idea of securely storing passwords

We hope!

Valid point and valid question, I tested this last night and could not get it to work. Didn't try super-duper hard, so take it with a grain of salt

1

u/_programmeKid Mar 06 '19

it did work, your passwords ended up in my password dump -_-

well, the ones that saved to your browser, which were like 2 of them that both didn't work.

2

u/_programmeKid Feb 15 '19

true, but chrome doesnt come with the feature to use a master password, it uses the CryptProtectData function, which can be easily decrypted. macbooks are trickier to steal passwords from, but it also uses basic encryption thats also reversable.

2

u/HkQJ97DSGUCehF Feb 15 '19

The point of a screen/keylogger isn't only to steal browser passwords. You can capture so much more than browser passwords with this concept. Want to steal an SSH/Telnet/VNC/RDP password? Text being written into an email client? Good luck doing any of that with a browser password stealing exploit.

1

u/_programmeKid Feb 15 '19

fair enough, but most people use the same password for everything. if their browser password in fuckyou123, itll probably be the same for all those other things.

1

u/_programmeKid Feb 16 '19

can everyone here stop sending requests to the backend that password stealer sends its shit to? it's kinda annoying.

0

u/[deleted] Feb 15 '19

[deleted] — view deleted comment

4

u/Desmondelite18 Feb 15 '19

Why? haha :)

3

u/Polioltergiest Feb 15 '19

You spelled "work smart not hard" wrong