Giter Site home page Giter Site logo

narkle / dynamic_measurement_of_process_integrity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tws-yifei/dynamic_measurement_of_process_integrity

0.0 0.0 0.0 19 KB

进程完整性,动态度量,代码段,分页度量,ELF

C 95.00% Makefile 5.00%

dynamic_measurement_of_process_integrity's Introduction

Dynamic_measurement_of_process_integrity

关键词:进程完整性,动态度量,可信计算,代码段,分页度量,ELF

简介

这是一个简单地内核模块,主要完成了以下几项工作:

  • 分页读取ELF文件的代码段,进行hash运算后存储基准值。
  • 根据/proc/pid/pagemap文件,判断该进程虚拟地址与物理地址的映射情况。
  • 如果该虚拟地址已经分配了物理地址,则读取该物理页的数据,进行hash运算并与基准值对比,判断进程的代码段是否被篡改。

环境

  • centos 7

步骤

1.使用"make"进行编译。

make

2.加载模块并打印日志。

make testload > tmp.txt"

3.卸载模块。

make testunload

4.如果重新编译模块,先执行"make clean",再进行"make"。

make clean
make

参考

dynamic_measurement_of_process_integrity's People

Contributors

tws-yifei 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.