<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Advanced Mac OS X Rootkits</title>
	<atom:link href="http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/feed/" rel="self" type="application/rss+xml" />
	<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/</link>
	<description>4888 C3C4 099A 4240 9648  719B 84E0 A6FE 32AE 38F6</description>
	<lastBuildDate>Mon, 02 May 2011 23:50:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: ifernando</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-746</link>
		<dc:creator><![CDATA[ifernando]]></dc:creator>
		<pubDate>Sun, 01 Aug 2010 11:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-746</guid>
		<description><![CDATA[Hello,

with Snow Leopard 10.6.4 I am obtaining an unresolved symbol:

$ sudo kextutil KRPC.kext
(kernel) kxld[com.machackershandbook.kext.KRPC]: The following symbols are unresolved for this kext:
(kernel) kxld[com.machackershandbook.kext.KRPC]: 	_mig_buckets

I cannot find this symbol using kextfind, however this symbol is exported in the kernel:

$ kextfind -dsym _mig_buckets
$ nm -arch i386 /mach_kernel &#124;grep _mig_buckets
00844b00 S _mig_buckets
$ nm -arch x86_64 /mach_kernel &#124;grep _mig_buckets
ffffff8000672e40 S _mig_buckets

How can I find the kext library to link with using the OSBundleLibraries dict?]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>with Snow Leopard 10.6.4 I am obtaining an unresolved symbol:</p>
<p>$ sudo kextutil KRPC.kext<br />
(kernel) kxld[com.machackershandbook.kext.KRPC]: The following symbols are unresolved for this kext:<br />
(kernel) kxld[com.machackershandbook.kext.KRPC]: 	_mig_buckets</p>
<p>I cannot find this symbol using kextfind, however this symbol is exported in the kernel:</p>
<p>$ kextfind -dsym _mig_buckets<br />
$ nm -arch i386 /mach_kernel |grep _mig_buckets<br />
00844b00 S _mig_buckets<br />
$ nm -arch x86_64 /mach_kernel |grep _mig_buckets<br />
ffffff8000672e40 S _mig_buckets</p>
<p>How can I find the kext library to link with using the OSBundleLibraries dict?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino Dai Zovi</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-374</link>
		<dc:creator><![CDATA[Dino Dai Zovi]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 03:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-374</guid>
		<description><![CDATA[Of course, it&#039;s possible that you have a rootkit, but it is still quite rare (especially if the machines are stand-alone and don&#039;t connect to the Internet).  Here are some things that may possibly help (in order of increasing difficulty and time commitment):

&lt;ul&gt;
	&lt;li&gt;Install some Mac anti-virus software&lt;/li&gt;
	&lt;li&gt;Do an &quot;Archive and Install&quot; re-install of Mac OS X&lt;/li&gt;
	&lt;li&gt;Do a clean reinstall of Mac OS X and restore from a Time Machine backup from the Migration Assistant after the install&lt;/li&gt;
	&lt;li&gt;Reinstall and restore from Time Machine backup only restoring your user account, re-install your apps individually&lt;/li&gt;
	&lt;li&gt;Ritualistic goat sacrifice&lt;/li&gt;
&lt;/ul&gt;

Again, I doubt you have a rootkit, but you could have a Mac trojan or bot on your machine.  An anti-virus program should be able to take care of that.  Chances are though, that your problem is something else misbehaving.  An Apple store or other Mac expert should be able to help you with that.

-Dino]]></description>
		<content:encoded><![CDATA[<p>Of course, it&#8217;s possible that you have a rootkit, but it is still quite rare (especially if the machines are stand-alone and don&#8217;t connect to the Internet).  Here are some things that may possibly help (in order of increasing difficulty and time commitment):</p>
<ul>
<li>Install some Mac anti-virus software</li>
<li>Do an &#8220;Archive and Install&#8221; re-install of Mac OS X</li>
<li>Do a clean reinstall of Mac OS X and restore from a Time Machine backup from the Migration Assistant after the install</li>
<li>Reinstall and restore from Time Machine backup only restoring your user account, re-install your apps individually</li>
<li>Ritualistic goat sacrifice</li>
</ul>
<p>Again, I doubt you have a rootkit, but you could have a Mac trojan or bot on your machine.  An anti-virus program should be able to take care of that.  Chances are though, that your problem is something else misbehaving.  An Apple store or other Mac expert should be able to help you with that.</p>
<p>-Dino</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Letha Deck</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-373</link>
		<dc:creator><![CDATA[Letha Deck]]></dc:creator>
		<pubDate>Thu, 07 Jan 2010 01:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-373</guid>
		<description><![CDATA[Dino,  I think I have rootkits on my two stand alone Mac notebooks. I am having a rough time getting to the &#039;invisible&#039; drive to dislodge it. Can I destroy the root of the rootkit? Where I can get a cure?]]></description>
		<content:encoded><![CDATA[<p>Dino,  I think I have rootkits on my two stand alone Mac notebooks. I am having a rough time getting to the &#8216;invisible&#8217; drive to dislodge it. Can I destroy the root of the rootkit? Where I can get a cure?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino Dai Zovi</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-328</link>
		<dc:creator><![CDATA[Dino Dai Zovi]]></dc:creator>
		<pubDate>Thu, 03 Dec 2009 14:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-328</guid>
		<description><![CDATA[I haven&#039;t looked at x64 yet with this code, but there will definitely be some work into supporting it.  You may have to figure out what is needed to promote a bare Mach thread into a full POSIX thread by reading through the pthread code in libSystem.  The method that I found works for PowerPC and x86, but it may need some tweaks for x64.  Take a look at the available calls in the commpage, there might be something useful there that can help initialize the thread correctly.

-Dino]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t looked at x64 yet with this code, but there will definitely be some work into supporting it.  You may have to figure out what is needed to promote a bare Mach thread into a full POSIX thread by reading through the pthread code in libSystem.  The method that I found works for PowerPC and x86, but it may need some tweaks for x64.  Take a look at the available calls in the commpage, there might be something useful there that can help initialize the thread correctly.</p>
<p>-Dino</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plushcube</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-325</link>
		<dc:creator><![CDATA[plushcube]]></dc:creator>
		<pubDate>Tue, 01 Dec 2009 12:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-325</guid>
		<description><![CDATA[Excellent article, Dino.
Could you tell how to implement memory injection in x86_64 arch? Your code works perfect with i386-targeted applications, but with 64-bits it&#039;s got some issues.
I&#039;ve added some code to make it work on 64-bit arch (another structures, some memory protection issues and so on), but now mach_thread_trampoline won&#039;t work: __pthread_set_self call haven&#039;t set correct value in gs register (don&#039;t know is there some other errors in this function&#039;s call). So calling cthread_set_self after that throws exception EXC_BAD_ACCESS (because gs:0x66 points to wrong address).
Please, give me a little hint so I&#039;ll be able to continue research.

Thanks in advance :)]]></description>
		<content:encoded><![CDATA[<p>Excellent article, Dino.<br />
Could you tell how to implement memory injection in x86_64 arch? Your code works perfect with i386-targeted applications, but with 64-bits it&#8217;s got some issues.<br />
I&#8217;ve added some code to make it work on 64-bit arch (another structures, some memory protection issues and so on), but now mach_thread_trampoline won&#8217;t work: __pthread_set_self call haven&#8217;t set correct value in gs register (don&#8217;t know is there some other errors in this function&#8217;s call). So calling cthread_set_self after that throws exception EXC_BAD_ACCESS (because gs:0&#215;66 points to wrong address).<br />
Please, give me a little hint so I&#8217;ll be able to continue research.</p>
<p>Thanks in advance <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett Bellomo</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-308</link>
		<dc:creator><![CDATA[Brett Bellomo]]></dc:creator>
		<pubDate>Tue, 01 Sep 2009 19:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-308</guid>
		<description><![CDATA[What makes a UNIX based rootkit less likely to crash?
--Does any sample include---a legal rootkit to use on the net--maybe one that allows more special access legally?--but one with unique Unix duties like yours..Can I have a only safe sample for my email box?
3 yrs msoft/java tests,1 ethernet,
can download now..
also if can correct other rootkits from violating net rules include that..]]></description>
		<content:encoded><![CDATA[<p>What makes a UNIX based rootkit less likely to crash?<br />
&#8211;Does any sample include&#8212;a legal rootkit to use on the net&#8211;maybe one that allows more special access legally?&#8211;but one with unique Unix duties like yours..Can I have a only safe sample for my email box?<br />
3 yrs msoft/java tests,1 ethernet,<br />
can download now..<br />
also if can correct other rootkits from violating net rules include that..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://trailofbits.com/2009/08/10/advanced-mac-os-x-rootkits/#comment-285</link>
		<dc:creator><![CDATA[Jay]]></dc:creator>
		<pubDate>Tue, 11 Aug 2009 15:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.trailofbits.com/?p=159#comment-285</guid>
		<description><![CDATA[Hey Dino, 
Thanks for the posted info.  In addition to this do you have the slide for Macsploitation with Metasploit? If so, could those be published?

Thanks
Jay]]></description>
		<content:encoded><![CDATA[<p>Hey Dino,<br />
Thanks for the posted info.  In addition to this do you have the slide for Macsploitation with Metasploit? If so, could those be published?</p>
<p>Thanks<br />
Jay</p>
]]></content:encoded>
	</item>
</channel>
</rss>

