Aug 23 07:07:16 ubuntu kernel: JWNetFilter: loading out-of-tree module taints kernel. Aug 23 07:07:16 ubuntu kernel: JWNetFilter: module verification failed: signature and/or required key missing - tainting kernel Aug 23 07:07:16 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:485] (JwNet_init) - JwNet_init net connect module init Aug 23 07:07:16 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:489] (JwNet_init) - JwNet_init black white port module init Aug 23 07:07:16 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:496] (JwNet_init) - JwNet_init netlink module init Aug 23 07:07:16 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:506] (JwNet_init) - JwNet_init netfilter hook init Aug 23 07:07:16 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:509] (JwNet_init) - Synctimer init Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:518] (JwNet_exit) - JwNet_exit nf_unregister_hooks Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:520] (JwNet_exit) - Sync timer exit Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [netlink.c:273] (netlink_exit) - netlink release ok Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:522] (JwNet_exit) - JwNet_exit netlink exit Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:525] (JwNet_exit) - JwNet_exit net_connect_thread_exit Aug 23 07:30:25 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:528] (JwNet_exit) - JwNet_exit black white port exit Aug 23 07:31:12 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:485] (JwNet_init) - JwNet_init net connect module init Aug 23 07:31:12 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:489] (JwNet_init) - JwNet_init black white port module init Aug 23 07:31:12 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:496] (JwNet_init) - JwNet_init netlink module init Aug 23 07:31:12 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:506] (JwNet_init) - JwNet_init netfilter hook init Aug 23 07:31:12 ubuntu kernel: JWNetFilter: [INFO] [NetFilter.c:509] (JwNet_init) - Synctimer init
2013 ls 2014 openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Module Signature Key/" 2015 ls 2016 sudo find / -name "sign-file" 2017 clear 2018 ls 2019 cp /home/lyd/hostprotect/demo/kernel/NetFilter/JWNetFilter.ko . 2020 ls 2021 sudo ./usr/src/linux-headers-5.4.0-150-generic/scripts/sign-file sha256 MOK.priv MOK.der JWNetFilter.ko 2022 /usr/src/linux-headers-5.4.0-150-generic/scripts/sign-file sha256 MOK.priv MOK.der JWNetFilter.ko 2023 rmmod JWNetFilter 2024 sudo rmmod JWNetFilter 2025 lsmod 2026 clear
标签:kernel,JWNetFilter,07,ubuntu,init,签名,linux,JwNet From: https://www.cnblogs.com/hshy/p/18377186