<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ios on ryantzj</title><link>https://www.ryantzj.com/tags/ios/</link><description>Recent content in ios on ryantzj</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 29 Sep 2017 00:00:00 +0800</lastBuildDate><atom:link href="https://www.ryantzj.com/tags/ios/index.xml" rel="self" type="application/rss+xml"/><item><title>Introduction to Dynamic instrumentation in Mobile Security</title><link>https://www.ryantzj.com/posts/dynamic-instrumentation-mobile-security/</link><pubDate>Fri, 29 Sep 2017 00:00:00 +0800</pubDate><guid>https://www.ryantzj.com/posts/dynamic-instrumentation-mobile-security/</guid><description>&lt;p>This is a follow-up blog post after my presentation at Nanyang Technological University’s CSEC Offensive Cyber Security Club, run by a group of highly motivated individuals. Please check out their &lt;a href="https://0x0ffff5ec.github.io">page&lt;/a> to find out when the next security meetup is.&lt;/p>
&lt;h2 id="motivation">Motivation&lt;/h2>
&lt;p>I find myself spending more and more time doing dynamic instrumentation and decided to collect some interesting technique I found while doing dynamic instrumentation in mobile security. My motivation of doing it is to:&lt;/p></description></item><item><title>Cracking OWASP MSTG iOS Crackme - The Uncrackable</title><link>https://www.ryantzj.com/posts/owasp-mstg-ios-crackme/</link><pubDate>Sun, 23 Apr 2017 00:00:00 +0800</pubDate><guid>https://www.ryantzj.com/posts/owasp-mstg-ios-crackme/</guid><description>&lt;p>My fellow colleague &lt;a href="https://twitter.com/muellerberndt">Bernhard&lt;/a> developed two iOS Crackme and here is the writeup.&lt;/p>
&lt;h2 id="uncrackable-level-1">Uncrackable Level 1&lt;/h2>
&lt;p>From the main view, it hints that the flag can be found in the hidden label.&lt;/p>
&lt;p>Well, if that is not a red herring like every crackme challenge, let’s try to unhide the hidden label using Cycript. Let’s print the view hierarchy and locate the address for the hidden label.&lt;/p>
&lt;p>The command &lt;code>[[UIApp keyWindow] recursiveDescription].toString()&lt;/code> returns the view hierarchy of keyWindow. The description of every subview and sub-subview of keyWindow will be shown, and the indentation space reflects the relationships of each view. For example, UILabel, UITextField, and UIButton are subviews of UIView.&lt;/p></description></item></channel></rss>