Sinter is a 100% user-mode endpoint security agent for macOS 10.15 and above, written in Swift.
Sinter uses the user-mode EndpointSecurity API to subscribe to and receive authorization callbacks from the macOS kernel, for a set of security-relevant event types. The current version of Sinter supports allowing/denying process executions; in future versions we intend to support other types of events such as file, socket, and kernel events.
Sinter is a work-in-progress. Feedback is welcome. If you are interested in contributing or sponsoring us to help achieve its potential, let's get in touch.
Features
- Allow or deny process execution by code directory hash (aka "CD hash")
- option to deny all unknown programs (any program that is not explicitly allowed)
- option to deny all unsigned programs
- option to deny all programs with invalid signatures
- "monitor" mode to track and log (but allow) all process execution events
- Accepts allow/deny rules from a Santa sync-server
- Configure deny rules in JSON, provided locally or by a sync-server
- Log to the local filesystem in a structured JSON format
- Deny process execution by executable file path
- Deny process execution by certificate Team ID
Anti-Features
- Does not use kernel extensions (which will be officially deprecated in macOS 11 Big Sur)
- Does not support legacy macOS (10.14 or older)
- Does not use any memory unsafe code
- Limits third-party library dependencies
- Not an anti-malware or anti-virus. No signature database. Denies only what you tell it to deny, using rules.
Background
The first open-source macOS solution for allowing/denying processes was Google Santa. We're fans of Santa, and have contributed to its codebase in the past. For a long time, however, many in the macOS community have asked for an open-source solution to track and manage more than just process events.
We saw the ideal platform to build such a capability with the EndpointSecurity API in macOS 10.15. Starting from the ground-up around a strictly user-mode API meant that we could attempt a simpler design, and use a modern programming language with safer memory handling and better performance. Thus, we set out to develop Sinter, short for "Sinter Klausen," another name for Santa Claus.
Getting Started
Download and install the latest version of Sinter using the
pkg
installer link from the Releases page.After installing Sinter, you must enable the "Full Disk Access" permission for
Sinter.app
. Do this by opening System Preferences, Security, Privacy tab, Full Disk Access. Check the item for Sinter.app
. If using MDM, you can automatically enable this permission on your endpoints, and no user interaction will be required.Configuration
Sinter requires a configuration file to be present at
/etc/sinter/config.json
. An example is provided in the source tree at ./config/config.json
:{
"Sinter": {
"decision_manager": "local",
"logger": "filesystem",
"allow_unsigned_programs": "true",
"allow_invalid_programs": "true",
"allow_unknown_programs": "true",
"allow_expired_auth_requests": "true",
"allow_misplaced_applications": "true",
"config_update_interval": 600,
"allowed_application_directories": [
"/bin",
"/usr/bin",
"/usr/local/bin",
"/Applications",
"/System",
"/usr/sbin",
"/usr/libexec",
],
},
"FilesystemLogger": {
"log_file_path": "/var/log/sinter.log",
},
"RemoteDecisionManager": {
"server_url": "https://server_address:port",
"machine_identifier": "identifier",
},
"LocalDecisionManager": {
"rule_database_path": "/etc/sinter/rules.json",
}
}
decision_manager
value. The local plugin will enable the LocalDecisionManager configuration section, pointing Sinter to use the local rule database present at the given path. It is possible to use a Santa-compatible sync-server, by using the sync-server plugin instead. This enables the RemoteDecisionManager configuration section, where the server URL and machine identifier can be set.There are two logger plugins currently implemented:
- filesystem: Messages are written to file, using the path specified at FilesystemLogger.log_file_path
- unifiedlogging: Logs are emitted using the Unified Logging, using com.trailofbits.sinter as subsystem.
Allowed application directories
It is possible to configure Sinter to log and optionally deny applications that have not been started from an allowed folder.
- allow_misplaced_applications: If set to true, misplaced applications will only generate a warning. If set to false, any execution that does not starts from a valid path is denied.
- allowed_application_directories: If non-empty, it will be used to determine if applications are placed in the wrong folder.
Enabling UI notifications
- Install the notification server (the PKG installer will do this automatically):
sudo /Applications/Sinter.app/Contents/MacOS/Sinter --install-notification-server
- Start the agent:
/Applications/Sinter.app/Contents/MacOS/Sinter --start-notification-server
Configuring Sinter in MONITOR mode
Modes are not implemented in Sinter, as everything is rule-based. It is possible to implement the monitoring functionality by tweaking the following settings:
- allow_unsigned_programs: allow applications that are not signed
- allow_invalid_programs: allow applications that fail the signature check
- allow_unknown_programs: automatically allow applications that are not covered by the active rule database
- allow_expired_auth_requests: the EndpointSecurity API requires Sinter to answer to an authorization requests within an unspecified time frame (typically, less than a minute). Large applications, such as Xcode, will take a considerable amount of time to verify. Those executions are denied by default, and the user is expected to try again once the application has been verified. Setting this configuration to true changes this behavior so that those requests are always allowed.
Rule format
Rule databases are written in JSON format. Here's an example database that allows the CMake application bundle from cmake.org:
{
"rules": [
{
"rule_type": "BINARY",
"policy": "ALLOWLIST",
"sha256": "BDD0AF132D89EA4810566B3E1E0D1E48BAC6CF18D0C787054BB62A4938683039",
"custom_msg": "CMake"
}
]
}
codesign
tool output (example: codesign -dvvv /Applications/CMake.app
). Note that even though the CLI tools can acquire the full SHA256 hash, the Kernel/EndpointSecurity API is limited to the first 20 bytes.Building from Source
Building Sinter requires certain code-signing certificates and entitlements that Apple must grant your organization. However, Sinter can still be built from source and run locally on a test system with SIP disabled. For instructions, see the Sinter wiki.
via KitPloit
More information
- Hacking Tools Mac
- Hack Tools Pc
- Hacker Tools For Mac
- Hak5 Tools
- Pentest Tools For Mac
- Hacker Search Tools
- Hacker Hardware Tools
- Pentest Reporting Tools
- Hacker Tools For Windows
- Hack App
- Pentest Tools Nmap
- Pentest Reporting Tools
- Best Hacking Tools 2020
- Hack Tools Online
- Hack Tool Apk
- Hack Tools Online
- Nsa Hacker Tools
- Hack Tools
- Ethical Hacker Tools
- Hackers Toolbox
- Hack And Tools
- Game Hacking
- Hacker Tools Linux
- Pentest Tools Port Scanner
- Android Hack Tools Github
- Game Hacking
- Hacker Tools Free
- Pentest Tools Alternative
- Pentest Tools Bluekeep
- Hacking Tools For Windows
- Github Hacking Tools
- Hacker Tools Mac
- Hack Tools For Mac
- Hack Rom Tools
- Pentest Tools Website Vulnerability
- Hacker Tools Free Download
- Pentest Tools For Windows
- Hacking Tools Online
- Best Pentesting Tools 2018
- Pentest Tools Online
- Easy Hack Tools
- Hacking Tools And Software
- Hacking Tools Hardware
- Nsa Hacker Tools
- Best Pentesting Tools 2018
- Hacker Tools Linux
- Hack Tools For Mac
- Hacker Tools Free Download
- Hacker Tools Windows
- Hacker Tools Free
- Hack Tools Mac
- Pentest Tools For Mac
- Hack And Tools
- Pentest Tools Bluekeep
- Hacker Tools For Pc
- Hack Tool Apk No Root
- Hacking Tools For Windows 7
- Hacker Tools For Mac
- Growth Hacker Tools
- Hacking Tools For Windows Free Download
- Hack Tools For Games
- Nsa Hack Tools Download
- Hacker Tools Online
- Hacker Tools
- Pentest Tools Tcp Port Scanner
- Hack Tools Github
- Hack Tools For Pc
- Hacker Tools
- Hack Tools For Mac
- Hack Tools Online
- Hacking Tools Usb
- Hacking Tools Kit
- Hacking Tools Windows 10
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Github
- New Hacker Tools
- Pentest Tools Online
- Pentest Tools Review
- Hacker Tools 2019
- Hak5 Tools
- Pentest Tools Github
- Hack Apps
- Hacker Hardware Tools
- Hacking Tools Download
- Hacking Tools 2020
- Pentest Reporting Tools
- Hacker Tools Windows
- Best Hacking Tools 2020
- Nsa Hack Tools
- Tools 4 Hack
- Hacker Tools Free
- Hack Tools Pc
- Hacking Tools Hardware
- Hacking Tools Online
- Hacking Tools Software
- Pentest Tools Github
- Best Hacking Tools 2020
- What Is Hacking Tools
- Hack Website Online Tool
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Windows
- Hacker Tools For Pc
- Pentest Tools Subdomain
- Pentest Tools Website Vulnerability
- Easy Hack Tools
- Hack App
- Tools For Hacker
- Tools For Hacker
- Pentest Tools Website Vulnerability
- Computer Hacker
- Best Hacking Tools 2020
- Hacker Tools
- Hacker Tools Github
- Hacker Tools Mac
- Pentest Tools Website Vulnerability
- Best Hacking Tools 2020
- What Is Hacking Tools
- How To Hack
- Hacker Tools Mac
- Nsa Hack Tools
- Nsa Hacker Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Linux
- Hacker Search Tools
- Hack Tools For Mac
- Pentest Tools Review
- Hacking Tools Software
- Physical Pentest Tools
- Hacker Tools List
- Hack Tools Online
- Pentest Tools Subdomain
- Pentest Reporting Tools
- Hacking Tools Pc
- Pentest Tools Alternative
- Hackrf Tools
- Hacker Tools Apk
- Hacker Tools Linux
- Hack Rom Tools
- Hacking Tools Kit
- Nsa Hack Tools Download
- Pentest Tools Windows
- Tools Used For Hacking
- How To Make Hacking Tools
- Pentest Tools Bluekeep
- Hacking Tools For Windows Free Download
- Hacking Tools Kit
- Top Pentest Tools
- How To Hack
- Hacking Tools Usb
- Hacker Tools 2019
- Hacker Tools Windows
- New Hacker Tools
- Github Hacking Tools
- Pentest Tools Framework
- Hacker Tools For Pc
- Game Hacking
- Pentest Tools Android
- Hacker Techniques Tools And Incident Handling
- Physical Pentest Tools
- Pentest Tools Apk
- Pentest Tools Framework
- How To Hack
- Best Hacking Tools 2020
- Physical Pentest Tools
- Hack Tools Pc
- Github Hacking Tools
- Hacking Tools 2019
- Pentest Tools Windows
- Pentest Tools Review
- Hacker Techniques Tools And Incident Handling
- Hacker Tools For Ios
- Hacking Tools 2019
- Pentest Tools Nmap
- Pentest Tools Kali Linux
- Hack Tools Online
0 件のコメント:
コメントを投稿