• Stars
    star
    113
  • Rank 299,354 (Top 7 %)
  • Language
    C
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A WiFi enabled USB Keylogger and Keystroke injection tool

Masterkey - USB WiFi Keylogger

Keylogger

A WiFi enabled USB Keylogger and Keystroke injection tool

License Downloads
Twitter Instagram

I sell on Tindie

Catch my live stream on Twitch where I play games, have just chatting sessions to talk tech, and just generally be an ordinary person who can't figure out how to make proper life decisions.

Stream Schedule:
Mon: 1800 - 2000 EST
Wed: 1800 - 2000 EST
Sun: 1200 - 1400 EST

Table of Contentiousness

About

The USB WiFi Keylogger is a hardware hacking tool which is capable of sniffing key presses sent from a USB keyboard to a computer and presenting them to the attacker over WiFi. The keylogger runs a modified version of @spacehuhn's wifi keylogger code with a few more tricks and features. For more information about MAX3421EE based USB Keyloggers, visit my Hardware Keyloggers repo.

Usage

The Masterkey USB WiFi Keylogger is intended to be a plug and play device. Simply plug the target USB Keyboard into the female USB port of the keylogger then plug the USB Keylogger into the target computer. After about five seconds, any keys presses on the keyboard will be logged by the keylogger and passed through to the target computer.

Key Presses

Key presses are stored in the file system of the ESP8266 which can be accessed over WiFi via the device web interface. To access the web interface follow these steps. This is assuming the keylogger is powered on and you are within range of its WiFi access point.

  1. Connect to the Masterkey WiFi access point using the default password masterkey
  2. Navigate to http://192.168.4.1 in your web browser

Logged key presses will be displayed within the text box on that page. At the bottom of the page is a clear button. This button will clear the keylog in the event the user wants to start a fresh log for any reason.

Keystroke Injection

Keystroke injection attacks can me executed by navigating to the Live Execute tab at the top of the screen. There you can write, run, and save keystroke injection scripts written in ducky script.
If you want to run a script you have written and saved previously, you can navigate to the Scripts tab and select any script from the list of scripts displayed on the screen. You can either click on the script directly to edit, rename, or run the script or you can just click the run button to immediately run the script.
You can also upload prewritten scripts to be executed on Masterkey.

Admin Settings

These settings are responsible for securing the wireless access point of Masterkey and tailoring the appearance to your liking. These settings can be found by navigating to the Settings tab. Ther you will be able to adjust the following settings:

  1. Access Point SSID: The name of the access point that will appear when searching through WiFi networks
  2. Access Point Password: The password that will be required when connecting to the Masterkey access point
  3. Channel: The channel the access point will be broadcasted on
  4. Hidden: Boolean which will tell Masterkey whether or not to broadcast its access point

Once the settings have been changed, you will be required to hit save and restart for the changes to take effect.

Updating Firmware

As new firmware is released for the Masterkey, it will be left to the discretion of the user whether or not they would like to update their device. There are two phases to updating Masterkey described here. You may be required to update either the ATMEGA32U4 or the ESP8266. It is more likely the ESP8266 will be updated since most of the functionality resides there including the user interface.

Bootloader

If you know what you're doing, you will know how to use this.
avrdude -c usbasp -p m32u4 -b 115200 -v -e -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m -U lock:w:0x2F:m -U flash:w:Caterina-A-Star.hex

Updating ATMEGA32U4

To update the ATMEGA32U4, you will be required to clone this repository, build the project, and upload it directly to the microcontroller using the Arduino IDE. These steps will be explained here.

to-do

Updating ESP8266

Updating the ESP8266 occurs over the air using ElegantOTA.

  1. Download the latest release
  2. Connect to the Masterkey access point
  3. Access the web page via web browser at http://192.168.4.1
  4. Navigate to the About tab
  5. Click on the Update button
  6. Select the bin file you downloaded from releases and click Upload

The ESP8266 will automatically restart once the update has been applied and you will be required to reconnect to it if you wish to continue to use Masterkey.

More Repositories

1

ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
C++
2,246
star
2

Arduino-FastLED-Music-Visualizer

An Arduino based music visualizer using the FastLED library and a strip of individually addressable LEDs
C++
179
star
3

BPNVG

94
star
4

Tinyduck

The super tiny USB Rubber Ducky
C++
92
star
5

Links

TikTok sucks so this is my new Link hosting repo
60
star
6

MarauderCentauri

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32 and ESP8266
C++
59
star
7

justcallmekoko

57
star
8

ESP8266_Deauth_All

Arduino code for your ESP8266. Deauthenticate all clients from all access points
C++
48
star
9

Hardware-Keyloggers

Research done about modern hardware keyloggers
30
star
10

MusicVisualizer

A music visualizer based on the ATMEGA328P-AU
C++
30
star
11

XboxOneRapidFire

Source code for the Xbox One Arduino/ATtiny85 Rapid Fire Mod
C++
24
star
12

MarauderMini

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
C
23
star
13

PythonDiscordBot

A modular Python bot that integrates with Discord
Python
16
star
14

ROTA

A WiFi enabled Xbox One rapid-fire mod
13
star
15

Arduino-LED-Ticker

An LED matrix ticker which can receive new ticker messages over WiFi via web interface
C++
9
star
16

pScan

Multi-threaded port scanner written in C++
7
star
17

DucoShiv

An AVR based USB miner for Duinocoin
C
5
star
18

TwitchMCU

A Twitch Chat reactive LED controller
C++
4
star
19

SSHscanner

botnet scanner written in python
Python
4
star
20

LVGLMarauder

C++
3
star
21

ArduboyTheHorde

C++
3
star
22

SwitchLib

An Arduino Library for handling tactile switches...or anything else.
C++
3
star
23

RGBShutterShades

Shutter Shades with RGB Leds
C++
3
star
24

ESP32BeaconSpam

C++
3
star
25

Marauder-Featherwing

C++
2
star
26

RaspberryPiMOTD

This is just a trashy little MOTD script I made for the raspberry pi
Python
2
star
27

JankLoRa

Trash holds this LoRa communicator together
C++
2
star
28

DiscordBot

Python
2
star
29

ESP8266-Auto-Update

1
star
30

ESP8266-Business-Card

1
star
31

ChatControlsMinecraft-Kubernetes

Helm chart for a Python based Minecraft mod that allows Twitch chat to control Minecraft
Smarty
1
star
32

ResinIoT

Code for a resin encased Wemos D1 Mini
C++
1
star
33

PythonTwitchBot-Kubernetes

A Helm chart for deploying a Python Twitch bot on Kubernetes
Python
1
star
34

justcallmekoko.github.io

HTML
1
star
35

PythonTwitchBot

The non-kubernetes version of the python Twitch Bot
Python
1
star
36

RGBbadge2

C++
1
star
37

HelmCharPythonTest

Smarty
1
star