Coder Social home page Coder Social logo

processmanager_ring0's Introduction

#进程管理器

原代码作者:Gotogoo

修改了部分代码,支持Win7 32和64位系统,其它系统部分的代码没有写。仅实现了进程的枚举,其它功能未实现。

###原理:

通过自身的EPROCESS结构体的双向链表枚举出系统中所有的进程的EPROCESS。

获取PID的核心API:

HANDLE PsGetProcessId(_In_ PEPROCESS Process);

####获取程序名和路径 读取PEB结构体的_RTL_USER_PROCESS_PARAMETERS ProcessParameters,ProcessParameters中包含所需的信息。

x86:_EPROCESS +0x0b8 ActiveProcessLinks : _LIST_ENTRY

+0x1a8 Peb : Ptr32 _PEB

x64:_EPROCESS +0x188 ActiveProcessLinks : _LIST_ENTRY

+0x338 Peb : Ptr64 _PEB

x64: _RTL_USER_PROCESS_PARAMETERS

+0x060 ImagePathName : _UNICODE_STRING

+0x070 CommandLine : _UNICODE_STRING

snatshot

processmanager_ring0's People

Contributors

wanttobeno avatar

Watchers

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