Giter Site home page Giter Site logo

xf555er / sharpshellcodeloader_rc4aes Goto Github PK

View Code? Open in Web Editor NEW
27.0 1.0 3.0 199 KB

用于解密并加载shellcode,支持RC4和AES两种解密方法,并使用DInvoke来动态调用WinAPI函数,从而尝试绕过某些安全解决方案

C# 78.80% Python 21.20%

sharpshellcodeloader_rc4aes's Introduction

项目简介

这个项目提供了一个工具,用于解密并加载shellcode。它支持RC4和AES两种解密方法,并使用DInvoke来动态调用WinAPI函数,从而尝试绕过某些安全解决方案

DInvoke 是一个用于在 Windows 上动态替换 PInvoke 的库。DInvoke 包含了强大的原始功能,可以智能地组合使用,以精确地从磁盘或内存动态调用非托管代码。这可以用于多种目的,如 PE 解析、智能动态 API 解析、运行时动态加载 PE 插件、进程注入和避免 API 钩子。

功能

  • 解密Shellcode: 支持RC4和AES两种解密算法。
  • 动态API调用: 使用DInvoke动态调用WinAPI函数。
  • 反沙箱技术: 通过检查系统进程数量来尝试检测沙箱环境。

使用方法

使用encrypt.py对payload文件进行aes或rc4加密,随后会在控制台输出密钥以及当前目录生成加密后的payload文件, 如下是aes加密的例子:

 python.exe .\encrypt_file.py aes encrypt .\payload.bin

image-20231004202531392

再使用本项目解密shellcode并加载, 使用方法如下:

Shellcode解密加载.exe [payload_path] [decryption_method] [key]
  • payload_path: 加密的shellcode的路径。
  • decryption_method: 使用的解密方法,可以是rc4aes
  • key: 解密密钥。

image-20231006201852683

sharpshellcodeloader_rc4aes's People

Contributors

xf555er avatar

Stargazers

1A7V9A avatar  avatar  avatar WangGangdan avatar 0x06 avatar  avatar Antares avatar  avatar  avatar  avatar Komomon avatar Dz1x_w avatar  avatar hirak0 avatar  avatar  avatar  avatar  avatar A avatar  avatar  avatar  avatar knightyun avatar  avatar  avatar  avatar 村里修摩托最靓的仔 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.