Coder Social home page Coder Social logo

commander-keen's Introduction

 .'   \  \    \  \ `.
    /       \  \    \  \  '. 
   /\        |  |    |  |   \
  |  \       |  |    |  |    \
  |  /      _|__|____|__|__   \
  | /     /                \  | 
  |/      | <(=)>    <(=)> '  |
  |       |         _|     |  |
  | (|)   |  /\            |  |
  '       ' |  \____      /  ]
    '     '\ \_____/    .|  '
     '__,'  \_________.' |_/ 
            |____________\  ,.
          ,.              /\  \ 
        .`                ||   \
      .`                  ----\ \               
     /                    <== |, \         
    /                     <== | \_\
   '                      ---/     |      
   `._     /|                \____/         
   /  `-,./ |                 '
  /     /   |                 |        
 (______`'._|_________________|       

Commander Keen

Commander Keen is a Powerfull Remote Code & Commands execution built in powershell in order to perform AgentLess automated incident reponse actions

About

  • Created By Tom Goldberg
  • Version 1.0

Supported functionalities:

  • LockRemoteMachine : Locks the target machine
  • GetProcessList : Retrieves a list of the current running processes on the target machin
  • GetUsersList : Retrieves a list of the current logged in users to the target machine

Setup

  1. make sure that you hve the latest Powershell version installed
  2. GIT clone the project.
  3. On the target machine , open Powershell and performthe following command ( To harden security , you can use remoteSigned instead of Bypass but you will have to sign the scripts yourself) :
Enable-PSRemoting
Set-ExecutionPolicy Bypass 
  1. Check your Trusted Hosts file by Executing the following Powershell command:
get-item wsman:\localhost\Client\TrustedHosts
  1. If Your desired machines are not listed there , add them by executing ( After the -value ,put you network range) :
set-item wsman:\localhost\Client\TrustedHosts -value 10.8.*

How To

Open CMD and run the Dispatcher.ps1 file with the appropriate arguments

Arguments

  1. -username : A useranme with the appropriate permissions
  2. -password : Password that matches this user
  3. -action : The desirred action (the options are dexcribed in the 'Supported functionalities' section
  4. -ip : The target machine's IP address.

Example

cd /CommanderKeen
powershell ./Dispatcher.ps1 -username some_user -password some_pass -action GetUsersList -ip 10.8.4.4

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.