GithubHelp home page GithubHelp logo

lybobob1 / agentsmith Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3ndg4me/agentsmith

0.0 1.0 0.0 7 KB

Golang C2 Agent PoC utilizing web and social media paltforms to issue command and control and pasting results to PasteBin

Go 55.05% Makefile 22.83% Python 22.12%

agentsmith's Introduction

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 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

agentsmith's People

Contributors

3ndg4me avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.