Go to file
2019-02-17 06:42:47 +08:00
doc upload ppt 2018-08-08 12:03:06 +08:00
kemon New version 1010 2019-02-17 06:42:47 +08:00
kemon.xcodeproj New version 1010 2019-02-17 06:42:47 +08:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-08-27 13:48:39 +08:00
Kemon - An Open-Source Pre and Post Callback-Based Framework for macOS Kernel Monitoring.pdf upload ppt 2018-08-08 12:00:45 +08:00
LICENSE Kemon - An Open-Source Pre and Post Callback-Based Framework for macOS Kernel Monitoring 2018-08-07 19:17:43 -07:00
makefile New version 1010 2019-02-17 06:42:47 +08:00
README.md Update README.md 2018-08-08 11:42:51 +08:00

Kemon

An Open-Source Pre and Post Callback-Based Framework for macOS Kernel Monitoring.

What is Kemon?

An open-source Pre and Post callback-based framework for macOS kernel monitoring. With the power of Kemon, we can easily implement LPC communication monitoring, MAC policy filtering, kernel driver firewall, etc. In general, from an attacker's perspective, this framework can help achieve more powerful Rootkit. From the perspective of defense, Kemon can help construct more granular monitoring capabilities. I also implemented a kernel fuzzer through this framework, which helped me find many vulnerabilities, such as: CVE-2017-7155, CVE-2017-7163, CVE-2017-13883, etc.

Supported Features

Kemon's features include

  • file operation monitoring
  • process creation monitoring
  • dynamic library and kernel extension monitoring
  • network traffic monitoring
  • Mandatory Access Control (MAC) policy monitoring, etc.

In addition, Kemon project can also extend the Pre and Post callback-based monitoring interfaces for any macOS kernel function.

Getting Started

How to build the Kemon driver

Please use Xcode project or makefile to build the Kemon kext driver

How to use the Kemon driver

  • Please turn off macOS System Integrity Protection (SIP) check if you don't have a valid kernel certificate
  • Use the command "sudo chown -R root:wheel kemon.kext" to change the owner of the Kemon driver
  • Use the command "sudo kextload kemon.kext" to install the Kemon driver
  • Use the command "sudo kextunload kemon.kext" to uninstall the Kemon driver

Contributing

Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.

License

Kemon is licensed under the Apache License 2.0. See the LICENSE file.