<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CEIHR386cCp7ImA9WhFSFE0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687</id><updated>2013-06-16T10:08:56.118-07:00</updated><category term="Living in Davis" /><category term="Security" /><category term="iPhone GPRS/EDGE Modem" /><category term="Funny" /><title>Marco Ramilli's Blog</title><subtitle type="html">Security it's my main  field, about security and about my life you'll find here.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://marcoramilli.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>554</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/CqwP" /><feedburner:info uri="blogspot/cqwp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/2.0/" /><logo>http://creativecommons.org/images/public/somerights20.gif</logo><feedburner:emailServiceId>blogspot/CqwP</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CEIHR385fCp7ImA9WhFSFE0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-2880221128850736439</id><published>2013-06-16T10:08:00.003-07:00</published><updated>2013-06-16T10:08:56.124-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-06-16T10:08:56.124-07:00</app:edited><title>ZeuS Evolution: it's time for P2P and RSA.</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Today another "&lt;b&gt;Hack Note&lt;/b&gt;" on my blog to point you out to a great analysis of &lt;a href="https://zeustracker.abuse.ch/" target="_blank"&gt;ZeuS evolutions&lt;/a&gt;. I definitely suggest the reading titled "&lt;a href="http://www.cert.pl/PDF/2013-06-p2p-rap_en.pdf" target="_blank"&gt;ZeuS-P2P&lt;/a&gt;" by Cert Polska because, in my personal opinion, it describes one of the most important evolutions of a "bot kit" happened so far: the distribution of the Command aNd Control (CNC) module. As you might remember the CNC modules evolved from single access point (such as IRC, Twitter, FaceBook, and so on) to multiple access points (often by implementing a Domain Generation Algorithm, DGA), in where attackers had a bounch (~1000)&amp;nbsp; of domains to generate and/or to compromise in order to spread commands to the infected hosts. The last ZeuS versions have been using a nice alternative: the P2P protocol. Specifically ZeuS bot-kit has been using a P2P protocol very close (in term of code) to &lt;a href="http://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf" target="_blank"&gt;&lt;b&gt;Kademlia&lt;/b&gt;&lt;/a&gt; (xor map based). The following image taken from the aforementioned document written by Cert Polska, nicely illustrates the flow between the attacker and the attacked user.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-RYn6MdBtYHY/Ub3tHLDcw1I/AAAAAAAALXs/E4dUGnsZ6nM/s1600/Screen+Shot+2013-06-16+at+6.49.00+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="261" src="http://1.bp.blogspot.com/-RYn6MdBtYHY/Ub3tHLDcw1I/AAAAAAAALXs/E4dUGnsZ6nM/s320/Screen+Shot+2013-06-16+at+6.49.00+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The paper follows on describing interesting detatils about the new "ZeuS generation malware" including (decompiled) source code and highlighting interesting sections such as:PROXY_SERVER_HOST string replacement, DDoS module, HTTP DDoS variant module, DhTUdp DDos, Digital Signature verification (another great improvements respect to the "OLD versions"), and so on. Aditionally fully reversed-engineered P2P protocol can be found on a dedicated chapter. Have a nice reading !&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=puoH_v0As8M:2TkZgtw4I2o:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=puoH_v0As8M:2TkZgtw4I2o:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/puoH_v0As8M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/2880221128850736439/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=2880221128850736439" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2880221128850736439?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2880221128850736439?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/puoH_v0As8M/zeus-evolution-its-time-for-p2p-and-rsa.html" title="ZeuS Evolution: it's time for P2P and RSA." /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-RYn6MdBtYHY/Ub3tHLDcw1I/AAAAAAAALXs/E4dUGnsZ6nM/s72-c/Screen+Shot+2013-06-16+at+6.49.00+PM.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/06/zeus-evolution-its-time-for-p2p-and-rsa.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cNRn8ycCp7ImA9WhBbFE8.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-6672535647945027121</id><published>2013-05-12T23:04:00.001-07:00</published><updated>2013-05-12T23:04:57.198-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-12T23:04:57.198-07:00</app:edited><title>Firmware Hacking: The Samsung smart  TV turn</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Tooday I want to share a little experiece I had in reversing &lt;a href="http://www.samsung.com/au/tv/firmware/"&gt;Samsung Smat TV's Firmware&lt;/a&gt;. I am not going to explain every step in details but I just want to give an idea on how it's possible to perform a reverse engineering process starting from a firmware self-installable.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Let's assume you receive a request on Saturday asking to reverse T-GAP8DEUC_1028.0.exe, how would you approach it ?&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
As normally everybody does, the first step is to find out the firmware you want. Google is the master in finding stuff. Just few clicks and you get what you need.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-DLZxmm2prWc/UY3ubEYk3_I/AAAAAAAALRw/-x6rPOl6FNk/s1600/Screen+Shot+2013-05-11+at+9.07.52+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://4.bp.blogspot.com/-DLZxmm2prWc/UY3ubEYk3_I/AAAAAAAALRw/-x6rPOl6FNk/s400/Screen+Shot+2013-05-11+at+9.07.52+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
The file you've just downloaded is a PE executable, as I wrote many previous posts ExeInfoPE or PEiD is your first gate. You want to learn if it has been encrypted, obfuscated or which security procedures has been taken to increase the security bar. ExeinfoPE tells you compression is playing a big role into the executable, so what you need is to discover what kind of compression is placed. There are many ways to discover the compression used algorithm, for example the most easy one is to search for common headers. In this specific scenario, I used Immunity debugger just because I performed more reverse actions over this executable which I am not going to explain in this blog post. As the following image suggests winRAR libraryes have been used.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-_Nnhvi4ntIY/UY33R4ZaXsI/AAAAAAAALSM/fwjOWRb4hPo/s1600/Screen+Shot+2013-05-11+at+9.33.20+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="118" src="http://4.bp.blogspot.com/-_Nnhvi4ntIY/UY33R4ZaXsI/AAAAAAAALSM/fwjOWRb4hPo/s400/Screen+Shot+2013-05-11+at+9.33.20+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Ok, no specific encryptors have been used over the data section, let's walk through the binary and see if we discover where the RAR archive is placed. &lt;a href="https://code.google.com/p/binwalk/"&gt;BinWalk&lt;/a&gt; is an amazing tool, it scans any binary looking for know header patterns. Once known header is found it gives you additional information regarding its status. The following image shows the walk of the entire executable threaten as a junk of byte.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-SEq5ZXjIcH8/UY35mwKnaeI/AAAAAAAALSY/r690T9UyBas/s1600/Screen+Shot+2013-05-11+at+9.53.17+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="209" src="http://4.bp.blogspot.com/-SEq5ZXjIcH8/UY35mwKnaeI/AAAAAAAALSY/r690T9UyBas/s320/Screen+Shot+2013-05-11+at+9.53.17+AM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Here we go ! Right now, we know there are 6 LZMA compressed data junk and a Big RAR archive ! I don't know why, but I feel to try to see what is inside the big RAR archive. So let's extract it !&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;i&gt;&lt;b&gt;dd if=T-GAP8DEUC_1028.0.exe bs=1 skip=99840 of=T-GAP8DEUC_1028.0.RAR; unrar &lt;/b&gt;&lt;/i&gt;&lt;i&gt;&lt;b&gt;&lt;i&gt;&lt;b&gt;T-GAP8DEUC_1028.0.RAR&lt;/b&gt;&lt;/i&gt; &lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
What we observe is an entire image folder wrapping severlal big image files and many small binary files.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-WT9GQoN4qyo/UY38LGVqu_I/AAAAAAAALSo/ciyu3pYIevw/s1600/Screen+Shot+2013-05-11+at+10.06.07+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="312" src="http://4.bp.blogspot.com/-WT9GQoN4qyo/UY38LGVqu_I/AAAAAAAALSo/ciyu3pYIevw/s320/Screen+Shot+2013-05-11+at+10.06.07+AM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
rocommon.img, rwcommon.img and emanual.img seems to be the most interesting files to dig in. But before digging into them let's see what is the real version we are reversing.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-PdN6Eeu15HM/UY39F3xKJyI/AAAAAAAALS0/BlITtrwUj8Y/s1600/Screen+Shot+2013-05-09+at+7.31.57+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="27" src="http://2.bp.blogspot.com/-PdN6Eeu15HM/UY39F3xKJyI/AAAAAAAALS0/BlITtrwUj8Y/s400/Screen+Shot+2013-05-09+at+7.31.57+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;u&gt;And most important, lets take a look to the partition table ;)&lt;/u&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-WN1wBmlP0xs/UY391OckBmI/AAAAAAAALTA/V93HhZVljwg/s1600/Screen+Shot+2013-05-11+at+10.12.05+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/-WN1wBmlP0xs/UY391OckBmI/AAAAAAAALTA/V93HhZVljwg/s400/Screen+Shot+2013-05-11+at+10.12.05+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Super! We have many different images and many different informations we whant to learn from the them, but let's going on our path and maybe comming back later to other partitions. So far, we have 4 different bootloaders, on "bml" devices. We have 2 different kernel images on bml as well, we have an emanual image and 2 common partitions. Let's investigate the biggest partitions first (why the biggest first ? Because, statistically speaking, where there is more data you might find more interesting data !). Lets start by ignoring the emanual partition, actually I don't care about manuals, and the name of that image makes me think I will find only "user manuals" on it. I do like to focalize on the "common" things, common usually means that it's used all around the environment so we'll could find interesting sharing points. rocommon would be our first target since it would be ReadOnly. Maybe common applications are in there ! It's a squash file system, pretty common embedded devices. BackTrack owns a nice unsquashFS script, it's what we need.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ul290MFjM7U/UY4AeU3RP6I/AAAAAAAALTM/zx1z6iy5tig/s1600/Screen+Shot+2013-05-09+at+7.29.04+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="224" src="http://4.bp.blogspot.com/-ul290MFjM7U/UY4AeU3RP6I/AAAAAAAALTM/zx1z6iy5tig/s320/Screen+Shot+2013-05-09+at+7.29.04+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Let's open it and see what we have. The following image shows the content of the rocommon image file. "Advertisement" (is Samsung planning to advertise on smat TV apps ? Isn't enough adv on television sof ar ? .. anyway...) , A_Store (Application Store ?)". I think this is what we were looking for !&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-3b1X61mFXz0/UY4A5DSMM8I/AAAAAAAALTU/r-YBhpt5xXs/s1600/Screen+Shot+2013-05-09+at+7.47.18+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="249" src="http://4.bp.blogspot.com/-3b1X61mFXz0/UY4A5DSMM8I/AAAAAAAALTU/r-YBhpt5xXs/s320/Screen+Shot+2013-05-09+at+7.47.18+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Ok we have one file system, but each file extension is "cmk", if we try to open any file it's encrypted... this is a classic scenario in which you might end up. But if you remember, Samsung released a development kit in order to develop applcations for smart TV. Well... what if I want to develop applications for smart TV and I don't own a smart TV ? No worries Samsung offers to you a samrt TV emulator ! Cool... the emulator must be able to decrypt smart TV firmware otherwise how it can be run over multiple smart tv firmwares ? Here we go, I am not going to show how I obtained the key to decrypt the firmware (which appened to be:&amp;nbsp; k: &lt;i&gt;B1D5F122E75D757C79F48886D42F8E1A&lt;/i&gt; and iv: &lt;i&gt;BFE932F9273DC2A0DFC93F0B8E7AC7C2&lt;/i&gt; :) It is another "reverse story". So.. Let's decrypt the firmware ! The following image shows a little script which iterates over all the rocommon folder tree and decrypts each encrypted file.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-MmVpN76PwkM/UY4D3emUYVI/AAAAAAAALTo/u5EcFEv6b7I/s1600/Screen+Shot+2013-05-09+at+10.50.12+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" src="http://4.bp.blogspot.com/-MmVpN76PwkM/UY4D3emUYVI/AAAAAAAALTo/u5EcFEv6b7I/s640/Screen+Shot+2013-05-09+at+10.50.12+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Super cool, now we are free do open each file we want to. We might find out some proprietary code ... (comments are still in Japanese)&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/-_Q1a3x0T2_k/UY4EY-EYuII/AAAAAAAALTw/e9J9INeaHDI/s1600/Screen+Shot+2013-05-09+at+11.03.21+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="370" src="http://2.bp.blogspot.com/-_Q1a3x0T2_k/UY4EY-EYuII/AAAAAAAALTw/e9J9INeaHDI/s400/Screen+Shot+2013-05-09+at+11.03.21+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
We might find out some future development scenarios, such as new input parameters ....&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-O3SkcAJwSQQ/UY4EzQ98qRI/AAAAAAAALT4/D9rbLdoqmWU/s1600/Screen+Shot+2013-05-09+at+7.47.51+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-O3SkcAJwSQQ/UY4EzQ98qRI/AAAAAAAALT4/D9rbLdoqmWU/s400/Screen+Shot+2013-05-09+at+7.47.51+PM.png" width="348" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;What else we might find digging into rocommon... Oh, almost forgot, we migh find some&lt;b&gt; Private Keys !&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-Oevfdx0FB2Q/UY4GEBBph6I/AAAAAAAALUE/3apLC71d9jU/s1600/Screen+Shot+2013-05-11+at+10.47.56+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="272" src="http://1.bp.blogspot.com/-Oevfdx0FB2Q/UY4GEBBph6I/AAAAAAAALUE/3apLC71d9jU/s400/Screen+Shot+2013-05-11+at+10.47.56+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Do you think to certificats as well ? Ok, I am not going to publish them.. But you might be interested on debugging the frame menu or any default application included in the firmware as well. &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/-Dnguqt-mZUU/UY4HWtFspHI/AAAAAAAALUs/llhUMtgPmcQ/s1600/Screen+Shot+2013-05-11+at+10.53.09+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-Dnguqt-mZUU/UY4HWtFspHI/AAAAAAAALUs/llhUMtgPmcQ/s320/Screen+Shot+2013-05-11+at+10.53.09+AM.png" width="290" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
As shown in the partition table there are many other images that you want to mount and to dig into. The actual entire firmware is quite a big. Now you have all the infos you need, certs, private keys and tools. Each file named *.sec is a combination of AES and XOR encryption, you will find many forums talking about those files and many python tols have been released to automate the descryption process as well, just keep the one you like ;). Once you decide to dig into the rootfile system you'll not learn really amazing things beside the root account of-course, as shown in the next image.&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Fhn71P5dJLs/UY4S_VJHKUI/AAAAAAAALU8/g4qk6RdKNl8/s1600/Screen+Shot+2013-05-11+at+11.40.48+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="48" src="http://4.bp.blogspot.com/-Fhn71P5dJLs/UY4S_VJHKUI/AAAAAAAALU8/g4qk6RdKNl8/s400/Screen+Shot+2013-05-11+at+11.40.48+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
On the other side if you decide to dig into the exe partition you'll find more interesting applications. If you are a vulnerability hunter this is the place where you want to start your job. The following image shows the root folder of the exe image.&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/-D-oh6Vk7vY4/UY4WyOYLDII/AAAAAAAALVI/kyVZnMSUT30/s1600/Screen+Shot+2013-05-11+at+11.55.43+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="48" src="http://4.bp.blogspot.com/-D-oh6Vk7vY4/UY4WyOYLDII/AAAAAAAALVI/kyVZnMSUT30/s400/Screen+Shot+2013-05-11+at+11.55.43+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Summing up, in this post I decided to show a full reverse engineering path, starting from a self-executable PE file to real informations such as: root acount, certificates, proprietary code, used applications, private RSA keys and so on. Not all the required steps have been covered, this is not an hacking manual is more like a "this is the way to follow". Hope you might enjoy it.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=Xv_MM727QxE:GU3Uq9euZ0I:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=Xv_MM727QxE:GU3Uq9euZ0I:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/Xv_MM727QxE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/6672535647945027121/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=6672535647945027121" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6672535647945027121?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6672535647945027121?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/Xv_MM727QxE/firmware-hacking-samsung-smart-tv-turn.html" title="Firmware Hacking: The Samsung smart  TV turn" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-DLZxmm2prWc/UY3ubEYk3_I/AAAAAAAALRw/-x6rPOl6FNk/s72-c/Screen+Shot+2013-05-11+at+9.07.52+AM.png" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/05/firmware-hacking-samsung-smart-tv-turn.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08GQXgzfyp7ImA9WhBUFkU.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-1303649362827777682</id><published>2013-05-04T10:50:00.000-07:00</published><updated>2013-05-04T10:50:20.687-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-04T10:50:20.687-07:00</app:edited><title>Finding path to known functions through IDA-Pro</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Dear folks,&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
as you probably have noticed my blog-post frequence went down a little bit during the past 4 to 6 months, since I am super busy... I am still alive though :). Today I want to share an interesting IDA Pro plugin that I 've been testing for awhile called &lt;a href="https://code.google.com/p/idapathfinder/wiki/idapathfinder?tm=6"&gt;idapathfinder&lt;/a&gt;. Once you installed it (&lt;i&gt;&lt;b&gt; $ ./install.py /path/to/ida/install/directory&lt;/b&gt;&lt;/i&gt; ) you'll se a brand new sub-menu in the "&lt;i&gt;view Graphs&lt;/i&gt;" menu named "&lt;i&gt;Find all path to...&lt;/i&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/-0JhMJypKh_Q/UYSzIDgRiUI/AAAAAAAALRI/bK1gDMNUscw/s1600/Screen+Shot+2013-05-04+at+9.01.33+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://3.bp.blogspot.com/-0JhMJypKh_Q/UYSzIDgRiUI/AAAAAAAALRI/bK1gDMNUscw/s400/Screen+Shot+2013-05-04+at+9.01.33+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Immediatly after your selection a new window form will ask you what target function you want to look for. From the original graph the plugin will highlight the the path to the function you've just selecteed. The following image (from idapathfinder documentation) shows the path to strcpy.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-byRmHeJURwo/UYU-jv8jYXI/AAAAAAAALRY/SYE7rEialn0/s1600/Screen+Shot+2013-05-04+at+9.09.07+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-byRmHeJURwo/UYU-jv8jYXI/AAAAAAAALRY/SYE7rEialn0/s1600/Screen+Shot+2013-05-04+at+9.09.07+AM.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
idapathfinder is a great plugin, pretty useful for vulnerability hunting. However I would like to see something a little bit more automated such as: a procedure to look for the path to known vulnerable functions, a procedure to look for path to null pointers and a procedure to look for path to wrong input checking functions.. and so forth.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=MkjidKcWdWM:-RvvRgJPh8k:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=MkjidKcWdWM:-RvvRgJPh8k:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/MkjidKcWdWM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/1303649362827777682/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=1303649362827777682" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/1303649362827777682?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/1303649362827777682?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/MkjidKcWdWM/finding-path-to-known-functions-through.html" title="Finding path to known functions through IDA-Pro" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-0JhMJypKh_Q/UYSzIDgRiUI/AAAAAAAALRI/bK1gDMNUscw/s72-c/Screen+Shot+2013-05-04+at+9.01.33+AM.png" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/05/finding-path-to-known-functions-through.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0INSXw9fCp7ImA9WhBXFE0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-7235196236088285650</id><published>2013-03-27T11:39:00.003-07:00</published><updated>2013-03-27T11:39:58.264-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-03-27T11:39:58.264-07:00</app:edited><title>Vulnerability Classification</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
During the past few days I had the opportunity to talk about security for entire days with amazing and passionate guys. I had a great feeling about the group in which I was, and a great feeling about every single person belonging to that group. During our discussions some folks asked to me very complex questions that I was not able to properly answer because the complexity. So I decided to write a quick'n dirty blog post for every question I think I let opened or partially opened. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Today I 'm going to dig a little bit into &lt;b&gt;Vulnerability&lt;/b&gt; &lt;b&gt;Classification&lt;/b&gt;. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Historically vulnerabilities have been classified in broad super set such as: &lt;u&gt;buffer overflows&lt;/u&gt;, &lt;u&gt;format string vulnerabilities&lt;/u&gt;, and &lt;u&gt;integer type range errors&lt;/u&gt; (including integer overflows). These broad categories have two major failings, however. First, it is not always possible to assign a vulnerability to a single category. Second, the distinctions are too general to be useful in any detailed engineering analysis.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Quoting an example from: "A structured Approach to Classifying Security Vulnerabilities" (&lt;a href="http://www.cert.org/archive/pdf/05tn003.pdf" target="_self" title=""&gt;Cert 2005&lt;/a&gt;) the following function contains two vulnerabilities.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://lh3.googleusercontent.com/-zax_BBlmXoU/UVHEvjB7jNI/AAAAAAAALQc/If2jJfGV23k/s1005/2013%25252005%25253A37.jpg" style="margin-left: 1em; margin-right: 1em;" target="_blank"&gt;&lt;img alt="" class="aligncenter" height="309" id="blogsy-1364313288955.4954" src="https://lh3.googleusercontent.com/-zax_BBlmXoU/UVHEvjB7jNI/AAAAAAAALQc/If2jJfGV23k/s500/2013%25252005%25253A37.jpg" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Len1 or Len2, could be negative -- bypassing the logic of the program -- and both the functions strncpy(..,..,..,) and strncat(..., ..., ...) suffer of buffer overflow. The question raises natural : is this function classificable as an "integer range check" vulnerability or as a "buffer overflows" vulnerability?  Can the function  be classifcated as both of them ( integer range check vuln and buffer overflow vuln) ? In this last case, do we need to provide "ranges and indicators" to exactly point to the vulnerability offset in order to distinguish the two vulnerability sets? Is this the best approach ? Generally speaking when the "science" classifies something it never split the "classified object" into primitive subst of objects, but contrary it  collects as many proprieties as it can from the "classified  object" in order to build an unique "signature" able to identify it.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
For example if we consider the science of systematics it does not classify a &lt;i&gt;cat&lt;/i&gt; into multiple cathegories because has a tail, 4 legs and 2 eyes, but it classifies the &lt;i&gt;cat&lt;/i&gt; because his biological composition. Indeed the alligator has a tail 4 legs and 2 eyes but it's obviously different from a &lt;i&gt;cat&lt;/i&gt;!&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
What we need is to switch to taxonomies to be able to classify vulnerabilities in a way to be useful for engineers and enough general to wrap all the known vulns. &lt;a href="http://csrc.nist.gov/publications/history/bisb78.pdf" target="_self" title=""&gt;The Program Analysis (PA) study&lt;/a&gt; is one of the first taxonomies approach applied to vulnerabilities classification. Following the RISOS study  Matt Bishop in his report: "&lt;a href="http://cwe.mitre.org/documents/sources/ATaxonomyofUnixSystemandNetworkVulnerabilities%5BBishop95%5D.pdf" target="_self" title=""&gt;A Taxonomy of UNIX System and Network Vulnerabilities&lt;/a&gt;" described six vulnerabilities classification schemes .&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://https//lh4.googleusercontent.com/-1CQIlPnO9o8/UVHEwmisBbI/AAAAAAAALQk/3xt3woaaTL0/s1942/2013%25252006%25253A11.jpg" style="margin-left: 1em; margin-right: 1em;" target="_blank" title=""&gt;&lt;img alt="" class="aligncenter" height="209" id="blogsy-1364313288954.8723" src="https://lh4.googleusercontent.com/-1CQIlPnO9o8/UVHEwmisBbI/AAAAAAAALQk/3xt3woaaTL0/s500/2013%25252006%25253A11.jpg" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Those graphs show the frequencies of flaws in each of the six classification schemes used in Matt's paper. CERT did a great job in vulnerability taxonomies as well as Anil Bazaz and James D. Arthur did in their paper titled "&lt;a href="http://www.computer.org/csdl/proceedings/hicss/2007/2755/00/27550163a.pdf" target="_self" title=""&gt;Towards A Taxonomy of Vulnerabilities&lt;/a&gt;". The following image shows a subset of the CERT taxonomy:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://lh6.googleusercontent.com/-S-VcaHPug00/UVHExiEmXAI/AAAAAAAALQs/Jik0EqgAvjs/s1867/2013%25252006%25253A25.jpg" style="margin-left: 1em; margin-right: 1em;" target="_blank"&gt;&lt;img alt="" class="aligncenter" height="206" id="blogsy-1364313288982.7126" src="https://lh6.googleusercontent.com/-S-VcaHPug00/UVHExiEmXAI/AAAAAAAALQs/Jik0EqgAvjs/s500/2013%25252006%25253A25.jpg" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
According to the CERT taxonomy, four are the main root causes of vulnerabilities: &lt;u&gt;Design errors&lt;/u&gt;, &lt;u&gt;Implementation errors&lt;/u&gt;, &lt;u&gt;User interface&lt;/u&gt; and &lt;u&gt;Other problems&lt;/u&gt;. In this picture only a subset of the implementation errors is showed. "Design errors" might relay to absence of designed patterns, "user interface" might relay on weak protection and "other problems" might relay on physical protections and so on.. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Vulnerability classification is not an easy "field". It's not enough to say "buffer overflow", " format string" and "integer overflow" anymore -- -- -- to properly classify vulnerabilities. We need to keep in mind that researchers made great taxonomies to make class of vulnerabilities  and to help engineers to recognize all the possible available solutions.&amp;nbsp; &lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=naYjN2PQqe8:L_7BPFAPRKM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=naYjN2PQqe8:L_7BPFAPRKM:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/naYjN2PQqe8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/7235196236088285650/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=7235196236088285650" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7235196236088285650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7235196236088285650?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/naYjN2PQqe8/vulnerability-classification.html" title="Vulnerability Classification" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-zax_BBlmXoU/UVHEvjB7jNI/AAAAAAAALQc/If2jJfGV23k/s72-c/2013%25252005%25253A37.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/03/vulnerability-classification.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08MRX84cSp7ImA9WhBQFUg.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3362775852795470950</id><published>2013-03-17T14:31:00.001-07:00</published><updated>2013-03-17T14:31:24.139-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-03-17T14:31:24.139-07:00</app:edited><title>Nozzle and BuBBLE: a trick to JUMP them!</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
It is a busy time for me and as you see I rarely find time to write on my own blog, but as promised in the past I'll keep on posting some of my notes. Today, for example, I want to stare a nice trick to bypass &lt;a href="http://research.microsoft.com/pubs/76528/tr-2008-176.pdf"&gt;Noozle&lt;/a&gt; and (theoretically) &lt;a href="http://www.fort-knox.org/files/bubble.pdf"&gt;Bubble&lt;/a&gt;; two of the most used anti heap spray techniques. Both of the techniques aim to block the "Heap Spray payload delivering". While Noozle recognizes a sprayed payload and block it, Bubble blocks the execution of the payload by messying up the memory.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Lets start to keep a quick and dirty look into the "Heap Spray Payload Delivery Technique". The following image shows how the payload is delivered through the "spray" technique.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-qBSON9FDqck/UUX_jLvr4HI/AAAAAAAALPQ/FJSxz_6_lQw/s1600/Screen+Shot+2013-03-17+at+6.37.01+PM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="197" src="http://1.bp.blogspot.com/-qBSON9FDqck/UUX_jLvr4HI/AAAAAAAALPQ/FJSxz_6_lQw/s400/Screen+Shot+2013-03-17+at+6.37.01+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Payload Delivering technique: Heap Spray (From Microsot Noozle paper)&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;div style="text-align: justify;"&gt;
The attacker delivers to the target machine a significant number of payloads composed by a NOP sequence (white in the picture) and a final Shellcode (red in the picture). In order to guarantee high performances the kernel allocates memory randomly (ASLR) BUT in organized and atomic blocks.&amp;nbsp; Dependining on the memory blocks size it happens to have contiguous payloads.&amp;nbsp; Once the payloads have loaded into the memory the attacker needs to "fire" one of them by pointing EIP to the top-level addressese (NOP) which will eventually take the CPU to execute the desired Shellcode.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A full attack scenario follows three main steps:&lt;/div&gt;
&lt;ol style="text-align: justify;"&gt;
&lt;li&gt;Spray the Heap. Dinamic memory allocation. Fiilling memory with NOP+Shellcode&lt;/li&gt;
&lt;li&gt;Trigger the bug. Firing UP the bug to get a pointer.&lt;/li&gt;
&lt;li&gt;Control \xEIP to point to the Heap. Making the pointer "pointing" to the memory heap.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
One of the most classic way to Spray the heap is to use scripting laguage such as: javascript for spraying browsers or&amp;nbsp; PDF readers, VBA macros for spraying Microsoft Office suite, ActionsScriptins for spraying Adobe Flash, etc...&amp;nbsp; One of the most famous (IE6/IE7) script used by attacker all around the world is the following one (I don't know who the author is)&lt;/div&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-qX49t0DchE8/UUYFK4FB49I/AAAAAAAALPY/aD_2QTiG6xs/s1600/Screen+Shot+2013-03-17+at+7.00.56+PM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="125" src="http://4.bp.blogspot.com/-qX49t0DchE8/UUYFK4FB49I/AAAAAAAALPY/aD_2QTiG6xs/s400/Screen+Shot+2013-03-17+at+7.00.56+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Spray Heap commonly used scripts, from spray2.html (exploitdb)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
The anonymous script will produce a heap layout like the one showed in the next picture where&amp;nbsp; the big yellow section (in the bottom of the memory graphic visualization)&amp;nbsp; represents the contiguous payload (NOP+Shellcode) just allocated in the memory&amp;nbsp; (memory array variable in the script):&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-g0cyjW0ELfM/UUYKm2ZlykI/AAAAAAAALPw/FJnzpI7Zsu4/s1600/Screen+Shot+2013-03-17+at+7.24.30+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="188" src="http://2.bp.blogspot.com/-g0cyjW0ELfM/UUYKm2ZlykI/AAAAAAAALPw/FJnzpI7Zsu4/s320/Screen+Shot+2013-03-17+at+7.24.30+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
An example of how to trigger the payload generated by the anonymous script, using SEH chain&amp;nbsp; could be the following:&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-kh6H9Obqmk8/UUYIHLahi0I/AAAAAAAALPo/lAoi9C24leM/s1600/Diapositiva1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-kh6H9Obqmk8/UUYIHLahi0I/AAAAAAAALPo/lAoi9C24leM/s400/Diapositiva1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Example of Payload using SEH chain technique. Add NOPs in the first JUNK section to have more chances to get it.&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;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;A wrong access to the RET address&amp;nbsp; (\xff\xff\xff\xff) raises the SEHandler which points directly to the memory heap (which is randomized but always on top of the stack ... top = lower addresses...) where is located the payload. From the attacker prespective it is enough to find out a NOP in the memory heap. The NOP sleed will take the CPU to execute the desired payload.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
According to the paper: "Noozle: A Defense Against Heap-spraying Code Injection Attacks" by Paruj Ratanaworabhan et Al. it possible to exploits the pattern used by memory heap sprayers against themeselves. Common "sprayers" (like the script above) allocte high memory content, one close to the other, filled by NOPs and Sellcodes.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-LBaOrOuxIYU/UUYMCK7dJCI/AAAAAAAALP4/MzpQtm5yb78/s1600/Screen+Shot+2013-03-17+at+7.21.58+PM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="208" src="http://3.bp.blogspot.com/-LBaOrOuxIYU/UUYMCK7dJCI/AAAAAAAALP4/MzpQtm5yb78/s400/Screen+Shot+2013-03-17+at+7.21.58+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Noozle system architecture, From Noozle paper by Microsoft&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
The previous image represents the Nozzle architecture. Noozle parses and detects memory alloctions before letting them free in the Browser heap. This security layer introduced in IE8 does not reduce the overall process speed and it's totally transparent to the user. If the Noozle's detectors find a payload according to the described pattern, the running script execution is blocked. Contrary if not patterns have detected the content is freely available to the application heap.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Another gret example of how to prevent&amp;nbsp; memory heap spraying implemented on Mozilla Firefox is called BuBBLE. Introduced by Francesco Gadelata et Al in 2010 it changes the way javascript writes strings in the memory. The following image shows what a delivered payloads becomes after BuBBLE messed up with it&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-YGYxpHgliAE/UUYPiu0K_DI/AAAAAAAALQA/Z66LdrQ75eg/s1600/Screen+Shot+2013-03-17+at+7.44.58+PM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="155" src="http://1.bp.blogspot.com/-YGYxpHgliAE/UUYPiu0K_DI/AAAAAAAALQA/Z66LdrQ75eg/s400/Screen+Shot+2013-03-17+at+7.44.58+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;BuBBLE memory transformation (From &lt;a href="http://dl.acm.org/citation.cfm?id=2175007"&gt;Bubble&lt;/a&gt; Paper, ACM)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Aim of this contromeasure is to change the way javascript strings are dinamically allocated in the memory. As the image shows it gets hard from the attacker to address the exact point in the heap since NOP chain is interrupted by BuBBLE.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Both of these techniques are very effective in modern browsers, but what if do we introduce smaller payloads within further jump instructions? In other words; what if do we add a "jump to a further small payload" in addition to the NOPs chain ?&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The following image shows an example of this trick. The delivered payload -- which uses a ROP chain to bypass DEP/Nx protection-- bypasses Nozzle detectors since the NOPs chain is reduced and jump statements have used. I decided to introduce ROP chain in this example just to let you know the techniques are componible and can be used toghether. For more information about ROP &lt;a href="http://marcoramilli.blogspot.it/search?q=ROP&amp;amp;x=0&amp;amp;y=0"&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ubGCn5CaIJw/UUYTw1T5d2I/AAAAAAAALQI/RmDlIOKAzBM/s1600/Diapositiva2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-ubGCn5CaIJw/UUYTw1T5d2I/AAAAAAAALQI/RmDlIOKAzBM/s400/Diapositiva2.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Example of possible delivered payload to bypass Noozle&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&amp;nbsp; &lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;This technique is about reducing the payload size and the number of NOPs in memory. Splitting the payload into multiple smaller payloads chained together through a forward JUMP. Statistically speaking the most probable address in which to JUMP is on \0x0c0c0c0c. Why this is the most "probable" address is not scope of this post. I might have time to describe the most probable addresses (\0x06060606, \0x08080808, \0x09090909) in future posts.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In this post another great example on how "security" follows "hacking" and on how security following hacking failed and will fail again. I do believe that Security should prevent hacking and not following it; more research on how to prevent Heap Spraying Technique is needed. &amp;nbsp; &lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ue99tq-eKzM:FTkivHMwpPU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ue99tq-eKzM:FTkivHMwpPU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/ue99tq-eKzM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3362775852795470950/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3362775852795470950" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3362775852795470950?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3362775852795470950?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/ue99tq-eKzM/nozzle-and-bubble-trick-to-jump-them.html" title="Nozzle and BuBBLE: a trick to JUMP them!" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-qBSON9FDqck/UUX_jLvr4HI/AAAAAAAALPQ/FJSxz_6_lQw/s72-c/Screen+Shot+2013-03-17+at+6.37.01+PM.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/03/nozzle-and-bubble-trick-to-jump-them.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08ARHY7eip7ImA9WhBTE0w.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3661998763593254492</id><published>2013-02-08T01:30:00.002-08:00</published><updated>2013-02-08T01:30:45.802-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-08T01:30:45.802-08:00</app:edited><title>2013 and the "Ping of Death"</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
It's been a while since I am in the computer security discipline and I remember the old &lt;a href="http://en.wikipedia.org/wiki/Ping_of_death"&gt;Ping Of Death&lt;/a&gt; attack. How cool was it&amp;nbsp; ?! At that time breaking the stack was as simpe as breaking the modelling assumptions, for example breaking the stack in 1997 was as simple as sending to the target stack a unexpected lenght in the ICMP packet ! And, yes, I do remember the time being where a malformed source and destination address caused the &lt;a href="http://it.wikipedia.org/wiki/Smurf_attack"&gt;smurf attack&lt;/a&gt;.&amp;nbsp; After those implementation mistakes, developers, engineers and the developing frameworks became more and more sophisticated, became more and more complete in term of security checking.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
It is a long time since I saw another mistake like thise ! ... Untill today ! Today I've read a &lt;a href="http://www.kriskinc.com/intel-pod"&gt;post &lt;/a&gt;talking about another implementation bug in the TCP/IP stack made by Intel enginners. The writer shows how the Intel card ( 82574L ) &lt;b&gt;shouts down&lt;/b&gt; if a specific value (0x32) is placed into a specific address ( 0x47F). Which basically means if the ASCII "2" is into a specific address in the sent stream.&lt;/div&gt;
&lt;br /&gt;
Let's take a closer look to the bytesteram:&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/-tB7ou8Ol3tg/URTAi3QcuQI/AAAAAAAALOQ/1HAuEA24Xho/s1600/Screen+Shot+2013-02-08+at+10.01.43+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-tB7ou8Ol3tg/URTAi3QcuQI/AAAAAAAALOQ/1HAuEA24Xho/s400/Screen+Shot+2013-02-08+at+10.01.43+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
Image From &lt;a href="https://lh5.googleusercontent.com/gF1gg-IzbCVuy_PfJcFw04nexSp9iD5_KFIbkEHZl_nXBnPZZHkTHYuJuGTZ0y3w9iTBs0uKCyNwPoNBzPJvTSm5spQeMKq6NgAf6-c6PHOdrumyk_L5"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Shutting down an ethernet card could be pretty annoying for a system, in fact you need to reboot your entire machine before getting the card workgin bback. Further analysis showed that different values placed into the same address, change the card behavior.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
So hard to find so easy to test. When you play with networks captures and/or with networks crafters the big amount of data let the bug hunter's work be pretty difficult and annoying. Contrary a lot of tools have been developed for testing the network behavior so once you found the bug to reproduce it would be pretty easy as simple as:&amp;nbsp; &lt;i&gt;"ping -p 32 -s 1110 x.x.x.x"&lt;/i&gt;  &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Another fun story to tell, another good example showing why there is the need of security evangelists to increse the security awareness, another good example showing that bugs and eventually vulnerabilities are always "behind the corner" :D. It is worthy to remember.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=bVgGpUSETnA:CRYgIXUBYMk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=bVgGpUSETnA:CRYgIXUBYMk:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/bVgGpUSETnA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3661998763593254492/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3661998763593254492" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3661998763593254492?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3661998763593254492?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/bVgGpUSETnA/2013-and-ping-of-death.html" title="2013 and the &quot;Ping of Death&quot;" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-tB7ou8Ol3tg/URTAi3QcuQI/AAAAAAAALOQ/1HAuEA24Xho/s72-c/Screen+Shot+2013-02-08+at+10.01.43+AM.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/02/2013-and-ping-of-death.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QDRX0zfip7ImA9WhNaGE4.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3289987268410811099</id><published>2013-02-02T10:56:00.000-08:00</published><updated>2013-02-02T10:56:14.386-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-02T10:56:14.386-08:00</app:edited><title>SCADA (in)Security</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
During the last weeks I've been involved in some SCADA systems testing. It has been quite a new world for me, no memory overflows or ROP, no specific deobfuscator&amp;nbsp; techniques;&amp;nbsp; just plain text analysis, sometimes even too easy old web style (in)security.&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Sometimes the difficulty of the intrusion was just a matter of few minutes. For example in the following scenario the web server protection was based on .htaccess file holding a really insecure password (3 minutes of bruteforcing). The following images represent a supervisor (and controller) of an entire farm. Attackers could easily stop water services, power supplies and heaters.&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/-SKuL-RqNm04/UQ1YzonC08I/AAAAAAAALME/IMWYIXCXacs/s1600/Screen+Shot+2013-02-02+at+5.52.59+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="135" src="http://3.bp.blogspot.com/-W_0Ju8QvqEA/UQ1YzKXJqsI/AAAAAAAALMA/CtqiDuaKp5U/s200/Screen+Shot+2013-02-02+at+5.51.54+PM.png" width="200" /&gt; &lt;img border="0" height="133" src="http://3.bp.blogspot.com/-SKuL-RqNm04/UQ1YzonC08I/AAAAAAAALME/IMWYIXCXacs/s200/Screen+Shot+2013-02-02+at+5.52.59+PM.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-2-Y2Pgl1y9M/UQ1Y1tQDojI/AAAAAAAALMU/_rbnVVsGTFM/s1600/Screen+Shot+2013-02-02+at+5.57.16+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="133" src="http://4.bp.blogspot.com/-ZxTZgAH3bZg/UQ1Y1aTi2AI/AAAAAAAALMQ/E2uZSnbV0O4/s200/Screen+Shot+2013-02-02+at+5.52.12+PM.png" width="200" /&gt; &lt;img border="0" height="134" src="http://1.bp.blogspot.com/-2-Y2Pgl1y9M/UQ1Y1tQDojI/AAAAAAAALMU/_rbnVVsGTFM/s200/Screen+Shot+2013-02-02+at+5.57.16+PM.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Sometimes the entire system relizes on unsecure protocol (Telnet) and the bruteforce is just a metter of hours. In the specific case just 1.5h&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-ecApZoyEUBU/UQ1aMljYaKI/AAAAAAAALMg/vKUUAgKo58w/s1600/Screen+Shot+2013-02-02+at+6.53.50+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-ecApZoyEUBU/UQ1aMljYaKI/AAAAAAAALMg/vKUUAgKo58w/s320/Screen+Shot+2013-02-02+at+6.53.50+PM.png" width="213" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Even more dangerous when you enter in a system able to control the electric power supply of a huge building and you discover that you &lt;b&gt;were not the first one &lt;/b&gt;!!&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-2wM1TwNasV0/UQ1azIM9U1I/AAAAAAAALMo/bMKV3e-wVrs/s1600/evilTelnet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="234" src="http://2.bp.blogspot.com/-2wM1TwNasV0/UQ1azIM9U1I/AAAAAAAALMo/bMKV3e-wVrs/s320/evilTelnet.png" width="320" /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Who put &lt;b&gt;evil.exe&lt;/b&gt; there ?? This specific case was even not password protected ! WoW. (I feel a little bit lame at this moment...) And the list is just huge.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
There are some "smarter" systems who calculates passwords on unescaped javascript:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-6N6Nw8Q38zc/UQ1boyQmAQI/AAAAAAAALMw/0HLuBXkpt88/s1600/Screen+Shot+2013-02-02+at+7.31.28+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-6N6Nw8Q38zc/UQ1boyQmAQI/AAAAAAAALMw/0HLuBXkpt88/s400/Screen+Shot+2013-02-02+at+7.31.28+PM.png" width="287" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
Systems which lets open logs and open control panel because "hidden", and so secured enough ! (0_o!)&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-zM9yCmpv6QU/UQ1b212jz-I/AAAAAAAALM4/rsqABXVAuD8/s1600/Screen+Shot+2013-02-02+at+6.44.55+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://2.bp.blogspot.com/-zM9yCmpv6QU/UQ1b212jz-I/AAAAAAAALM4/rsqABXVAuD8/s400/Screen+Shot+2013-02-02+at+6.44.55+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Or even who check the presence of a cookie to authorize to configure an entire Power Cell !&lt;br /&gt;
&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/-ckSCKLzKAW4/UQ1cNOsLx1I/AAAAAAAALNA/GqeFYuSb0k4/s1600/Screen+Shot+2013-02-02+at+7.12.36+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="184" src="http://1.bp.blogspot.com/-ckSCKLzKAW4/UQ1cNOsLx1I/AAAAAAAALNA/GqeFYuSb0k4/s200/Screen+Shot+2013-02-02+at+7.12.36+PM.png" width="200" /&gt;&lt;/a&gt; &lt;a href="http://2.bp.blogspot.com/-L6HsyLqmD-U/UQ1cNWLecnI/AAAAAAAALNE/_sP9b8zQtsI/s1600/Screen+Shot+2013-02-02+at+7.12.25+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-aKjuIdRUAnQ/UQ1cOUIejUI/AAAAAAAALNQ/76K5UEI_dAQ/s200/Screen+Shot+2013-02-02+at+7.13.11+PM.png" width="185" /&gt; &amp;nbsp;  &lt;img border="0" height="119" src="http://2.bp.blogspot.com/-L6HsyLqmD-U/UQ1cNWLecnI/AAAAAAAALNE/_sP9b8zQtsI/s200/Screen+Shot+2013-02-02+at+7.12.25+PM.png" width="200" /&gt;&amp;nbsp;&lt;/a&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
At this stage seems that SCADA security is at the very beginning of its history. Unfortunately SCADA systems are really important and might affect thousands, hundred thousands of people. I wont immage a nuclear station managed according to these security standards! It would be just scarry.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Since I am totally newbie on SCADA security, I started some research on my own and I found some interesting resources that shows more advance attacks techniques such as the following:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
PLCScan: how to find out PLC and how to deal with them:
&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/SgZTJva2NfA" width="560"&gt;&lt;/iframe&gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Metasploit MOdule WinVNC Harvester:

&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/DycuwCYN7M8" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to recover S7 PLC/TIA portal password
&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/AI8z-kgvVYY" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;Hope this BLOG-POST helps to encrease security awareness on SCADA systems. They are huge, important and they can affect the real life of many citizens. Each water station, electric station, nuclear station, but also each airport, each industry owns a SCADA system to monitor and (sometime) to control machineries.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=boeXpBQQsy8:lL_hvUFDPl0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=boeXpBQQsy8:lL_hvUFDPl0:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/boeXpBQQsy8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3289987268410811099/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3289987268410811099" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3289987268410811099?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3289987268410811099?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/boeXpBQQsy8/scada-insecurity.html" title="SCADA (in)Security" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-W_0Ju8QvqEA/UQ1YzKXJqsI/AAAAAAAALMA/CtqiDuaKp5U/s72-c/Screen+Shot+2013-02-02+at+5.51.54+PM.png" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/02/scada-insecurity.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYBRXc6cSp7ImA9WhNbE08.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-1367760302244085909</id><published>2013-01-15T13:25:00.002-08:00</published><updated>2013-01-15T23:59:14.919-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-15T23:59:14.919-08:00</app:edited><title>BUSY,BUSY,BUSY and Java Vulnerability</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Hi Folks,&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
it's a very &lt;b&gt;BUSY&lt;/b&gt; working time for me, my apologies for the few blog-posts during the past months !&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Even today I am writing in the middle of the night &amp;nbsp;and I don't have enough energies to write a detailed post, BUT I do want to remember this incredible vulnerability found on Java 7, during the past few days. The Java bug is still not well described in the &lt;a href="http://www.oracle.com/technetwork/topics/security/alert-cve-2013-0422-1896849.html"&gt;CVE-2013-0422&lt;/a&gt;&amp;nbsp;, Oracle did not publish further details so far.&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/-kLr-xfcPDr0/UPW15XaoQXI/AAAAAAAALIQ/EnYPYgA9KAE/s1600/Screen+Shot+2013-01-15+at+8.35.37+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="247" src="http://3.bp.blogspot.com/-kLr-xfcPDr0/UPW15XaoQXI/AAAAAAAALIQ/EnYPYgA9KAE/s400/Screen+Shot+2013-01-15+at+8.35.37+PM.png" width="400" /&gt;&lt;/a&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: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
It seems the only suggestion from the security community is to disable Java from Browsers. Take a look &lt;a href="http://labs.alienvault.com/labs/index.php/2013/new-year-new-java-zeroday/"&gt;here&lt;/a&gt;&amp;nbsp;and to the&amp;nbsp;&lt;a href="http://pastebin.com/raw.php?i=cUG2ayjh"&gt;Vulerability Source Code&lt;/a&gt;.&lt;br /&gt;
&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/-W3uq2wgeOlM/UPW5EuPy2zI/AAAAAAAALJM/v6gpxIDArY0/s1600/Screen+Shot+2013-01-15+at+9.10.13+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="96" src="http://3.bp.blogspot.com/-W3uq2wgeOlM/UPW5EuPy2zI/AAAAAAAALJM/v6gpxIDArY0/s400/Screen+Shot+2013-01-15+at+9.10.13+PM.png" width="400" /&gt;&lt;/a&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: justify;"&gt;
BlackHole, as well as many other exploit packs might have it since 2010 [&lt;b&gt;Unconfirmed information, given from private source&lt;/b&gt;] ! &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
[&lt;b&gt;update&lt;/b&gt;]&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
My quick and dirty explanation &amp;nbsp;(remember what I wrote on line 4):&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The &lt;i&gt;com.sun.jmx.mbeanserver.MBeanInstantiator.findClass&lt;/i&gt; method has a bug that allows users to retrieve Class references of any package. In fact &lt;i&gt;findClass &lt;/i&gt;calls another method called&amp;nbsp;&lt;i&gt;loadClass(ClassName)&amp;nbsp;&lt;/i&gt;which loads the given Class. Unfortunately the &lt;i&gt;findClass&lt;/i&gt;&amp;nbsp;method is private and not accessible from external users. However looking at the Call Hierarchy we see there is a public method that calls the contractors. The method is: &lt;i&gt;com.sun.jmx.mbeanserver.JmxMBeanServer. &lt;/i&gt;The&lt;i&gt; JmxMBeanServer &lt;/i&gt;constructor implementation shows the MBeanInstantiator is stored in the
&lt;u&gt;&lt;i&gt;instantiator&lt;/i&gt;&lt;/u&gt; attribute&lt;i&gt;. &lt;/i&gt;Such a class has a method called &lt;i&gt;getMBeanInstantiator&lt;/i&gt;&amp;nbsp; which returns what we need (&lt;i&gt;findClass&lt;/i&gt;).&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The exploit's code looks like the following one:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-qGAKkti-loQ/UPW9VoRNcCI/AAAAAAAALKI/JHscoGiJVkU/s1600/Screen+Shot+2013-01-15+at+9.33.46+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://1.bp.blogspot.com/-qGAKkti-loQ/UPW9VoRNcCI/AAAAAAAALKI/JHscoGiJVkU/s640/Screen+Shot+2013-01-15+at+9.33.46+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Actually the entire exploit is way more complex then the one represented up here; &amp;nbsp;it uses Recursive Reflection Vulnerability (
&lt;a href="http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5088"&gt;CVE-2012-5088&lt;/a&gt;). Following the main steps of the exploit.&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/-s0ZbCgl8bkk/UPXBR_gk3OI/AAAAAAAALLE/01fP5trVdbA/s1600/Screen+Shot+2013-01-15+at+9.50.15+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="251" src="http://3.bp.blogspot.com/-s0ZbCgl8bkk/UPXBR_gk3OI/AAAAAAAALLE/01fP5trVdbA/s640/Screen+Shot+2013-01-15+at+9.50.15+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
The exploits' teps are the following(taken from &lt;a href="https://partners.immunityinc.com/"&gt;immunityinc&lt;/a&gt;):&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Using the previously described vulnerability, it gets two classes from a restricted package.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Using a simple public Lookup instance it uses reflection on the Lookup class to get a
MethodHandle for the findConstructor method.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Invokes the findConstructor MethodHandle on the public Lookup instance passing clazz1 as
parameter to get a MethodHandle for sun.org.mozilla.javascript.internal.Context
constructor.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Invoke the constructor and create a sun.org.mozilla.javascript.internal.Context instance.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
For more information&lt;a href="http://blog.fireeye.com/research/2013/01/happy-new-year-from-new-java-zero-day.html"&gt;&amp;nbsp; here&lt;/a&gt;.&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=QVPoGUx7Zpo:oBZX19iD47s:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=QVPoGUx7Zpo:oBZX19iD47s:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/QVPoGUx7Zpo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/1367760302244085909/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=1367760302244085909" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/1367760302244085909?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/1367760302244085909?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/QVPoGUx7Zpo/busybusybusy-and-java-vulnerability.html" title="BUSY,BUSY,BUSY and Java Vulnerability" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-kLr-xfcPDr0/UPW15XaoQXI/AAAAAAAALIQ/EnYPYgA9KAE/s72-c/Screen+Shot+2013-01-15+at+8.35.37+PM.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2013/01/busybusybusy-and-java-vulnerability.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4ASX4ycCp7ImA9WhNRFU8.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-6028578971529429505</id><published>2012-11-08T00:01:00.001-08:00</published><updated>2012-11-09T22:29:08.098-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-09T22:29:08.098-08:00</app:edited><title>How Malware survives to Malware detection mechanisms</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Today I'd like to share some basic techniques that Malware(s) use to protect themselves from being detected. Some of the most used approaches to detect Maware could be described as follows:&lt;/div&gt;
&lt;ol style="text-align: justify;"&gt;
&lt;li&gt;&amp;nbsp;Virtualize the environment in where Malware(s) run.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Attach a debugger to Malware processes and&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Sandbox the execution of the analyzed Malware.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;It comes straight forward that Malware writers need new techniques to detect the detectors :D. In other words they need tools to figure out if the Malware is being analyzed or not. There are tons of ways to perform these checks, here I just want to sketch same of them for future researches.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Detecting Virtual Machines.&lt;/b&gt; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Virtual environments have virtual devices such as virtual interfaces, virtual hard dirves and virtual graphics. Malware(s) by using a widly known techniques against "Malware" (ie. the signature checking technique) can detect the environement where they are running. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
For example, a network interface for VMware Workstation has a MAC address starting with 00:50:56: or 00:0C:29. A wise Malware could decide how to behave depending on its environment. For example if it runs on a virtual environment it might decide to not perform malicious actions on the other hand if it runs on a real environment it might decide to perform malicious actions. Another used technique to understand the presence of a VM is to check for GUIDs. For example: &lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-AS5NXBMo0hg/UJoI5wmRWpI/AAAAAAAALGM/efQPcU66Fkc/s1600/Screen+Shot+2012-11-07+at+8.08.05+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" src="http://2.bp.blogspot.com/-AS5NXBMo0hg/UJoI5wmRWpI/AAAAAAAALGM/efQPcU66Fkc/s640/Screen+Shot+2012-11-07+at+8.08.05+AM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
MD5: 0151c5afde070a7b194f492d26e9b3ef (Trojan.Agent-124243 by ClamAV).&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The previous picture represents the function checking for&amp;nbsp; the presence of:&amp;nbsp; HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProductId 76487-644-3177037-23510. The presence of such a key proves the CWSandbox environment is running on the host platform. Or again, the Malware(s) could check for specific Hard Drives, Video Drivers and even Mouse Drivers. Some classical examples&amp;nbsp; follow:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp;Hard drive driver (VMware):&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE\DiskVMware_Virtual_IDE_Hard_Drive___________00000001\3030303030303030303030303030303030303130\FriendlyName VMware Virtual IDE Hard Drive&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Video driver (VMware):&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000\DriverDesc VMware SVGA II&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Mouse driver (VMware):&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
%WINDIR%\system32\drivers\vmmouse.sys&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Detecting hardware signatures is not the only solution for malware writers, there are many other differences between Virtual Environments and Real Environments. One of the biggest is the inconsistency of "Table Registers". We have only one Interrupt Descriptor Table Register (IDTR), one Global Descriptor Table Register (GDTR) and only one Local Descriptor Table Register (LDTR) for each processor on the platform. But since in a virtual environment we have at least two operation systems running symultaneosly, the virtual machine needs to dynamically adjust each "Table Registers" in order to avoid conflicts. The process creates inconsistency between the native "Table Registers" and the virtual ones. A Malware can detect these inconsistencies by using assembly level instructions to read those values. SIDT, SGDT and SLDT might been used to read the original values of "Table Registers".&amp;nbsp; The following is an example of such a difference.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
MD5: b27d73bfcbaec49a95f23b45e9cf9310 (W32.Virut-54 by ClamAV)&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The IDT is at:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
0x80ffffff in Windows&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
0xe8XXXXXX in Virtual PC&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
0xffXXXXXX in VMware&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Again, this is not all the malware writers have. Some Virtual machines, such as VMware use backdoors as a communication media between the hosting machine and virtual machines. For example port 0x5658 (ASCII:"VX") is used in VMware virtual environments. Malware might be able to detect the name of the communication port and behave on consequence.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Detecting Debuggers.&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Debugging is not per-se a virtualization, however this technique is widely used by reverse engineers in order to understand what the process is doing. Virtualizaion is the first and easiest way to perform Malware Analysis since you get the results out of the box by simply running the executable. Debugging is way more complicated but you have a deep understanding of what the process does in the host machine. Detecting debuggers is another important techniques that Malware writers have to consider during the Malware creation. The following code (taken from &lt;a href="http://labs.alienvault.com/labs/index.php/2012/your-malware-shall-not-fool-us-with-those-anti-analysis-tricks/"&gt;here&lt;/a&gt;) shows a simple function checking for the presence of an attached debugger on Windows machine.&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/-FsEgB1HvFLM/UJoQwfewKvI/AAAAAAAALHI/3flVyWZI2aI/s1600/Screen+Shot+2012-11-07+at+8.38.37+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="253" src="http://3.bp.blogspot.com/-FsEgB1HvFLM/UJoQwfewKvI/AAAAAAAALHI/3flVyWZI2aI/s400/Screen+Shot+2012-11-07+at+8.38.37+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
The above funciton checks the presence of an atacched debugger by asking to IsDebuggerPresent from kernel32.dll. The next function looks for files such as: SyserDbgMsg, SyserBoot and SICE, NTICE. Those files holds the informations, and the history of a debugged process (taken from &lt;a href="http://labs.alienvault.com/labs/index.php/2012/your-malware-shall-not-fool-us-with-those-anti-analysis-tricks/"&gt;here&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/-PY76GSgFDfM/UJoR2g0IvaI/AAAAAAAALHQ/mvA-qYT7Whc/s1600/Screen+Shot+2012-11-07+at+8.46.12+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" src="http://3.bp.blogspot.com/-PY76GSgFDfM/UJoR2g0IvaI/AAAAAAAALHQ/mvA-qYT7Whc/s400/Screen+Shot+2012-11-07+at+8.46.12+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Another way to detect debuggers is the NtGlobalFlags check:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
mov eax, dword ptr [fs:30h]&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
add eax, 68h&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
mov eax, dword ptr [ds:eax]&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
cmp eax, 70h&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
if the value in %eax register is equals to 70h, a debugger is attachecd to the process. If the process is not debugged the value of the flag is null (there is no such a flag). If you are implementing this check, remember null pointer exceptions...&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Another way to detect Debuggers is throught timing out. Debuggers can put break points in the code, and can therefore stop program execution. A program can detect this, by monitoring the system clock. If too much time has elapsed between instructions, it can be determined that the program is being stopped and analyzed.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
These techniques are only some of the numerous techniques that Malware writers might use. If you'd like to check them visit the OpenRCE dedicated page &lt;a href="http://www.openrce.org/reference_library/anti_reversing"&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Sanbox Environments.&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A sandbox is a tightly secured environment where the analyst can run and analyze the behavior of a given application.&amp;nbsp; &lt;b&gt;&lt;/b&gt;It's quite useful since once the execution (of the selectede software) ends everything is automatically restored to the previous state in which the machine was before the run. Being able to restore a "previous state" of an entire OS means to be able to record everything the software does. For such a reason sandbox environemtns are so usefull to analyze M0alware(s).&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
So usefull but so predictables as well. Pretty much each sandbox has an unique way to be detected. &lt;a href="http://anubis.iseclab.org/"&gt;Anubis&lt;/a&gt; for example can be recognized based on its product ID (which happens to be: 76487-337-8429955-22614) located at HKMLSoftwareMicrosoftWindows NTCurrentVersion. Following a code snipped able to detect Anubis sandBox (via &lt;a href="http://www.aspfree.com/c/a/braindump/virtualization-and-sandbox-detection/"&gt;aspfree&lt;/a&gt;):&lt;/div&gt;
&lt;br /&gt;
&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; 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;private static bool AntiAnubis2() {

RegistryKey regProductID = Registry.LocalMachine.OpenSubKey("SOFTWAREMicrosoftWindows"
                           +"NTCurrentVersion", false);
object pid = regProductID.GetValue("ProductId");
string id = "76487-337-8429955-22614";
if ((string) pid == id)
  return true;

return false;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Using the same code is possible to detect &lt;a href="http://www.joesecurity.org/"&gt;JoeBox&lt;/a&gt; and &lt;a href="http://mwanalysis.org/"&gt;CWSandbox&lt;/a&gt; as well (just checking for 55274-640-2673064-23950 and 76487-644-3177037-23510 registry keys). &lt;a href="http://www.sandboxie.com/"&gt;Sandboxie&lt;/a&gt; and &lt;a href="http://www.threatexpert.com/"&gt;ThreatExpert&lt;/a&gt;&amp;nbsp; do not use fixed Registry keys as the previous sanbox solutions do, so it is not possible to detect them using the aforementioned code. However they do load specific DLLs in the sandboxed environment in order to control the executed software. So why not just checking for such DLLs ?  sbiedll.dll and dbghelp.dll are respectively the two used DLLs.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
More ways to evade current security solutions are out there, in this post I summed up some of the most used and some of the most implemented techniques. If you are doing reverse engineering please keep in mind that things are becoming complex since malware writers use those techniques quite frequently. Don't stop your analysis on a sandbox, don't run the suspected malware only in virtual environments and keep in mind debugger-traps whle you are using your favorite debugger.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=NIpqpFDBdGQ:8mfI6WONSPw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=NIpqpFDBdGQ:8mfI6WONSPw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/NIpqpFDBdGQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/6028578971529429505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=6028578971529429505" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6028578971529429505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6028578971529429505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/NIpqpFDBdGQ/how-malware-survives-to-malware.html" title="How Malware survives to Malware detection mechanisms" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-AS5NXBMo0hg/UJoI5wmRWpI/AAAAAAAALGM/efQPcU66Fkc/s72-c/Screen+Shot+2012-11-07+at+8.08.05+AM.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/11/how-malware-survives-to-malware.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8ASHozeCp7ImA9WhNSF0w.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3958271670458878902</id><published>2012-10-25T06:17:00.000-07:00</published><updated>2012-10-31T13:04:09.480-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-31T13:04:09.480-07:00</app:edited><title>IDAscope a great SwissKnife for reversers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Hi Folks,&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
today I'd like to introduce a great tool made by Daniel Plohmann and Alexander Hanel from University of Bonn and Fraunhofer FKIE called &lt;a href="http://pnx-tf.blogspot.it/"&gt;IDAscope&lt;/a&gt;. IDAscope is an IDAPro extension for easier (malware) reverse engineering: it offers three main functionalities:&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-2dbajNsvAYA/UIkwSIscntI/AAAAAAAALEM/_PfJHFryeHY/s1600/Screen%2BShot%2B2012-10-25%2Bat%2B2.27.06%2BPM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="210" src="http://4.bp.blogspot.com/-2dbajNsvAYA/UIkwSIscntI/AAAAAAAALEM/_PfJHFryeHY/s400/Screen%2BShot%2B2012-10-25%2Bat%2B2.27.06%2BPM.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;From Hacklu slides (click to make it bigger).&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;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;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;&lt;b&gt;Function Inspection&lt;/b&gt;. This function implements the ability to tag specific series of called API. The tracked API could be selected and modified into a specific config file (config.json). IDAscope will alert you when specific API patterns will occur. The function inspection functionality enables another super feature called: &lt;i&gt;basic bloc coloring&lt;/i&gt;. Having colored blocks in IDAPro is really useful to quick understand what is the purpose of the analyzed pieace of code. What it's common to do, right now, is to collapse blocks by giving high level names. IDAscope offers the possibility to automatically coloring blocks making you way more efficient in recognize useless blocks. Code to Function convertion and automatic rename of wrapper functions are additional usefull functionalities as well.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;b&gt;WinAPI Browsing.&lt;/b&gt; Obviously for windows reversers is incredibly useful having Windows API reference manual. Here, by using IDAscope the API reference is next to your eyes for quick and smart lookup. The following image shows both: Blocks Coloring and WinAPI browsing. &lt;/li&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-qtMIu5Yxe3M/UIk1pqMc7pI/AAAAAAAALFM/Vf5yGBgmzHs/s1600/Screen+Shot+2012-10-25+at+2.46.28+PM.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="172" src="http://1.bp.blogspot.com/-qtMIu5Yxe3M/UIk1pqMc7pI/AAAAAAAALFM/Vf5yGBgmzHs/s320/Screen+Shot+2012-10-25+at+2.46.28+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;From Haclu slides (click to make it bigger).&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;li style="text-align: justify;"&gt;&lt;b&gt;Crypto Identification. &lt;/b&gt;Maybe the most useufl functionality to all the reversers that are used to struggle with multiple tools to figure out what encryption algorithm has been used on the code. IDAscope detects the used algorithm basing its analysis on the ratio of arithmetic / logic instructions to all instructions in a basic block. More details on how it works &lt;a href="http://prisms.cs.umass.edu/cs660sp11/papers/dispatcher_ccs09.pdf"&gt;here&lt;/a&gt; (by Juan Caballero).&amp;nbsp;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
For sure a great tool helping out reverse engineers and a great example to everybody who is going to finish his/her PhD on how to "pack" all (or most of) the reseaches done in the past years.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;A personal suggestion to push the project to the next step.&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
What about improving the tagging function to reach out the "behavior analisys" ? You already have implemented some of the basic functions to be able to understand the behavior of the analyzed binary; for instance you already have implemented the lookup function and the tagging function.&amp;nbsp; What about shipping out the extension within configuration files representing some of the most used malicious behaviors ? There are tons of researches on this field that can be easily implemented in your estension with relatively few effort.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5t1T7mZ13CA:mSBCo3IFGbU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5t1T7mZ13CA:mSBCo3IFGbU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/5t1T7mZ13CA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3958271670458878902/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3958271670458878902" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3958271670458878902?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3958271670458878902?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/5t1T7mZ13CA/h-folks-today-id-like-to-introduce.html" title="IDAscope a great SwissKnife for reversers" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-2dbajNsvAYA/UIkwSIscntI/AAAAAAAALEM/_PfJHFryeHY/s72-c/Screen%2BShot%2B2012-10-25%2Bat%2B2.27.06%2BPM.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/10/h-folks-today-id-like-to-introduce.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYAQ3o9eyp7ImA9WhJbFks.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-2593670829840708220</id><published>2012-09-26T05:55:00.001-07:00</published><updated>2012-09-26T05:55:42.463-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-26T05:55:42.463-07:00</app:edited><title>Leading a security team</title><content type="html">&lt;p style="text-align: justify;"&gt; Today I want to start from this sentence written by Frederick P. Brooks, JR. The Mithical Man-Month:&lt;/p&gt;

&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt;&lt;em&gt;Software systems are perhaps the most intricate and complex (in terms of number of distinct kinds of parts) of the things humanity makes &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p style="text-align: justify;"&gt;Being the most complex systems the man can build, software systems are addicted to numerous mistakes either conceptually either technicals. Each mistake hides a bug, and some specific bugs ( the one that could affect the normal security model of the designed system) could become a vulnerability. This is the "why" we still find  and we will find vulnerabilities in softwares ... This is the "why" we will need security experts to handle crisis generated by such a vulnerabilities. In this post I'd like to review some of the basic concepts of  "team leadership processes" and apply them into red teaming. This is not going to be an exhaustive review of the most used leading concepts but rather a different point of view (from a security perspective) in classic team leadership patterns.&lt;/p&gt;

&lt;ol&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;The craft of "securing"&lt;/strong&gt;. Even if many people can argue that security is becoming a science, I do believe we still are in the "craft" time frame. We can't say it is an Art, because we have methodologies, guideline, policies, and even designed patterns. We can't say it's science, since we can't reproduce the same results (aka the same security level) in every environment. We still have no idea on how to measure "security"! So it is correct to call the "security discipline" a craft. If it is a craft we won't be able to predict the precise cost of "securing" a system. We won't be able to know how many 'penetration testing hours' are needed to secure a whole system, we need experience to be able to give an accurate estimation. &lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;The joy of understanding&lt;/strong&gt;. While Frederick P. Brooks in his famous book pointed out that the  "craft of programming" gratifies developers because they are making things, we cannot say the same for security engineers. We had not the joy of making things.. Developers make things, we broke things for testing their security properties. So what is the spirit of a security engineer? The joy of understanding how things are done. A great security engineer is the one who loves to disassemble, to learn, to discover how other people did such a thing. The necessity  in understanding, in learning, in disassembly things take the security engineer in a position to know what is strong and what is not. After some experience the security engineer is the one able to compare two different systems and to judge their models and their designs with respect to security features.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Good cooking takes time&lt;/strong&gt;... Security process such as the penetration testing process needs time, it cannot be hurried without spoiling the result. &lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Partitioning a task&lt;/strong&gt; among multiple engineers occasions extra communication effort, that it doesn't come for free. Partitioning is often a great solution but is not always the best solution. Adding people at the end of a penetration testing process will take to this process much more time respect of having no additional engineers. If you are in rush don't add more people. People need to be trained and they need communication with current engineers to catch up the whole contest before being able to produce actively to the process. Take people into penetration testing at the beginning of the process, never at the end of it, you will not finish the process on time.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;The perfect team&lt;/strong&gt;. A chief-security engineer, a surgical-team made from a small amount of talents offers a way to get the process integrity of few minds and the total productivity of many helpers, with radically reduced communication.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Find the most valuable vulnerability&lt;/strong&gt;. Finding the most valuable vulnerability often correspond to attack the conceptual integrity of the system. Understand how the system works, and firstly focus on the conceptual integrity of the system and later on technical aspects.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Communication&lt;/strong&gt; between team members. Definitely the most important task a team manager have to guarantee. Communication. Thanks to communication people have new ideas, find solutions and find the way after having lost it.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Organization and role definition&lt;/strong&gt;. A good organization and a good role definition is fundamental to coordinate talents and often "big egos".&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Plan to throw one away&lt;/strong&gt;. According to Frederick P. Brooks, JR. In The Mithical Man-Month, there is always a wrong way that eventually you and your team will take, you will, anyhow. Plan to throw it away, and start from the previous state. Don't loose time in tying to recovery a test, don't lose time to try to convert a specific designed tool to fit another bug, don't try to reuse a reverse engineering status from the previous code revision. Find the power to admit the failure and start it again.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;&lt;strong&gt;Documentation&lt;/strong&gt;, documentation and... (Try to guess... ) documentation! Is your only true weapon to speed up the learning process and enable a fast context change. I know, when you reached a result, such as a tool for testing a specific system, a 0day or a new injection status you think to be wasting time writing documentation. But is not like that... And you know that. So remember each time you should write docs, that is almost valuable as the task you have just concluded.&lt;/li&gt;
&lt;/ol&gt;

&lt;p style="text-align: justify;"&gt; If you have to manage a penetration testing group, I hope it might be helpful. Let me know, any comment is appreciated&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9nHKSaDLg-k:IefT6lHbzgY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9nHKSaDLg-k:IefT6lHbzgY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/9nHKSaDLg-k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/2593670829840708220/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=2593670829840708220" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2593670829840708220?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2593670829840708220?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/9nHKSaDLg-k/leading-security-team.html" title="Leading a security team" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><thr:total>2</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/09/leading-security-team.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUGSH0-eip7ImA9WhJVGEo.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-2513487794438985836</id><published>2012-09-05T13:33:00.001-07:00</published><updated>2012-09-05T13:33:49.352-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-05T13:33:49.352-07:00</app:edited><title>Yes, we all are immortals...</title><content type="html">&lt;p style="text-align: justify;"&gt; Today I'd like to share a nice &lt;a href="http://www.npr.org/blogs/13.7/2012/09/04/160530688/does-the-internet-bring-you-immortality" target="_self" title=""&gt;article&lt;/a&gt; on &lt;strong&gt;immortality&lt;/strong&gt; written by Marcelo Gleiser. I know it's quite a bit out of topic for my blog, but it is worthy. The article presents a great theory on immortality based on Internet. I extracted few sentences to sum up the theory : &lt;/p&gt;&lt;blockquote&gt;&lt;div style="text-align: justify;"&gt;[...] Apart from gene transmission — not very satisfying from an emotional perspective and diluted with every generation — we could say that you existed so long as someone remembered you.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;That's not true any more. Something of you now exists so long as electrons course through the wires of any person's computer in the world. It's quite a thought to recognize that we have a new kind of immortality to share. It should raise our collective awareness of how we'd want to be remembered. The words and pictures will remain, long after we are gone, for anyone who cares to look for them. [...]&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;p style="text-align: justify;"&gt; Hope you enjoy it as I did. It made me think about how the immorality concept has radically changed during the past decade and with it all the life has been changing since the information became shared.&lt;/p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=FKcJeCWJv0U:Qy9_7lXtCXI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=FKcJeCWJv0U:Qy9_7lXtCXI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/FKcJeCWJv0U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/2513487794438985836/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=2513487794438985836" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2513487794438985836?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2513487794438985836?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/FKcJeCWJv0U/yes-we-all-are-immortals.html" title="Yes, we all are immortals..." /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><thr:total>3</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/09/yes-we-all-are-immortals.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYHSHszfyp7ImA9WhJWEk0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3729480200960674617</id><published>2012-08-17T04:48:00.001-07:00</published><updated>2012-08-17T04:48:59.587-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-17T04:48:59.587-07:00</app:edited><title>Raising Risk Awareness on the Adoption of Web 2.0 Technologies in Decision Making Processes</title><content type="html">&lt;p style="text-align: justify;"&gt; Today I'd like to share a paper that Marco Prandini and I wrote on the use of Web2.0 in decision making process. The paper can be found &lt;a href="http://www.mdpi.com/1999-5903/4/3/700/pdf" target="_self" title=""&gt;here&lt;/a&gt; on the &lt;a href="http://www.mdpi.com/journal/futureinternet" target="_self" title=""&gt;Journal of Future Internet&lt;/a&gt;.&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;strong&gt; Abstract&lt;/strong&gt;: In the recent past, the so-called “Web 2.0” became a powerful tool for decision making processes. Politicians and managers, seeking to improve participation, embraced this technology as if it simply were a new, enhanced version of the World Wide Web, better suited to retrieve information, opinions and feedbacks from the general public on subjects like laws, acts and policies. This approach was often naive, neglecting the less-obvious aspects of the technology, and thus bringing on significant security problems. This paper shows how, in the end, the result could easily be the opposite of what was desired. Malicious attackers, in fact, could quite easily exploit the vulnerabilities in these systems to hijack the process and lead to wrong decisions, also causing the public to lose trust in the systems themselves.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-ERlqBMzHc5s/UC4uBN2JT1I/AAAAAAAALC0/jYhX6f5Nyrg/s1042/2012%25252013%25253A40.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh4.googleusercontent.com/-ERlqBMzHc5s/UC4uBN2JT1I/AAAAAAAALC0/jYhX6f5Nyrg/s500/2012%25252013%25253A40.jpg" id="blogsy-1345203724890.382" class="aligncenter" alt="" width="500" height="212"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; Web 2.0 is for sure a great opportunity and an amazing paradigm that could be very useful for politicians or decison makers in the more broad way. However web 2.0, as described in e paper, could be very dangerous if used to attack a decision chain. The paper describes and gives examples on how a possible attacker could attack  current political decisions by  exploiting simple and well known Web 2.0 bugs. I recommend this reading to all of you involved in politics and/ord decision making, in addition to everybody who works for government agencies.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=AQNgr7aOvmI:Gp8cUrX1ecU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=AQNgr7aOvmI:Gp8cUrX1ecU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/AQNgr7aOvmI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3729480200960674617/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3729480200960674617" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3729480200960674617?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3729480200960674617?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/AQNgr7aOvmI/raising-risk-awareness-on-adoption-of.html" title="Raising Risk Awareness on the Adoption of Web 2.0 Technologies in Decision Making Processes" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/-ERlqBMzHc5s/UC4uBN2JT1I/AAAAAAAALC0/jYhX6f5Nyrg/s72-c/2012%25252013%25253A40.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/08/raising-risk-awareness-on-adoption-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQAQH09eip7ImA9WhJXE0g.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-8570393418415441383</id><published>2012-08-07T09:35:00.001-07:00</published><updated>2012-08-07T09:35:41.362-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-07T09:35:41.362-07:00</app:edited><title>JavaScript and Botnets</title><content type="html">&lt;p style="text-align: justify;"&gt; After an entire period of time busy in traveling and moving to a new city I am finally back on my blog. Not sure abut the frequency of my future posts but still very interested on keeping on posting my working topic ;). Probably I'll be able to post a little bit more from now... Most of you  are already aware about the DevCon 2012 and its new topics on security, so I won't spend time on this discussion, but I do want pointing out an interesting technical paper presented by Chema Alonso and Manu "The Sur" titled :" &lt;a href="http://ia600505.us.archive.org/30/items/Defcon20Slides/DEFCON-20-Alonso_Sur-Owning-Bad-Guys-Using_JavaScript-Botnets-WP.pdf" target="_self" title=""&gt;Owing Bad Guys {&amp; Mafia} with JavaScript Botnets&lt;/a&gt;".&lt;/p&gt;&lt;p style="text-align: justify;"&gt;The paper describes how attackers, by exploiting TOR networks and public available proxies,  can intercept user's traffic, and injecting malicious JavaScript to exploit users' browsers. The technique per-se is well known from years and the framework they used to load malicious payloads (BeeF) is already widely used around the hacking community. So what's so interesting about this paper if it does not introduce any new concept? I found really interesting the analysis on the users they had. in other words who is using public available proxies and TOR networks.&lt;/p&gt;&lt;p style="text-align: justify;"&gt; Let's take a deeper view of it. The following image shows the general idea about the implemented attack on a proxy server (BTW they setup  a SQUID proxy and the registered it on public proxy registries).&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-6wVM0UwBzj4/UBpKVHn8s2I/AAAAAAAALB8/VGkSkflVcsM/s867/2012%25252011%25253A36.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh3.googleusercontent.com/-6wVM0UwBzj4/UBpKVHn8s2I/AAAAAAAALB8/VGkSkflVcsM/s500/2012%25252011%25253A36.jpg" id="blogsy-1344357324997.8984" class="aligncenter" alt="" width="500" height="336"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt; SQUID server has the property to modify traffic following specific roles. Originally these roles have been designed for parent control and for blocking some specific domains, but it can be used under a malicious perspective to inject malicious JavaScript on downloads pages. The authors used a poison script to inject malicious JavaScript. Following the infection:&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-7vxeNvNB32Q/UCE9pfIwn6I/AAAAAAAALCM/aG6s3lFvsrw/s1003/2012%25252018%25253A08.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh3.googleusercontent.com/-7vxeNvNB32Q/UCE9pfIwn6I/AAAAAAAALCM/aG6s3lFvsrw/s500/2012%25252018%25253A08.jpg" id="blogsy-1344357324961.3303" class="aligncenter" alt="" width="500" height="237"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt; Again I don't see any interesting technique in this. BUT I do see the beauty of this study in capturing the "stakeholders".   If you follow on reading the paper, authors show who used this proxy and what he did with it. Obviously most of the performed operations by exploiting the free (and hacked) proxy were with malicious intents. One of the most interesting proves that authors provided is about Scam and people who answered back by giving personal informations.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-BA_gZ5I_jSY/UCFAdZH7xfI/AAAAAAAALCk/HoXVKBYn8cw/s1017/2012%25252018%25253A13.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh6.googleusercontent.com/-BA_gZ5I_jSY/UCFAdZH7xfI/AAAAAAAALCk/HoXVKBYn8cw/s500/2012%25252018%25253A13.jpg" id="blogsy-1344357324981.1924" class="aligncenter" alt="" width="500" height="250"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-GbpFAPt5Jo4/UCFAb5VbzNI/AAAAAAAALCY/SPH_C5fBjz4/s941/2012%25252018%25253A14.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh4.googleusercontent.com/-GbpFAPt5Jo4/UCFAb5VbzNI/AAAAAAAALCY/SPH_C5fBjz4/s500/2012%25252018%25253A14.jpg" id="blogsy-1344357325055.9639" class="aligncenter" alt="" width="500" height="438"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt; Most of the stakeholders come from Ex-URS, Brasil and USA. Many of them from Cina, only few of them from Europe.  Beside normal stats on where users come from, understandings how malicious hackers use proxies to attack is really interesting. Another little but significative theoric brick could be added to all the knowledge we had from honey-net project.&lt;/p&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=TPmzvL-cwzA:6jmi4eqHAZ4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=TPmzvL-cwzA:6jmi4eqHAZ4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/TPmzvL-cwzA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/8570393418415441383/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=8570393418415441383" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8570393418415441383?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8570393418415441383?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/TPmzvL-cwzA/javascript-and-botnets.html" title="JavaScript and Botnets" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-6wVM0UwBzj4/UBpKVHn8s2I/AAAAAAAALB8/VGkSkflVcsM/s72-c/2012%25252011%25253A36.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/08/javascript-and-botnets.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUESH88eip7ImA9WhJTE0o.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-2000999815588124412</id><published>2012-06-22T07:43:00.001-07:00</published><updated>2012-06-22T07:43:29.172-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-22T07:43:29.172-07:00</app:edited><title>Computer Security: Training and Education</title><content type="html">&lt;p style="text-align: justify;"&gt;Today I want to spend a little bit of time pointing out an important concept of computer security: the Education. I want literally cite the &lt;a href="http://www.computer.org/portal/web/computingnow/securityandprivacy" target="_self" title=""&gt;Security and Privacy's&lt;/a&gt; Guest Editors' introduction on what is education, what is the difference between training and education and why is so important on computer security .&lt;/p&gt;&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt;As technology creators, providers, and users, we must answer significant questions to address these problems, for example: &lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt;How can we help individuals be good cybercitizens ? In particular, how can we give them a clear understanding of both cybersecurity issues and how their personal choices affect cybersecurity? &lt;/p&gt;&lt;p style="text-align: justify;"&gt;Can building an effective cyberworkforce help users understand their responsibilities online and with computer-based technologies ?&lt;/p&gt;&lt;p style="text-align: justify;"&gt;[...]&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p style="text-align: justify;"&gt;Some People are still thinking on why computer security is such an important topic, or why there is the need of having security online, or even worst,  people who say  they "don't believe on computer security" (whatever it means)... Well , I believe this Guest Ednitor's introduction should be a  mandatory readying for every student and even for every "security skeptical " around the globe. It explains by using simple concepts and practical examples why computer security is such an important topic in the current world and why  security education is even more important since could affect citizen behaviors.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-3CHdDqbETG0/T-R7qTSQwNI/AAAAAAAALBs/EhUODD6q1tc/s646/2012%25252015%25253A58.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh6.googleusercontent.com/-3CHdDqbETG0/T-R7qTSQwNI/AAAAAAAALBs/EhUODD6q1tc/s500/2012%25252015%25253A58.jpg" id="blogsy-1340376177811.2686" class="aligncenter" alt="" width="500" height="672"&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;p style="text-align: justify;"&gt; Another great lesson comes from the distinction between education and training. &lt;u&gt;Training refers to learning concrete skills for meeting specific, real-life goals in a clearly understood situation. By contrast, education focuses on understanding and knowledge, learners can associate principles and concepts, apply them to solve a variety of new problems, and evaluate those solutions' effectiveness .&lt;/u&gt;&lt;/p&gt; This is another huge and quite delicate topic: training, often represented by private companies and private sectors VS educating, often represented by Universities and the entire academic world . Those two entities often in totally disagreement between them, share one of the most important topic related to computer security.&lt;br&gt;&lt;br/&gt;&lt;br/&gt;&lt;p style="text-align: justify;"&gt;I do finally suggest this reading, even if it's not a technical one it offers great cornerstones to fully understand security education and security training: when they should occur, when and where one is the most useful an when and where the other one is needed.&lt;/p&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=6FHQv7-fhRI:kL8pJOxyMqY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=6FHQv7-fhRI:kL8pJOxyMqY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/6FHQv7-fhRI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/2000999815588124412/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=2000999815588124412" title="9 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2000999815588124412?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2000999815588124412?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/6FHQv7-fhRI/computer-security-training-and.html" title="Computer Security: Training and Education" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/-3CHdDqbETG0/T-R7qTSQwNI/AAAAAAAALBs/EhUODD6q1tc/s72-c/2012%25252015%25253A58.jpg" height="72" width="72" /><thr:total>9</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/06/computer-security-training-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIHRX0yeyp7ImA9WhVbF0Q.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-4398388616319865397</id><published>2012-06-02T06:57:00.001-07:00</published><updated>2012-06-04T01:12:14.393-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-04T01:12:14.393-07:00</app:edited><title>A great analysis post on Flame string encryption</title><content type="html">&lt;p style="text-align: justify;"&gt; Hi folks,&lt;/p&gt;&lt;p style="text-align: justify;"&gt;It's quite a long time since last post, I am sorry about that. I am in the middle of a quite long traveling period, so forgive me to slowing down a little bit my security posts. Today I d like to share an interesting Post written by "Spider Labs &lt;a href="http://blog.spiderlabs.com/2012/06/defeating-flame-string-obfuscation-with-idapython.html" target="_self" title=""&gt;Anterior&lt;/a&gt; " regarding the string deobfuscator using IDAPython.&lt;/p&gt;&lt;p style="text-align: justify;"&gt;Yes, it is on Flame too.. I wouldn't write about Flame since everybody out here is talking about it, plus I had no time to personal analyze it, so unfortunately I have nothing to add to the enormous flock of posts on it :) (BTW &lt;a href="http://www.crysys.hu/skywiper/skywiper.pdf" target="_self" title=""&gt;this&lt;/a&gt; paper is high recommended ).&lt;/p&gt;&lt;p style="text-align: justify;"&gt; The author, Josh Grunzweig, shows his path to find out the obfuscating technique used in Flame. I think it is worth to keep in mind because perfect to didactic purposes. From IDA graph he reproduced the following code. Every analyst should do this step!! I often miss it and try to solve by patching the code or by pencil and paper, but doing in this way will save a lot of time in long term analysis. I collect his main analysis following.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-HttRHinKHTU/T8oYDQtPzWI/AAAAAAAALBE/J5goZi5ztpA/s1022/2012%25252015%25253A36.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh3.googleusercontent.com/-HttRHinKHTU/T8oYDQtPzWI/AAAAAAAALBE/J5goZi5ztpA/s500/2012%25252015%25253A36.jpg" id="blogsy-1338797208101.16" class="aligncenter" width="500" height="153" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-lRQr9ldjXYc/T8oYLbj2ZTI/AAAAAAAALBM/mrn_15sN6vA/s1004/2012%25252015%25253A36.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh6.googleusercontent.com/-lRQr9ldjXYc/T8oYLbj2ZTI/AAAAAAAALBM/mrn_15sN6vA/s500/2012%25252015%25253A36.jpg" id="blogsy-1338797208131.5378" class="aligncenter" width="500" height="273" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-Q9Funm_9-q4/T8oZ4sULcnI/AAAAAAAALBU/xjs6EuOoBq0/s1056/2012%25252015%25253A48.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh4.googleusercontent.com/-Q9Funm_9-q4/T8oZ4sULcnI/AAAAAAAALBU/xjs6EuOoBq0/s500/2012%25252015%25253A48.jpg" id="blogsy-1338797208111.28" class="aligncenter" width="500" height="120" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt; The function above is taking the obfuscated String as a parameter, and checking the sixteenth byte to determine if it is null. This byte is acting as a Boolean value to tell the function if the String has already been decoded. In the event that this byte is not set to null, or 0x00, another function is called, and the sixteenth byte is set to 0x00.  Finally, the result of String that was initially supplied as a variable, with an offset of +20, is returned. If I were a betting man, I’d suspect that the second function (named ‘deobfuscate() in the above Ruby code) is manipulating the data somehow. In order to find out, let’s investigate what is going on. If we look above, we can see that this new function is supplied two arguments—The 'obfuscated_string' variable with an offset of +20, as well as the eighteenth byte in 'obfuscated_string'. So this function appears to call a third function (last one I promise), and proceeds to subtract the resulting number from the specific character in the string before replacing it. So if we were looking at the first byte (0xA7), and the third function returned 0x82, we would get the following:0xA7 – 0x82 = 0x25 (“%”)&lt;/p&gt;&lt;/blockquote&gt; Great job Josh and thank you for sharing it !&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=5MMsCJhckl8:lE6kl_9T7tY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=5MMsCJhckl8:lE6kl_9T7tY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/5MMsCJhckl8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/4398388616319865397/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=4398388616319865397" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/4398388616319865397?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/4398388616319865397?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/5MMsCJhckl8/great-analysis-post-on-flame-string.html" title="A great analysis post on Flame string encryption" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-HttRHinKHTU/T8oYDQtPzWI/AAAAAAAALBE/J5goZi5ztpA/s72-c/2012%25252015%25253A36.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/06/great-analysis-post-on-flame-string.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MCSXsyeyp7ImA9WhVUEEg.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-3033900794705092686</id><published>2012-05-14T21:17:00.000-07:00</published><updated>2012-05-14T21:17:48.593-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-14T21:17:48.593-07:00</app:edited><title>Automatic Exploit Generation: a Provocative Post</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Today I went trough a very interesting paper written by Thanassis Avgerinos, Sang Kil Cha, Brent Lim Tze Hao and David Brumley from Carnegie Mellon University titled: "&lt;a href="http://security.ece.cmu.edu/aeg/aeg-current.pdf"&gt;AEG: Automatic Exploit Generation&lt;/a&gt;". The paper describes a technique and an implementation of an automatic engine able to generate exploits from source code and binaries. AEG has been introduced in &lt;a href="http://www.isoc.org/isoc/conferences/ndss/11/"&gt;NDSS 2011&lt;/a&gt;&amp;nbsp;and it is&amp;nbsp;really&amp;nbsp;amazing :D&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
From the Abstract:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
We used AEG to analyze 14 open-source projects
and successfully generated 16 control flow hijacking exploits.
Two of the generated exploits (expect-5.43 and
htget-0.93) are zero-day exploits against unknown vulnerabilities.
Our contributions are: 1) we show how
exploit generation for control flow hijack attacks can be
modeled as a formal verification problem, 2) we propose
preconditioned symbolic execution, a novel technique
for targeting symbolic execution, 3) we present a
general approach for generating working exploits once
a bug is found, and 4) we build the first end-to-end system
that automatically finds vulnerabilities and generates
exploits that produce a shell.
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The following picture shows the way the authors designed their Automated Exploit Generation system.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-Z8kQAZOmgAs/T7CWfRB6_lI/AAAAAAAALA4/QR6uNUUuVKA/s1600/Screen+Shot+2012-05-13+at+10.20.49+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="132" src="http://2.bp.blogspot.com/-Z8kQAZOmgAs/T7CWfRB6_lI/AAAAAAAALA4/QR6uNUUuVKA/s400/Screen+Shot+2012-05-13+at+10.20.49+PM.png" width="400" /&gt;&lt;/a&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: justify;"&gt;
Te system performs both analyses: Static analysis on source code and Dynamic analysis during the runtime execution. It then generates an automated exploit and it verifies it before resulting it as output. Following, &amp;nbsp;an astonishing video proving the reality of the AEG system.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://1.gvt0.com/vi/VPe1W7SIdBE/0.jpg" height="266" width="320"&gt;&lt;param name="movie" value="http://www.youtube.com/v/VPe1W7SIdBE&amp;fs=1&amp;source=uds" /&gt;


