奶奶的姐姐叫什么| 高枕无忧是什么意思| 左肾钙乳症是什么病| 乙肝1245阳性什么意思| 长脸型适合什么样的发型| 血液粘稠会有什么症状| 儿白是什么意思| 飞蚊症用什么滴眼液| 碳水是什么意思| 复姓什么意思| 女人肾虚是什么原因| iu什么意思| 切勿是什么意思| 阿西是什么意思| 227什么意思| yp是什么意思| 一日之计在于晨是什么生肖| 儿化音是什么意思| 洋葱不能跟什么一起吃| 事急从权是什么意思| 鸡吃什么食物| 五十是什么之年| 为什么放屁| 肺部有阴影一般是什么病| 老是肚子疼是什么原因| 抗核抗体是什么| 什么的朝霞| 吃什么补气虚| 冬天手脚冰凉是什么原因怎么调理| 白质脱髓鞘是什么病| 卫冕冠军是什么意思| 慢性盆腔炎吃什么药效果好| 什么转自如| 幽门螺旋杆菌弱阳性是什么意思| 晚上8点到9点是什么时辰| 峻字五行属什么| 甲状腺去医院挂什么科| 性病是什么| 大肠炒什么菜好吃| 哔哩哔哩是什么| spandex是什么面料| 谋划是什么意思| 怀孕两周有什么症状| 修复子宫内膜吃什么药| 狗和什么属相最配| 地贫是什么病| 什么是二氧化碳| 34周为什么不建议保胎| 什么日什么秋| 凝固是什么意思| 三头六臂开过什么生肖| 什么的哭| 随诊什么意思| 尿多是什么回事| 什么外之什么| 沉鱼落雁什么意思| 肺结节有什么症状| 母乳是什么颜色| 做脑电图挂什么科| 芒果不能和什么食物一起吃| 366红包代表什么意思| 湘字五行属什么的| 六月二十八是什么日子| 活化部分凝血活酶时间偏高是什么意思| 骨关节炎是什么原因引起的| g1是什么意思| 下海是什么意思| 小孩晚上磨牙是什么原因引起的| 右乳导管扩张什么意思| 不想说话是什么原因| 十月初一是什么节| 昕五行属什么| ahc是什么牌子| 鹦鹉为什么会学人说话| lemon是什么意思| 一个三点水一个除念什么| 审阅是什么意思| 产复欣颗粒什么时候吃| 什么牌子的空调好用又省电| 锋芒的意思是什么| 乙肝135阳性是什么意思| 生理期可以吃什么| 郑州有什么好玩的| 一个立一个羽读什么| 房奴什么意思| 味精吃多了有什么危害| 英短蓝猫吃什么猫粮好| 耳轮有痣代表什么| 7.17什么星座| 吃杨梅有什么好处和功效| 相亲为什么不能拖太久| 肌肉溶解是什么意思| 老实忠厚是什么生肖| 忌什么意思| 喉咙疼是什么原因| 耳后长痣代表什么意思| 什么是功能性消化不良| 粘胶是什么面料| got什么意思| 不全纵隔子宫是什么意思| 送钱包的寓意是什么| 黑胡椒和白胡椒有什么区别| 棋字五行属什么| 轻度脑梗吃什么药最好| cos是什么| 手掌发热是什么原因| 胎停会有什么症状| 惊讶表情是什么意思| 吃什么最补肾| 牙龈发紫是什么原因| 缀化是什么意思| 黄连水有什么作用与功效| 讽刺是什么意思| 单侧耳鸣是什么原因引起的| 胎心快是什么原因| 白噪音什么意思| 小姑子是什么关系| 三尖瓣关闭不全是什么意思| 病毒性肺炎吃什么药| 肺炎衣原体和支原体有什么区别| 子五行属什么| 三月三是什么星座| 猫怕什么气味| 舌头白腻厚苔是什么原因| 吃什么补维生素D效果最好| 无为而治什么意思| 荨麻疹吃什么中药| 洋溢着什么样的笑容| 子宫附件彩超检查什么| 肝功能谷丙转氨酶偏高是什么原因| 碱性体质的人有什么特征| 子宫切除后要注意什么| 恪尽职守是什么意思| 柯字五行属什么| 什么其谈| 什么原因导致打嗝| 螳螂捕蝉黄雀在后是什么意思| 5月8日是什么星座| 外周动脉僵硬度增高什么意思| 利而不害为而不争是什么意思| 什么水果榨汁好喝| 老人过生日送什么礼物好| 湿热体质适合喝什么茶| 二大爷是什么意思| 腋毛什么时候开始生长| 粉碎性骨折吃什么好| 睡觉咳嗽是什么原因| 外冷内热是什么症状| 乳头痛是什么征兆| 春风得意是什么生肖| 沉鱼落雁闭月羞花什么意思| 甘肃天水有什么好玩的地方| 过什么不什么| ex是什么意思| 耳膜炎是什么症状| 口苦挂什么科最好| 药品经营与管理学什么| 恢复伤口吃什么好得快| 护士长是什么级别| 1972年五行属什么| 六味地黄丸是治什么的| 荸荠的读音是什么| 58岁属什么生肖| 外公是什么关系| 一直打喷嚏是什么原因| 玉米什么时候种| 眼角痛什么原因| g6pd是检查什么的| 为什么耳朵总是嗡嗡响| 舌头尖有小红点这是什么症状| 迪士尼狗狗叫什么名字| 拉肚子可以吃什么菜| 无什么为什么| 苏打水为什么是甜的| 盐水是什么| 黄瓜炒什么| bp什么意思| 月的偏旁有什么字| 脚底干燥是什么原因| 成人打虫吃什么药| 胃下垂有什么症状表现| 0元购是什么意思| 手背麻木是什么原因| 层出不穷是什么意思| 34周为什么不建议保胎| 薛之谦为什么离婚| 心悸吃什么药效果好| 奕五行属性是什么| 天乙是什么意思| 小强是什么意思| 月经期头疼是什么原因| 蝙蝠怕什么| 世界上最坚硬的东西是什么| 什么是横纹肌溶解| 俄罗斯乌克兰为什么打仗| 眼压高是什么原因| 检查有没有怀孕挂什么科| chino是什么意思| 水烧开后有白色沉淀物是什么| 悦己是什么意思| 妇科炎症吃什么药最好| 农历六月初十是什么日子| 什么是沙眼| 中风吃什么药好| 垂体瘤是什么病| 墨水用什么能洗掉| 疼和痛有什么区别| 夏天什么花会开| 牙疼吃什么药最好最有效| 小三阳是什么病| 外阴裂口什么原因| 射精出血吃什么药最好| 狗为什么不能吃洋葱| 什么是海啸| 木鱼花是什么| 乔丹是什么品牌| 遭罪什么意思| 胃胀不消化吃什么药好| 什么是崩漏| 间隙是什么意思| 健康证挂什么科| 得罪是什么意思| 解解乏是什么意思| 感冒咳嗽吃什么药| 拉比是什么意思| 红沙日是什么意思| 交可以组什么词| 做梦梦见打架是什么意思| otc代表什么| 柏字五行属什么| 生酮是什么| 12月23是什么星座| leysen是什么牌子| 代孕什么意思| 扁桃体肿大是什么原因引起的| 一什么眼镜| 鸭子是什么职业| 女性尿血是什么原因引起的| society是什么意思| 电母是什么意思| 血管瘤是什么样子的图| 女生什么时候绝经| 孕妇上火什么降火最快| 梦见摘桃子是什么意思| 北京大学校长是什么级别| 胃窦炎是什么原因引起的| 男人跑马是什么原因| 农垦局是什么性质单位| 执子之手与子偕老什么意思| 焘是什么意思| 9五行属什么| 三伏天吃什么水果好| 小腿浮肿是什么原因女性| 宫颈糜烂是什么原因引起的| 宣肺是什么意思| 一鸣惊人指什么生肖| 1月7号是什么星座| 金卡有什么好处和坏处| 办护照需要什么资料| 肺结核早期有什么症状| 高血压变成低血压是什么原因| 壮阳吃什么药| 羽毛球鞋什么牌子好| 看心理医生挂什么科| 百度
Skip to content

