MCPcopy Create free account
hub / github.com/Neo-Maoku/SearchAvailableExe

github.com/Neo-Maoku/SearchAvailableExe @V2.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release V2.0.2 ↗ · + Follow
154 symbols 198 edges 6 files 0 documented · 0% updated 11mo agoV2.0.2 · 2024-04-15★ 5632 open issues

Browse by type

Functions 147 Types & classes 7
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SearchAvailableExe

Language GitHub Stars

Automatically search for available white files on the local machine, high accuracy, simple operation

项目演示

https://github.com/Neo-Maoku/SearchAvailableExe/assets/26914648/72d7a8f6-c846-4dc8-af19-e8d2e41e7b79

项目适配测试

  • 在win11 64、win10 64、win7 64、win7 32、server 2008 64系统中均测试成功,准确率高

screenshots

项目使用vs 2022编译

  • 项目包括一个可执行文件和加载Shellcode的测试DLL项目,在dllmain.cpp文件中替换自己的shellcode,再编译dll,把生成32位和64位dll放到可执行文件的同目录下。

使用说明

-o:运行输出日志文件存放位置,默认是输出到控制台

-i:指定搜索的目录位置,需要是目录。默认是全盘搜索

-w:搜索的可利用白文件目录是否具有可写权限,默认为否

-c:搜索的可利用白文件需要依赖几个Dll文件,默认为1。系统dll不包括在内

-b:指定搜索的可利用白文件是否为32或64位,默认搜索32和64位程序

-s:是否保存搜索到的可利用文件临时目录,默认为否

-l:过滤dll加载方式,1是静态加载,2是动态加载,3是静态加动态。默认值为3

-p:是否过滤系统dll,系统dll是指在system32或syswow64目录下存在的dll。默认为否

-a:是否开启全段扫描动态dll,默认是扫描rdata和rsrc段

-g:是否过滤子系统不是GUI窗口,默认不过滤

SearchAvailableExe.exe
SearchAvailableExe.exe -p -i "D:" -b 32
SearchAvailableExe.exe -i "D:" -o result.txt -c 2
SearchAvailableExe.exe -i "D:" -l 2 -w
SearchAvailableExe.exe -s -a 1
SearchAvailableExe.exe -p -a 1 -g

B站地址:

【一款自研的自动化挖掘白利用程序工具】 https://www.bilibili.com/video/BV1bm421n73Z/?share_source=copy_web&vd_source=c75cdcc6b49a06fd849f2d392e8e3218

版本更新日志

V2.0.0

  1. 添加参数过滤系统dll参数
  2. 优化当静态加载数量为1,也有动态加载时会被过滤掉的bug
  3. 修复hook DLLMain导致栈不平衡bug
  4. 优化有多个相同文件时,白程序只输出一次
  5. 修复相同动态加载dll记录多次bug

V2.0.1

  1. 修复只读文件,无法写入bug
  2. 新增全段扫描动态dll的-a参数,默认是扫rdata和rsrc段。提高工具的准确率

V2.0.2

  1. 修复需要保存文件,同时过滤系统dll时,满足过滤条件的文件夹未被删除bug
  2. 添加遍历磁盘扫描等待提示
  3. 修复upx加壳导致程序崩溃bug
  4. 添加GUI过滤参数,并优化输出
  5. 修复-a参数在64位程序下运行报错bug

Core symbols most depended-on inside this repo

Shape

Function 147
Class 7

Languages

C++100%

Modules by API surface

TestLoad/export.hpp100 symbols
SearchAvailableExe/Tools.cpp27 symbols
TestLoad/dllmain.cpp14 symbols
SearchAvailableExe/SearchAvailableExe.cpp12 symbols
SearchAvailableExe/CmdlineParser.hpp1 symbols

For agents

$ claude mcp add SearchAvailableExe \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page