kkamagui / napper-for-tpm

TPM vulnerability checking tool for CVE-2018-6622. This tool will be published at Black Hat Asia 2019 and Black Hat Europe 2019
Other
100 stars 20 forks source link

insmod: ERROR: could not insert module napper-driver/napper.ko: Operation not permitted #6

Closed paulga closed 2 years ago

paulga commented 2 years ago

failed at preparing for sleep, because the operation to insert module napper-driver/napper.ko was not permitted.. any clue what this means?

root@ubuntu:/home/ubuntu/Downloads/napper-for-tpm# ./napper.py ,----------------, ,---------, ,-----------------------, ," ,"| ," Napper v 1.3 for TPM ,"| ," ," | +-----------------------+ | ," ," | | .-----------------Z | | +---------+ | | | Z | | | | -==----'| | | | ︶ ︶ z | | | | | | | | - | | |/----| ==== oo | | | | | | | ,/| (((( | ," | -----------------' |," .;'/ | (((( | ," +-----------------------+ ;; | | |," /_)______________(_/ //' | +---------+ ___________________________/___, / oooooooooooooooo .o. oooo / \,"--------- / ==ooooooooooooooo==.o. ooo= / ,\--{-D) ," -----------------------------' '----------"

Napper v1.3 for checking a TPM and Intel PTT vulnerability, CVE-2018-6622 and unknown CVE Made by Seunghun Han, https://kkamagui.github.io Project link: https://github.com/kkamagui/napper-for-tpm

Checking TPM version for testing. [] Checking TPM version... Intel PTT. [] Your system has TPM v2.0, and vulnerability checking is needed.

Preparing for sleep. insmod: ERROR: could not insert module napper-driver/napper.ko: Operation not permitted [*] Checking the TPM vulnerability testing module... Fail. You might need to disable lockdown mode with

 echo 1 > /proc/sys/kernel/sysrq
 echo x > /proc/sysrq-trigger
paulga commented 2 years ago

solved by disabling secure boot in bios.