Jailed iOS app that can install IPAs permanently with arbitary entitlements and root helpers because it trolls Apple

License

Notifications You must be signed in to change notification settings

opa334/TrollStore

Repository files navigation

TrollStore

TrollStore is a permasigned jailed app that can permanently install any IPA you open in it.

It works because of an AMFI/CoreTrust bug where iOS does not correctly verify code signatures of binaries in which there are multiple signers.

Supported versions: 14.0 beta 2 - 16.6.1, 16.7 RC (20H18), 17.0

Installing TrollStore

For installing TrollStore, refer to the guides at ios.cfw.guide

16.7.x (excluding 16.7 RC) and 17.0.1+ will NEVER be supported (unless a third CoreTrust bug is discovered, which is unlikely).

Updating TrollStore

When a new TrollStore update is available, a button to install it will appear at the top in the TrollStore settings. After tapping the button, TrollStore will automatically download the update, install it, and respring.

Alternatively (if anything goes wrong), you can download the TrollStore.tar file under Releases and open it in TrollStore, TrollStore will install the update and respring.

Uninstalling an app

Apps installed from TrollStore can only be uninstalled from TrollStore itself, tap an app or swipe it to the left in the 'Apps' tab to delete it.

Persistence Helper

The CoreTrust bug used in TrollStore is only enough to install "System" apps, this is because FrontBoard has an additional security check (it calls libmis) every time before a user app is launched. Unfortunately it is not possible to install new "System" apps that stay through an icon cache reload. Therefore, when iOS reloads the icon cache, all TrollStore installed apps including TrollStore itself will revert back to "User" state and will no longer launch.

