Code Monkey home page Code Monkey logo

dns's Introduction

DNS

This is a Mythic C2 Profile called dns. It implements a DNS Server that listens for TXT Queries from the agent. This profiles includes:

  • Kill Dates
  • Sleep Intervals
  • Custom DNS Server

The c2 profile has mythic_c2_container==0.0.22 PyPi package installed and reports to Mythic as version "3".

Implementing DNS Profile for Custom Agents:

How to install an agent in this format within Mythic

When it's time for you to test out your install or for another user to install your agent, it's pretty simple. Within Mythic is a install_agent_from_github.sh script (https://github.com/its-a-feature/Mythic/blob/master/install_agent_from_github.sh). You can run this in one of two ways:

  • sudo ./install_agent_from_github.sh https://github.com/user/repo to install the main branch
  • sudo ./install_agent_from_github.sh https://github.com/user/repo branchname to install a specific branch of that repo

Now, you might be wondering when should you or a user do this to properly add your agent to their Mythic instance. There's no wrong answer here, just depends on your preference. The three options are:

  • Mythic is already up and going, then you can run the install script and just direct that agent's containers to start (i.e. sudo ./start_payload_types.sh agentName and if that agent has its own special C2 containers, you'll need to start them too via sudo ./start_c2_profiles.sh c2profileName).
  • Mythic is already up and going, but you want to minimize your steps, you can just install the agent and run sudo ./start_mythic.sh. That script will first stop all of your containers, then start everything back up again. This will also bring in the new agent you just installed.
  • Mythic isn't running, you can install the script and just run sudo ./start_mythic.sh.

dns's People

Contributors

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