Coder Social home page Coder Social logo

m507 / restless Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 11.0 2.88 MB

A light C# implant that bypasses Windows Firewall and Defender

Python 47.20% C# 52.80%
redteam c2 beacon beacons bypass-windows-firewall firewall-evasion redteaming npcap botnet botnets

restless's Introduction

Restless

DISCLAIMERS

The information contained in this repo is for educational purposes ONLY! I DO NOT hold any responsibility for any misuse or damage of the information provided in my blog posts, discussions, activities, repositories, or exercises.

This is a low hanging fruit for Red-Blue themed competitions.

What is Restless?

Restless is a small in-memory implant using C#. It uses SharpPcap, which uses Npcap APIs internally. Npcap is a new standard library update to the old WinPcap library.

RestlessCLI is a C2 that controls Restless implants using ICMP-like packets. Restless implant listens for specific ICMP-like packets and applies instructions given by Restless-CLI.py. Restless Controller/Server can task clients to execute pre-baked or arbitrary commands.

alt text

Status

  • Restless implants have been tested on Windows7/10/12/16/19 and evaded detections on 10 :).
  • Restless implants bypass Windows Inbound firewall rules.
  • Server sends "encrypted" messages, Caesar Cipher; it can be adjusted using the SHIFT parameter.
  • Server uses raw sockets to send customized ICMP-like packets.
  • The server's CLI supports Command 2 All bots.
  • The final payload is 20.0 KB without modifications.
  • Integrated with pwnboard.

Files:

  • Config.py Where are the configuration parameters. (Have to be changed according to your system)
  • pwnAgent.py is a stand-alone script that updates pwnboard.
  • ips.conf Where all the targeted IPs should be placed.

Dependencies:

  • Dotnet core
  • Npcap

restless's People

Contributors

m507 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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