The only way to work around this is to install a persistence helper into a system app, this helper can then be used to reregister TrollStore and its installed apps as "System" so that they become launchable again, an option for this is available in TrollStore settings.

On jailbroken iOS 14 when TrollHelper is used for installation, it is located in /Applications and will persist as a "System" app through icon cache reloads, therefore TrollHelper is used as the persistence helper on iOS 14.

URL Scheme

As of version 1.3, TrollStore replaces the system URL scheme "apple-magnifier" (this is done so "jailbreak" detections can't detect TrollStore like they could if TrollStore had a unique URL scheme). This URL scheme can be used to install applications right from the browser, or to enable JIT from the app itself (only 2.0.12 and above), the format goes as follows:

  • apple-magnifier://install?url=<URL_to_IPA>
  • apple-magnifier://enable-jit?bundle-id=<Bundle_ID>

On devices that don't have TrollStore (1.3+) installed, this will just open the magnifier app.

Features

The binaries inside an IPA can have arbitrary entitlements, fakesign them with ldid and the entitlements you want (ldid -S<path/to/entitlements.plist> <path/to/binary>) and TrollStore will preserve the entitlements when resigning them with the fake root certificate on installation. This gives you a lot of possibilities, some of which are explained below.

Banned entitlements

iOS 15 on A12+ has banned the following three entitlements related to running unsigned code, these are impossible to get without a PPL bypass, apps signed with them will crash on launch.

com.apple.private.cs.debugger

dynamic-codesigning

com.apple.private.skip-library-validation

Unsandboxing

Your app can run unsandboxed using one of the following entitlements:

<key>com.apple.private.security.container-required</key>
<false/>
<key>com.apple.private.security.no-container</key>
<true/>
<key>com.apple.private.security.no-sandbox</key>
<true/>

The third one is recommended if you still want a sandbox container for your application.

You might also need the platform-application entitlement in order for these to work properly:

<key>platform-application</key>
<true/>

Please note that the platform-application entitlement causes side effects such as some parts of the sandbox becoming tighter, so you may need additional private entitlements to circumvent that. (For example afterwards you need an exception entitlement for every single IOKit user client class you want to access).

In order for an app with com.apple.private.security.no-sandbox and platform-application to be able to access it's own data container, you might need the additional entitlement:

<key>com.apple.private.security.storage.AppDataContainers</key>
<true/>

Root Helpers

When your app is not sandboxed, you can spawn other binaries using posix_spawn, you can also spawn binaries as root with the following entitlement:

<key>com.apple.private.persona-mgmt</key>
<true/>

You can also add your own binaries into your app bundle.

Afterwards you can use the spawnRoot function in TSUtil.m to spawn the binary as root.

Things that are not possible using TrollStore

  • Getting proper platformization (TF_PLATFORM / CS_PLATFORMIZED)
  • Spawning a launch daemon (Would need CS_PLATFORMIZED)
  • Injecting a tweak into a system process (Would need TF_PLATFORM, a userland PAC bypass and a PMAP trust level bypass)

Compilation

To compile TrollStore, ensure theos is installed. Additionaly ensure brew is installed and install libarchive from brew.

Credits and Further Reading

@alfiecg_dev - Found the CoreTrust bug that allows TrollStore to work through patchdiffing and worked on automating the bypass.

Google Threat Analysis Group - Found the CoreTrust bug as part of an in-the-wild spyware chain and reported it to Apple.

@LinusHenze - Found the installd bypass used to install TrollStore on iOS 14-15.6.1 via TrollHelperOTA, as well as the original CoreTrust bug used in TrollStore 1.0.

Fugu15 Presentation

Write-Up on the first CoreTrust bug with more information.

About

Jailed iOS app that can install IPAs permanently with arbitary entitlements and root helpers because it trolls Apple

Resources

License

Stars

Watchers

Forks

Packages

No packages published
六味地黄丸什么牌子的好 足赤是什么意思 男人吃什么壮阳最快 垚字是什么意思 云为什么不会掉下来
有什么组词 前列腺炎吃什么药 距离产生美是什么意思 最长的河流是什么河 生物科学是什么专业
急性胃肠炎用什么抗生素 梅花三弄的三弄指什么 什么酒不能喝打一生肖 梦见和女儿吵架是什么意思 维生素b吃什么
李嘉诚是什么国籍 陶渊明是什么朝代的 减脂晚餐吃什么 8个月宝宝吃什么辅食好 吃什么容易流产
疱疹长什么样hcv7jop6ns7r.cn 降钙素原检测是查什么的hcv8jop9ns2r.cn 苋菜什么人不能吃hcv8jop7ns9r.cn 拉稀肚子疼是什么原因hcv8jop4ns3r.cn 养胃喝什么茶好hcv8jop0ns2r.cn
二字五行属什么hcv9jop3ns3r.cn 三个全念什么hcv7jop9ns2r.cn 抗角蛋白抗体阳性是什么意思hcv9jop1ns6r.cn 天蝎座喜欢什么样的女生fenrenren.com 油性皮肤适合用什么牌子的护肤品hcv7jop9ns1r.cn
木糖醇是什么东西hcv8jop9ns0r.cn 遗留是什么意思hcv7jop6ns9r.cn 化妆的步骤是什么顺序clwhiglsz.com 眉目的比喻义是什么hcv8jop3ns2r.cn 10.22是什么星座zhongyiyatai.com
fu是什么hcv7jop9ns3r.cn 神经大条是什么意思hcv7jop9ns9r.cn 810是什么意思hcv8jop0ns3r.cn 脂蛋白高是什么原因hcv8jop7ns9r.cn rsa是什么意思hcv7jop4ns8r.cn
百度