Git Product home page Git Product logo

evilkm's Introduction

evilkm

A harmless kernel module that shows how a syscall can be hijacked. Supports newer kernels (4.x) and the x86-64 architecture. I'm uploading this module because I've been using it for testing a hobbyist kernel patch protection system I started to code as a learning project.

** usage: **

  1. git clone
  2. cd evilkm
  3. make
  4. launch test_asm_32 or test_asm_64 depending on your architecture

** dmesg output (x86-64): **

  • [ ... ] [evil] IDT found @ 0xffffffffff57c000

  • [ ... ] [evil] entry_INT80_compat found @ 0xffffffff81633620

  • [ ... ] [evil] do_int80_syscall_32 found @ 0xffffffff81003bd0

  • [ ... ] [evil] syscall_table found @ 0xffffffff81800e40

  • [ ... ] [evil] sys_kill is @ 0xffffffff81277580

  • [ ... ] [evil] stealing sys_kill syscall...

  • after launching test_asm_64... *

  • [ ... ] [evil] :)

evilkm's People

Contributors

zuarte avatar

Watchers

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