Giter Site home page Giter Site logo

lyq1996 / x-monitor Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 3.0 2.36 MB

X-Monitor is an open-source, extensible event monitoring tool for macOS that provides security professionals with the ability to perform process behavior auditing.

License: GNU General Public License v3.0

Objective-C 87.90% C 1.68% Python 10.30% Shell 0.11%

x-monitor's Introduction

This README is translated from README_CN by ChatGPT.

X-Monitor

X-Monitor is an open-source, extensible event monitoring tool for macOS that provides security professionals with the ability to perform process behavior auditing. It is implemented natively in Objective-C.

LICENSE Language 简体中文 English

GUI

Deny process And Low version macOS

If you need:

  1. Deny new process execve.
  2. 10.12 ~ 10.14 macOS support.

You can use NuwaStone, this project supports deny new process that has no signature.

NuwaStone may merge with X-Monitor in the future and move to Macintosh-Mystery organization.

Feature

Current support:

  1. It currently supports: notify_exec,notify_open,notify_fork,notify_close,notify_create,notify_exchangedata,notify_exit,notify_get_task,notify_kextload,notify_kextunload,notify_link,notify_mmap,notify_mprotect,notify_mount,notify_unmount,notify_iokit_open,notify_rename,notify_setattrlist,notify_setextattr,notify_setflags,notify_setmode,notify_setowner,notify_signal,notify_unlink,notify_write,notify_file_provider_materialize,notify_file_provider_update,notify_readlink,notify_truncate,notify_lookup,notify_chdir,notify_getattrlist,notify_stat,notify_access,notify_chroot,notify_utimes,notify_clone,notify_fcntl,notify_getextattr,notify_listextattr,notify_readdir,notify_deleteextattr,notify_fsgetpath,notify_dup,notify_settime,notify_uipc_bind,notify_uipc_connect,notify_setacl,notify_pty_grant,notify_pty_close,notify_proc_check,notify_searchfs,notify_proc_suspend_resume,notify_cs_invalidated events from the Endpoint Security framework.
  2. It support event classification according to the event type.

It will support in the future:

  1. All events from the Endpoint Security framework. (H1 priority)(X-Monitor is designed to be extensible, thus adding events is very easy. For example, Add set extend attribute event, it only requires to parser the event unique attribute in the event handler.)
  2. Event filter. (H1 priority)
  3. Process chain analysis. (H2 priority)
  4. Network connection and DNS events from the Network Extension framework. (H2 priority)
  5. Save events to local disk. (H3 priority)

Installation

X-Monitor can be built from source code or installed from pre-compiled binaries.

Build

Required Xcode Version 14.3.

Usage

System Requirements

X-Monitor is designed to support macOS 10.15 and above.

During the project creation, consideration was given to using Kernel Extensions (KEXT) to support systems from 10.12 to 10.14. However:

  1. KEXT is deprecated.
  2. KEXT's event support is far less than SEXT (from Endpoint Security).

Therefore, after careful consideration, the development plan for KEXT has been indefinitely postponed.

Notes

Due to the lack of corresponding Entitlements for X-Monitor developers, please disable SIP.

Start Event Monitor

  1. Click the "start" button to begin monitoring events. Subscription settings can be configured through X-Monitor -> Settings in the menu.
  2. Clicking on a specific row will display detailed information about the event.

Uninstallation

Simply move X-Monitor to the trash bin.

Support

If you encounter any issues while using X-Monitor, please feel free to submit an issue.

Other Pending Tasks

  1. Unit testing.
  2. Documentation writing.
  3. Implement system extension XPC peer signing verification.
  4. Optimize performance of NSTableView used for displaying events.(Added)

x-monitor's People

Contributors

lyq1996 avatar conradsun avatar

Stargazers

 avatar h0lyduck avatar Heroman Zhang avatar Colin Avrech avatar 程序猿MT avatar Mohamed Taher Mosbah avatar Başar avatar test1234455 avatar Matthew Philpot avatar Bugra Karabudak avatar  avatar aitdada avatar 南知 avatar 1gcat avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.