Git Product home page Git Product logo

endpointsecuritydemo's Introduction

Endpoint Security Demo

This is a complete Xcode project of the Endpoint Security Demo gist: https://gist.github.com/Omar-Ikram/8e6721d8e83a3da69b31d4c2612a68ba

Building

To build the project the 'Signing & Capabilities' section of the target needs to have a Team specified, but doing so will only allow the program to run on a SIP disabled machine (best use a VM to be safe).

To build the project to run on a SIP protected machine, you need to update the 'Signing & Capabilities' section of the target with with a Team and Provisioning Profile that has been granted the 'com.apple.developer.endpoint-security.client' entitlement from Apple.

  • Note: Assigning the 'com.apple.developer.endpoint-security.client' entitlement to a Provisioning Profile cannot be done directly via Xcode. It must first be done through the Apple Developer Account and then have Xcode import the Provisioning Profile into project.

The build produces a command line program packaged as bundle. This is required so that the program has the Provisioning Profile for the System to validate against during runtime.

Running

The program needs to be run as root from the Terminal, which has been granted Full Disk access (best use a VM to be safe).

The program is treated as a command line program, but running it requires launching the binary inside the bundle:

sudo ./EndpointSecurityDemo.app/Contents/MacOS/EndpointSecurityDemo serial

endpointsecuritydemo's People

Contributors

omar-ikram avatar

Stargazers

Brian Dittmer avatar Qing Yang avatar Serge avatar Bugra Karabudak avatar  avatar Seungwon Heo avatar Sungje, Hong avatar Russell Finn avatar  avatar Tim Kuzmin avatar Brandon Mesa avatar BusyAnt avatar  avatar Vein Guo avatar  avatar gr00t avatar 南知 avatar conanoutlook avatar Luke Hamburg avatar

Watchers

Luke Hamburg avatar  avatar

endpointsecuritydemo's Issues

Unable to run example

I have tried various ways to get this to run and assign permissions in Full Disk Access:

2022-08-05 12:58:24.872 EndpointSecurityDemo[27343:702641] ERROR: "Application lacks Transparency, Consent, and Control (TCC) approval " "from the user. This can be resolved by granting 'Full Disk Access' from " "the 'Security & Privacy' tab of System Preferences."

How to fix this issue of entitlement?

I am using EPS framework and I was trying to run code without the apple entitlement (as it is not sanctioned by apple until now) locally by disabling the SIP but I am still encountering the error for entitlement. How shall fix this?

error occurred mentioned below!

Info From StdString:
BundleIdStdStr:
[]
pathStdStr:[/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent]
displayNameStdStr:
[]
2022-06-16 14:55:10.409 EPS[11189:716451] ERROR: "Application requires 'com.apple.developer.endpoint-security.client'
entitlement"

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.