{"id":7720,"date":"2023-02-07T14:25:40","date_gmt":"2023-02-07T13:25:40","guid":{"rendered":"https:\/\/www.iprog.it\/blog\/?p=7720"},"modified":"2023-02-07T14:27:41","modified_gmt":"2023-02-07T13:27:41","slug":"hooking-an-ios-app-with-theos","status":"publish","type":"post","link":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/","title":{"rendered":"Hooking an iOS app with  Theos"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"225\" height=\"225\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png\" alt=\"\" class=\"wp-image-7721\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png 225w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download-176x176.png 176w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download-60x60.png 60w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download-150x150.png 150w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><figcaption>In this blog, I&#8217;ll show how to hook an iOS app with Theos. But what is Theos?<br>Theos was initially &#8216;iphone-framework\u2019, a project created to simplify building code at the command line, primarily for jailbroken iOS devices. It later underwent significant changes and became Theos, a flexible\u00a0<a href=\"https:\/\/www.gnu.org\/software\/make\/\">Make<\/a>-based build system targeting jailbreak software development, but also with complete support for building for various other platforms. Theos runs on, and can build projects for, macOS, iOS, Linux, and Windows.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Installation on Jailbroken device<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first step is to connect to the jb device via ssh after that execute the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>mkdir \/opt<\/li><li>export THEOS=\/opt\/theos<\/li><li><code>git clone --recursive https:\/\/github.com\/theos\/theos.git $THEOS<\/code><\/li><li>Download an <a href=\"https:\/\/resources.airnativeextensions.com\/ios\/\">SDK<\/a> for your device and place it inside \/opt\/theos\/sdks\u00a0<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Hook an iOS app with Theos<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This demo will show how to bypass the jailbreak detection mechanism in an Objective-C application.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First thing <a href=\"https:\/\/drive.google.com\/file\/d\/1FvIkdznQ3SBZ7jnehN1E9TLd8AzAGTvp\/view?usp=share_link\">download<\/a> and install the app on the jailbroken device. after that, You need to create a Tweak<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>perl \/opt\/theos\/bin\/nic.pl<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.10.38.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"412\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.10.38.png\" alt=\"\" class=\"wp-image-7725\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.10.38.png 422w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.10.38-300x293.png 300w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.10.38-60x60.png 60w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Choose a Template (required): 17<\/li><li>Project Name (required): JbBypass<\/li><li>Package Name [com.yourcompany.jbbypass]:  blank<\/li><li>Author\/Maintainer Name [System Administrator]: blank<\/li><li>MobileSubstrate Bundle filter [com.apple.springboard]: com.diego.certif.aaaa (Insert the bundle id of the app you wish to hook here)<\/li><li>List of applications to terminate upon installation (space-separated, &#8216;-&#8216; for none) [SpringBoard]: blank<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"821\" height=\"157\" data-id=\"7726\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06.png\" alt=\"\" class=\"wp-image-7726\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06.png 821w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06-620x119.png 620w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06-300x57.png 300w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06-768x147.png 768w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.18.06-624x119.png 624w\" sizes=\"auto, (max-width: 821px) 100vw, 821px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, we can implement the Tweak.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>cd jbbypass\/<\/li><li>nano Makefile<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ARCHS = armv7 arm64\nTHEOS_DEVICE_IP=192.168.5.116\nTARGET := iphone:clang:latest:10.0\nINSTALL_TARGET_PROCESSES = SpringBoard\ninclude $(THEOS)\/makefiles\/common.mk\nTWEAK_NAME = JbBypass\nJbBypass_FILES = Tweak.x\nJbBypass_CFLAGS = -fobjc-arc\ninclude $(THEOS_MAKE_PATH)\/tweak.mk\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Our goal is to modify isJailbroken&#8217;s behavior<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">nano Tweak.x<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>%hook ViewController \n- (BOOL)isJailbroken { \n    return NO; \n} \n%end <\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><code><strong>%hook<\/strong><\/code>\u2014Opens a hook block and allows you to hook a given class.<\/li><li><code><strong>%ctor<\/strong><\/code>\u2014Injects a new constructor into the application.<\/li><li><code><strong>%orig<\/strong><\/code>\u2014Calls the original implementation of a hooked function.<\/li><li><code><strong>%log<\/strong><\/code>\u2014Writes details of a method and its arguments to the system log.<\/li><li><code><strong>%end<\/strong><\/code>\u2014Used to close a&nbsp;<code>%hook<\/code>&nbsp;block.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.25.25.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"373\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.25.25.png\" alt=\"\" class=\"wp-image-7728\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.25.25.png 392w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.25.25-300x285.png 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/a><figcaption>The final step is to compile and install the tweak<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>make package install<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"399\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-940x399.png\" alt=\"\" class=\"wp-image-7729\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-940x399.png 940w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-620x263.png 620w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-300x127.png 300w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-768x326.png 768w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09-624x265.png 624w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.28.09.png 982w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As long as everything goes well, we can bypass the jailbreak detection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.32.00.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"115\" data-id=\"7731\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.32.00.png\" alt=\"\" class=\"wp-image-7731\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.32.00.png 332w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-11.32.00-300x104.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Demo 2<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In this demo, I&#8217;ll show how to bypass the jailbreak detection mechanism in a Swift application. <a href=\"https:\/\/drive.google.com\/file\/d\/1hou5iS8mrdXUuWdXJMXyjGppayV2x3W0\/view?usp=share_link\">Download<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> Choose a Template (required): 17<\/li><li>Project Name (required): swiftjb<\/li><li>Package Name [com.yourcompany.swiftjb]:<\/li><li>Author\/Maintainer Name [System Administrator]:<\/li><li>List of applications to terminate upon installation (space-separated, &#8216;-&#8216; for none)[SpringBoard]:<br><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42.png\" rel=\"lightbox[7720]\"><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"160\" src=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42.png\" alt=\"\" class=\"wp-image-7733\" srcset=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42.png 887w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42-620x112.png 620w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42-300x54.png 300w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42-768x139.png 768w, https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-07-at-13.04.42-624x113.png 624w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>cd swiftjb<\/li><li>nano Makefile<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ARCHS = armv7 arm64\nTHEOS_DEVICE_IP=192.168.5.116\nTARGET := iphone:clang:latest:10.0\nINSTALL_TARGET_PROCESSES = SpringBoard\ninclude $(THEOS)\/makefiles\/common.mk\nTWEAK_NAME = swiftjb\nswiftjb_FILES = Tweak.x\nswiftjb_CFLAGS = -fobjc-arc\ninclude $(THEOS_MAKE_PATH)\/tweak.mk\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">nano Tweak.x<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;substrate.h>\n#import &lt;Foundation\/Foundation.h>\n\n%hook ViewController\n\nstatic Boolean (*orig_VC_JB)(void)=NULL;\nBoolean hook_ViewController_isJailBroken() {\n\treturn false;\n}\n%end\n\n%ctor{\n\t%init(ViewController = objc_getClass(\"JBDetection.ViewController\"));\n\tMSHookFunction(MSFindSymbol(NULL,\"_$s11JBDetection14ViewControllerC12isJailbrokenSbyF\"), \n\t(void*)hook_ViewController_isJailBroken,\n\t(void**)orig_VC_JB);\n}\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>make package install<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As long as everything goes well, we can bypass the jailbreak detection. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installation on Jailbroken device The first step is to connect to the jb device via ssh after that execute the following commands: mkdir \/opt export THEOS=\/opt\/theos git clone &#8211;recursive https:\/\/github.com\/theos\/theos.git $THEOS Download an SDK for your device and place it inside \/opt\/theos\/sdks\u00a0 Hook an iOS app with Theos This demo&#8230; <a href=\"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":7721,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2259],"tags":[2371,2507,2508,2467],"class_list":["post-7720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sicurezza-informatica","tag-ethical-hacking","tag-frida","tag-mobile-application-security","tag-penetration-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hooking an iOS app with Theos - iProg<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Hooking an iOS app with Theos - iProg\" \/>\n<meta name=\"twitter:description\" content=\"Installation on Jailbroken device The first step is to connect to the jb device via ssh after that execute the following commands: mkdir \/opt export THEOS=\/opt\/theos git clone --recursive https:\/\/github.com\/theos\/theos.git $THEOS Download an SDK for your device and place it inside \/opt\/theos\/sdks\u00a0 Hook an iOS app with Theos This demo... Read more &raquo;\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png\" \/>\n<meta name=\"twitter:creator\" content=\"@flexkid1\" \/>\n<meta name=\"twitter:site\" content=\"@iprogblog\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"Diego\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/\"},\"author\":{\"name\":\"Diego\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/#\\\/schema\\\/person\\\/048c8acb70f8a33f1498675ab9db41a3\"},\"headline\":\"Hooking an iOS app with Theos\",\"datePublished\":\"2023-02-07T13:25:40+00:00\",\"dateModified\":\"2023-02-07T13:27:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/\"},\"wordCount\":392,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/download.png\",\"keywords\":[\"Ethical hacking\",\"Frida\",\"mobile application security\",\"penetration testing\"],\"articleSection\":[\"Sicurezza Informatica\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/\",\"url\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/\",\"name\":\"Hooking an iOS app with Theos - iProg\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/download.png\",\"datePublished\":\"2023-02-07T13:25:40+00:00\",\"dateModified\":\"2023-02-07T13:27:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/#\\\/schema\\\/person\\\/048c8acb70f8a33f1498675ab9db41a3\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/sicurezza-informatica\\\/hooking-an-ios-app-with-theos\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/download.png\",\"contentUrl\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/download.png\",\"width\":225,\"height\":225},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/\",\"name\":\"iProg\",\"description\":\"perch\u00e9 reinventare la ruota?\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/#\\\/schema\\\/person\\\/048c8acb70f8a33f1498675ab9db41a3\",\"name\":\"Diego\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g\",\"caption\":\"Diego\"},\"description\":\"Google+\",\"sameAs\":[\"http:\\\/\\\/it.linkedin.com\\\/in\\\/diegocaridei\\\/\",\"https:\\\/\\\/x.com\\\/flexkid1\",\"http:\\\/\\\/www.youtube.com\\\/channel\\\/UCjQ2z1ygV9tv55QAc2q3JHA\"],\"url\":\"https:\\\/\\\/www.iprog.it\\\/blog\\\/author\\\/flexkid\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hooking an iOS app with Theos - iProg","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/","twitter_card":"summary_large_image","twitter_title":"Hooking an iOS app with Theos - iProg","twitter_description":"Installation on Jailbroken device The first step is to connect to the jb device via ssh after that execute the following commands: mkdir \/opt export THEOS=\/opt\/theos git clone --recursive https:\/\/github.com\/theos\/theos.git $THEOS Download an SDK for your device and place it inside \/opt\/theos\/sdks\u00a0 Hook an iOS app with Theos This demo... Read more &raquo;","twitter_image":"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png","twitter_creator":"@flexkid1","twitter_site":"@iprogblog","twitter_misc":{"Scritto da":"Diego","Tempo di lettura stimato":"4 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#article","isPartOf":{"@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/"},"author":{"name":"Diego","@id":"https:\/\/www.iprog.it\/blog\/#\/schema\/person\/048c8acb70f8a33f1498675ab9db41a3"},"headline":"Hooking an iOS app with Theos","datePublished":"2023-02-07T13:25:40+00:00","dateModified":"2023-02-07T13:27:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/"},"wordCount":392,"commentCount":0,"image":{"@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png","keywords":["Ethical hacking","Frida","mobile application security","penetration testing"],"articleSection":["Sicurezza Informatica"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/","url":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/","name":"Hooking an iOS app with Theos - iProg","isPartOf":{"@id":"https:\/\/www.iprog.it\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#primaryimage"},"image":{"@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png","datePublished":"2023-02-07T13:25:40+00:00","dateModified":"2023-02-07T13:27:41+00:00","author":{"@id":"https:\/\/www.iprog.it\/blog\/#\/schema\/person\/048c8acb70f8a33f1498675ab9db41a3"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.iprog.it\/blog\/sicurezza-informatica\/hooking-an-ios-app-with-theos\/#primaryimage","url":"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png","contentUrl":"https:\/\/www.iprog.it\/blog\/wp-content\/uploads\/2023\/02\/download.png","width":225,"height":225},{"@type":"WebSite","@id":"https:\/\/www.iprog.it\/blog\/#website","url":"https:\/\/www.iprog.it\/blog\/","name":"iProg","description":"perch\u00e9 reinventare la ruota?","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.iprog.it\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/www.iprog.it\/blog\/#\/schema\/person\/048c8acb70f8a33f1498675ab9db41a3","name":"Diego","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bf8084effa4627f8e50af0d50d06b0677e4a9de5e895e347c0590ad5696fdfc9?s=96&r=g","caption":"Diego"},"description":"Google+","sameAs":["http:\/\/it.linkedin.com\/in\/diegocaridei\/","https:\/\/x.com\/flexkid1","http:\/\/www.youtube.com\/channel\/UCjQ2z1ygV9tv55QAc2q3JHA"],"url":"https:\/\/www.iprog.it\/blog\/author\/flexkid\/"}]}},"views":5401,"_links":{"self":[{"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/posts\/7720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/comments?post=7720"}],"version-history":[{"count":6,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/posts\/7720\/revisions"}],"predecessor-version":[{"id":7734,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/posts\/7720\/revisions\/7734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/media\/7721"}],"wp:attachment":[{"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/media?parent=7720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/categories?post=7720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iprog.it\/blog\/wp-json\/wp\/v2\/tags?post=7720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}