Coder Social home page Coder Social logo

safesploit / c_keylogger Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 28 KB

Stealthy Windows keylogger written in C which uses a traditional approach to logging keystrokes (Does not utilise WinAPI hooks)

License: GNU General Public License v3.0

C 100.00%
backdoor c keylogger post-exploitation rat remote-access-trojan reverse-shell win32 win32api windows windows-malware

c_keylogger's Introduction

C_keylogger

Stealthy Windows keylogger written in C which uses a traditional approach to logging keystrokes (Does not utilise WinAPI hooks)

Features

  • bzero implementation for Windows
  • Persistance
  • Remotely start keylogger
  • Remote 'quit' which performs cleanup
  • Reuse of variable via references (lightweight)
  • Stealth handler (hides Command Prompt window)

Table of Contents

Ammendments Requires Before Compiling

Change the bind IP address in server.c. As the socket will bind to the specified IP address. Alternatively, use 0.0.0.0 to bind to all interfaces.

server_address.sin_addr.s_addr = inet_addr("192.168.56.102"); //IP addr of Kali Linux

Finally in backdoor.c change the server IP address

ServIP = "192.168.56.102"; //Server IP Addr Kali

Compile Instructions

Compilation takes place in a Linux environement.

(Server/server.c) ~   # sudo apt install mingw-w64 #(required for C compilation)
(Server/server.c) ~   $ gcc server.c -o server
(Server/backdoor.c) ~ $ i686-w64-mingw32-gcc -o malware.exe backdoor.c -lwsock32 -lwininet
                      $ i686-w64-mingw32-gcc -o finalproduct.exe backdoor.c -lwsock32 -lwininet

NOTE: backdoor.c is compiled as Win32/x86/i686 to ensure it runs on both x86 and x64 architectures. Win32 applications will run on 64-bit Windows due to WoW64.

Wrapping, encoding or encrpytion for AV evasion are NOT included!

Preview Images

Demonstration of Privileges

image1

Unwrapped Compiled Malware

image2

c_keylogger's People

Contributors

safesploit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zzhsec ahmedsakrr

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.