Golang 写的免杀框架,通过系统调用等手法bypass AV/EDR。
以前学习免杀时写的免杀框架。有兴趣的可以自己改改。
使用方法:
D:\Go2bypass>go run Go2bypass.go build
Choose different encryption methods and Windows api for shellcodeloader.
Usage:
Go2bypass build [flags]
Examples:
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m loader-modu
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m loader-modu --hiddenCMD
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m loader-modu --hiddenCMD -i .ico
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m Syscall
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m HaloGate
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m HeapAlloc
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m UuidFromString
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m EtwpCreateEtwThread
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m EnumPageFilesW
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m EnumChildWindows
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m EnumerateLoadedModules
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m CreateFiber
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m CreateThread
go run .\Go2bypass.go build -e Encrypt-modu -f payload.bin -m CreateThreatPoolWait
Flags:
-e, --encrypt string Choose Encryption Method
eg:
AesCBC
AesECB
AesCFB
Base64Xor
QianKunBaGua
-f, --file string Specify The Path To The (x64)payload.bin File
-h, --help help for build
-c, --hiddenCMD Use "go build -ldflags=-H=windowsgui" hiddenCMD Or use Windows Api hidden cmd default:(-ldflags=-H=windowsgui)
-i, --icon string Add icon
-m, --module string Select The Mode Of The ShellcodeLoader
eg:
Syscall
HaloGate
HeapAlloc
UuidFromString
EtwpCreateEtwThread
EnumPageFilesW
EnumChildWindows
EnumerateLoadedModules
CreateFiber
CreateThread
CreateThreatPoolWait
-o, --output string Output FileName
go run .\Go2bypass.go build -e AesCBC -f payload.bin -m HaloGate
在此感谢timwhitez的https://github.com/timwhitez/Doge-Gabh项目
仅供技术研究使用,请勿用于非法用途,否则后果作者概不负责