https://github.com/mojtabatajik/funnykeylogger
Simple, lightweight and compact key logger written for fun ...
https://github.com/mojtabatajik/funnykeylogger
keylogger malware malware-development malware-research
Last synced: about 1 year ago
JSON representation
Simple, lightweight and compact key logger written for fun ...
- Host: GitHub
- URL: https://github.com/mojtabatajik/funnykeylogger
- Owner: MojtabaTajik
- License: gpl-3.0
- Created: 2018-09-12T05:33:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T06:27:01.000Z (over 7 years ago)
- Last Synced: 2025-02-28T12:56:31.340Z (over 1 year ago)
- Topics: keylogger, malware, malware-development, malware-research
- Language: PowerShell
- Homepage:
- Size: 19.5 KB
- Stars: 17
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FunnyKeylogger
FunnyKeylogger is very clear to understand and one of the lightest Keylogger ever written. Do you ever see keylogger for just 2KB of size ?! maybe :)
The code developed just for educational purposes.
The code written in C# language using standard Windows API calls.
.Net executables is very light in size because of underlying architecture of .Net framework
which install prerequisite files in end user machine and no need to embed extra metadata, headers
and codes in final executable file.
but even in .Net framework minimum size of executable is about ~5KB, so what happen here for FunnyKeylogger ?!
The trick is here, .Net classes could be called using PowerShell scripts like FunnyKeylogger do it, in this way the code still raw text wich translated by .Net CLI in memory at runtime.
So by this trick 2kb is not surprising ;)
PowerShell scripts is restricted by default in Windows which let user just run signed scripts or scripts which comes from trusted source, so our script could not run by default PowerShell configuration.
Here is three steps to run FunnyKeylogger :
- Run PowerShell as administrator
- Run "Set-ExecutionPolicy Unrestricted"
- Run the script by right click on it and select "Run with PowerShell" or command line
This code born from a few minutes of my free times and will be improved in the future.