Skip to content

slackr/redchannel-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedChannel Implant

To be used by the RedChannel-C2 server to generate agent binaries. C2 will use the config.go.sample file to create a config.go with appropriate values for the campaign.

If building manually, place a custom config.go in ./config/ or builds will fail.

Build using toolset

python tools/build.py . ./build/agent64.exe win amd64 [debug]

garble tool install for obfuscation

go install mvdan.cc/garble@latest

Debug Builds

Build Windows Debug

go build -a -v -x -o build/agent-debug.exe .

Build Linux Debug

env GOOS=linux GOARCH=amd64 go build -a -v -x -o build/agent-debug .

Production Builds

Build Windows x64

env GOOS=windows GOARCH=amd64 go build -a -v -x -ldflags='-s -w' -o build/agent64.exe .

Build Linux x64

env GOOS=linux GOARCH=amd64 go build -a -v -x -ldflags='-s -w' -o build/agent64 .

Build Windows x86

env GOOS=windows GOARCH=386 go build -a -v -x -ldflags='-s -w' -o build/agent32.exe .

Build Linux x86

env GOOS=linux GOARCH=386 go build -a -v -x -ldflags='-s -w' -o build/agent32 .

Build Linux ARM64

env GOOS=linux GOARCH=arm64 go build -a -v -x -ldflags='-s -w' -o build/agent-arm64 .

About

RedChannel Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published