Coders Packet

Advanced Keylogger using Python

By Anjan Kumar M L

This is the advanced version of a Keylogger in which we can retrieve logs of keystrokes, capture screenshots, provide system information, and access clipboard data.

Advanced keylogger It has the following functionality:
1. Logs keystrokes
2. Captures screenshot
3. Provides System information
4. Provides Clipboard data

It sends all the above files to the threat actor from the victim machine via email. After sending the mail all the log files created by the program on the victim machine will be deleted automatically.

The code images for the above functions :

When the victim machine runs the above code it will send the above mentions all the functionality files to the threat actor via the victim's machine email id.

The functionality files the threat actor gets to his email when the victim runs the above code look like this:

So these output files are in the title of no name and can be downloaded and then saved for the retrieval of information.

Note:- Here we used the email [email protected] which acts as the default sender and [email protected] for the information receiver email id.

Outputs retrieved:

1. Logs keystrokes

Here the victim logs keystrokes i.e. the keys he pressed on his keyboard while the code is in running.

2. Captures screenshot

The screenshot of the victim machine is obtained in a binary type when we converted it into PNG we can see the screenshot pic.

3. Provides System information

The system information of the victim is obtained and we can see the information of the system, processor, Hostname and Public IP address.

 

4. Provides Clipboard data

 When the victim runs this code his clipboard data will be obtained.

In this way, the advanced level of keylogger work's on the victim's machines and their data can be obtained by the threat actor. After sending the mail all the log files created by the program on the victim machine will be deleted automatically.

 

Here are some requirements for this code:

1. Language: Python3

2. Libraries: pynput, cryptography

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Anjan Kumar M L (anjan15)

Download packets of source code on Coders Packet