Giter Club home page Giter Club logo

jsmoreira02 / wind0wsm4lware_ Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 182 KB

Works in any version from Windows 7 to 11. Injection of malicious code into legitimate Windows processes for evasion and simple malware to gain unauthorized access, using the Windows API. Serves as proof of concept or intrusion detection exercises.

C 94.20% Makefile 5.80%
cybersecurity-awareness cybsersecurity hacking malware-development payload process-injection windows windows-api

wind0wsm4lware_'s Introduction

Simple Windows malware | Process injection

Simple payload for hacking Windows and process injection. Using the windows API for the C programming language.

Process injection

ezgif com-video-to-gif

Process injection is an evasive attack method, that hackers use to gain access to the system by executing their malicious code in the address space of a legitimate process, hiding the malware and often not generating any suspicion about an attacker on the system, as the malicious code becomes difficult to detect. Process injections also evade detection by any antivirus, application control, or endpoint detection and response systems running on the network, because the infected processes are viewed as legitimate.

Hackers usually use less suspicious or more important system processes such as: svchost.exe, rundll32.exe or even explorer.exe.

  • Explorer_injection.exe: Performs a shell connection on the reverse target computer at the execution address of the explorer.exe process.

  • How to find the PID of a running windows process:

Screenshot_20231107_182320

  tasklist | findstr <process name>

=> CMD syntax: Process_injection.exe <PID>

Compiling | Install

  • Installation:
git clone https://github.com/Jsmoreira02/Wind0wsM4lware_.git
cd Wind0wsM4lware_
make
  • Compiling just one of the files with "Makefile": make Process_injection make Win_malware make explorer_injection

  • Compiling the code (Windows): gcc code.c -o code or make (In case mingw-w64 is installed)

MinGW-w64 Instalation:

Debian/Ubuntu OS:

sudo apt install mingw-w64-x86-64 (64-bits)
or
sudo apt install mingw-w64 (32-bits)

Fedora:

sudo dnf install mingw64-gcc

Arch Linux:

sudo pacman -S mingw-w64-gcc

=> More Info: https://www.mingw-w64.org/

=> Shellcode generator: msfvenom -p <Payload> LHOST=<IP> LPORT=<LOCAL PORT> --platform windows --arch <x64/x86> -f c

Warning:

I am not responsible for any illegal use or damage caused by this tool. It primarily serves as a proof of concept, is intended to raise awareness about cybersecurity and can be improved in many ways.

wind0wsm4lware_'s People

Contributors

jsmoreira02 avatar

Stargazers

 avatar

Watchers

 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.