Giter Club home page Giter Club logo

linux-process_mem's Introduction

linux-process_mem

Simple library to Read and Write Memory of a Linux Process through custom Kernel Module. The module uses generic-netlink socket library to communicate with the user process.

Things the module can do

  • Read/Write specified size of bytes from/to a process-space memory address.
  • Can extract specific virtual memory area info (Such as starting address, ending address and flags)

Requirements

  • Linux Kernel Version 5.0+(I am not sure but I guess 4.6+ should also work)
  • Make
  • GCC
  • lib-gnl-3
  • Required Kernel Module Headers

Build

  • make command in the project folder should do be enough.
  • libs folder contains lib binary files, you must be interested in libprocess_mem.so.

Test?

  • test program is generated, you can search a specified integer (the first found address is returned) of a specified PID.

  • BTW the module won't going to check if the process which is trying to communicate got root privilege, if you pass check_root=0 this as an argument while loading the module or using insmod.

linux-process_mem's People

Contributors

iamsanjid avatar

Watchers

James Cloos 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.