Warning! Python Remote Keylogger (this is really too easy!)

Warning! Python Remote Keylogger (this is really too easy!)

How to Create a Keylogger with Python

Introduction and Warning

  • The video serves as a warning against downloading random software from the internet, emphasizing potential risks.
  • The presenter introduces a Python script designed to log keystrokes on a Windows 11 computer and send them to an online server.

Setting Up the Server

  • A Linode server is set up for logging keystrokes; the presenter mentions using SSH to connect and starting an Express service listening on port 8080.
  • The presenter checks antivirus settings on Windows 11, confirming that real-time protection is enabled while demonstrating how the keylogger operates despite this.

Demonstrating Keylogging Functionality

  • After running the compiled Python script (named Win64file), it appears inactive but runs in the background, capturing keystrokes.
  • Typing in Notepad shows that information is logged every 10 seconds, which can be viewed both in console output and through a web interface.

Code Explanation and Educational Purpose

  • The keylogger's functionality is demonstrated as it captures typed text even with antivirus protections active; this highlights potential vulnerabilities in security software.
  • The presenter clarifies that this demonstration is for educational purposes only, using their own equipment and having permission for all actions taken.

Accessing Source Code and Setup Instructions

  • Viewers are directed to GitHub for access to the keylogger code, which includes comments explaining its functionality.
  • A setup.py file simplifies installation by automating software downloads necessary for running the keylogger.

Creating a New Server Instance

  • The process of creating a new Linode server instance is shown step-by-step, including selecting Ubuntu as the operating system and configuring server details.

How to Set Up a Python Script for Server Use

Installing Required Software

  • The process begins with installing necessary software, where users must accept prompts during installation. A Python script is provided to automate downloading and installing the required software, followed by rebooting the server.
  • Users need to modify the keylogger Python script by changing the IP address and port number to match their new server settings. An interval can also be specified for how often data is sent to the server.

Compiling the Python Script

  • To run the script on Windows, it needs to be compiled using a tool like PyInstaller. The speaker mentions that they used Microsoft's C/C++ compiler for this purpose.
  • Recompiling PyInstaller with Microsoft’s compiler helps bypass Windows Defender, which may flag standard PyInstaller outputs as malicious. Alternative compilers are also mentioned in a linked video.

Completing Installation and Running the Server

  • During installation, users should opt for default options and confirm various prompts until completion. This includes saying yes to updates while avoiding unnecessary kernel upgrades.
  • After rebooting, users can SSH back into their server and start it by executing nodeserver.JS, confirming that the application is listening on port 8080.

Using Linode for Hosting

Video description

Create your own virtual machine on Linode with a 60-day $100 credit: https://davidbombal.wiki/linode If that link doesn't work for you, try this link: https://www.linode.com/lp/youtube-viewers/?ifso=davidbombal Please note: Credits expire in 60 days. Big thanks to Linode for sponsoring this video! I wrote a Python program that saves keystrokes to a cloud server. I compiled the script to run on a Windows 11 computer with anti-virus enabled. May this be a warning to both you and your family. Don't download software that you don't trust. Only download software from reputable software developers and those you trust. Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place. // MENU // 00:00 - Be careful what you download 00:07 - Intro 00:16 - How to capture keystrokes with Python 00:41 - Keylogger demo 03:30 - How to setup the keylogger 10:34 - Conclusion // Code // Keylogger: https://github.com/davidbombal/python-keylogger Server: https://github.com/davidbombal/express-server-basic // Video mentioned // Python keylogger bypasses Windows 11 Defender: https://youtu.be/qaZ-IbssPDI // SOCIAL // Discord: https://discord.com/invite/usKSyzb Twitter: https://www.twitter.com/davidbombal Instagram: https://www.instagram.com/davidbombal LinkedIn: https://www.linkedin.com/in/davidbombal Facebook: https://www.facebook.com/davidbombal.co TikTok: http://tiktok.com/@davidbombal YouTube: https://www.youtube.com/davidbombal // SPONSORS // Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com python keylogger python keylogger windows 11 windows 11 keylogger pyinstaller py to exe py exe python py to exe python exe compile python python compile python exe python convert to exe python convert py to exe python py exe python code windows windows 10 anti virus real time protection windows anti virus windows real time protection windows 11 protection windows 11 python python compile compile python code compile python python windows windows python Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites. Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel! #python #keylogger #wifi