Git Product home page Git Product logo

wmienum's Introduction

WMIEnum

WMIEnum is a C# tool for enumerating Windows hosts with WMI. The default protocol for accessing remote hosts is WinRM, but DCOM can be used as well.

This project is based on a PowerShell tool called WMIOps with a focus on enumeration and opsec safety. Thanks to my colleague, Dean Valentine, for introducing me to many programming best practices and revising this project.

Example Usage

WMIEnum.exe procs
WMIEnum.exe av /target:HOST /domain:DOMAIN /user:USERNAME /pass:PASSWORD /ssl:FALSE
WMIEnum.exe find /file:NAME.TXT /target:HOST /domain:DOMAIN /user:USERNAME /pass:PASSWORD

Commands

basicinfo - Hostname and domain.
procs - Running processes.
services - All services, state, start mode, and service path.
drives - Local and remote system drives.
nics - Active NICs, IP address, and gateway.
av - AV products that write to root\SecurityCenter2, whether they are enabled, and if they are updated.
dir - Directory contents.
cat - File contents.
find - Location of file on disk.

Arguments

/target - IP address or hostname of the machine you would like to query. Leave blank for local enum.
/user - Username for target machine. Leave blank for local enum.
/pass - Password for target machine. Leave blank for local enum.
/domain - Domain of target machine. Leave blank for local enum.
/dir - Directory for dir command.
/file - Filename for cat and file commands.
/proto - Protocol to use (WinRM or DCOM). Default is WinRM.
/ssl - Encrypt the traffic (true or false). Only applicable if using WinRM. Default is true.

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.