Coder Social home page Coder Social logo

pkill's Introduction

pkill

Windows Driver that can kill any process

Build

  • First, you need to install Visual Studio. I have used Visual Studio 2019 version 16.11.16. Other versions might work as well.
  • In order to build the driver component, you also need to install the Windows Driver Kit (WDK). Here, I have used WDK for Windows 10, version 2004 (don't worry, it's not from the year 2004).
  • Check out Microsoft's other-wdk-downloads page.

Driver

  • Load the driver.sln solution in Visual Studio.
  • Set the configuration to Release and the platform to x64.
  • Before building the solution, run bcdedit.exe -set TESTSIGNING ON in an elevated command prompt. This allows the driver to be loaded with a real signature, and is going to be automatically signed with a test certificate during the build process. In case you're using BitLocker, be sure to have your recovery key at hand before rebooting.

Install

  • Allow the loading of test-signed drivers bcdedit.exe -set TESTSIGNING ON.
  • In case you're using BitLocker, be sure to have your recovery key at hand before rebooting.

Load the driver

sc create pkill type=kernel binPath="path_to_your_driver.sys"
sc start pkill

Kill a process

python3 pkill.py 1234
python3 pkill.py Notepad.exe

Unload the driver

sc stop pkill
sc delete pkill

References

pkill's People

Contributors

apetenchea avatar

Watchers

 avatar

Forkers

gmh5225

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.