<?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 irq5 test</title><link>https://irq5-7854a1fdb9f4.pages.dev/tag/ios/</link><description>Recent content in iOS on irq5 test</description><language>en-us</language><lastBuildDate>Tue, 07 Mar 2017 01:00:00 +0000</lastBuildDate><atom:link href="https://irq5-7854a1fdb9f4.pages.dev/tag/ios/feed/" rel="self" type="application/rss+xml"/><item><title>Cracking iTunes Backup Passwords with Hashcat</title><link>https://irq5-7854a1fdb9f4.pages.dev/2017/03/cracking-itunes-backup-passwords-with-hashcat/</link><pubDate>Tue, 07 Mar 2017 01:00:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2017/03/cracking-itunes-backup-passwords-with-hashcat/</guid><description>&lt;p>Following the recent &lt;a href=https://hashcat.net/forum/thread-6225.html rel=noopener target=_blank class=external>announcement of LUKS support in hashcat&lt;/a>,
I noticed that there have been
&lt;a href=https://github.com/hashcat/hashcat/commit/9327475b41d4ac1dde40ba0ef1a9ef097f2b7216 rel=noopener target=_blank class=external>some&lt;/a>
&lt;a href=https://github.com/hashcat/hashcat/commit/07c89833c922bd4980f9bee489fc0d73725380de rel=noopener target=_blank class=external>commits&lt;/a>
to support iTunes Backup passwords as well.&lt;/p>&lt;p>[tweet https://twitter.com/hashcat/status/824713111118684160]&lt;/p>&lt;p>This is only useful if the backup was encrypted by setting a backup password on the iOS device.
If the backup is not encrypted then all the files are in clear and there is nothing to bruteforce.&lt;/p>&lt;p>&lt;strong>The keys used to encrypt the backup are stored in the &lt;em>BackupKeyBag&lt;/em>&lt;/strong>,
which can be found in the &lt;code>Manifest.plist&lt;/code> file.
This keybag is a binary blob, the format of which has already been &lt;a href=http://esec-lab.sogeti.com/static/publications/11-hitbamsterdam-iphonedataprotection.pdf rel=noopener target=_blank class=external>documented by researchers&lt;/a> from Sogeti ESEC Lab.&lt;/p>&lt;p>I have &lt;a href=https://gist.github.com/geekman/0aaa9e4659977a98fc9f36d6887fef37 rel=noopener target=_blank class=external>written a simplified script&lt;/a>
which dumps the &lt;code>BackupKeyBag&lt;/code>.
You will need the Python bindings from
&lt;a href=https://github.com/libimobiledevice/libplist rel=noopener target=_blank class=external>libplist&lt;/a> for the script to work.
If you cannot get it to work, you can try the
&lt;a href=https://github.com/philsmd/itunes_backup2hashcat rel=noopener target=_blank class=external>Perl script from philsmd&lt;/a> instead.&lt;/p>&lt;h1 id=speeding-up-ios-backups>Speeding up iOS Backups&lt;/h1>&lt;p>iOS device backups usually take a while,
depending on how much storage has been used on your device.&lt;/p>&lt;p>The iOS backup process is driven by the device itself, through the &lt;code>BackupAgent&lt;/code> process.
This process treats the host PC like a dumb disk store, by sending it commands&lt;br>like &lt;code>DLMessageCreateDirectory&lt;/code>, &lt;code>DLMessageUploadFiles&lt;/code>, &lt;code>DLMessageRemoveFiles&lt;/code>,
&lt;code>DLMessageGetFreeDiskSpace&lt;/code>, etc. so that it can determine what has been backed up previously
and what to send/update for incremental backups.&lt;/p>&lt;p>&lt;strong>For password cracking, we don&amp;rsquo;t need the entire 64 GB
(or God forbid, 128 GB) of data on the iOS device.&lt;/strong>
We just need the &lt;code>Manifest.plist&lt;/code>, which is typically less than 50 KB.
But because the backup process is controlled by the device and not the PC,
we can&amp;rsquo;t simply ask it to send over that single file.
Sometimes when we setup a VM with
libimobiledevice, we might also not have allocated such a large virtual disk.
Of course when I say &amp;ldquo;we&amp;rdquo;, I really mean &amp;ldquo;I&amp;rdquo;.&lt;/p>&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2017/03/cracking-itunes-backup-passwords-with-hashcat/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Enable iOS 5 Multitasking Gestures on iPad 1</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/10/enable-ios-5-multitasking-gestures-on-ipad-1/</link><pubDate>Sun, 16 Oct 2011 22:29:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/10/enable-ios-5-multitasking-gestures-on-ipad-1/</guid><description>Now that iOS 5 has been released, it&amp;rsquo;s easy to enable multitasking gestures on the iPad 1, using the same trick as before for display mirroring.
Edit the /System/Library/CoreServices/Springboard.app/K48AP.plist file and add a boolean key multitasking-gestures in the capabilities dict, and set its value to true. You can add both display mirroring and multitasking gestures to the iPad 1 using this method.
That&amp;rsquo;s it!
Alternatively you can use Cydia or redsn0w to do this for you.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/10/enable-ios-5-multitasking-gestures-on-ipad-1/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Python bindings for iTunesMobileDevice.dll</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/09/python-bindings-for-itunesmobiledevice.dll/</link><pubDate>Mon, 12 Sep 2011 01:24:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/09/python-bindings-for-itunesmobiledevice.dll/</guid><description>Oddly enough I can&amp;rsquo;t seem to find a Python wrapper for iTunesMobileDevice.dll. I did manage to find a C# equivalent called Manzana though, which is quite widely used.
Anyhow, I bit the bullet and read through the ctypes documentation and wrote AMDevice.py which exposes some simple classes to handle connecting to an iPhone. I only implemented the minimal set of functions required to download and upload files to the iPhone, as I wrote this primarily for my iPhone SMS import script.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/09/python-bindings-for-itunesmobiledevice.dll/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Stop iPhone Backup Encryption</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/08/stop-iphone-backup-encryption/</link><pubDate>Mon, 22 Aug 2011 12:45:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/08/stop-iphone-backup-encryption/</guid><description>Before the days when you could easily opt to use a &amp;ldquo;complex&amp;rdquo; passcode from the iPhone Settings, you had to manually use the iPhone Configuration Utility (iPCU). When I created a profile to use a complex passcode, I inadvertently forced my iPhone backups to be encrypted and now that the &amp;ldquo;Encrypt iPhone backup&amp;rdquo; checkbox is grayed out, I can&amp;rsquo;t stop encrypting my backups.
But after I jailbroke my phone (because the baseband died), I had the option of mucking around with the system files to see if it could be undone.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/08/stop-iphone-backup-encryption/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Importing SMSes into the iPhone</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/06/importing-smses-into-the-iphone/</link><pubDate>Sat, 18 Jun 2011 17:15:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/06/importing-smses-into-the-iphone/</guid><description>Since my iPhone 3GS died, I have been using my dad&amp;rsquo;s Samsung Jet as a temporary replacement phone. I really can&amp;rsquo;t stand the resistive touch screen - tapping backspace will at times hit the T9 button when I&amp;rsquo;m composing an SMS. Also, I miss the display of SMSes as a conversation with both sent and received messages in a single place.
I obsess over keeping chat history, so naturally I want to find a way to preserve these messages on the phone.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/06/importing-smses-into-the-iphone/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>5 iOS Features I'd Love</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/06/5-ios-features-id-love/</link><pubDate>Tue, 07 Jun 2011 23:18:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/06/5-ios-features-id-love/</guid><description>WWDC 2011 kicked off yesterday with Steve Jobs taking the stage as usual. Sadly, there wasn&amp;rsquo;t a new iPhone announced (because I&amp;rsquo;m waiting to replace mine). Nevertheless, I&amp;rsquo;m still looking forward to iOS 5. Here&amp;rsquo;s some of the features I thought were great:
1. Notification Center I think this has been on everyone&amp;rsquo;s wishlist for a really long time. If you have no time to respond to the missed calls or SMSes, notifications are now shown on the lock screen so you can see what you&amp;rsquo;ve missed at a glance.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/06/5-ios-features-id-love/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Solving the Facebook "No Internet Connection" Problem</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/04/solving-the-facebook-no-internet-connection-problem/</link><pubDate>Sun, 24 Apr 2011 22:15:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/04/solving-the-facebook-no-internet-connection-problem/</guid><description>Update 15-Aug-2011: This fix only applied to the new version of the iPhone Facebook app back in April 2011. Any problems after April 2011 is probably not the same as the one described here.
I recently upgraded to the latest version of the Facebook iPhone app, but I&amp;rsquo;m not sure if that caused the problem.
When you attempt to open your News Feed, it shows &amp;ldquo;Loading&amp;rdquo; for a while before showing &amp;ldquo;No Internet Connection&amp;rdquo;.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/04/solving-the-facebook-no-internet-connection-problem/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Display Mirroring on the iPad 1</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/04/display-mirroring-on-the-ipad-1/</link><pubDate>Wed, 06 Apr 2011 15:58:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/04/display-mirroring-on-the-ipad-1/</guid><description>This is interesting, but I don&amp;rsquo;t have any video out accessories to test it on.
You just need to add a boolean that says display-mirroring: YES to the model plist (K48AP.plist for first-gen iPad) under /System/Library/CoreServices/Springboard.app/ and reboot the device.
Obviously this requires a jailbroken iPad for you to access the file. It also seems to work with devices that use the A4 chip.
I guess this is how Apple did their presentations all along, at all of these iOS device unveiling events.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/04/display-mirroring-on-the-ipad-1/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>iOS Profiles &amp; Encrypted Backups</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/01/ios-profiles-encrypted-backups/</link><pubDate>Fri, 14 Jan 2011 11:59:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/01/ios-profiles-encrypted-backups/</guid><description>When I got my iPhone, it uses a 4-digit passcode to protect its contents. Unsatisfied with this, I found the iPhone Configuration Utility (iPCU), which was the only way at that time to enable complex passcodes (passwords) on the phone. After creating a profile and uploading it to the phone using the iPCU, my backups were all forced to be encrypted.
Encrypted backups are not good for tinkering because you need to decrypt the files before you can edit them, and you need to re-encrypt them for it to be restored to the phone.&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/01/ios-profiles-encrypted-backups/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>"Personal [WiFi] Hotspot" comes to iPhone 4 CDMA</title><link>https://irq5-7854a1fdb9f4.pages.dev/2011/01/personal-wifi-hotspot-comes-to-iphone-4-cdma/</link><pubDate>Wed, 12 Jan 2011 02:12:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2011/01/personal-wifi-hotspot-comes-to-iphone-4-cdma/</guid><description>Apple has just announced a new iPhone 4 hardware revision that allows it to be used on CDMA networks.
iPhone Personal Hotspot Pref [photo stolen from Ars Technica]
Interestingly, the new iPhone comes with a Personal Hotspot preference that allows it to share its 3G connection over WiFi. Ars Technica has photos of the new preference menus. I must stress the photos shown here were not taken by me.
Of course the Android people have had this for a while (provided their phones could be updated to Froyo).&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2011/01/personal-wifi-hotspot-comes-to-iphone-4-cdma/#more">Continue reading…&lt;/a>&lt;/p></description></item></channel></rss>