Code Monkey home page Code Monkey logo

devhandles's Introduction

Device Handles

Enumerates system processes handles similar as the Process Exporer -> "Find Handle or DLL" does

Features

Wildcard mask filtering by

* Process name 
* Handle object type
* Handle object name
* Device name

Currently supports a list of filters separated by ';' - it means OR.

Example:

    DevHandles.exe --filter=*VID_8086*
    DevHandles.exe --filter=*.pdf
    DevHandles.exe --filter=explorer.exe
    DevHandles.exe --filter=File;Event
    DevHandles.exe --filter=\Device\Mup\*
    DevHandles.exe --filter=\REGISTRY\MACHINE\SOFTWARE\*;\REGISTRY\USER\*
    DevHandles.exe --filter=*VID_8086*;explorer.exe;File;\Device\Mup\*

Pooling for changes

Checks what new has been opened in processes according to the filter settings and prints it.

Example:

    DevHandles.exe --filter=*VID_8086* --timeout=10
    DevHandles.exe --filter=\REGISTRY\MACHINE\SOFTWARE\* --timeout=10

Output:

    11:12:07 DevHandles.exe (16940) [Ref=1] Key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Ole
    11:12:07 DevHandles.exe (16940) [Ref=1] Key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
    11:12:26 explorer.exe (8520) [Ref=1] Key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\{16a0d296-2f7c-4ceb-91cc-583b22c7c54f}\Properties

Help

DevHandles.exe --help
Usage:
   --filter=[wildcard-mask-list] - objects filter, splitter is ';', default is *
   --process=[wildcard-mask-list] - process names, splitter is ';', default is *
   --exclude-process=[wildcard-mask-list] - excluded process names, splitter is ';', default is None
   --timeout=[seconds] - enables monitoring by timeout
   --verbose,-v - extra logging

Examples:
   --filter=*VID_8086*;File;*device* --process=explorer.exe --timeout=10 --verbose
   --filter=*USB* --process=cmd.exe|explorer.exe --timeout=10
   --filter=\Device\Mup\* --exclude-process=svchost.exe --timeout=10
   --process=explorer.exe
   --timeout=5

Checked Windows versions

Windows 10 x64 1909

devhandles's People

Contributors

artemkotovsky avatar

Watchers

 avatar

Forkers

uid000222

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.