<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>android on irq5 test</title><link>https://irq5-7854a1fdb9f4.pages.dev/tag/android/</link><description>Recent content in android on irq5 test</description><language>en-us</language><lastBuildDate>Mon, 01 Dec 2014 22:50:00 +0000</lastBuildDate><atom:link href="https://irq5-7854a1fdb9f4.pages.dev/tag/android/feed/" rel="self" type="application/rss+xml"/><item><title>Android Internals: Package Verifiers</title><link>https://irq5-7854a1fdb9f4.pages.dev/2014/12/android-internals-package-verifiers/</link><pubDate>Mon, 01 Dec 2014 22:50:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2014/12/android-internals-package-verifiers/</guid><description>&lt;p>Inspired by Nikolay Elenkov&amp;rsquo;s detailed technical posts on &lt;a href=//nelenkov.blogspot.com rel=noopener>Android Explorations&lt;/a>, I decided to dig into the Android source code myself and document the package verification mechanism in Android.&lt;/p>&lt;p>Package verification was introduced in Android 4.2 to allow for apps to be verified or checked &lt;em>before&lt;/em> they are installed.
If you have tried to install a malicious app on a production Android device, you might have seen the following screen, displayed by the verifier:&lt;/p>&lt;p>&lt;picture>&lt;source srcset=/posts/2014/img/android-pkgverify.png.webp type=image/webp>&lt;img src=https://irq5-7854a1fdb9f4.pages.dev/posts/2014/img/android-pkgverify.png alt="screenshot of malicious app install warning" width=900 height=889 class="half noinvert">&lt;/picture>&lt;/p>&lt;p>Android was built in such a way that it tries to be generic for third-parties to implement stuff.
Package verification is a feature that is currently only used and implemented by Google, but it is abstracted in such a way that any manufacturer can implement their own. Documentation and examples on how to do this is almost non-existent, although anyone determined enough can read the Android source code and figure it out for themselves.&lt;/p>&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2014/12/android-internals-package-verifiers/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>Decoding BCARD Conference Badges</title><link>https://irq5-7854a1fdb9f4.pages.dev/2013/04/decoding-bcard-conference-badges/</link><pubDate>Sat, 13 Apr 2013 01:28:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2013/04/decoding-bcard-conference-badges/</guid><description>&lt;p>Last month, I had the opportunity to fly halfway around the world to attend &lt;em>RSA Conference 2013&lt;/em>. Everyone was given a lanyard and badge which contains your information entered during registration. When you visit booths, they can then scan your badge to collect your information and follow up by sending you spam.&lt;/p>&lt;p>&lt;picture>&lt;source srcset=/posts/2013/img/rsa-conf-pass.jpg.webp type=image/webp>&lt;img src=https://irq5-7854a1fdb9f4.pages.dev/posts/2013/img/rsa-conf-pass.jpg alt="RSA conference pass" width=640 height=427>&lt;/picture>&lt;/p>&lt;p>The scanner varies across different booths, but mostly it&amp;rsquo;s an Android device that ran a custom software. Since it had a large NXP logo, let&amp;rsquo;s try to read it with the &lt;a href="https://play.google.com/store/apps/details?id=com.nxp.taginfolite" rel=noopener target=_blank class=external>NFC TagInfo app&lt;/a>. Looks like the tag identifies itself as a NDEF message but the data is gibberish.&lt;/p>&lt;p>&lt;picture>&lt;img src=https://irq5-7854a1fdb9f4.pages.dev/posts/2013/img/bcard_taginfo.png alt="Data in the BCARD as decoded by TagInfo" width=720 height=1034 class="half noinvert">&lt;/picture>&lt;/p>&lt;p>&lt;a href="https://irq5-7854a1fdb9f4.pages.dev/2013/04/decoding-bcard-conference-badges/#more">Continue reading…&lt;/a>&lt;/p></description></item><item><title>How to take a screenshot</title><link>https://irq5-7854a1fdb9f4.pages.dev/2010/06/how-to-take-a-screenshot/</link><pubDate>Sat, 05 Jun 2010 14:50:00 +0000</pubDate><guid>https://irq5-7854a1fdb9f4.pages.dev/2010/06/how-to-take-a-screenshot/</guid><description>That&amp;rsquo;s it!</description></item></channel></rss>