Hi Leute,
Ich will die Rootkit-Technik aus p65 (.:: Phrack Magazine ::.) implementieren, doch wenn ich do_debug hooken will (ich überschreibe den call in ENTRY(debug) mit meinem eigenen do_debug) bekomme ich nur einen kernel oops:
[ 5259.489599] BUG: unable to handle kernel paging request at c05cb608
Die Page ist wohl read-only; wie kann ich sie beschreibbar machen?
grüße CK.
EDIT:
Ich will die Rootkit-Technik aus p65 (.:: Phrack Magazine ::.) implementieren, doch wenn ich do_debug hooken will (ich überschreibe den call in ENTRY(debug) mit meinem eigenen do_debug) bekomme ich nur einen kernel oops:
[ 5259.489599] BUG: unable to handle kernel paging request at c05cb608
Die Page ist wohl read-only; wie kann ich sie beschreibbar machen?
grüße CK.
EDIT:
Code:
[ 5259.489599] BUG: unable to handle kernel paging request at c05cb608
[ 5259.489606] IP: [<fee8205c>] get_do_debug+0x4c/0x70 [main2]
[ 5259.489611] *pde = 36882063 *pte = 005cb161
[ 5259.489615] Oops: 0003 [#1] SMP
[ 5259.489618] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/uevent
[ 5259.489621] Modules linked in: main2(P+) nls_utf8 isofs parport_pc ppdev binfmt_misc snd_hda_codec_realtek snd_hda_codec_intelhdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi i915 snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device drm_kms_helper drm snd ndiswrapper intel_agp led_class psmouse serio_raw agpgart i2c_algo_bit video output soundcore snd_page_alloc lp parport r8169 mii [last unloaded: main2]
[ 5259.489649]
[ 5259.489652] Pid: 5172, comm: insmod Tainted: P 2.6.35-28-generic #50-Ubuntu G41D3+/G41D3+
[ 5259.489655] EIP: 0060:[<fee8205c>] EFLAGS: 00010246 CPU: 1
[ 5259.489658] EIP is at get_do_debug+0x4c/0x70 [main2]
[ 5259.489660] EAX: c05cb607 EBX: 000000a4 ECX: 00000000 EDX: 00000000
[ 5259.489662] ESI: fee820e0 EDI: 00000000 EBP: f1081f4c ESP: f1081f40
[ 5259.489664] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 5259.489667] Process insmod (pid: 5172, ti=f1080000 task=f48932c0 task.ti=f1080000)
[ 5259.489669] Stack:
[ 5259.489671] 0060b5bc c05c8e00 098cf018 f1081f5c fee82090 f1081f78 c016b9c4 f1081f88
[ 5259.489677] <0> c0101132 fee820e0 c07d2f60 098cf018 fee820e0 00004000 fee82080 098cf018
[ 5259.489683] <0> fee820e0 00004000 f1081fac c018109b 00000003 f1081fac c0217345 f27a1840
[ 5259.489689] Call Trace:
[ 5259.489697] [<c05c8e00>] ? wait_for_common+0x90/0x120
[ 5259.489701] [<fee82090>] ? init_module+0x10/0x24 [main2]
[ 5259.489705] [<c016b9c4>] ? __blocking_notifier_call_chain+0x54/0x70
[ 5259.489709] [<c0101132>] ? do_one_initcall+0x32/0x1a0
[ 5259.489712] [<fee82080>] ? init_module+0x0/0x24 [main2]
[ 5259.489717] [<c018109b>] ? sys_init_module+0x9b/0x1e0
[ 5259.489721] [<c0217345>] ? sys_close+0x75/0xc0
[ 5259.489725] [<c05caeb4>] ? syscall_call+0x7/0xb
[ 5259.489727] Code: 0f b7 55 f4 89 45 f8 66 31 c0 09 d0 80 38 e8 74 0e 8d b6 00 00 00 00 83 c0 01 80 38 e8 75 f8 0f b6 48 03 0f b6 50 04 0f b6 58 01 <c6> 40 01 ff 0f b6 c9 c1 e1 10 c1 e2 18 09 ca 0f b6 48 02 83 c4
[ 5259.489762] EIP: [<fee8205c>] get_do_debug+0x4c/0x70 [main2] SS:ESP 0068:f1081f40
[ 5259.489766] CR2: 00000000c05cb608
[ 5259.489769] ---[ end trace 18bb6720abf61c25 ]---
Zuletzt bearbeitet: