MASTG-DEMO-0036: Debuggable Entitlement Enabled in the entitlements.plist with rabin2
Download MASTG-DEMO-0036 IPA Open MASTG-DEMO-0036 Folder Build MASTG-DEMO-0036 IPA
Sample¶
The sample code includes the entitlements.plist file with the `get-task-allow' entitlement, which makes the app debuggable.
entitlements.plist | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Steps¶
- Unzip the app package and locate the main binary file ( Exploring the App Package), which in this case is
./Payload/MASTestApp.app/MASTestApp
. - Run rabin2 with the
-OC
options to obtain the entitlements file.
run.sh | |
---|---|
1 |
|
Observation¶
The output reveals the value of the get-task-allow
entitlement.
output.asm | |
---|---|
1 2 |
|
Evaluation¶
The test fails because the app is debuggable due to the get-task-allow
entitlement being present and set to true
.