Coder Social home page Coder Social logo

melotic / nanostorm Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 1.0 141 KB

An (WIP) EDR Evasion tool for x64 Windows & Linux binaries that utilizes Nanomites, written in Rust.

License: GNU General Public License v3.0

Rust 99.09% Python 0.91%
edr-bypass edr-evasion obfuscation rust

nanostorm's Introduction

☁️ nanostorm

Nanostorm is an EDR evasion tool written in Rust for Windows and Linux binaries that places nanomites in the target executable, and packs and encrypts it.

Badges

GitHub Workflow Status GPLv3 License

Authors

Contributing

Contributions are always welcome!

Features

  • Toggable ability to encrypt(-e) and compress (-c) the binary, and jump data table
  • In memory execution of stub
  • Ability to write your own stub, using libnanomite
  • No current (as of Oct 2022) AV detections

Usage/Examples

First, compile nanostorm to create nanomite infected binaries. nanostorm requires the installation of Ghidra.

You will need to pass the path of _Ghidra) to nanostorm with -g /path/to/ghidra-root

cargo build --release --bin nanostorm

Next, you'll have to create a binary with nanomites:

./target/release/nanostorm -g /path/to/ghidra a.out

Or, to encrypt and compress the binary and Jump Data Table (recommended, albeit increase in startup time):

./target/release/nanostorm -g /path/to/ghidra -e -c a.out

Next, compile the provided stub with the nanomite binary and its Jump Data table:

NANOSTORM_BIN=a.nanomites NANOSTORM_JDT=a.jdt cargo build --bin stub --release

Roadmap

  • Windows support (soon ™️)

nanostorm's People

Contributors

dependabot[bot] avatar melotic avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

killvxk

nanostorm's Issues

Parallelize Disassembly

Currently, the disassembly is not parallelized, but could be. The iced-x86's Decoder struct that decodes the x86 instrutions is Send + Sync, so it should be trivial to make this code multi-threaded.

Create README

There is no readme currently, and it would be helpful for people to understand what nanostorm is and the features it provides, as well as how to use it.

Encrypt Jump Data Table

Currently, the JDT is not encrypted at all. There should be (configurable) support for encrypting the table.

Remove unwraps from stub

Currently, unwrap generates code that panics and unwind the stack. We should add better error handling so that we properly handle errors to prevent bloat of the stub.

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.