<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5498266518143777458.post526803773888041513..comments</id><updated>2009-11-08T11:34:54.526+01:00</updated><category term='msvc'/><category term='merging'/><category term='shellcode'/><category term='cloudburst'/><category term='dynamic binary instrumentation'/><category term='aslan'/><category term='mathcad'/><category term='mmmbop'/><category term='graphs'/><category term='instructions'/><category term='smb2'/><category term='kon-boot'/><category term='hacktro'/><category term='dbi'/><category term='static binary rewriting'/><category term='4514N'/><category term='detection'/><category term='mitigations'/><category term='loop analysis'/><category term='rop'/><category term='pin'/><category term='welding'/><category term='bypass'/><category term='useless'/><category term='eaf'/><category term='jit'/><category term='papers'/><category term='binary code manipulation'/><category term='paper'/><category term='dataflow'/><category term='ring0'/><category term='usb'/><category term='vmware'/><category term='basic block'/><category term='CFI'/><category term='disassembler'/><category term='evading network level emulation'/><category term='games'/><category term='emet'/><category term='autodiff'/><category term='ferrie is disgusted :-)'/><category term='pwnie awards'/><category term='asm'/><category term='life'/><category term='patents'/><category term='Control Flow Integrity'/><category term='matlab'/><category term='movie'/><category term='return-oriented programming'/><category term='problems'/><category term='integration'/><category term='spiderpig'/><category term='the fall'/><category term='binary analysis'/><category term='article'/><category term='statistics'/><category term='circuit theory'/><category term='mesh analysis'/><category term='exploit'/><category term='ksplice'/><category term='deadlock'/><category term='bindiff'/><category term='unpacking'/><title type='text'>Comments on Piotr Bania Chronicles &lt;br&gt;http://blog.piotrbania.com: PAPER: Generic Unpacking of Self-modifying, Aggres...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.piotrbania.com/feeds/526803773888041513/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default'/><link rel='alternate' type='text/html' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html'/><author><name>Piotr Bania</name><uri>http://www.blogger.com/profile/16139783712412229709</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5498266518143777458.post-6652070428167027347</id><published>2009-08-11T14:56:07.794+01:00</published><updated>2009-08-11T14:56:07.794+01:00</updated><title type='text'>I see well yes for current time being it is not su...</title><content type='html'>I see well yes for current time being it is not supported my MmmBop. However i think the situation u mentioned should be possible to handle, however i would need to see such packer first :-) Generally the DBI is able to collect entire execution trace of each thread in a very reasonable time so you can even do some further manual work to guess whats going on with the decryption routines.&lt;br /&gt;&lt;br /&gt;- pb</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/6652070428167027347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/6652070428167027347'/><link rel='alternate' type='text/html' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html?showComment=1249998967794#c6652070428167027347' title=''/><author><name>Piotr Bania</name><uri>http://www.blogger.com/profile/16139783712412229709</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html' ref='tag:blogger.com,1999:blog-5498266518143777458.post-526803773888041513' source='http://www.blogger.com/feeds/5498266518143777458/posts/default/526803773888041513' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1777124786'/></entry><entry><id>tag:blogger.com,1999:blog-5498266518143777458.post-8200894149159644886</id><published>2009-08-05T16:10:08.242+01:00</published><updated>2009-08-05T16:10:08.242+01:00</updated><title type='text'>&amp;#39;Urm do you mean here something like original ...</title><content type='html'>&amp;#39;Urm do you mean here something like original code stealing (exchanging with stub code)?&amp;#39;&lt;br /&gt;&lt;br /&gt;so basicly Write a Debug Packer..&lt;br /&gt;something that creates a process suspened, gathers thread start addresses and then runs a &amp;#39;unencrypt&amp;#39; routine on &amp;#39;non&amp;#39; encypted code..essentially encrypting it..then flushs the sections back to the file..during runtime the Main thread would create worker threads that calls a encryption routine, that would restore the original code..reverse encryption..&lt;br /&gt;&lt;br /&gt;the idea or way of this bypassing the DBI is not just non main thread&lt;br /&gt;as gone over above,cause adding multithreaded support is easy and I expect that to be quite easily implemented, but the idea here is that your DBI recognizes decryption routines and stops just after them to dump the image..so if MmmBop was multithreaded, would the DBI be able to pick up a &amp;#39;encryption&amp;#39; stub that was called on a per thread basis?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/8200894149159644886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/8200894149159644886'/><link rel='alternate' type='text/html' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html?showComment=1249485008242#c8200894149159644886' title=''/><author><name>BanMe</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html' ref='tag:blogger.com,1999:blog-5498266518143777458.post-526803773888041513' source='http://www.blogger.com/feeds/5498266518143777458/posts/default/526803773888041513' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-845411026'/></entry><entry><id>tag:blogger.com,1999:blog-5498266518143777458.post-336911946863231177</id><published>2009-08-05T15:14:34.349+01:00</published><updated>2009-08-05T15:14:34.349+01:00</updated><title type='text'>MmmBop currently does not support multithreading :...</title><content type='html'>MmmBop currently does not support multithreading :-( but i believe it is something that still can be done. I would need to build some memory manager and separate the structures like CPU context from each other.&lt;br /&gt;&lt;br /&gt;&amp;gt;also say we where able to take code and run a decryption routine on the&lt;br /&gt;&amp;gt;threads code/data sections and then during runtime run the encyption&lt;br /&gt;&amp;gt;routine on it to restore the code back to what it was.. would your DBI&lt;br /&gt;&amp;gt;be able to detect this?&lt;br /&gt;&lt;br /&gt;Urm do you mean here something like original code stealing (exchanging with stub code)?&lt;br /&gt;&lt;br /&gt;Thanks for the kind words i appreciate it:-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/336911946863231177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/336911946863231177'/><link rel='alternate' type='text/html' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html?showComment=1249481674349#c336911946863231177' title=''/><author><name>Piotr Bania</name><uri>http://www.blogger.com/profile/16139783712412229709</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html' ref='tag:blogger.com,1999:blog-5498266518143777458.post-526803773888041513' source='http://www.blogger.com/feeds/5498266518143777458/posts/default/526803773888041513' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1777124786'/></entry><entry><id>tag:blogger.com,1999:blog-5498266518143777458.post-2513586720072793438</id><published>2009-08-01T00:53:09.683+01:00</published><updated>2009-08-01T00:53:09.683+01:00</updated><title type='text'>So basiclly it can be bypassed by not having a stu...</title><content type='html'>So basiclly it can be bypassed by not having a stub like most classical packers..by simply using a per thread decryption routine to restore original code to &amp;#39;worker threads&amp;#39; and not as the first order of business in the main thread...this may bypass the decryption detection in the DBI, but not if it was done on a per thread basis.Which it&amp;#39;s not..&lt;br /&gt;&lt;br /&gt;also say we where able to take code and run a decryption routine on the threads code/data sections and then during runtime run the encyption routine on it to restore the code back to what it was.. would your DBI be able to detect this?&lt;br /&gt;&lt;br /&gt;the Non Main thread decryption  thing would definitly render this attack of a &amp;quot;aggressive binary&amp;quot; useless, but we all have more work to do..im guessing the protection artists that have packers based on the use of stubs are shaking in there boots, right now..&lt;br /&gt;&lt;br /&gt;excellent paper!! and great work piotr as always :)!!:D&lt;br /&gt;&lt;br /&gt;regards BanMe</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/2513586720072793438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5498266518143777458/526803773888041513/comments/default/2513586720072793438'/><link rel='alternate' type='text/html' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html?showComment=1249084389683#c2513586720072793438' title=''/><author><name>BanMe</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.piotrbania.com/2009/05/paper-generic-unpacking-of-self.html' ref='tag:blogger.com,1999:blog-5498266518143777458.post-526803773888041513' source='http://www.blogger.com/feeds/5498266518143777458/posts/default/526803773888041513' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-226666962'/></entry></feed>
