Coder Social home page Coder Social logo

Comments (3)

kulukami avatar kulukami commented on July 16, 2024 2

reply to @shen771

module verification failed: signature and/or required key missing - tainting kernel is known at stackoverflow
https://stackoverflow.com/questions/24975377/kvm-module-verification-failed-signature-and-or-required-key-missing-taintin

do_init_module register_kprobe failed, returned -2 is known at README https://github.com/bytedance/Elkeid/blob/main/driver/README.md#known-bugs

from elkeid.

shen771 avatar shen771 commented on July 16, 2024

大师给了个指点方向,今天研究了半天,翻译成人话:
1、出现这个报错是因为ko文件没有系统的签名,如果要需要给driver.ko文件签名请参考这篇文件:http://blog.chinaunix.net/uid-27717694-id-3999307.html 但是这个事情大概率是搞不定的,因为系统signing_key.priv私钥你没有,除非你新增一对自定义密钥到系统中,还要考虑服务器重启EFI引导自签名Linux内核。
2、如果想要driver.ko文件有签名,不能用字节预编译分发的ko。只能os上安装kernel-dev包,然后本机编译出来的ko才能加载。
大师我理解的对不?

from elkeid.

clevertension avatar clevertension commented on July 16, 2024

我的理解是这样的,比如centos9,默认安装好以后,它的/usr/src/kernels/xxx/certs/下面,没有signing_key.pem 和 signing_key.x509, 所以如果你想自己生成这两个文件,那么需要重新编译内核,让内核用你的这两个文件去verify module, 默认的呢,应该是用signing_key.priv去签名module,如果你想要签名你自己的module,那没办法
所以想driver.ko, 可能要先编译内核

from elkeid.

Related Issues (20)

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.