Example Usage
#include <windows.h>
#include "beacon.h"
#include "syscalls.c"
void go(char* args, int length) {
HANDLE hProcess;
OBJECT_ATTRIBUTES oa = {sizeof(oa)};
NTSTATUS status = Sw3NtCreateProcessEx(&hProcess, PROCESS_ALL_ACCESS, &oa,
(HANDLE)(LONG_PTR)-1, 0, NULL, NULL, NULL, 0);
if (status == 0) {
BeaconPrintf(CALLBACK_OUTPUT, "[+] NtCreateProcessEx successful");
} else {
BeaconPrintf(CALLBACK_ERROR, "[-] NtCreateProcessEx failed: 0x%X\n", status);
return;
}
}
See also
100-redteam-projects
Free
Projects for security students…
ntlm_theft
Open Source
Creates malicious files (LNK, SCF, PDF, DOCX, etc.) that force a Windows system to authenticate to a…
Netexec (nxc)
Open Source
Kali
The maintained fork and successor to CrackMapExec. Network service exploitation Swiss army knife for…
BlackFriday-GPTs-Prompts
Open Source
List of free GPTs that doesn't require plus subscription…
GDB with pwndbg
Open Source
Kali
GDB (GNU Debugger) enhanced with pwndbg plugin for exploit development and reverse engineering. Adds…
Ladon
Open Source
Ladon大型内网渗透扫描器,PowerShell、Cobalt Strike插件、内存加载、无文件扫描。含端口扫描、服务识别、网络资产探测、密码审计、高危漏洞检测、漏洞利用、密码读取以及一键GetS…