<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: iPhone Background Apps Without Jailbreaking Or Push</title>
	<atom:link href="http://thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/</link>
	<description>The Leader In Technical News and Commentary</description>
	<lastBuildDate>Tue, 27 Jul 2010 16:12:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: st3fan</title>
		<link>http://thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/comment-page-1/#comment-648</link>
		<dc:creator>st3fan</dc:creator>
		<pubDate>Fri, 07 Aug 2009 09:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://thecoffeedesk.com/news/?p=849#comment-648</guid>
		<description>You keep trying, eh?

Shared libraries do not work for third-library apps. They are blocked. Also, there is no such thing as a &#039;suid share library&#039;.

The rest of your reply is again based on false assumptions and speculation. If you think you have found a security issue then  show some proof of concept code.

http://stefan.arentz.ca/2009/08/06/iphone-daemons</description>
		<content:encoded><![CDATA[<p>You keep trying, eh?</p>
<p>Shared libraries do not work for third-library apps. They are blocked. Also, there is no such thing as a &#8217;suid share library&#8217;.</p>
<p>The rest of your reply is again based on false assumptions and speculation. If you think you have found a security issue then  show some proof of concept code.</p>
<p><a href="http://stefan.arentz.ca/2009/08/06/iphone-daemons" rel="nofollow">http://stefan.arentz.ca/2009/08/06/iphone-daemons</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/comment-page-1/#comment-646</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Fri, 07 Aug 2009 03:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://thecoffeedesk.com/news/?p=849#comment-646</guid>
		<description>Then consider this: if there were an alternative way to execute code on the machine, such as saving it to disk and manually loading and executing it, then you could still retrieve the Address Book entries without exploiting a chroot break and going nuts on all the readable files in the system. 

Perhaps an exploitable suid share library within the chrooted ~/Library would allow this sort of thing to happen. I don&#039;t have the time or resources to sit and tinker with it, but given the legions of bugs exploited from an x86 system I&#039;m sure there are thousands to be found in the ARM system to the point where you could do what you want with it upon finding one.

Just look at the recent SMS bug, for instance. 

So its only a matter of time before either this or something along these lines becomes a reality, as it already has. I&#039;m just trying to get creative in how it would be implemented, and just remember: these smartphones and embedded devices are the next security nightmare, probably just as bad as a Windows PC was a couple of years ago. 

Popularity in a given product draws interest in 
it and in the security of it as well. And like I said - there&#039;s a will, so there is most certainly a way in there somewhere ;)

I just had a theory that could still potentially work with the circumvention of NX&#039;ing, chrooting, etc.</description>
		<content:encoded><![CDATA[<p>Then consider this: if there were an alternative way to execute code on the machine, such as saving it to disk and manually loading and executing it, then you could still retrieve the Address Book entries without exploiting a chroot break and going nuts on all the readable files in the system. </p>
<p>Perhaps an exploitable suid share library within the chrooted ~/Library would allow this sort of thing to happen. I don&#8217;t have the time or resources to sit and tinker with it, but given the legions of bugs exploited from an x86 system I&#8217;m sure there are thousands to be found in the ARM system to the point where you could do what you want with it upon finding one.</p>
<p>Just look at the recent SMS bug, for instance. </p>
<p>So its only a matter of time before either this or something along these lines becomes a reality, as it already has. I&#8217;m just trying to get creative in how it would be implemented, and just remember: these smartphones and embedded devices are the next security nightmare, probably just as bad as a Windows PC was a couple of years ago. </p>
<p>Popularity in a given product draws interest in<br />
it and in the security of it as well. And like I said &#8211; there&#8217;s a will, so there is most certainly a way in there somewhere <img src='http://thecoffeedesk.com/news/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I just had a theory that could still potentially work with the circumvention of NX&#8217;ing, chrooting, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: st3fan</title>
		<link>http://thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/comment-page-1/#comment-644</link>
		<dc:creator>st3fan</dc:creator>
		<pubDate>Fri, 07 Aug 2009 02:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://thecoffeedesk.com/news/?p=849#comment-644</guid>
		<description>Nice theory but in practice none of these hacks will work.

First of all, the iPhone has a non-executable heap and stack. So there is no way to load code into a buffer and then execute it. The system will simply not allow it.

Second, even if you download code to disk and then try to exec() it, the system will block it. The iPhone uses a very restricted environment and certain syscalls, like fork() and exec*(), are simply now allowed. This also means that system() will not work since it depends on those syscalls.

Third, even if you manage to get code running, your app is executed in a chrooted environment. This means that it can only see its own app directory and a minimal ~/Library directory to store app preferences and files.

Your claim that someone can use this method to for example access your iCal is therefore also false. There is no way to access the iCal database since it lives outside of the chrooted app executing environment.

If you somehow manage to execute malicious code then the most damage you can do is through the available APIs. This means networking, Address Book, maybe the iTunes library. Not super exciting.

Nice try, but no cigar.</description>
		<content:encoded><![CDATA[<p>Nice theory but in practice none of these hacks will work.</p>
<p>First of all, the iPhone has a non-executable heap and stack. So there is no way to load code into a buffer and then execute it. The system will simply not allow it.</p>
<p>Second, even if you download code to disk and then try to exec() it, the system will block it. The iPhone uses a very restricted environment and certain syscalls, like fork() and exec*(), are simply now allowed. This also means that system() will not work since it depends on those syscalls.</p>
<p>Third, even if you manage to get code running, your app is executed in a chrooted environment. This means that it can only see its own app directory and a minimal ~/Library directory to store app preferences and files.</p>
<p>Your claim that someone can use this method to for example access your iCal is therefore also false. There is no way to access the iCal database since it lives outside of the chrooted app executing environment.</p>
<p>If you somehow manage to execute malicious code then the most damage you can do is through the available APIs. This means networking, Address Book, maybe the iTunes library. Not super exciting.</p>
<p>Nice try, but no cigar.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  thecoffeedesk.com/news/index.php/2009/08/06/iphone-daemon/feed/ ) in 0.28938 seconds, on Jul 31st, 2010 at 4:30 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Jul 31st, 2010 at 5:30 am UTC -->