&lt;param name="bgcolor" value="#FFFFFF" /&gt;


&lt;embed width="320" height="266"  src="http://www.youtube.com/v/VPe1W7SIdBE&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now,&lt;b&gt; I've never tried AEG, I cannot say that it really works or what are the limits it has got&lt;/b&gt;, but I would be very interesting in &amp;nbsp;&lt;u&gt;reviewing it.&lt;/u&gt;&amp;nbsp;It seems that it might really change everything into the security world.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
On one hand I am a little bit scared about it for two main reasons: (a) it could be used from good guys as well as from bad guys. And bad guys with this powerful tool could act &lt;b&gt;very&lt;/b&gt; badly. I know, this is like many other theories and tools in computer security... Even my book could be used from bad guys to learn how to exploit systems right ? My worries here is about the usability. it seems to be pretty "user friendly"and really effective too. Plus it covers almost all areas in the software exploiting process that everybody could use it and be very effective. And (b) AEG rises a serious question: do the security professionals really need to exist anymore ? ( I am very provocative )I know, AEG is probably a very Beta tool, but what will happen once it will be tested and ready to be used ?&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Let 's just analyze what happened during the past decade to computer security experts. At the beginning of the computer security era, only few people were able to compromise systems, it was considered something like a gift. &amp;nbsp;Then it become an Art, I remember the magic book of Matt Bishop, Computer Security: Art and Science which fixed basic concepts of what computer security was and what penetration testing was going to happen. &amp;nbsp;Only few skilled people were able to practice such an Art because it was hard to study and difficult to learn such low level techniques. Later on it became a discipline, with tools, weak theories and wide documentation on how to attack or to exploit systems... few scholars were able to exploit systems. &amp;nbsp;Finally it become a Science thanks to Methodologies that made the Exploit process reproducible over time, basically everybody with a strong technical background and passion for the computer security can learn how to compromise it. Now.... is it becoming an automatism ?&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
AEG seems to be a perfect tool to automate the full stack exploiting process, from analysis to exploiting. The question is the most obvious one: &amp;nbsp;Do we still need penetrator testers, and vulnerability hunters ? )Or it is going to be enough an automatic tool ? (I am provocative deliberately )&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Is the exploiting process becoming &amp;nbsp;quick and easy as running an automated tool ? If this is going to happen what will happen to the computer security scientists/expert/engineers ? Anther question, maybe the most important one ... if a software able to discover most of the possible vulnerabilities is going to be available what about the "Computer Security Science" ? &amp;nbsp;Will it be science yet ? Or will it become a simple Technique ? Or even an Automatism ?&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Following the exploiting process steps I see :&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Gift&lt;/b&gt; (few rare persons able to exploit) --&amp;nbsp;&lt;b&gt;Art&lt;/b&gt; &amp;nbsp;(few very skilled people able to exploit) -- &amp;nbsp;&lt;b&gt;Craft&amp;nbsp;&lt;/b&gt; (books, tools, and tutorials. Few scholars and very motivated people able to exploit) &amp;nbsp;-- &amp;nbsp;&lt;b&gt;Science&lt;/b&gt; (reproducible, basically everybody with strong technical background could be able to exploit) --&amp;nbsp;&lt;b&gt;Automatism&lt;/b&gt; (everybody, or even nobody, there is no need of having people able to exploit, one automata will do it for everybody)&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=7glYpDIko0o:JnK1T_63sZQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=7glYpDIko0o:JnK1T_63sZQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/7glYpDIko0o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/3033900794705092686/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=3033900794705092686" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3033900794705092686?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/3033900794705092686?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/7glYpDIko0o/automatic-exploit-generation.html" title="Automatic Exploit Generation: a Provocative Post" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-Z8kQAZOmgAs/T7CWfRB6_lI/AAAAAAAALA4/QR6uNUUuVKA/s72-c/Screen+Shot+2012-05-13+at+10.20.49+PM.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/05/automatic-exploit-generation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkENQ3w4fSp7ImA9WhVWGU4.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-8871749237475953026</id><published>2012-05-01T21:58:00.001-07:00</published><updated>2012-05-01T21:58:12.235-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-01T21:58:12.235-07:00</app:edited><title>Plaid CTF results</title><content type="html">I am so proud about our security group, made by the most talented hacking students in the university of Bologna. CeSeNA ( Cesena Security, Network and Applications ) is the official name of the security team I used to lead, but when those students compete in hacking contests the official name jumps to ANeSeC ! CeSeNA for security and ANeSeC for hacking purposes.&lt;br/&gt;&lt;br/&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-LzxbyO_DrL0/T59RVuHfpjI/AAAAAAAALAg/YV4Xu0p8OA8/2012%25252019%25253A49.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh5.googleusercontent.com/-LzxbyO_DrL0/T59RVuHfpjI/AAAAAAAALAg/YV4Xu0p8OA8/s500/2012%25252019%25253A49.jpg" id="blogsy-1335932495252.4966" class="aligncenter" alt="" width="500" height="427"&gt;&lt;/a&gt;&lt;/div&gt;The past weekend ANeSeC participated to a quite known hacking contest: the &lt;a href="http://ctf.plaidctf.com" target="_self" title=""&gt;plaid CTF&lt;/a&gt;. 720 teams from 82 different countries. We were 42th (and first Italian team) !! Not bad at all considering some "key elements" were not playing !! Good job CeSeNA-ti I am so proud !!&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=uyhXrPGVG8E:hY9p6b8KdGU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=uyhXrPGVG8E:hY9p6b8KdGU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/uyhXrPGVG8E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/8871749237475953026/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=8871749237475953026" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8871749237475953026?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8871749237475953026?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/uyhXrPGVG8E/plaid-ctf-results.html" title="Plaid CTF results" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/-LzxbyO_DrL0/T59RVuHfpjI/AAAAAAAALAg/YV4Xu0p8OA8/s72-c/2012%25252019%25253A49.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/05/plaid-ctf-results.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UMQn05cSp7ImA9WhVWGUo.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-2789479130876820156</id><published>2012-04-27T09:43:00.001-07:00</published><updated>2012-05-02T09:14:43.329-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-02T09:14:43.329-07:00</app:edited><title>Bypassing .htaccess by using GETS</title><content type="html">Hi folks, during these days I am traveling a lot for job, and unfortunately I don't have much time to write posts. Hovewer today I wanna share a really nice post about a classic problem affecting the HTTP basic authentication method in PHP applications. The post ( written by &lt;a href="http://mediacdn.disqus.com/1335391524/build/system/reply.html#xdm_e=http%3A%2F%2Farmoredcode.com&amp;xdm_c=default9909&amp;xdm_p=1&amp;f=armoredblog&amp;t=bypassing_http_basic_authentication_in_php_applications_armoredcodecom_application_security_blog&amp;ff=Gentium%20Book%20Basic%2C%20Georgia%2C%20Copse%2C%20PT%20Serif%2C%20Times%2C%20Times%20New%20Roman%2C%20serif&amp;d=ltr&amp;p=Type%20your%20comment%20here.&amp;upload_media=true&amp;mentions=true" target="_self" title=""&gt;armoredcode&lt;/a&gt; ) is about a 2 years old bug described by Owasp in 2010 (&lt;a href="https://www.owasp.org/index.php/Top_10_2010-A8-Failure_to_Restrict_URL_Access" target="_self" title=""&gt;here&lt;/a&gt;) , by cd34 (&lt;a href="http://cd34.com/blog/web-security/hackers-bypass-htaccess-security-by-using-gets-rather-than-get/" target="_self" title=""&gt;here&lt;/a&gt;) and by Eguaj (&lt;a href="http://eguaj.tumblr.com/post/2361187940/re-hackers-bypass-htaccess-security-by-using-gets" target="_self" title=""&gt;here&lt;/a&gt;, which btw, explained with lot of details). I'd like so much this post because is not about vulnerability (which is very known, even if very spread over websites) but is about the whole hacking process, from scratch. Pablo Perego wrote a very detailed process and very deep considerations that drive the reader to a full understanding of what the problem is. Following the images of the fundamental steps taken  from armoredcode. First a HTTP request with empty body.&lt;br/&gt;&lt;br/&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-uSU3_eE4IF8/T5rJM0U51lI/AAAAAAAALAM/KojG3jl742w/2012%25252009%25253A18.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh3.googleusercontent.com/-uSU3_eE4IF8/T5rJM0U51lI/AAAAAAAALAM/KojG3jl742w/s402/2012%25252009%25253A18.jpg" id="blogsy-1335641131415.4426" class="aligncenter" alt="" width="402" height="156"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="text-align: justify;clear: both; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div class="separator" style="text-align: justify;clear: both; "&gt;And then the request for the backed page.&lt;/div&gt;&lt;div class="separator" style="text-align: justify;clear: both; "&gt;&lt;br&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-9aBMg8CN1fU/T5rJTFnIyKI/AAAAAAAALAU/j9atRVCPVNY/2012%25252009%25253A18.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh3.googleusercontent.com/-9aBMg8CN1fU/T5rJTFnIyKI/AAAAAAAALAU/j9atRVCPVNY/s402/2012%25252009%25253A18.jpg" id="blogsy-1335641131447.1436" class="aligncenter" alt="" width="402" height="75"&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&lt;br/&gt;&lt;br/&gt; Again a great place to start to look into the hacking reality and a good example of simple vulnerability exploiting  process .&lt;br/&gt;&lt;br/&gt;Following the main followed steps:&lt;br/&gt;&lt;br/&gt;&lt;ol&gt;&lt;li style="text-align: justify;"&gt;fingerprint the operating system, the web server and the programming language version using netcraft He discovered a “/backend” directory looking into a javascript file he found in a browsable “/static” directory. &lt;/li&gt;&lt;li style="text-align: justify;"&gt;Paolo crafted custom HTTP requests in order to bypass HTTP Basic Authentication that it was in place to avoid curious people to look into the backendI was able to make updates into the database… &lt;/li&gt;&lt;/ol&gt; Please refers to the &lt;a href="http://(null)" target="_self" title=""&gt;original&lt;/a&gt; website to learn more about the "lessons learned" .&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4lCKJrLsT1c:JhW9lbPjr_A:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4lCKJrLsT1c:JhW9lbPjr_A:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/4lCKJrLsT1c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/2789479130876820156/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=2789479130876820156" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2789479130876820156?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/2789479130876820156?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/4lCKJrLsT1c/bypassing-htaccess-by-using-gets.html" title="Bypassing .htaccess by using GETS" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-uSU3_eE4IF8/T5rJM0U51lI/AAAAAAAALAM/KojG3jl742w/s72-c/2012%25252009%25253A18.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/bypassing-htaccess-by-using-gets.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQEQncyeip7ImA9WhVWEU0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-6487978705844466271</id><published>2012-04-21T18:53:00.001-07:00</published><updated>2012-04-22T06:45:03.992-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-22T06:45:03.992-07:00</app:edited><title>EXE null EntryPoint execution</title><content type="html">&lt;p style="text-align: justify;"&gt; Hi folks, today while I was surfing on my personal feeds I hit this interesting picture ( the &lt;a href="http://twitpic.com/9bpzhe" target="_self" title=""&gt;original from Twitter is here&lt;/a&gt;). I am not going into the details since the picture is quite  self explaining (plus I am traveling and not much time, unfortunately )&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img src="https://lh4.googleusercontent.com/-o4ymP5eaKHk/T5Nikxwd7ZI/AAAAAAAALAA/otCZ3rkFRl8/s403/2012%25252021%25253A40.jpg" id="blogsy-1335102178166.505" class="aligncenter" alt="" width="403" height="312"&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="blogsyText" style="text-align: justify;"&gt;The first binary is a DLL with a null EntryPoint, basically it won't load. The second binary is a a PE executable with null EntryPoint too. The third and last executable is a "good" PE executable, in the sense that it gots a valid EntryPoint . In the black shell the author shows the execution of the two PE files. Both of them run ( both of them end in the execution of the null reference DLL).  The actual PE with null EntryPoint got its %EP executed. Quite interesting isn't it?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=4dnxnB-hch0:SYO3v51M1lQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=4dnxnB-hch0:SYO3v51M1lQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/4dnxnB-hch0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/6487978705844466271/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=6487978705844466271" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6487978705844466271?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/6487978705844466271?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/4dnxnB-hch0/exe-null-entrypoint-execution.html" title="EXE null EntryPoint execution" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/-o4ymP5eaKHk/T5Nikxwd7ZI/AAAAAAAALAA/otCZ3rkFRl8/s72-c/2012%25252021%25253A40.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/exe-null-entrypoint-execution.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYHQ3Y7eSp7ImA9WhVXGEU.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-5741708749467248650</id><published>2012-04-17T20:01:00.001-07:00</published><updated>2012-04-19T18:58:52.801-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-19T18:58:52.801-07:00</app:edited><title>The Biggest App Sec Mistakes Companies Make</title><content type="html">His folks, today I would share some thoughts about the "mistake that company often do on computer security" . Mu thoughts on that topic have been published on veracode website. Directly from veracode:&lt;br&gt;&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt;Veracode Marketing recently polled a list of InfoSec luminaries, asking them &lt;a href="http://www.veracode.com/blog/2012/04/the-biggest-app-sec-mistakes-companies-make-and-how-to-fix-them/" target="_self" title=""&gt;“What is the biggest mistake companies make with Application Security and how can they fix it?”&lt;/a&gt; We’re pleased to present the responses from a wide array of security experts including Bill Brenner of CSO Magazine, Andrew Hay of the 451 Group, Jack Daniel of Tenable Network Security and Veracode’s own, Chris Wysopal. While all our experts have their unique perspectives, some common themes arose including the basic idea of taking application security more seriously and committing to a programmatic approach vs. ad hoc manual testing. We want to thank all our respondents for participating and we welcome your thoughts too – use our comment area and tell us, “What do you think is the biggest appsec mistake companies are making today?”&lt;/p&gt;&lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-EtOm-0vTw_s/T44tmkeUtjI/AAAAAAAAK_w/qZXslAG2jVw/s500/2012%25252022%25253A55.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh5.googleusercontent.com/-EtOm-0vTw_s/T44tmkeUtjI/AAAAAAAAK_w/qZXslAG2jVw/s500/2012%25252022%25253A55.jpg" id="blogsy-1334886869486.8713" class="aligncenter" alt="" width="357" height="512"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt;Is your company actually doing these mistakes too? If you are interested in sharing opinions about that or you want your thoughts don't  esitate to contact me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=ie49GTDoYAY:GihO94QQGnc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=ie49GTDoYAY:GihO94QQGnc:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/ie49GTDoYAY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/5741708749467248650/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=5741708749467248650" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/5741708749467248650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/5741708749467248650?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/ie49GTDoYAY/biggest-app-sec-mistakes-companies-make.html" title="The Biggest App Sec Mistakes Companies Make" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh5.googleusercontent.com/-EtOm-0vTw_s/T44tmkeUtjI/AAAAAAAAK_w/qZXslAG2jVw/s72-c/2012%25252022%25253A55.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/biggest-app-sec-mistakes-companies-make.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYCRn04cSp7ImA9WhVXFUw.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-8774262355230273494</id><published>2012-04-15T05:29:00.001-07:00</published><updated>2012-04-15T11:06:07.339-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-15T11:06:07.339-07:00</app:edited><title>X86 detailed informations</title><content type="html">&lt;p style="text-align: justify;"&gt; Hi folks, today I share a nice x86 resource called &lt;a href="http://sandpile.org" target="_self" title=""&gt;sandpile&lt;/a&gt;. It wraps out all the most important things to know about x86 processors, a very nice place where to find all the information that you need. Before it, I used to search into many different resources loosing time and energies in content switching and in figuring out the many different searching functionalities belonged to various resources.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-V2niNhyQyIg/T4q8rLEtoqI/AAAAAAAAK_Y/0PDAMC979NI/s500/2012%25252008%25253A13.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;" title=""&gt;&lt;img src="https://lh4.googleusercontent.com/-V2niNhyQyIg/T4q8rLEtoqI/AAAAAAAAK_Y/0PDAMC979NI/s401/2012%25252008%25253A13.jpg" id="blogsy-1334512850410.9917" class="aligncenter" alt="" width="401" height="301"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt; The website offer 4 maing groups of categories: regs, where you find all the registers related informations. Codes everything you would like to know about code, data and misc where bayou will find everything else you need about x86 architecture. Let's take a look to interrupt table:&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-Vfu2si8-59Y/T4q_9PeATsI/AAAAAAAAK_k/QYlQf6UHiDA/s500/2012%25252008%25253A31.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh3.googleusercontent.com/-Vfu2si8-59Y/T4q_9PeATsI/AAAAAAAAK_k/QYlQf6UHiDA/s404/2012%25252008%25253A31.jpg" id="blogsy-1334512850450.036" class="aligncenter" alt="" width="404" height="426"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt; Each information is sotored in a clear and intuitive table. I Totally suggest to have a bookmark within its reference. Good job !!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=nxtklD0fQMw:2k_0Xle3FnU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=nxtklD0fQMw:2k_0Xle3FnU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/nxtklD0fQMw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/8774262355230273494/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=8774262355230273494" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8774262355230273494?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/8774262355230273494?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/nxtklD0fQMw/x86-detailed-informations.html" title="X86 detailed informations" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/-V2niNhyQyIg/T4q8rLEtoqI/AAAAAAAAK_Y/0PDAMC979NI/s72-c/2012%25252008%25253A13.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/x86-detailed-informations.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UGQXg4eCp7ImA9WhVXEUg.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-7053569621758830200</id><published>2012-04-11T06:33:00.001-07:00</published><updated>2012-04-11T06:33:40.630-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-11T06:33:40.630-07:00</app:edited><title>A Design Methodology for Computer Security Testing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Yes, finally the first edition of my new book is available online. The book collects 3 years of researches in the penetration testing security field. &lt;u&gt;It does not describe underground or fancy techniques to attack systems&lt;/u&gt;, it is most focused on the state of the art in penetration testing methodologies. In other words, if you need to test a system, how do you do ? What is the first step ? What tools can be used ? Or again, what is the path to follow in order to find flaws ?The book shows many real world examples on how the described methodology has been used. For example: penetration testing on electronic  voting machines, how malware did use the describe methodology to bypass common security mechanisms and attacks to reputation systems.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://www.lulu.com/spotlight/mramilliatgmaildotcom"&gt;&lt;img alt="" class="aligncenter" height="320" id="blogsy-1334126390289.7954" src="https://lh6.googleusercontent.com/-BYdkVmYcHLY/T4UmigcubFI/AAAAAAAAK-M/EwclZD2aaJs/s320/2012%25252008%25253A35.jpg" width="209" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;Contributions&lt;/b&gt;&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Penetration Testing Methodologies Overview.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Penetration Testing Evaluation Properties.&lt;/li&gt;
&lt;li&gt;Proposed Penetration Testing Methodology.&lt;/li&gt;
&lt;li&gt;Enhanced Penetration Testing Methodology for E-Voting
Systems.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Practical scenarios: Applying Penetration Testing Methodologies.&lt;/li&gt;
&lt;li&gt;Proposed Coordination-Based Approach to Electronic Voting
Systems.&lt;/li&gt;
&lt;li&gt;Examples of Methodology in Real Cases.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Index (click on it to make it big):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-0DnVQuQfYa0/T4UrsB5wGaI/AAAAAAAAK-Y/bl17BBjo-S0/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="333" src="http://3.bp.blogspot.com/-0DnVQuQfYa0/T4UrsB5wGaI/AAAAAAAAK-Y/bl17BBjo-S0/s400/1.png" width="400" /&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/-zZtNtREbOt4/T4UrtXORyaI/AAAAAAAAK-g/zcpG8-VSjrw/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-zZtNtREbOt4/T4UrtXORyaI/AAAAAAAAK-g/zcpG8-VSjrw/s400/2.png" width="311" /&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://4.bp.blogspot.com/-WgsHcru-q_k/T4UrvpWiYlI/AAAAAAAAK-o/nPA6vefp7zw/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-WgsHcru-q_k/T4UrvpWiYlI/AAAAAAAAK-o/nPA6vefp7zw/s400/3.png" width="308" /&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://1.bp.blogspot.com/-xW820Z93W0s/T4UrxKkrFzI/AAAAAAAAK-w/d1bqgeeLEn8/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-xW820Z93W0s/T4UrxKkrFzI/AAAAAAAAK-w/d1bqgeeLEn8/s400/4.png" width="285" /&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/-x9ZZevYHT7I/T4UryTIM3CI/AAAAAAAAK-4/q0E81kqn2Os/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-x9ZZevYHT7I/T4UryTIM3CI/AAAAAAAAK-4/q0E81kqn2Os/s400/5.png" width="307" /&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://1.bp.blogspot.com/-h1UnKuHh2tk/T4UrzZGwCvI/AAAAAAAAK_A/zPm_a27vf34/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-h1UnKuHh2tk/T4UrzZGwCvI/AAAAAAAAK_A/zPm_a27vf34/s400/6.png" width="305" /&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/-h4r20Hf2HXM/T4Ur1Qzz8pI/AAAAAAAAK_I/UjOvfCBvzls/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-h4r20Hf2HXM/T4Ur1Qzz8pI/AAAAAAAAK_I/UjOvfCBvzls/s400/7.png" width="308" /&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://2.bp.blogspot.com/-alTtXdrFbRQ/T4Ur2R9R48I/AAAAAAAAK_Q/nVfI4abLaNs/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="335" src="http://2.bp.blogspot.com/-alTtXdrFbRQ/T4Ur2R9R48I/AAAAAAAAK_Q/nVfI4abLaNs/s400/8.png" width="400" /&gt;&lt;/a&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: justify;"&gt;
Please if you want some information or if you have some suggestions about it, drop me an email I'll be happy to answer to your questions.&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=9DAQ-RwO5aU:PhbEEBI8ws4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=9DAQ-RwO5aU:PhbEEBI8ws4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/9DAQ-RwO5aU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/7053569621758830200/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=7053569621758830200" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7053569621758830200?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7053569621758830200?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/9DAQ-RwO5aU/design-methodology-for-computer.html" title="A Design Methodology for Computer Security Testing" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/-BYdkVmYcHLY/T4UmigcubFI/AAAAAAAAK-M/EwclZD2aaJs/s72-c/2012%25252008%25253A35.jpg" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/design-methodology-for-computer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMDQXs5eip7ImA9WhVQE0g.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-4987663515633070408</id><published>2012-04-02T00:41:00.001-07:00</published><updated>2012-04-02T00:41:10.522-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-02T00:41:10.522-07:00</app:edited><title>CVE-2012-0507</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
My folks used to work with Java code, for many different reasons we often prefer Java rather then other languages and knowing Java vulnerabilities, for sure, helps developers in doing their job. Blackhole is like most other malware, it spreads over iframe and it executes a downloaded payload. ESET Threat blog in this &lt;a href="http://blog.eset.com/2012/03/30/blackhole-cve-2012-0507-and-carberp" target="_self" title=""&gt;post&lt;/a&gt; explains its execution in a colloquial but pretty complete way, a good reading. But what is interesting about this malware (at least for me) is the brand new used vulnerability : &lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0507" target="_self" title=""&gt;CVE-2012-0507&lt;/a&gt; . CVE-2012-0507 describes an interesting vulnerability found in the Java AtomicReferenceArray class implementation, which wasn’t checking properly whether the array was of an appropriate Object[] type. A malicious Java applet could use this flaw to bypass Java sandbox restrictions in order to execute malicious code outside of sandbox.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The blackhole infection starts with a classic iFrame like the following one:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://lh3.googleusercontent.com/-SDzGTmmJMpo/T3aLjM7wTII/AAAAAAAAK9s/nZ04RSec_Us/s500/2012%25252006%25253A07.jpg" style="margin-left: 1em; margin-right: 1em;" target="_blank"&gt;&lt;img alt="" class="aligncenter" height="173" id="blogsy-1333212890863.5886" src="https://lh3.googleusercontent.com/-SDzGTmmJMpo/T3aLjM7wTII/AAAAAAAAK9s/nZ04RSec_Us/s500/2012%25252006%25253A07.jpg" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogsyText" style="text-align: justify;"&gt;
&lt;/div&gt;
The infection goes on following these steps ( image taken from &lt;a href="http://blog.eset.com/2012/03/30/blackhole-cve-2012-0507-and-carberp" target="_self" title=""&gt;here&lt;/a&gt;) :&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://lh4.googleusercontent.com/-ZYmvlXkYOQ4/T3aLnC19EFI/AAAAAAAAK90/IpIyf_CFRqE/s500/2012%25252006%25253A07.jpg" style="margin-left: 1em; margin-right: 1em;" target="_blank" title=""&gt;&lt;img alt="" class="aligncenter" height="258" id="blogsy-1333212890909.027" src="https://lh4.googleusercontent.com/-ZYmvlXkYOQ4/T3aLnC19EFI/AAAAAAAAK90/IpIyf_CFRqE/s404/2012%25252006%25253A07.jpg" width="404" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
David Harley did a great job in decompile the java code and in describing its workflow. Basically the java executable is built over 3 main functions:&lt;/div&gt;
&lt;ol&gt;
&lt;li style="text-align: justify;"&gt;Init(). The malicious Java applet builds the object AtomicReferenceArray ( the vulnerable one) for the execution of malicious Java code outside the sandbox.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Work(). This method builds the code of a class which executes outside the sandbox.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;DownloadAndExec(). This function downloads a malicious executable file to %TEMP%dsh89gyu&lt;file_number&gt;.exe and executes it. Which happens to be a Win32/TrojanDownloader.Carberp.AH. In order to bypass detections by security software, the attackers changed the encryption algorithm and string obfuscation for the payload class executed outside the sandbox&lt;/file_number&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
Java malware are becoming day by day more and more spread over the net, on one hand because Java bugs are pretty common nowadays and on the other hand because java is "platform independent" by meaning that the attacker needs to write only one exploit overall and not one exploit for each attacked platform. I am very fascinating about java exploiting, and I totally think that&amp;nbsp;CVE-2012-0507 is remarkable example to show while explaining java vulnerabilities and Blackhole a great example of java malware.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=_I_JR3VIPvI:iUvGP-yqeA8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=_I_JR3VIPvI:iUvGP-yqeA8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/_I_JR3VIPvI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/4987663515633070408/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=4987663515633070408" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/4987663515633070408?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/4987663515633070408?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/_I_JR3VIPvI/cve-2012-0507.html" title="CVE-2012-0507" /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-SDzGTmmJMpo/T3aLjM7wTII/AAAAAAAAK9s/nZ04RSec_Us/s72-c/2012%25252006%25253A07.jpg" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/04/cve-2012-0507.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08DR306fCp7ImA9WhVQEU0.&quot;"><id>tag:blogger.com,1999:blog-2940307687099594687.post-7325467081091319997</id><published>2012-03-28T10:00:00.001-07:00</published><updated>2012-03-30T03:04:36.314-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-30T03:04:36.314-07:00</app:edited><title>Windows Malware: a reversing engineering document.</title><content type="html">&lt;p style="text-align: justify;"&gt; Today I'd like to share an interesting PDF found while surfing on some of my favorite feeds. The PDF is titled:&lt;a href="http://www.exploit-db.com/download_pdf/18576/" target="_self" title=""&gt; "Deep dive into OS internals  with WinDB"&lt;/a&gt; . Well, you might think this is going to be the same document explaining windows malware analysis, but not ; it is not the "always the same document". What  I liked about it,  is the easy way it shows information, small document with a lot of information. You could read it as a cheat sheet or as a little manual as well.&lt;/p&gt;&lt;blockquote&gt;&lt;p style="text-align: justify;"&gt;There is more than one reason to reverse malwares these days. As time passes by, the awareness about Reverse Engineering is spreading. However, there are few obstacles encountered for a person new in the field of Reversing Viruses. Unlike other domains of security where you can make your way through with the reliance on some security tools, this field demands a strong understanding of the Operating System Internals and Assembly Language Programming. &lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-xCUsdFO5MnQ/T3NBDDPalNI/AAAAAAAAK9g/00HOEDHwYy4/s500/2012%25252018%25253A47.jpg" target="_blank" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="https://lh6.googleusercontent.com/-xCUsdFO5MnQ/T3NBDDPalNI/AAAAAAAAK9g/00HOEDHwYy4/s444/2012%25252018%25253A47.jpg" id="blogsy-1333101790664.1204" class="aligncenter" width="444" height="244" alt=""&gt;&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;p style="text-align: justify;"&gt;The author covers many of the most important arguments in the field of the reverse engineering by giving the essential flavors of the following topics: basic concepts of reversing, a very brief summary of PE anatomy, DDI and importing tables, exporting table (those sections are very intensive;) and so on.. Well, I personally suggest this reading to averybody aims to know more about reversing engineering stuff, but have not much time to read whole manuals, and to everybody working on hardsecurity topics but not everyday practitioners. And obviously to " security students"  who should be avid readers of such things. :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;!-- Begin BidVertiser code --&gt;
&lt;SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=287738%26bid=704002" type="text/javascript"&gt;&lt;/SCRIPT&gt;
&lt;noscript&gt;&lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&gt;marketing&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- End BidVertiser code --&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:-BTjWOF_DHI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:-BTjWOF_DHI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:4cEx4HpKnUU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:4cEx4HpKnUU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?i=OFv8TL2APKY:WCNPaXiG9yQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/blogspot/CqwP?a=OFv8TL2APKY:WCNPaXiG9yQ:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/blogspot/CqwP?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/CqwP/~4/OFv8TL2APKY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://marcoramilli.blogspot.com/feeds/7325467081091319997/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2940307687099594687&amp;postID=7325467081091319997" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7325467081091319997?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2940307687099594687/posts/default/7325467081091319997?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/CqwP/~3/OFv8TL2APKY/windows-malware-reversing-engineering.html" title="Windows Malware: a reversing engineering document." /><author><name>Marco Ramilli</name><uri>http://www.blogger.com/profile/05480238030319998871</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/_gK7b9huwiwY/S_sU8ds7eXI/AAAAAAAAKXk/QICjtqBJYHc/S220/Ramo4.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/-xCUsdFO5MnQ/T3NBDDPalNI/AAAAAAAAK9g/00HOEDHwYy4/s72-c/2012%25252018%25253A47.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://marcoramilli.blogspot.com/2012/03/windows-malware-reversing-engineering.html</feedburner:origLink></entry></feed>
