Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Make Shift Keylogger?

MrReaver
 Share

So out of curiosity, I have coded my own keylogger before with some help with some friends just for a little fun project, just after watching a random video on youtube, something sparked my mind. I was wondering if it was possible to somehow use a USB hub with a USB and the keyboard attached to somehow act as how a keylogger that you plug between the keyboard and IO panel would. 

So for example, if I were to plug the hub into the pc and have the USB with whatever software and the keyboard plugged into the hub, could I somehow intercept the keystroke while the keyboard still works fully functional. Also, I was thinking maybe could there be a way to have a WIFI dongle plugged in as well and therefore be able to send the data over the web to let's say a mail server or even an FTP server? 

These are all just random thoughts, haven't done any research or anything, just curious if any of this is possible and what you guys think.

My PC Specs:

CPU: Intel Core i7 8750H RAM: 16 GB DDR4 2666 MHz GPU: NVIDIA GeForce GTX 1050Ti

 

Link to comment
Share on other sites

Link to post
Share on other sites

sounds illegal and not like "random thoughts". With that being said.. There are tons of keyloggers out there for about any need. Google is your friend.

Link to comment
Share on other sites

Link to post
Share on other sites

It's possible, but getting the device to be the size of a USB hub would require some custom building and then getting it to connect to a WiFi network would require cracking the password (assuming it's password protected with no other authentication or whitelisting).

 

Here's an interesting read from a few years ago: https://www.netragard.com/netragards-hacker-interface-device-hid

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, ItsTheDuckAgain said:

sounds illegal and not like "random thoughts". With that being said.. There are tons of keyloggers out there for about any need. Google is your friend.

No, not meant to be illegal at all. It honestly is just something i thought would be a cool project to do in freetime

4 minutes ago, KuJoe said:

It's possible, but getting the device to be the size of a USB hub would require some custom building and then getting it to connect to a WiFi network would require cracking the password (assuming it's password protected with no other authentication or whitelisting).

 

Here's an interesting read from a few years ago: https://www.netragard.com/netragards-hacker-interface-device-hid

I dont necessarily mean to get it the size of a usb hub. I mean to plug each device into the hub. and as for the wifi, it wouldnt need cracking cause id just be testing it out on my home network, i dont mean to be malicious at all with it. 

My PC Specs:

CPU: Intel Core i7 8750H RAM: 16 GB DDR4 2666 MHz GPU: NVIDIA GeForce GTX 1050Ti

 

Link to comment
Share on other sites

Link to post
Share on other sites

You can get any microcontroller with USB built in (they start from around 1$ and up) and program it to show up as a keyboard to your operating system

here's official documentation , how to make usb keyboard with a MSP430 controller (~1.2$ each) : http://www.ti.com/lit/an/slaa514/slaa514.pdf

 

Now all you have to do is read the keys from a keyboard, store them in some memory (eeprom, flash etc) and pass through the keys to the computer.... other than just showing up as a different keyboard in device manager, nobody would know anything.

 

Difficulty would be in making the microcontroller show up as a usb host to the keyboard... so either have a second microcontroller works as usb host and pass the keys to the other micro through i2c or spi or whatever, or maybe have the first microcontroller bitbang a ps/2 port and use a usb to ps/2 adapter with the keyboard.

 

Microchip has documentation about connecting a usb keyboard to a microcontroller that has usb host functionality built in : http://ww1.microchip.com/downloads/en/AppNotes/01212a.pdf

 

So basically, it's doable with around 5$ worth of parts. Programming part however... priceless. (joking, someone with a bit of C knowledge can code this in an afternoon)

// no wifi in such a basic thing... but you could for example configure it to dump all the keys logged when you type a password for example ... so you could open notepad, type the password and the device dumps in notepad all the keys it logged and then you can save the text file and mail it or save it to usb stick or whatever.

or you can remove the device and connect it at your computer to a memory reader or something and dump contents within a couple of seconds.

or you could add functionality in the microcontroller... keep a button pressed while plugging in and instead of usb keyboard, the device shows up as mass storage device (usb stick) with a single text file on it containing the keys logged.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just search ebay. If you can not find then stop searching for them. They are nothing for you.

If you want to build you own good luck to find a forum where they explain how to build these devices which can be used legal but most of the time used for illegal purpose.

Link to comment
Share on other sites

Link to post
Share on other sites

Best way is to directly plug in a raspi zero to the pc in question. You can do basically everything with it. There's a couple very helpful videos on youtube about it. A raspi zero can also be easily hidden or put in a case to make it look like a usb hub.

 

My Folding Stats

 

X  Vigilo Confido  X

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, ItsTheDuckAgain said:

sounds illegal and not like "random thoughts". With that being said.. There are tons of keyloggers out there for about any need. Google is your friend.

Since when are keyloggers illegal?

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill

Oneplus 7T (Mid 2021 to present), HP Envy 15" x360 R7 5700U (Mid 2021 to present)

Samaritan XTXH (Early 2021 Upgrade - AMD Ryzen 9 3900XT (12C/24T)  (2021) , MSI X370 Gaming Pro Carbon, Corsair 32GB Vengeance LPX DDR4-2666 (2020) ,  AMD Radeon RX 6700XT 12GB (Mid 2021), Corsair RM850i PSU, Noctua NH-D15 CPU Cooler (2021), Samsung 860 EVO 500GB SSD, Seagate BarraCuda 6TB HDD (2020) , NZXT S340 Elite, Corsair ML 120 Pro, Corsair ML120 x2 (2021)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, ItsTheDuckAgain said:

since Cpt. Obvious said so!

I'm being serious tho -_-.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill

Oneplus 7T (Mid 2021 to present), HP Envy 15" x360 R7 5700U (Mid 2021 to present)

Samaritan XTXH (Early 2021 Upgrade - AMD Ryzen 9 3900XT (12C/24T)  (2021) , MSI X370 Gaming Pro Carbon, Corsair 32GB Vengeance LPX DDR4-2666 (2020) ,  AMD Radeon RX 6700XT 12GB (Mid 2021), Corsair RM850i PSU, Noctua NH-D15 CPU Cooler (2021), Samsung 860 EVO 500GB SSD, Seagate BarraCuda 6TB HDD (2020) , NZXT S340 Elite, Corsair ML 120 Pro, Corsair ML120 x2 (2021)

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, AluminiumTech said:

Since when are keyloggers illegal?

keyloggers are not illegal as long as you have permission / it is on your kids pc

 

OP i hope you have permission

✧・゚: *✧・゚:*  Quote for a reply  *:・゚✧*:・゚✧

 

✧・゚: *✧・゚:*   Ask for discord   *:・゚✧*:・゚✧

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×