Giter Club home page Giter Club logo

casper's Introduction

๐Ÿ‘ป CASPER

For educational use only!

Installation:

pip install -r requirements.txt

Commands:

* shell cmd                   <sends shell command>
* download url                <download and execute via shell>
* schtasks create/delete/run  <create/delete/run schtasks tasks>
* intercept proxy/dns         <set a proxy or change dns server>
* clone                       <clones myself to temp directory>
* infect                      <adds itself to startup via registry>
* screenshot                  <takes screenshot>
* removal                     <remove myself>
* quit                        <quit server>

C&C:

Socket control

Test the connection against google server before we connects back to command server where we are listning for incoming connections. The data between server and CASPER is encoded with base64 using a key to obfuscate it a little bit.

IRC control (under development)

Connect to IRC server and wait for commands from operator. Using nick and auth token to login on all bots that is currently in the channel if !auth command is typed in the channel. You can auth/control a single bot if you query a auth message to the bot you want to control and pass all the commands in the query as well.

Evasion techniques:

  • Lowest amount of total disk space accepted before executing
  • Lowest amount of total memory/ram accepted before executing
  • Go through all the running processes in attempt to find known processes
  • Go through files in attempt to find known DLL files and drivers
  • Go through max 20 network interfaces and match it against known MACs
  • Check if a debugger is present with IsDebuggerPresent
  • Check for user interaction before main code is executed
  • Check for known hostnames

Known issues:

  • Server only handles one connection at the same time
  • When building you might get Access Denied errors depending on OS (Rebuild until success)
  • When passing wrong or to many parameters, CASPER might disconnect and reconnect due to error/exception

casper's People

Contributors

rootm0s avatar

Watchers

Keybo@rd007 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.