![]() |
#1
|
||||
|
||||
Direct kernel memory access kernel extension
I recently made a kext that can completely dump out the kernel memory through a /dev/kmem device.
You can get the kernel extensions & the sources from: http://rapidshare.com/files/21853726...cess-1.0.1.zip I've used this for dumping out my BIOS ROM modules and so... This is the command I used to completely dump the kernel memory: Code:
sudo dd if=/dev/kmem of=test.bin iseek=638976 bs=1 An example of this can be found here: http://rapidshare.com/files/231432488/BIOS_ROMS.zip Enjoy and learn ![]() Credits go to Amit Singh (www.osxbook.com) and me... Last edited by andyvand; 05-10-2009 at 10:13 PM. |
#2
|
||||
|
||||
Anybody tried this on their computers?
If one would be able to provide dumps from real Macs (complete ones) they could be used to examine some things (and maybe find some interesting things which could be used to improve certain kernel, etc... features) |
#3
|
||||
|
||||
Perhaps the people don't really know hat's it for... nether do I
![]() ![]() 2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination. My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter • MIDI: M-Audio Midiman 4x MIDI interface • Behringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor • RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64 |
#4
|
||||
|
||||
Quote:
The second requires a lot of knowledge on how the kernel memory works... Crash? lol no... I extensively tested this and it works great ![]() |
#5
|
||||
|
||||
OMG it reads out all my passwords and sends them to Microsoft!
![]() Hm, don't know what this is. When I enter the line above in Terminal I'll get always this output: Code:
dd: /dev/kmem: Bad address 0+0 records in 0+0 records out 0 bytes transferred in 0.000185 secs (0 bytes/sec) Oh yeah, I'm using XxX 10.5.6 and a 9.6.0 kernel from you, but don't ask me which one. 2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination. My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter • MIDI: M-Audio Midiman 4x MIDI interface • Behringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor • RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64 Last edited by naquaada; 05-10-2009 at 09:52 PM. |
#6
|
||||
|
||||
Quote:
It needs to be the addres of the start of the kernel memory... Then it'll dump out XXX records (like it did for me...) The eventual file generated was +- 6MB for me -rw-r--r-- 1 andyvand staff 6262784 1 apr 12:36 /Users/andyvand/Documents/EasyNote MZ-35 Kernel Mem/kmem.bin |
#7
|
||||
|
||||
Do you have an Intel or AMD system? Add your system specs in the sinature plz.
2 Opteron systems: OSx86 10.5.8, Andy's 9.8.0 kernel, Asus A8N-SLI Premium, Opteron 185 o'clocked @ 2 x 2,95 GHz (2nd system 2.6 GHz), ATI Radeon HD2600XT 256MB Dual-Monitor 2x HP L2035, 4 GB RAM, Griffin FireWave as main audio device, Marvell + nForce LAN, Asus U3S6 USB3/SATA6 card, 5,5 TB harddisk, Firewire 800 card, Apple Remote + eHome IR receiver, 2x Wacom serial graphics tablet, Canon Pixma iP4700, Logitech Internet Navigator wireless keyboard/mouse combination. My Audio stuff: M-Audio Transit USB (default audio), M-Audio ProFire 610, M-Audio ProFire Lightbridge (34 channels) using Creamware A16 ADAT converter • MIDI: M-Audio Midiman 4x MIDI interface • Behringer Audio Mixers: Xenyx 1002, Xenyx 1002FX, Xenyx 1202FX, Eurorack UB1002FX, Eurorack MX1804FX, Eurorack MX262A • FX devices: Lexicon MPX100 DSP, Behringer DSP-1000 Virtualizer, Behringer MiniFEX 800 DSP, Behringer Multicom Pro MDX4400 compressor • RETRO: MSSIAH midi/sequencer/synthesizer cardridge for the C64 (Dual-SID), Steinberg M.S.I. MIDI Interface for C64 |
#8
|
|||
|
|||
Code:
#include "/Users/andyvand/Downloads/Kernels/voodoobuild-0.3.2/xnu-1228.9.59/bsd/sys/uio_internal.h" And one request: please credit the original author in your starting post. This isn't something average users would need/want, might be worth noting that too, even better, posting this link ( http://www.osxbook.com/book/bonus/chapter8/kma/ ) would be more helpful. Thanks. |
#9
|
||||
|
||||
Quote:
He used a standard driver which depended on deprecated .kernel components... I fixed it up to an iokit driver and I've made sure it was all .kpi components... It's a great tool for many things... But OK ... I will |
#10
|
|||
|
|||
Quote:
Quote:
💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. |