Coder Social home page Coder Social logo

processprotect's Introduction

ProcessProtect


This application can help you hide or protect any process.

This application includes windows kernel programming. Only tested on Windows 7 64bit. Disable the windows driver signature enforcement before testing! This application may cause BSOD on your machine. Test at your own risk!!!!!

Function


After hiding a process, it will disappear from the task manager. After protecting a process, it cannot be terminated by task manager.

Code Details


The app consists of two part: the ring3 gui and the ring0 driver.

Ring3 is writen with C++ and MFC Ring0 is writen with C (In the DRIVER folder)

Hiding and protection is implemented with Direct Kernel Object Manipulation; that is to change the EPROCESS structure. Usually, getting the list of process is to call ZwQuerySystemInformation enumerate through a double linked list of EPROCESS structure. If we disconnect one of the structure off the linked list, then ZwQuerySystemInformation function cannot get the information of that process. The offset 0x188 of EPROCESS stucture is the list entry. To protect the process, we can set the flag at offset 0x440 to zero, so that CreateProcess will fail on this process. Before modifying those kernel structure, we need to raises the hardware priority to DISPATCH_LEVEL, thereby masking off interrupts that may cause BSOD.

Reference: MSDN, pediy Driver templete from Tesla.Angela

processprotect's People

Contributors

computist avatar

Watchers

 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.