Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 921 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 921 Bytes

Snapturtle an Endpoint Security Client

Overview

This project demonstrates the use of Apple's Endpoint Security (ES) framework to handle security-related events on macOS. It includes functionalities for subscribing to events, handling authentication requests, and logging event details. Very much a POC.

Inspired (extended) by the implementation of Omar Ikram

https://gist.github.com/Omar-Ikram/8e6721d8e83a3da69b31d4c2612a68ba#file-endpointsecuritydemo-m

Status

Currently only 2 events are logged (ES_EVENT_TYPE_AUTH_OPEN, ES_EVENT_TYPE_AUTH_EXEC). Output is redirected to the ./logs file. The SHA1 of the file within the file_path of the es_file_t struct within ES_EVENT_TYPE_AUTH_EXEC, ES_EVENT_TYPE_AUTH_OPEN is calculated when we process the events.

Setup

  1. Clone the Repository:
    git clone <repository-url>
    cd <repository-directory>
    make
    sudo ./snapturtle