This README is translated from README_CN by ChatGPT.
If you need:
- Deny new process execve.
- 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.
Current support:
- 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 theEndpoint Security
framework. - It support event classification according to the event type.
It will support in the future:
- All events from the
Endpoint Security
framework. (H1 priority)(X-Monitor is designed to be extensible, thus addingevents
is very easy. For example, Add set extend attribute event, it only requires to parser the event unique attribute in the event handler.) - Event filter. (H1 priority)
- Process chain analysis. (H2 priority)
- Network connection and DNS events from the
Network Extension
framework. (H2 priority) - Save events to local disk. (H3 priority)
X-Monitor can be built from source code or installed from pre-compiled binaries.
Required Xcode Version 14.3.
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:
- KEXT is deprecated.
- 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.
Due to the lack of corresponding Entitlements for X-Monitor developers, please disable SIP.
- Click the "start" button to begin monitoring events. Subscription settings can be configured through
X-Monitor
->Settings
in the menu. - Clicking on a specific row will display detailed information about the event.
Simply move X-Monitor to the trash bin.
If you encounter any issues while using X-Monitor, please feel free to submit an issue.
- Unit testing.
- Documentation writing.
- Implement system extension XPC peer signing verification.
Optimize performance of NSTableView used for displaying events.(Added)