Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drivers & Kernel Extensions

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa
Mac Cocoa  
Author Message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Wed Apr 20, 2022 3:48 pm    Post subject: Drivers & Kernel Extensions Reply with quote

sudonull.com - The basics of working with IOKit. Subtleties of driver programming

"IOKit was previously written in Objective-C, like the Cocoa framework, and
was called the Driver Kit. However, to simplify the development of drivers by
3 persons, the Driver Kit was rewritten in C ++. However, according to one
of the main developers of IOKit, Godfrey van der Linden, this decision was
erroneous. However, in IOKit, you can see with an unaided glance the legacy
of Objective-C, for example, link counting and retain / release mechanisms,
class naming (OS and IO prefixes), class method naming, and much more."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Wed Apr 20, 2022 3:49 pm    Post subject: Reply with quote

sciencedirect.com - Kernel Extension

Excerpts from:

- Host Integrity Monitoring Using Osiris and Samhain, 2005

- Enrico Perla, Massimiliano Oldani, in A Guide to Kernel Exploitation, 2011

- Jaron Bradley, in OS X Incident Response, 2016

- Chris Hurley, ... Brian Baker, in WarDriving and Wireless Penetration Testing, 2007
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Wed Apr 20, 2022 3:49 pm    Post subject: Reply with quote

se - How can I install USB Prober from the Developer SDK on Mac OS X?

"All of those warnings that come with USB Prober scared me away. Instead, I
used IORegistryExplorer, and it works fine for me in OS X 10.10.2."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Wed Apr 20, 2022 4:03 pm    Post subject: Reply with quote

insanelymac - Trying to copy 2 kexts from a USB to my Extensions folder

Code:
sudo cp -R  /Volumes/Untitled/AppleACPIPS2Nub.kext  /Volumes/MacBookPro/System/Library/Extensions/ then
sudo touch /Volumes/MacBookPro/System/Library/Extensions to have it rebuild the cache, you need sudo to copy the file as root may as well do
sudo chown -R root:wheel /Volumes/MacBookPro/System/Library/Extensions/AppleACPIPS2Nub.kext
sudo chmod -R 0755 /Volumes/MacBookPro/System/Library/Extensions/AppleACPIPS2Nub.kext before the touch command to correct permissions as well


Looks like Xcode will make it 0755 already!?


Last edited by Ike on Wed Apr 20, 2022 5:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Wed Apr 20, 2022 4:08 pm    Post subject: Reply with quote

git - joevt/KextUtil.sh

checkkext, unloadkext, installkext...
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3035
Location: Europe

PostPosted: Fri Apr 22, 2022 10:14 am    Post subject: Reply with quote

A Mutable Log - Access USB device on Mac OS X using I/O Kit

"This post shows how you can access a USB device from user space on Mac
OS X. I used Xcode 4.3.2 on Mac OS X Lion (10.7.3) for testing the code.

Apple provides the USB Device Interface Guide that shows how USB devices
can be accessed from user space. The book OS X and iOS Kernel Programming
is also very helpful, see Chapter 15 - User-Space USB Drivers."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group