https://github.com/3ndg4me/agentsmith
Golang C2 Agent PoC utilizing web and social media paltforms to issue command and control and pasting results to PasteBin
https://github.com/3ndg4me/agentsmith
Last synced: about 1 month ago
JSON representation
Golang C2 Agent PoC utilizing web and social media paltforms to issue command and control and pasting results to PasteBin
- Host: GitHub
- URL: https://github.com/3ndg4me/agentsmith
- Owner: 3ndG4me
- Created: 2019-03-29T20:16:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T00:05:17.000Z (about 5 years ago)
- Last Synced: 2024-10-29T18:30:19.301Z (6 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AgentSmith
Golang C2 Agent PoC utilizing web and social media paltforms to issue command and control and pasting results to PasteBin or other basic HTTP Endpoints.## Usage (Basic Setup)
1. Set URL for issuing commands in the GetCmd handler function. (Example: a Github Gist link)
2. Set URL for posting command output in the SendResponse handler function. (Example: A simple HTTP Server URL/IP that logs GET Request output)
3. If using Pastebin instead of step 2, enter a valid API key to the SendtoPB handler function and turn on the flag in the SendResponse handler function.## Usage (Server)
1. Issue a command using the following syntax:
- (cmd)some_command(cmd)
2. To issue more complex commands please review the official golang documentation on [exec](https://golang.org/pkg/os/exec/) and use the following syntax to satisfy those paramters:
- (cmd)ls(cmd)
- (arg)-la(arg)
- (val)/etc(val)
- The above example constructs the command string `ls -la /etc`## Usage (Agent)
1. Follow the Basic Setup usage to configure your agent
2. Build the Agent for deployment: `make agent-{os}` (Be sure you have Go installed and in your path! See Makefile for types of agents you can build)
3. Deploy to target