<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns: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'><id>tag:blogger.com,1999:blog-8690909935651405396</id><updated>2024-05-24T12:39:59.360-07:00</updated><category term="malware"/><category term="reverseengineering"/><category term="forensics"/><category term="memory"/><category term="qextract"/><category term="volatility"/><category term="qextract.exe"/><category term="symantec"/><category term="vad"/><category term="vadtree"/><category term="vadwalk"/><title type='text'>Jamaal Speights - devblog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-6657065244283908308</id><published>2015-09-13T23:32:00.002-07:00</published><updated>2015-09-13T23:43:35.532-07:00</updated><title type='text'>Installing SoundPimp on OSX 10.10  with JackOSX.0.90 and LineIn.  </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmfo-GaUbiLgu29GZOgLAtzuCSz3E6tL76RnC9EN3uE9toX9nEN28dKi8XyKzq__Wc9oBAZuwm3roDDGgzOMqcv2G4mY8SrMP6AbXnonWTlxWV1iOdwygsvTvEaYr5d7s0toLLIbIpiYk/s1600/Screen+Shot+2015-09-12+at+1.48.54+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmfo-GaUbiLgu29GZOgLAtzuCSz3E6tL76RnC9EN3uE9toX9nEN28dKi8XyKzq__Wc9oBAZuwm3roDDGgzOMqcv2G4mY8SrMP6AbXnonWTlxWV1iOdwygsvTvEaYr5d7s0toLLIbIpiYk/s1600/Screen+Shot+2015-09-12+at+1.48.54+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.soundpimp.com/&quot;&gt;SoundPimp&lt;/a&gt;&amp;nbsp;produces 3D high fidelity audio like you&#39;ve never heard it before. &amp;nbsp;Checkout a demo of what the software can do &lt;a href=&quot;http://www.soundpimp.com/computer-audio-enhancer-demo/&quot;&gt;here&lt;/a&gt;&amp;nbsp;(does not work with headphones). &amp;nbsp;It took me quite some time to figure out how to get SoundPimp working on OSX 10.10 and to understand the entire jack audio routing concept. &amp;nbsp;The original SoundPimp tutorial for OSX will no longer work from SoundPimps website when using 10.8x versions of OSX. &amp;nbsp;The reason is due to the fact that JackRouter doesn&#39;t have a signed driver which is a new security feature to prevent malicious drivers from being loaded. &amp;nbsp;The JackRouter driver is no longer needed and my steps are much cleaner and simpler. &amp;nbsp;No more Soundflowerbed that crashes all the time. &amp;nbsp;No more frustration with setting up SoundPimp. &amp;nbsp;This guide will teach you &lt;b&gt;and you gon learn today.&lt;/b&gt; &amp;nbsp;I&#39;m better at doing over explaining so lets rock. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Software Required:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;SoundPimp&lt;/b&gt;&amp;nbsp;http://www.soundpimp.com/&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Jack2&lt;/b&gt; http://jackaudio.org/downloads/&lt;br /&gt;
&lt;ul style=&quot;background-color: #f2f2f2; box-sizing: border-box; color: #373737; font-family: &#39;Myriad Pro&#39;, Calibri, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 27px; margin: 0px 0px 15px; padding-left: 20px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;https://dl.dropboxusercontent.com/u/28869550/JackOSX.0.90.zip&quot; style=&quot;background: transparent; box-sizing: border-box; color: #007edf; text-decoration: none; text-shadow: none;&quot;&gt;Mixed 64/32 bit, 0.90 of JackOSX for Snow Leopard&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;LineIn&lt;/b&gt;&amp;nbsp;https://www.rogueamoeba.com/freebies/&lt;br /&gt;
&lt;br /&gt;
(&lt;b&gt;SoundFlower&lt;/b&gt; https://rogueamoeba.com/freebies/soundflower/ OR&lt;br /&gt;
&lt;b&gt;WavTape&lt;/b&gt; &amp;nbsp;https://github.com/pje/WavTap)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Patchage&lt;/b&gt; &amp;nbsp;http://drobilla.net/software/patchage/&lt;br /&gt;
&lt;br /&gt;
Order is important. &lt;b&gt;&amp;nbsp;Remember that after you&#39;ve done these steps to always load SoundPimp last after you reboot. &amp;nbsp;&lt;/b&gt;I will be working on an automation script when I get time. &lt;br /&gt;
&lt;br /&gt;
1) Install SoundPimp&lt;br /&gt;
&lt;br /&gt;
2) Install Soundflower or WavTap. &lt;br /&gt;
&lt;br /&gt;
3) In System Preferences under Sound select Soundflower (2ch) as your default interface for Output. If you installed WavTap, select the WavTape device as your output. &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIy7iMm6p2_fS6Mpo5Tu0K87kGh6Bhg127Y5tuKGYsd7vl5Bz3NB7wZm0KOxviHMR43KKyA81mqJ-DFOiCxF4a2jn9fbye4EwOW84JvWo2lIfYFfqS3QNUKqr87CSqR4V2YLeV8ClCSCM/s1600/Screen+Shot+2015-09-13+at+10.23.05+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;441&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIy7iMm6p2_fS6Mpo5Tu0K87kGh6Bhg127Y5tuKGYsd7vl5Bz3NB7wZm0KOxviHMR43KKyA81mqJ-DFOiCxF4a2jn9fbye4EwOW84JvWo2lIfYFfqS3QNUKqr87CSqR4V2YLeV8ClCSCM/s640/Screen+Shot+2015-09-13+at+10.23.05+PM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
4) Install&amp;nbsp;Patchage&lt;/div&gt;
&lt;br /&gt;
5) Install Jack2 (Reboot will be required after install).&lt;br /&gt;
&lt;br /&gt;
6) After the system reboots open JackPilot.&lt;br /&gt;
&lt;br /&gt;
7) From the JackPilot menu select &lt;b&gt;Preferences&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2_oUx8ACbN65j3mYkrkNAGJvXpLMedqL2-mb9oEVjvRrqGKHJN_q-TKCNzIH3kUQo3RMUvdm2bu01s9Fhvci2ml2GiJIo6_CjdF-BMEQ9zQhUXIGIFKCVqP66WmLSaCqrFAPnzxERVas/s1600/Screen+Shot+2015-09-14+at+12.07.57+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2_oUx8ACbN65j3mYkrkNAGJvXpLMedqL2-mb9oEVjvRrqGKHJN_q-TKCNzIH3kUQo3RMUvdm2bu01s9Fhvci2ml2GiJIo6_CjdF-BMEQ9zQhUXIGIFKCVqP66WmLSaCqrFAPnzxERVas/s1600/Screen+Shot+2015-09-14+at+12.07.57+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Make sure the Input/Output Device are your computers speakers. &amp;nbsp;In my case I have an external USB sound card. &amp;nbsp;After this is complete, select Save&lt;br /&gt;
&lt;br /&gt;
8) Click Start to start JackServer&lt;br /&gt;
&lt;br /&gt;
9) Open Patchage &amp;nbsp;/ From the System drop down menu select &quot;Connect to Jack&quot;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
10) Open LineIn. &amp;nbsp;For Input from select &lt;b&gt;Soundflower (2ch). &lt;/b&gt;&amp;nbsp;For Output to: select &lt;b&gt;JackRouter &lt;/b&gt;and click &lt;b&gt;Play Thru&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYBuvP2Ec-HYywqsXOOFOhjQXn3SXGQ5onj5cbF1Mas7XyATgiyQboWG9aJ6cJ87KDQsDf8O76R_msB5bsHzObL_cFYueEk-1Q07rfnAa3qmRE8Q6ssh59-KofU3QbsWpKHmAhXaRpNUM/s1600/Screen+Shot+2015-09-14+at+12.13.54+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYBuvP2Ec-HYywqsXOOFOhjQXn3SXGQ5onj5cbF1Mas7XyATgiyQboWG9aJ6cJ87KDQsDf8O76R_msB5bsHzObL_cFYueEk-1Q07rfnAa3qmRE8Q6ssh59-KofU3QbsWpKHmAhXaRpNUM/s1600/Screen+Shot+2015-09-14+at+12.13.54+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;) Go back to Patchage and you will see the following. &amp;nbsp;Note under View deselect Spring LayOut. &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4N5lbkU9Iqt9jTZkH1vU-hC42IbHrselyK7D33VbEoMhFPQI5FvxnApeK73L7iSGJJR9mECqObWVGnCqncIQ1Uyaf4XNJIO9Fv3sb6ZpIdelrbI4vcdU6oyaxSJqTovvPgMUb_DIp1hY/s1600/Screen+Shot+2015-09-14+at+12.17.19+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4N5lbkU9Iqt9jTZkH1vU-hC42IbHrselyK7D33VbEoMhFPQI5FvxnApeK73L7iSGJJR9mECqObWVGnCqncIQ1Uyaf4XNJIO9Fv3sb6ZpIdelrbI4vcdU6oyaxSJqTovvPgMUb_DIp1hY/s1600/Screen+Shot+2015-09-14+at+12.17.19+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;11) Finally Open SoundPimp and make sure the &quot;Jack Direct Connection&quot; option is selected. &amp;nbsp;Click the Gear Icons if you do not see this. &amp;nbsp;Once selected, press the Cycle button in SoundPimp (bottom left corner). In Patchage you will see the following.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivx06UF5KSwky25wv31mo6A_xpt0GHtuKLUaIJwni6_lqA3gqumVKurUAY3erguSsrkdM2MzJ7wuOk79HpDpdxCNaJuFgji8t_wxYvz3aS8gjsRWNwiqKqAggJd8M5g-hBXRFiuSLYgoI/s1600/Screen+Shot+2015-09-14+at+12.19.12+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivx06UF5KSwky25wv31mo6A_xpt0GHtuKLUaIJwni6_lqA3gqumVKurUAY3erguSsrkdM2MzJ7wuOk79HpDpdxCNaJuFgji8t_wxYvz3aS8gjsRWNwiqKqAggJd8M5g-hBXRFiuSLYgoI/s1600/Screen+Shot+2015-09-14+at+12.19.12+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
12) The routing is incorrect. &amp;nbsp;To Fix this, click and hold down the mouse from Capture_1. &amp;nbsp;A green cable will appear. &amp;nbsp;Connect that green cable to Input_1 on SoundPimp. &amp;nbsp;This will delete that connection. &amp;nbsp;Do the same thing for Capture_2 to Input_2. &amp;nbsp;The end result will look like the following:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLnVBeZZ7GJBo25I5-ff5Ku7GLHRN57HcpwuSmf-f6A3qB4nrt-g6CgHgxkfHzfYpf6F9uEZ3K3katvXN5dk-gY1nj_RpKl8FOwH6XNqNkOhyOxTJZTOrf97E1fH3BpFUAyKLR76qlGuA/s1600/Screen+Shot+2015-09-14+at+12.22.07+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLnVBeZZ7GJBo25I5-ff5Ku7GLHRN57HcpwuSmf-f6A3qB4nrt-g6CgHgxkfHzfYpf6F9uEZ3K3katvXN5dk-gY1nj_RpKl8FOwH6XNqNkOhyOxTJZTOrf97E1fH3BpFUAyKLR76qlGuA/s1600/Screen+Shot+2015-09-14+at+12.22.07+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
13) &amp;nbsp;Click out1 from LineIn and drag the cable to SoundPimps Input_1. &amp;nbsp;Do the same for out2 to Input_2. &amp;nbsp;Once the connections are complete play some Audio! &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDmyoJEydyrFOU3ixVLhqqtqMO54gAD2BmbUO4Ea5fG6VX-0_v8IHSbOQN_rl_mX1pd0kf8dmKtQyauqNcRDqxNSzX0nx54EomUnN-_0COZdgF-sUVxVSw1zCGouCo1gIxFY8hdf3L0uA/s1600/Screen+Shot+2015-09-14+at+1.54.35+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDmyoJEydyrFOU3ixVLhqqtqMO54gAD2BmbUO4Ea5fG6VX-0_v8IHSbOQN_rl_mX1pd0kf8dmKtQyauqNcRDqxNSzX0nx54EomUnN-_0COZdgF-sUVxVSw1zCGouCo1gIxFY8hdf3L0uA/s1600/Screen+Shot+2015-09-14+at+1.54.35+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I keep the Jack slider (bottom) around the same decibel level and turn the input volume level all the way up. &amp;nbsp;Of course you have to play around with the system volume to find a nice balance however I found out that sometimes less is more regrading fine tuning SoundPimp.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-5m4ppsYBApYu_VPZ__0tV9LPqAyumXRxqTBJzo3uepMAXU1JyYwkrkwIFCvhqszwaJsLBQ5I8tNP5UuTeqUl5Nut0dX7gB0dwqQEhN4Xc6PfoN0ImQmFr-2PMmTuHB24kIoTVAkYBjA/s1600/Untitled+drawing.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-5m4ppsYBApYu_VPZ__0tV9LPqAyumXRxqTBJzo3uepMAXU1JyYwkrkwIFCvhqszwaJsLBQ5I8tNP5UuTeqUl5Nut0dX7gB0dwqQEhN4Xc6PfoN0ImQmFr-2PMmTuHB24kIoTVAkYBjA/s1600/Untitled+drawing.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Side Notes:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Patchage Crashes a lot. &amp;nbsp;Simply restart and reconnect it to jack.&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;If you&#39;re seeing audio sent to soundpimp because the&amp;nbsp;decibel levels are changing but can&#39;t hear anything, rebooting will usually fix the problem. &amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/6657065244283908308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2015/09/installing-soundpimp-on-osx-1010-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6657065244283908308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6657065244283908308'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2015/09/installing-soundpimp-on-osx-1010-with.html' title='Installing SoundPimp on OSX 10.10  with JackOSX.0.90 and LineIn.  '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmfo-GaUbiLgu29GZOgLAtzuCSz3E6tL76RnC9EN3uE9toX9nEN28dKi8XyKzq__Wc9oBAZuwm3roDDGgzOMqcv2G4mY8SrMP6AbXnonWTlxWV1iOdwygsvTvEaYr5d7s0toLLIbIpiYk/s72-c/Screen+Shot+2015-09-12+at+1.48.54+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-9051792395247320075</id><published>2015-01-29T15:12:00.002-08:00</published><updated>2015-01-29T15:12:34.932-08:00</updated><title type='text'>Creating Tiny BareBone executables in Python for debugging shellcode and function stubs </title><content type='html'>&lt;div&gt;
The following python script creates a barebone exe called out.exe that does nothing. &amp;nbsp;Its extremely useful when you need to debug shellcode or an application stub. &amp;nbsp;Simply load out.exe into Immunity, allocate a buffer, cut and paste the shellcode into the new buffer via the hex dump window, or just cut and paste the shellcode below the return at address 0x00401010 (for example) in the hex dump window. Finally modify RETN to JMP&amp;nbsp;+ ADDR of the shellcode you would like to execute.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i style=&quot;text-align: center;&quot;&gt;out.exe loaded into immunity debugger. &amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAlnn-SrOyOSMs9S0yrPZwWGujJenVRGdGtrABQvYzsO0dIOld9eKIARFfkUM4IFr2h04bpO55_YmjDo_ehKH650P9Nh9VFQwDxEZjbUabTFabwXhnRxFOPheqk44npcsseDj7gWDFs-0/s1600/Screenshot+-+01292015+-+05:41:37+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAlnn-SrOyOSMs9S0yrPZwWGujJenVRGdGtrABQvYzsO0dIOld9eKIARFfkUM4IFr2h04bpO55_YmjDo_ehKH650P9Nh9VFQwDxEZjbUabTFabwXhnRxFOPheqk44npcsseDj7gWDFs-0/s1600/Screenshot+-+01292015+-+05:41:37+PM.png&quot; height=&quot;508&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;Simply modifying the RETN command to JMP 00401010 for example and paste your shellcode at that address in the hex window. &amp;nbsp;Next press F7 to step into your stub or shellcode. &amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;miniexe.py&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;import re&lt;br /&gt;import sys&lt;br /&gt;import binascii&lt;br /&gt;import os&lt;br /&gt;exe_str = &quot;4D5A9&quot; + (&quot;0&quot; * 4) + &quot;3&quot; + (&quot;0&quot; * 7) + &quot;4&quot; + (&quot;0&quot; * 6) + &quot;FFFF&quot; + (&quot;0&quot; * 4) + \&lt;br /&gt;&quot;B8&quot; + (&quot;0&quot; * 14) + &quot;4&quot; + (&quot;0&quot; * 71) + &quot;B&quot; + (&quot;0&quot; * 8) + \&lt;br /&gt;&quot;E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A24&quot; + \&lt;br /&gt;(&quot;0&quot; * 14) + &quot;BB41E4DAFF208A89FF208A89FF208A89FF208A89FE208A8990561789FE208A8952696368FF208A89&quot; + \&lt;br /&gt;(&quot;0&quot; * 16) + &quot;5045&quot; + (&quot;0&quot; * 4) + &quot;4C0101004C9AF85&quot; + (&quot;0&quot; * 17) + &quot;E&quot; + (&quot;0&quot; * 4) + \&lt;br /&gt;&quot;2010B010A&quot; + (&quot;0&quot; * 5) + &quot;2&quot; + (&quot;0&quot; * 22) + &quot;1&quot; + (&quot;0&quot; * 7) + &quot;1&quot; + (&quot;0&quot; * 7) + \&lt;br /&gt;&quot;2&quot; + (&quot;0&quot; * 9) + &quot;4&quot; + (&quot;0&quot; * 5) + &quot;1&quot; +(&quot;0&quot; * 8) + &quot;2&quot; + (&quot;0&quot; * 5) + &quot;5&quot; + (&quot;0&quot; * 3) + \&lt;br /&gt;&quot;1&quot; + (&quot;0&quot; * 11) + &quot;5&quot; + (&quot;0&quot; *3) + &quot;1&quot; + (&quot;0&quot; * 12) + &quot;2&quot; + (&quot;0&quot; * 8) + &quot;2&quot; + (&quot;0&quot; * 13) + \&lt;br /&gt;&quot;3004085&quot; + (&quot;0&quot; * 4) + &quot;1&quot; + (&quot;0&quot; * 5) + &quot;1&quot; + (&quot;0&quot; * 9) + &quot;1&quot; + (&quot;0&quot; * 5) + &quot;1&quot; + (&quot;0&quot; * 13) + \&lt;br /&gt;&quot;1&quot; + (&quot;0&quot; * 263) + &quot;2E74657874&quot; + (&quot;0&quot; * 7) + &quot;1&quot; + (&quot;0&quot; * 8) + &quot;1&quot; + (&quot;0&quot; * 8) + \&lt;br /&gt;&quot;2&quot; + (&quot;0&quot; * 7) + &quot;2&quot; + (&quot;0&quot; * 28) + &quot;2&quot; + (&quot;0&quot; * 5) + &quot;6&quot; + (&quot;0&quot; * 97) + &quot;C3&quot;+ (&quot;0&quot; * 1022)&lt;br /&gt;f = open(&quot;out.exe&quot;, &#39;wb&#39;)&lt;br /&gt;f.write(binascii.unhexlify(exe_str))&lt;br /&gt;f.close()&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;i&gt;hexdump of&amp;nbsp;out.exe&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;b&gt;hexdump -C out.exe&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;00000000 &amp;nbsp;4d 5a 90 00 03 00 00 00 &amp;nbsp;04 00 00 00 ff ff 00 00 &amp;nbsp;|MZ..............|&lt;br /&gt;00000010 &amp;nbsp;b8 00 00 00 00 00 00 00 &amp;nbsp;40 00 00 00 00 00 00 00 &amp;nbsp;|........@.......|&lt;br /&gt;00000020 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;00000030 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 b0 00 00 00 &amp;nbsp;|................|&lt;br /&gt;00000040 &amp;nbsp;0e 1f ba 0e 00 b4 09 cd &amp;nbsp;21 b8 01 4c cd 21 54 68 &amp;nbsp;|........!..L.!Th|&lt;br /&gt;00000050 &amp;nbsp;69 73 20 70 72 6f 67 72 &amp;nbsp;61 6d 20 63 61 6e 6e 6f &amp;nbsp;|is program canno|&lt;br /&gt;00000060 &amp;nbsp;74 20 62 65 20 72 75 6e &amp;nbsp;20 69 6e 20 44 4f 53 20 &amp;nbsp;|t be run in DOS |&lt;br /&gt;00000070 &amp;nbsp;6d 6f 64 65 2e 0d 0d 0a &amp;nbsp;24 00 00 00 00 00 00 00 &amp;nbsp;|mode....$.......|&lt;br /&gt;00000080 &amp;nbsp;bb 41 e4 da ff 20 8a 89 &amp;nbsp;ff 20 8a 89 ff 20 8a 89 &amp;nbsp;|.A... ... ... ..|&lt;br /&gt;00000090 &amp;nbsp;ff 20 8a 89 fe 20 8a 89 &amp;nbsp;90 56 17 89 fe 20 8a 89 &amp;nbsp;|. ... ...V... ..|&lt;br /&gt;000000a0 &amp;nbsp;52 69 63 68 ff 20 8a 89 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|Rich. ..........|&lt;br /&gt;000000b0 &amp;nbsp;50 45 00 00 4c 01 01 00 &amp;nbsp;4c 9a f8 50 00 00 00 00 &amp;nbsp;|PE..L...L..P....|&lt;br /&gt;000000c0 &amp;nbsp;00 00 00 00 e0 00 02 01 &amp;nbsp;0b 01 0a 00 00 02 00 00 &amp;nbsp;|................|&lt;br /&gt;000000d0 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 10 00 00 00 10 00 00 &amp;nbsp;|................|&lt;br /&gt;000000e0 &amp;nbsp;00 20 00 00 00 00 40 00 &amp;nbsp;00 10 00 00 00 02 00 00 &amp;nbsp;|. ....@.........|&lt;br /&gt;000000f0 &amp;nbsp;05 00 01 00 00 00 00 00 &amp;nbsp;05 00 01 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;00000100 &amp;nbsp;00 20 00 00 00 02 00 00 &amp;nbsp;00 00 00 00 03 00 40 85 &amp;nbsp;|. ............@.|&lt;br /&gt;00000110 &amp;nbsp;00 00 10 00 00 10 00 00 &amp;nbsp;00 00 10 00 00 10 00 00 &amp;nbsp;|................|&lt;br /&gt;00000120 &amp;nbsp;00 00 00 00 10 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;00000130 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;*&lt;br /&gt;000001a0 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;2e 74 65 78 74 00 00 00 &amp;nbsp;|.........text...|&lt;br /&gt;000001b0 &amp;nbsp;01 00 00 00 00 10 00 00 &amp;nbsp;00 02 00 00 00 02 00 00 &amp;nbsp;|................|&lt;br /&gt;000001c0 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 20 00 00 60 &amp;nbsp;|............ ..`|&lt;br /&gt;000001d0 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;*&lt;br /&gt;00000200 &amp;nbsp;c3 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;00000210 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;00 00 00 00 00 00 00 00 &amp;nbsp;|................|&lt;br /&gt;*&lt;br /&gt;00000400&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
EOF&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/9051792395247320075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2015/01/creating-tiny-barebone-executables-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/9051792395247320075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/9051792395247320075'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2015/01/creating-tiny-barebone-executables-in.html' title='Creating Tiny BareBone executables in Python for debugging shellcode and function stubs '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAlnn-SrOyOSMs9S0yrPZwWGujJenVRGdGtrABQvYzsO0dIOld9eKIARFfkUM4IFr2h04bpO55_YmjDo_ehKH650P9Nh9VFQwDxEZjbUabTFabwXhnRxFOPheqk44npcsseDj7gWDFs-0/s72-c/Screenshot+-+01292015+-+05:41:37+PM.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-8181880905275735359</id><published>2014-10-08T23:30:00.001-07:00</published><updated>2014-10-09T16:17:00.742-07:00</updated><title type='text'>Vol-MsDecompress </title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/msdecompress.py&quot;&gt;Vol-MsDecompress&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Malware I&#39;ve ran across in the past used &lt;b&gt;LZNT1&lt;/b&gt; compression to help hide/pack itself in memory. &amp;nbsp;To help defeat this I&#39;ve created &lt;b&gt;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/msdecompress.py&quot;&gt;Vol-MsDecompress&lt;/a&gt;&lt;/b&gt;. &amp;nbsp;Vol-MsDecompress is a plugin&amp;nbsp;to help forensics investigators recover compressed data in memory. &amp;nbsp;Currently Vol-MsDecompress supports the&amp;nbsp;lznt1 decompression&amp;nbsp;algorithm, however&lt;b&gt;&amp;nbsp;Xpress and Xpress +&amp;nbsp;huffman&lt;/b&gt; will be added soon. &amp;nbsp;Vol-MsDecompress uses a slightly modified version of&lt;a href=&quot;https://github.com/coderforlife/ms-compress&quot;&gt; &lt;b&gt;ms-compress&lt;/b&gt;.&lt;/a&gt; &amp;nbsp;The modified version exports the&amp;nbsp;&lt;b&gt;lznt1_decompress_chunk &lt;/b&gt;function which Vol-MsDecompress uses to precisely decompress data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://code.google.com/p/jamaal-re-tools/source/browse/#git%2Fvolplugins%2Fmsdecompress&quot;&gt;[Vol-MsDecompress Repository]&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A basic build&amp;nbsp;environment is required for building Vol-MsDecompress. &amp;nbsp;(OSX: xcode, Linux:&amp;nbsp;build-essential, Win: MS Visual Studio)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install (OSX/Linux):&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
1) Download&amp;nbsp;&lt;b&gt;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/ms-voldecompress.zip&quot;&gt;ms-voldecompress.zip&lt;/a&gt;&lt;/b&gt; &amp;nbsp;from the repository&lt;br /&gt;
2) Unzip the the file &lt;b&gt;$ unzip ms-voldecompress.zip&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
3) Build it&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;$ ./build.sh (build.bat for windows)&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Compiling dynamic shared library...&lt;/div&gt;
&lt;div&gt;
In file included from lzx.cpp:22:0:&lt;/div&gt;
&lt;div&gt;
etc..&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4) Check for the lib and its exports&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
$ ls -l &lt;b&gt;libMSCompression.so&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
-rwxrwxr-x 1 ff ff 113000 Sep 30 22:25 libMSCompression.so&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
$ nm -D libMSCompression.so &amp;nbsp;| grep -i decompress&lt;/div&gt;
&lt;div&gt;
00000000000025d0 T decompress&lt;/div&gt;
&lt;div&gt;
0000000000003450 T lznt1_decompress&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;0000000000003080 T lznt1_decompress_chunk&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
0000000000006540 T lzx_cab_decompress&lt;/div&gt;
&lt;div&gt;
0000000000006010 T lzx_wim_decompress&lt;/div&gt;
&lt;div&gt;
0000000000011be0 T xpress_decompress&lt;/div&gt;
&lt;div&gt;
0000000000012d70 T xpress_huff_decompress&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Copy&amp;nbsp;&lt;b&gt;libMSCompression.so &lt;/b&gt;to another location or just call it from its current location (next step will demonstrate)&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5) Copy the&amp;nbsp;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/msdecompress.py&quot;&gt;msdecompress.py&lt;/a&gt; plugin to &lt;b&gt;vols&lt;/b&gt; plugin directory&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6) Example usage:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;python vol.py msdecompress -f ../zeus.vmem -D out4 -P ~/projects/mchammer/libMSCompression.so -A lznt1 -C -M 5&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Options:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;-P&lt;/b&gt; path to the LibMScompress file&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;-A&lt;/b&gt; algorithm to use [lznt1 for now]&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;-C&lt;/b&gt; Dump the compress data along with the decompress data blocks (useful for comparing compressed and decompressed bytes)&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;-M&lt;/b&gt; Specify the minimum compressed data size to decompress in bytes (default is 20 bytes)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Sample Output&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x81008000, Offset: 0x0&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x81009000, Offset: 0x4dc&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x8100a000, Offset: 0x1fd&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x8100b000, Offset: 0x49e&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x8100c000, Offset: 0x702&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x8100d000, Offset: 0x528&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x8100e000, Offset: 0x321&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x81011000, Offset: 0x36c&lt;/div&gt;
&lt;div&gt;
Decompresing data for PID: 4, Process: System, Page: 0x81013000, Offset: 0x1b3&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;About 225 compressed steams were recovered using LZNT1 for the Zeus.vmem sample. &amp;nbsp;&lt;/b&gt;The decompressed data recovered by the plugin can be found in the &lt;b&gt;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/msdecompress_zeus.zip&quot;&gt;msdecompress_zeus.zip&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Examining the compressed and decompressed data found in memory. &amp;nbsp;&lt;/b&gt;&lt;/h3&gt;
Please be sure to download the&amp;nbsp;&lt;b&gt;&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/volplugins/msdecompress/msdecompress_zeus.zip&quot;&gt;msdecompress_zeus.zip&lt;/a&gt;&amp;nbsp;&lt;/b&gt;file to follow the brief example below. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$ &lt;b&gt;hexdump -C 4_System_0x81008000_0x0_lznt1__CompressedBuffer.bin&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWAvmKIDaqPTWR3W1Ejcw9_DcGtAJQ1RP17-ynPvNDah3zYbFDBbYvRoEkwJOkI3imYORDQZXKMKCNe_M66dmRiKwSc_yyDAA3dRQajmnzOPXi9p7vVu1nTkbbfk3FcYSvCnQbmXEpBO4/s1600/Screen+Shot+2014-10-09+at+1.42.57+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWAvmKIDaqPTWR3W1Ejcw9_DcGtAJQ1RP17-ynPvNDah3zYbFDBbYvRoEkwJOkI3imYORDQZXKMKCNe_M66dmRiKwSc_yyDAA3dRQajmnzOPXi9p7vVu1nTkbbfk3FcYSvCnQbmXEpBO4/s1600/Screen+Shot+2014-10-09+at+1.42.57+AM.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;$ hexdump -C 4_System_0x81008000_0x0_lznt1__UncompressedBuffer.bin&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtnQ0FlLl005x3yOmIFBj0H7bTMLviv7H7lV3C0h1IppDO1xpwiTJUCCgUyamVZ458DQ3WZCP1wX6A6r-TLBj7KhYxpIbBIB6wA-axpSstVnj711UTnlR3pIKuM7yg8YONpkXZO7k5Nds/s1600/Screen+Shot+2014-10-09+at+1.43.26+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtnQ0FlLl005x3yOmIFBj0H7bTMLviv7H7lV3C0h1IppDO1xpwiTJUCCgUyamVZ458DQ3WZCP1wX6A6r-TLBj7KhYxpIbBIB6wA-axpSstVnj711UTnlR3pIKuM7yg8YONpkXZO7k5Nds/s1600/Screen+Shot+2014-10-09+at+1.43.26+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;clear: both; text-align: left;&quot;&gt;
Conclusion:&lt;/h3&gt;
A lot of compressed data&amp;nbsp;exists in windows memory. &amp;nbsp;This plugin is my first basic attempt for helping others to analyze compressed data in memory (without using a debugger to monitor allocated buffers or seeing the return data from RtlDecompressBuffer). &amp;nbsp;Vol-MsDecompress was able to properly carve and decompress compressed data with much more accuracy than the&amp;nbsp;&lt;a href=&quot;https://pypi.python.org/pypi/LaZy_NT/0.1.0&quot;&gt;Lazy_NT&lt;/a&gt;&amp;nbsp;python module. &amp;nbsp;No other framework or platform that I know of currently supports the extraction of LZNT1 compressed data from memory. &amp;nbsp;As noted above&amp;nbsp;&lt;b&gt;Xpress &lt;/b&gt;and&lt;b&gt; Xpress +&amp;nbsp;huffman &lt;/b&gt;will be added eventually. &amp;nbsp;A standalone carver will be released as well along with native python versions of the ms-compression algorithms. &amp;nbsp;Many many thanks to&amp;nbsp;Jeffrey Bush of http://coderforlife.com/ who&#39;s code Vol-MsDecompress uses. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;h2&gt;
Notes:&amp;nbsp;&lt;/h2&gt;
&lt;h3&gt;
Visualizing LZNT1 Decompression: &amp;nbsp;&lt;/h3&gt;
I am very visual so I found an easy solution to replace pin and paper in figuring out how the &lt;b&gt;LZNT1&lt;/b&gt; decompression process works. &amp;nbsp;The below visualization helped me&amp;nbsp;enormously and I will be using this process from here on out. &amp;nbsp;It was created using &lt;a href=&quot;http://www.xmind.net/&quot;&gt;XMIND&lt;/a&gt;. &amp;nbsp;Ultimately the&amp;nbsp;&lt;b&gt;lznt1_uncompressed_size&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;lznt1_decompress_chunk&lt;/b&gt;&amp;nbsp;functions were used to&amp;nbsp;deduce&amp;nbsp;if data was legitimately decompressed by the plugin. &amp;nbsp;The below visualization did serve as an excellent example for understanding complex code for the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;lznt1 carving process&amp;nbsp;visualization&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrliUDp0uUgOua3y3g4-VpvQikqubFgsY4LjVoGj2udCd5GTVN0ysg1ahRq6FT6FlgjVOC0TzPEZe2CwkwxU5gpRJ6dISDmRmHQ1mA5rKELK92BITUyXRpJ3WkmLmM1WcOAhUhABvAgOc/s1600/Lznt1+Decompression.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrliUDp0uUgOua3y3g4-VpvQikqubFgsY4LjVoGj2udCd5GTVN0ysg1ahRq6FT6FlgjVOC0TzPEZe2CwkwxU5gpRJ6dISDmRmHQ1mA5rKELK92BITUyXRpJ3WkmLmM1WcOAhUhABvAgOc/s1600/Lznt1+Decompression.jpg&quot; height=&quot;200&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, san-serif; font-size: 13px; line-height: 16.25px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, san-serif; font-size: 13px; line-height: 16.25px;&quot;&gt;&quot;The greater the artist, the greater the doubt. Perfect confidence is granted to the less talented as a consolation prize&quot;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/8181880905275735359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2014/10/vol-msdecompress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8181880905275735359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8181880905275735359'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2014/10/vol-msdecompress.html' title='Vol-MsDecompress '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWAvmKIDaqPTWR3W1Ejcw9_DcGtAJQ1RP17-ynPvNDah3zYbFDBbYvRoEkwJOkI3imYORDQZXKMKCNe_M66dmRiKwSc_yyDAA3dRQajmnzOPXi9p7vVu1nTkbbfk3FcYSvCnQbmXEpBO4/s72-c/Screen+Shot+2014-10-09+at+1.42.57+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-4304082438258549088</id><published>2014-05-27T14:39:00.003-07:00</published><updated>2014-05-27T14:58:13.071-07:00</updated><title type='text'>Unpacking Zeus Malware </title><content type='html'>&lt;div class=&quot;page&quot; title=&quot;Page 1&quot;&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: rgb(100.000000%, 100.000000%, 100.000000%);&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(26.666670%, 26.666670%, 26.666670%); font-family: &#39;TrebuchetMS&#39;; font-size: 20.000000pt; font-weight: 700;&quot;&gt;Unpacking Zeus MALWARE&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: TrebuchetMS; font-size: 13pt; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #444444; font-family: TrebuchetMS; font-size: 13pt; font-weight: 700;&quot;&gt;1) Zeus ntdll.RtlDecompressBuffer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444; font-family: TrebuchetMS; font-size: 13pt; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;Unpacking Zeus (amdeu_exe) with Immunity Debugger 1.73&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;This version of Zeus (&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt; font-weight: 700;&quot;&gt;amdeu_exe&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;) used&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt; font-weight: 700;&quot;&gt;ntdll.RtlDecompressBuffer&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;to decompress itself into memory allocated using&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt; font-weight: 700;&quot;&gt;VirtualAlloc&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;. Below are the steps to take to manually unpack the exe. The end result was found by&lt;br /&gt;setting breakpoints on&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt; font-weight: 700;&quot;&gt;VirtualAlloc&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;calls and the corresponding memory addresses that were allocated.&lt;/span&gt;&lt;br /&gt;


&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiMmbFYoUBUcBLyoLdQ3aCNKaTmRloffITdjwkeufEZ8Npk5HgZb5Rz7gxIDwoCm6hcxkoQ8_-OzAy_H4I-4SFXQsoJa2fKW3vSSbqcPA0rROyBTv9ccVl_2Xc_KyFNm6pSecc-d0UKg/s1600/zeusunpacking-013.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiMmbFYoUBUcBLyoLdQ3aCNKaTmRloffITdjwkeufEZ8Npk5HgZb5Rz7gxIDwoCm6hcxkoQ8_-OzAy_H4I-4SFXQsoJa2fKW3vSSbqcPA0rROyBTv9ccVl_2Xc_KyFNm6pSecc-d0UKg/s1600/zeusunpacking-013.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
(Zeus unpacked)&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;A Hardware Breakpoint would be set on Write to the allocated address and the memory was monitored&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #484848; font-family: Verdana; font-size: 12pt;&quot;&gt;for changes. Here are instructions to manually unpack this sample quickly.&lt;/span&gt;&lt;br /&gt;


&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmnT_uuIWLAsEEMQ6NfAGtQ0K97blBPHBx-AR0cFdKBeGTJGgqC5K9qhKp2UB6ZuQfgAW-wJYqVCEFx8frbre3jVmwFmfP9lh000tisTwqzssudN8Dzk1dpijYfbfNxm1aOTyiw29k1ig/s1600/zeusunpacking-000.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmnT_uuIWLAsEEMQ6NfAGtQ0K97blBPHBx-AR0cFdKBeGTJGgqC5K9qhKp2UB6ZuQfgAW-wJYqVCEFx8frbre3jVmwFmfP9lh000tisTwqzssudN8Dzk1dpijYfbfNxm1aOTyiw29k1ig/s1600/zeusunpacking-000.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 1&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;2) Load the executable and you should be dropped at address:
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;7C90120F C3 RETN&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3GdpgTA64RLW2BdzSZomu_ksTlM8DW02TnmAlHypeikhyphenhyphen92YCAqcspBKW2WONWHNc1uFbLOjpJDI3W-KgYzjebdM-c46oT5D04_26cw8UfX0_FSXccsjK4059qQ2ZvZoERxEcJqbcC7Y/s1600/zeusunpacking-001.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3GdpgTA64RLW2BdzSZomu_ksTlM8DW02TnmAlHypeikhyphenhyphen92YCAqcspBKW2WONWHNc1uFbLOjpJDI3W-KgYzjebdM-c46oT5D04_26cw8UfX0_FSXccsjK4059qQ2ZvZoERxEcJqbcC7Y/s1600/zeusunpacking-001.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 1&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;3) Press Alt + F9 to Execute until User Code. Which should take you to the location: &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;00401500
&lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;Set a soft breakpoint by pressing F2 at address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;00401655&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8n7KYJxtajWYOZD3-4Z6ptXfTKs8b0aViK_pT-PwCAlU-x953U2xu3nJCqw994J4BscFgdTFUW5dLERy3c8XccpAKcp6a65t2pgW9rt8UjChJ-Hm6EZa5pfl2Hwn9Qf9vozDQdsNYkg/s1600/zeusunpacking-002.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8n7KYJxtajWYOZD3-4Z6ptXfTKs8b0aViK_pT-PwCAlU-x953U2xu3nJCqw994J4BscFgdTFUW5dLERy3c8XccpAKcp6a65t2pgW9rt8UjChJ-Hm6EZa5pfl2Hwn9Qf9vozDQdsNYkg/s1600/zeusunpacking-002.jpg&quot; height=&quot;216&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 1&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;4) In the command line type &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;!hidedebug &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;All_Debug and press Enter&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHzE_VSGuSKMQS9aG6ja44GSeVtrkaG4oAihRhG5r8hR6GDT-IXMTeNJUfK0H4SRQxIXLgxYmEx3MlhAvMakDtgSxg5-4bUawalyHPQ0DrEcYJQ1OCZ0nHCLxOfxsR12gwNFPLLCcWqQw/s1600/zeusunpacking-003.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHzE_VSGuSKMQS9aG6ja44GSeVtrkaG4oAihRhG5r8hR6GDT-IXMTeNJUfK0H4SRQxIXLgxYmEx3MlhAvMakDtgSxg5-4bUawalyHPQ0DrEcYJQ1OCZ0nHCLxOfxsR12gwNFPLLCcWqQw/s1600/zeusunpacking-003.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;Do the same for:
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;!hidedebug All_Process
!hidedebug All_Window
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;&lt;br /&gt;&lt;/span&gt;

      &lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;5) Press &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;Play &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;to execute the sample to &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;00401655&lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;. Once the soft BP has been hit, press &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;F7 &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;to step Into the address which should bring you to &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;00401007&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP029j0H6vdRh1jXf3tKDZZ0-8TN45V7-hcaGHMQTaV-mYc8H2eb1tHCfGKkESGfzS3RvdfhfJ6Wi-_9PbFFgjzPog8HctSK8V21mP4EYqOeqej7cnBXlsXVhyphenhyphenyziD7Fd32HpTpDJdWcs/s1600/zeusunpacking-004.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP029j0H6vdRh1jXf3tKDZZ0-8TN45V7-hcaGHMQTaV-mYc8H2eb1tHCfGKkESGfzS3RvdfhfJ6Wi-_9PbFFgjzPog8HctSK8V21mP4EYqOeqej7cnBXlsXVhyphenhyphenyziD7Fd32HpTpDJdWcs/s1600/zeusunpacking-004.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;6) Set a Soft BP by pressing F2 at address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;0040111A &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;which is the bottom of a loop and click &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;Play&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilkJbc2ImOstkz25uKTjlanlBwiW7BEoaL0ZPBJ6pQfw17cYwwGs5Q9X9xhkL7mbEvTQ_lEymSVIcfpU8DQ13oqA_Bd1uD8nvRTSGOc_c3ioqZeYjJnK9jUeROyERSMbxy2FgED1oyZ7s/s1600/zeusunpacking-005.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilkJbc2ImOstkz25uKTjlanlBwiW7BEoaL0ZPBJ6pQfw17cYwwGs5Q9X9xhkL7mbEvTQ_lEymSVIcfpU8DQ13oqA_Bd1uD8nvRTSGOc_c3ioqZeYjJnK9jUeROyERSMbxy2FgED1oyZ7s/s1600/zeusunpacking-005.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;7) When &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;0040111A &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;is hit, press &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;F7 &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;to step into the address. This should bring us to address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;0050100&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirVL-y_7nerGxEUc5NRvXaVg5CZbETTLOA4jKpJuuqzvhN7QVwQqDIEk9TGmCzEVLcNTLjm_VgeItHtfnzrHrUBYPGeYCYKVxTciHt7HfD-4f9vZCgSM87l198MnRS_N1iFIAGf47ig7s/s1600/zeusunpacking-006.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirVL-y_7nerGxEUc5NRvXaVg5CZbETTLOA4jKpJuuqzvhN7QVwQqDIEk9TGmCzEVLcNTLjm_VgeItHtfnzrHrUBYPGeYCYKVxTciHt7HfD-4f9vZCgSM87l198MnRS_N1iFIAGf47ig7s/s1600/zeusunpacking-006.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;8) &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;ntdll.RtlDecompressBuffer &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;is our target call which is at address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;005012E0&lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;. Set a software BP at this address.
If you get a warning, just press Ok or Yes to continue when setting this &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;BP &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;and select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;Play&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNzfPleuoGdcWACQqiAsbjzE0KB1kbHF1blZN8kfQM-iwHwN6iX1MKILaikJjwFDz4Q2tRHb3vmh1xUTAXEbeDnHU3Litkhg7edym0Qhp4ziQVeKpGkbHOPtwrv7oagvZr-I8TcZ7EKlA/s1600/zeusunpacking-007.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNzfPleuoGdcWACQqiAsbjzE0KB1kbHF1blZN8kfQM-iwHwN6iX1MKILaikJjwFDz4Q2tRHb3vmh1xUTAXEbeDnHU3Litkhg7edym0Qhp4ziQVeKpGkbHOPtwrv7oagvZr-I8TcZ7EKlA/s1600/zeusunpacking-007.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;9) Once our target address has been hit as shown below.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCGyRVbjTqlpNBI38IpO7-K4-YqyrXqWJ_jVbwFgk7tZ4ICg2DR0-332XTKTg5X4bIlcU7aI2WPRpYaiKMwaSG-LlP5fqIz4gAyxDUjGrRLMfs9FMFGFC9kXoa6zZyIeHkfF0S_hJHX8/s1600/zeusunpacking-008.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCGyRVbjTqlpNBI38IpO7-K4-YqyrXqWJ_jVbwFgk7tZ4ICg2DR0-332XTKTg5X4bIlcU7aI2WPRpYaiKMwaSG-LlP5fqIz4gAyxDUjGrRLMfs9FMFGFC9kXoa6zZyIeHkfF0S_hJHX8/s1600/zeusunpacking-008.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;Look in the call stack&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgve0Za3HC_hkac4aYBY8LopMuJqSL9q1OOdZ8eNjiCVNpL4W5uEMdL-bKIJJfm8YabBcBlOALBlIQx7SzdtaYXzPnudlxvDbETghwX8vAOGxJ9SG2ejUemf0DSxlHf168fzzCEnyoalmw/s1600/zeusunpacking-009.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgve0Za3HC_hkac4aYBY8LopMuJqSL9q1OOdZ8eNjiCVNpL4W5uEMdL-bKIJJfm8YabBcBlOALBlIQx7SzdtaYXzPnudlxvDbETghwX8vAOGxJ9SG2ejUemf0DSxlHf168fzzCEnyoalmw/s1600/zeusunpacking-009.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 2&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;The address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;011A0000(shown above) &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;will be our dump address. This address was allocated using VirtualAlloc. Right Click on this address and select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;&quot;Follow In Dump&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7_bVmuG7iO6eeTRZfGp1cOaWaN8evtnoulObu_0jhuTWVvc03yBgGvvQLNdx7cVZ4sJCTQwnHMQePHIX024ncViyevvI8ZLKQBvsN3f5wdlALV76Z418nDWl8iz1TAaACZA-KovVKRc/s1600/zeusunpacking-010.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB7_bVmuG7iO6eeTRZfGp1cOaWaN8evtnoulObu_0jhuTWVvc03yBgGvvQLNdx7cVZ4sJCTQwnHMQePHIX024ncViyevvI8ZLKQBvsN3f5wdlALV76Z418nDWl8iz1TAaACZA-KovVKRc/s1600/zeusunpacking-010.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 3&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;10) Press &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;F8 &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;once and Zeus will decompress into the address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;011A0000&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKFacwAD-z6EENS-BzPpgMHqrWsAVtNb0EKgVwN1xmNUgREIbWZWQPUO1LHGqcICn0LIwZBbpgUuTxJ9jUWTsZjtwJZbaDk1coHe9wvx_uYZtJLQVkCY2shuUVFq9Z_iYVw-tezpsrX78/s1600/zeusunpacking-011.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKFacwAD-z6EENS-BzPpgMHqrWsAVtNb0EKgVwN1xmNUgREIbWZWQPUO1LHGqcICn0LIwZBbpgUuTxJ9jUWTsZjtwJZbaDk1coHe9wvx_uYZtJLQVkCY2shuUVFq9Z_iYVw-tezpsrX78/s1600/zeusunpacking-011.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 3&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;11) Select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;&quot;m&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;at the top of the screen and highlight the target address &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;011A0000&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8kOy_CytV6lTnH7vZ4vQWNO-pTbA3NeKmudBoTGZCFzM9dHmwA2LpVxLods-duC840xhYp6wp5-dHJb39qx2FJ3VXXZ5D1N8OjR5g2tAH4Qea0ua-Lzw6-cOXDlHcGEXkWyXZ7XCYpos/s1600/zeusunpacking-012.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8kOy_CytV6lTnH7vZ4vQWNO-pTbA3NeKmudBoTGZCFzM9dHmwA2LpVxLods-duC840xhYp6wp5-dHJb39qx2FJ3VXXZ5D1N8OjR5g2tAH4Qea0ua-Lzw6-cOXDlHcGEXkWyXZ7XCYpos/s1600/zeusunpacking-012.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 3&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;Right click on the address and select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;&quot;Dump&quot;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiMmbFYoUBUcBLyoLdQ3aCNKaTmRloffITdjwkeufEZ8Npk5HgZb5Rz7gxIDwoCm6hcxkoQ8_-OzAy_H4I-4SFXQsoJa2fKW3vSSbqcPA0rROyBTv9ccVl_2Xc_KyFNm6pSecc-d0UKg/s1600/zeusunpacking-013.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiMmbFYoUBUcBLyoLdQ3aCNKaTmRloffITdjwkeufEZ8Npk5HgZb5Rz7gxIDwoCm6hcxkoQ8_-OzAy_H4I-4SFXQsoJa2fKW3vSSbqcPA0rROyBTv9ccVl_2Xc_KyFNm6pSecc-d0UKg/s1600/zeusunpacking-013.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12pt;&quot;&gt;Right click inside the Dump windows, Select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12pt; font-weight: 700;&quot;&gt;&quot;Backup&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12pt;&quot;&gt;and select &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12pt; font-weight: 700;&quot;&gt;&quot;Save data to file&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12pt;&quot;&gt;, appened .exe to the name and you&#39;re done for the most part.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 3&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;12) You can now open the dumped file in IDA.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qXzxaPNuPYcHE-rkayzsYnE2mvmleRF0HvylT8N0CpRCxj9gxd8WnXbQ4Gdxv9ZXwr1XjOzlKExy3lkpuQtv9JlrS3pY_HN2ilIPFwAFnqCnn2fqvJs1r0P80XbADn8e0y5bY_KjUrY/s1600/zeusunpacking-014.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4qXzxaPNuPYcHE-rkayzsYnE2mvmleRF0HvylT8N0CpRCxj9gxd8WnXbQ4Gdxv9ZXwr1XjOzlKExy3lkpuQtv9JlrS3pY_HN2ilIPFwAFnqCnn2fqvJs1r0P80XbADn8e0y5bY_KjUrY/s1600/zeusunpacking-014.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 4&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;13) You can also used CFF Explorer to rebuild the EXE if it has trouble executing. I used the &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt; font-weight: 700;&quot;&gt;Rebuild PE Header, Bind Import Table and Update Checksum &lt;/span&gt;&lt;span style=&quot;color: rgb(28.235290%, 28.235290%, 28.235290%); font-family: &#39;Verdana&#39;; font-size: 12.000000pt;&quot;&gt;options to rebuild the exe
that was dumped.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0TuUdo8YX9NG1sMabQVSEqTTO0j4v33yiVH3mkuDTk7pCh4S5xOmIBzAh80ORjkVi9fen28JmQM9gLZ4dmBgyZ8YR6mpPxl_OCuVCFAKM9AYdBlDsX4oHCYXQMstHhaGNHYUgE5cBZq4/s1600/zeusunpacking-015.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0TuUdo8YX9NG1sMabQVSEqTTO0j4v33yiVH3mkuDTk7pCh4S5xOmIBzAh80ORjkVi9fen28JmQM9gLZ4dmBgyZ8YR6mpPxl_OCuVCFAKM9AYdBlDsX4oHCYXQMstHhaGNHYUgE5cBZq4/s1600/zeusunpacking-015.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 4&quot;&gt;
&lt;div class=&quot;section&quot; style=&quot;background-color: rgb(100.000000%, 100.000000%, 100.000000%);&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/4304082438258549088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2014/05/unpacking-zeus-malware-1-zeus-ntdll.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/4304082438258549088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/4304082438258549088'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2014/05/unpacking-zeus-malware-1-zeus-ntdll.html' title='Unpacking Zeus Malware '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUiMmbFYoUBUcBLyoLdQ3aCNKaTmRloffITdjwkeufEZ8Npk5HgZb5Rz7gxIDwoCm6hcxkoQ8_-OzAy_H4I-4SFXQsoJa2fKW3vSSbqcPA0rROyBTv9ccVl_2Xc_KyFNm6pSecc-d0UKg/s72-c/zeusunpacking-013.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-2819801703246062524</id><published>2014-05-23T22:52:00.002-07:00</published><updated>2014-10-09T00:12:59.930-07:00</updated><title type='text'>Tcp Stream Reassembly Output Normalizer V2 (Libtsron) </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijGZaJ7j3M5PBV-kkAc_-mob-uOY6vjEO88PJPCyfB2AjPhWOBqw1j73KGimvEGP9ZWsi68L17PdcPzr21yC7gNfpUuESSXJm8Qsrqf_CUtywJy3jN5WpqqMzBvhZ2HXVfjZpWkgizmuI/s1600/tsrona-Recovered.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijGZaJ7j3M5PBV-kkAc_-mob-uOY6vjEO88PJPCyfB2AjPhWOBqw1j73KGimvEGP9ZWsi68L17PdcPzr21yC7gNfpUuESSXJm8Qsrqf_CUtywJy3jN5WpqqMzBvhZ2HXVfjZpWkgizmuI/s1600/tsrona-Recovered.jpg&quot; height=&quot;301&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;LibTSRONv2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://code.google.com/p/jamaal-re-tools/source/browse/tsron/&quot;&gt;https://code.google.com/p/jamaal-re-tools/source/browse/tsron/&lt;/a&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Requirements:&amp;nbsp;&lt;span style=&quot;background-color: #cccccc; font-weight: normal;&quot;&gt;python2.7 | dpkt 1.8 | pypcap 1.1&lt;/span&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h3 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Summary&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;ul&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJvptu4Qwb6OZXx7r4j1wRCHMEnic3NsNLNtUsvPKfSiADhX0qsI7k9ccoqpYQFE2u6GMG9APwGPdcNitJ2lM4z8Qt-vKQPGJZVRNt7kDXGlLFKkNtjOVHensHb_EV9PJgid7b7alQXUE/s1600/Screen+Shot+2014-05-14+at+10.05.55+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJvptu4Qwb6OZXx7r4j1wRCHMEnic3NsNLNtUsvPKfSiADhX0qsI7k9ccoqpYQFE2u6GMG9APwGPdcNitJ2lM4z8Qt-vKQPGJZVRNt7kDXGlLFKkNtjOVHensHb_EV9PJgid7b7alQXUE/s1600/Screen+Shot+2014-05-14+at+10.05.55+PM.png&quot; height=&quot;192&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;li&gt;LibTSRON builds and dumps ordered TCP data streams from Pcaps like TCPFlow and WireSharks (Follow TCP Stream). &amp;nbsp;It Also supports GRE and UDP.&lt;/li&gt;
&lt;li&gt;Data streams can be returned to a variable which is perfect for decoding/decrypting network data. &amp;nbsp;&lt;/li&gt;
&lt;li&gt;Data streams can be parsed by a user supplied header giving you complete control over each ordered packet returned in a data stream.&lt;/li&gt;
&lt;li&gt;Raw data from ordered TCP streams can be saved to an output directory.&lt;/li&gt;
&lt;li&gt;LibTsron can quickly analyze pcaps displaying the available streams in a pcap&amp;nbsp;numerically.&lt;/li&gt;
&lt;li&gt;Specific streams can be returned or written to disk based upon user input.&#39;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;LibTsron works! &amp;nbsp;The assumption that LibTsron&amp;nbsp;&quot;&lt;span style=&quot;background-color: white; font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;simply puts packets together that have the same (ip.src,tcp.sport,ip.dst,tcp.dport).&quot; is quite simply incorrect. &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;LibTsron does indeed reassemble packets in order based off simple&amp;nbsp;mathematics.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Basic Usage:&amp;nbsp;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Using the built in command line utility to dump TCP/UDP or GRE streams to file&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;View TCP Streams&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;$ python libtsron.py -p out_libpcap.pcap -D&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9pxBsv_4razg9ii-hiGCq1ni6I_iWtbyMmfpIWjCQI5Z4fX88OVsglP97btW6_dF9L8Fd8_BWLRokTgon4j80R86wG5z2KAE4coAhDE5IhEO-nmwMYU2tPFPtW-hsfKsIJPWb_jM-SNc/s1600/Screen+Shot+2014-05-23+at+5.34.41+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9pxBsv_4razg9ii-hiGCq1ni6I_iWtbyMmfpIWjCQI5Z4fX88OVsglP97btW6_dF9L8Fd8_BWLRokTgon4j80R86wG5z2KAE4coAhDE5IhEO-nmwMYU2tPFPtW-hsfKsIJPWb_jM-SNc/s1600/Screen+Shot+2014-05-23+at+5.34.41+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;Dump TCP Streams&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;$ python libtsron.py -p out_libpcap.pcap -d out&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaPFxl_ckHFdfVHctypz7gF67bcyXnASvN77sBCTooCay65viBw2va2ksXO8VIF8Tz2-PZ5k2gH1bZg7BXYG33Vrq-11X-7ijmdz9BQk-sL9TA9VsrUvtkJ7vgF5kfOmO5bjJJ8mF9c9M/s1600/Screen+Shot+2014-05-23+at+5.36.38+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaPFxl_ckHFdfVHctypz7gF67bcyXnASvN77sBCTooCay65viBw2va2ksXO8VIF8Tz2-PZ5k2gH1bZg7BXYG33Vrq-11X-7ijmdz9BQk-sL9TA9VsrUvtkJ7vgF5kfOmO5bjJJ8mF9c9M/s1600/Screen+Shot+2014-05-23+at+5.36.38+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Analyze the first stream using hexdump:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;background-color: black; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;$ &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;hexdump -C TCP_173.194.63.178_80_192.168.1.30_56195 | less&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h4&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpVtcIcN9EMCuZBJWcJWoOf-NxVrU_cMVyxz1-aecAX5D4qD9-xMMhKxa7uLvRykcMfFc1yG5-Z5ucDdOm7MRcSMhoHsDGw5BErmML1Gzy6E4FUxjL2ONxxkgR3I-H9Sx1xKIukF12uw/s1600/Screen+Shot+2014-05-23+at+5.41.35+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpVtcIcN9EMCuZBJWcJWoOf-NxVrU_cMVyxz1-aecAX5D4qD9-xMMhKxa7uLvRykcMfFc1yG5-Z5ucDdOm7MRcSMhoHsDGw5BErmML1Gzy6E4FUxjL2ONxxkgR3I-H9Sx1xKIukF12uw/s1600/Screen+Shot+2014-05-23+at+5.41.35+PM.png&quot; /&gt;&lt;/a&gt;&lt;/h4&gt;
&lt;h2&gt;
Calling LibTSRON from python:&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
LibTSRON is perfect for creating decoders. &amp;nbsp;This example will show you the basics of using the class in order to returned ordered data to your own applications. Analyze the code below and read the comments. &amp;nbsp;I use an advanced example below which covers everything in a little more detail. &amp;nbsp;But for now, the basics. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;exampletsron.py&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy-wD-_rQENp_hv46oK7Nl-FWm39Ls1crflls3cNIDRFPKyLZHpp6Y-EIsRHYAc0YTxFoHdFawM7l0WeEX0BAydgEzd5iyQZxtVV406nkhJUZ34D0qrV5hRD2LYA11d-Ahin689rXzLk0/s1600/Screen+Shot+2014-05-24+at+10.49.36+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy-wD-_rQENp_hv46oK7Nl-FWm39Ls1crflls3cNIDRFPKyLZHpp6Y-EIsRHYAc0YTxFoHdFawM7l0WeEX0BAydgEzd5iyQZxtVV406nkhJUZ34D0qrV5hRD2LYA11d-Ahin689rXzLk0/s1600/Screen+Shot+2014-05-24+at+10.49.36+PM.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Running exampletsron.py&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzObYofW24BNxwK-vuzNXapZ1LMo25cpHaY_55t_jOE9VlAzD0o_oWkyL4_Z9KabUOaFH988ma2yUggRMmxw2fADKeI6wUz3W-EsBs3EVmgxC_Awt1usW7XDqAlYXipi2uMgSG-mJVhB8/s1600/Screen+Shot+2014-05-23+at+6.12.08+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzObYofW24BNxwK-vuzNXapZ1LMo25cpHaY_55t_jOE9VlAzD0o_oWkyL4_Z9KabUOaFH988ma2yUggRMmxw2fADKeI6wUz3W-EsBs3EVmgxC_Awt1usW7XDqAlYXipi2uMgSG-mJVhB8/s1600/Screen+Shot+2014-05-23+at+6.12.08+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Notice in the hexdump &lt;b&gt;__libtsron_packet__&lt;/b&gt; splits each packet. &amp;nbsp;So libtsron can rebuild tcp streams while allow the user to specify a delimiter for each packet dumped. &amp;nbsp;This is perfect for writing decoders&lt;/span&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguPi9smWLEk-CQoeT90N5-uYyyDU2kAuPeK5esj9VvWUiJuVp_F8BCych5Zsy0r_h7KYX0LZ6l7kv_M4B5d-RFtQATHn52uiiwYPn14lCpt0bnc5YoiCbwFF_5Qy8G6SfkNXsCQI74N7w/s1600/Screen+Shot+2014-05-23+at+6.14.07+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguPi9smWLEk-CQoeT90N5-uYyyDU2kAuPeK5esj9VvWUiJuVp_F8BCych5Zsy0r_h7KYX0LZ6l7kv_M4B5d-RFtQATHn52uiiwYPn14lCpt0bnc5YoiCbwFF_5Qy8G6SfkNXsCQI74N7w/s1600/Screen+Shot+2014-05-23+at+6.14.07+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;Set&amp;nbsp;&#39;connheader&#39; to True and see the results:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6aLmRlbTa87mRWoplSLPA4a7kGWplzNkldcnL2cQgNEGey4iGkxEIjNTwwnIdKLL5eMcL8sn289uK0_J5r2pmleagvHOALD04rbMy1apNeJ01IiYXJ__sKjwNBdN8EZW701iUmsWdHc/s1600/Screen+Shot+2014-05-23+at+11.46.14+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW6aLmRlbTa87mRWoplSLPA4a7kGWplzNkldcnL2cQgNEGey4iGkxEIjNTwwnIdKLL5eMcL8sn289uK0_J5r2pmleagvHOALD04rbMy1apNeJ01IiYXJ__sKjwNBdN8EZW701iUmsWdHc/s1600/Screen+Shot+2014-05-23+at+11.46.14+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black; color: lime;&quot;&gt;$ python exampletsron.py out_libpcap.pcap&amp;nbsp; | less&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITUYeC09seJZqSRE3AL0go6mOs5v5iy_3dXxDqBwienY4H7tosae1uUo7KYJlLbhyphenhyphenHmhZmPsO1AcRA0HNkPMWpoM3LHtf9A8rqzhUHvV75qvWs2EgMamCEZ11emBH5HSdEXeDrWofRwo/s1600/Screen+Shot+2014-05-24+at+12.09.02+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITUYeC09seJZqSRE3AL0go6mOs5v5iy_3dXxDqBwienY4H7tosae1uUo7KYJlLbhyphenhyphenHmhZmPsO1AcRA0HNkPMWpoM3LHtf9A8rqzhUHvV75qvWs2EgMamCEZ11emBH5HSdEXeDrWofRwo/s1600/Screen+Shot+2014-05-24+at+12.09.02+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITUYeC09seJZqSRE3AL0go6mOs5v5iy_3dXxDqBwienY4H7tosae1uUo7KYJlLbhyphenhyphenHmhZmPsO1AcRA0HNkPMWpoM3LHtf9A8rqzhUHvV75qvWs2EgMamCEZ11emBH5HSdEXeDrWofRwo/s1600/Screen+Shot+2014-05-24+at+12.09.02+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITUYeC09seJZqSRE3AL0go6mOs5v5iy_3dXxDqBwienY4H7tosae1uUo7KYJlLbhyphenhyphenHmhZmPsO1AcRA0HNkPMWpoM3LHtf9A8rqzhUHvV75qvWs2EgMamCEZ11emBH5HSdEXeDrWofRwo/s1600/Screen+Shot+2014-05-24+at+12.09.02+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgITUYeC09seJZqSRE3AL0go6mOs5v5iy_3dXxDqBwienY4H7tosae1uUo7KYJlLbhyphenhyphenHmhZmPsO1AcRA0HNkPMWpoM3LHtf9A8rqzhUHvV75qvWs2EgMamCEZ11emBH5HSdEXeDrWofRwo/s1600/Screen+Shot+2014-05-24+at+12.09.02+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Each ordered packet now has a header that looks similar to this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;--__=64.233.171.189_443_192.168.1.30_55038=__--&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: cyan;&quot;&gt;__libtsron_packet__&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;The &lt;b&gt;connheader&lt;/b&gt; or &lt;b&gt;&quot;connection header&quot; &lt;/b&gt;option appends Source host and port plus destination host and port to returned streams. &amp;nbsp; This might be useful if you&#39;re only interested in decoding source tcp data for example. &amp;nbsp;Parsing individual packets from streams can also be&amp;nbsp;achieved using this option. &amp;nbsp;Note the &lt;b&gt;&quot;header&quot;&lt;/b&gt; option does not need to be specified when using &lt;b&gt;&quot;connheader&quot;. &lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Utilizing&amp;nbsp;&lt;/span&gt;LibTSRON to Decode zlib compressed TCP Data (la Gh0st Rat)&amp;nbsp;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
This example illustrates using &lt;b&gt;LibTsron&lt;/b&gt; to find and decompress &lt;b&gt;zlib&lt;/b&gt; compressed data. &amp;nbsp; &lt;b&gt;zlib&lt;/b&gt; is used in a lot of different malware samples I&#39;ve analyzed and written decoders for. &amp;nbsp;Ordered data decompression is required for properly recovering executables sent by malware for example. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;pcapzlib.py&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF_axobJl7-TbUBzk-k0ZxBI09QUi99s-QUeM_dI9MmNbwEkd9kzb-MiljRdl0SqRZihdGz_t-d2X1bAOoSwxEOVda5wfi16VydzkBiAEaD3Hb_W8dDRvG-UTSkVFvYIqGkebUWtSY0GA/s1600/Screen+Shot+2014-05-24+at+12.43.46+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF_axobJl7-TbUBzk-k0ZxBI09QUi99s-QUeM_dI9MmNbwEkd9kzb-MiljRdl0SqRZihdGz_t-d2X1bAOoSwxEOVda5wfi16VydzkBiAEaD3Hb_W8dDRvG-UTSkVFvYIqGkebUWtSY0GA/s1600/Screen+Shot+2014-05-24+at+12.43.46+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;b&gt;Running pcapzlib.py&lt;/b&gt;&lt;/h4&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;python pcapzlib.py gh0strat.pcap&amp;nbsp; | less&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwg3j_y1v1gbHPjtgNvRrRtsbRMXGBgSZfXzR3MFab5UlOI2Sow-tmzAF0IQT_htSype-jbzQRKPV93UvXzda2Ua6CA6aTzaixxPTBWonbXSJoaRcnAtyXCXJgYB3iPdJ_IZy6G6ZyrP4/s1600/Screen+Shot+2014-05-24+at+12.49.25+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwg3j_y1v1gbHPjtgNvRrRtsbRMXGBgSZfXzR3MFab5UlOI2Sow-tmzAF0IQT_htSype-jbzQRKPV93UvXzda2Ua6CA6aTzaixxPTBWonbXSJoaRcnAtyXCXJgYB3iPdJ_IZy6G6ZyrP4/s1600/Screen+Shot+2014-05-24+at+12.49.25+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;This decompressor builds on the exampletsron.py described above. &amp;nbsp;We are using the header variable to parse data packets defined on line &lt;b&gt;11&lt;/b&gt; which is utilized on lines &lt;b&gt;35&lt;/b&gt; and &lt;b&gt;37&lt;/b&gt;. &amp;nbsp;Once the data packets offsets are found between &lt;b&gt;headers&lt;/b&gt;, we search for the &lt;b&gt;zlib&lt;/b&gt; &lt;b&gt;header&lt;/b&gt; defined on line &lt;b&gt;10&lt;/b&gt;. &amp;nbsp;Once the &lt;b&gt;zlib&lt;/b&gt; &lt;b&gt;header&lt;/b&gt; is found on line &lt;b&gt;42&lt;/b&gt;, we try and decompress the data at line &lt;b&gt;50&lt;/b&gt;. &amp;nbsp;Normally this data would be written to file, but for this example I return the printable data to the screen on line &lt;b&gt;52&lt;/b&gt; and &lt;b&gt;53&amp;nbsp;&lt;/b&gt;producing the decompressed output you see above. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;
Utilizing LibTSRON to Decode Poison Ivy Traffic:&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Poison Ivy Rat (Pivy) uses &lt;b&gt;Camellia&lt;/b&gt; to encrypt and decrypt network data along with &lt;b&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/windows/hardware/ff552127(v=vs.85).aspx&quot;&gt;NTDLL.RtlCompressBuffer&lt;/a&gt; &lt;/b&gt;and&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/windows/hardware/ff552191(v=vs.85).aspx&quot;&gt;&lt;b&gt;NTDLL.RtlDecompressBuffer&lt;/b&gt;&amp;nbsp;&lt;/a&gt;for compression and decompression of certain data. &amp;nbsp;Poison Ivy provides a perfect example to illustrate the capabilities of LibTSRON because in order for an investigator to properly recover exfiltrated Pivy data from a pcap, each packet must be in its proper order for decompression to work. &amp;nbsp;Using this type of compression is brilliant because it makes data recovery via pcap that much more difficult. &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #999999;&quot;&gt;Note: I&#39;ve ported Pivys implementation of&amp;nbsp;&lt;b&gt;Camellia&lt;/b&gt;&amp;nbsp;encryption/decryption functions plus Windows&amp;nbsp;&lt;b&gt;RtlDecompressBuffer&lt;/b&gt;&amp;nbsp;function to&amp;nbsp;&lt;b&gt;OSX (.dylib)&amp;nbsp;&lt;/b&gt;for this example. &amp;nbsp;The associated files and decoder are outside the scope of this post and will be covered later&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;
1) Import the Tsron Class&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xVPEWDxD31s_djCuZkIoCxQ0smQXMThlDctq49HsRyI6A9xVAKzdVP7YR6GP3GfxbqtbcHZeFyydm2YKDYJ84WdjYtcTYANPHWmmhpvvE21vTQxoX7idofm5qQ8Fzy6QjF4s9cp-clU/s1600/Screen+Shot+2014-05-22+at+6.47.51+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4xVPEWDxD31s_djCuZkIoCxQ0smQXMThlDctq49HsRyI6A9xVAKzdVP7YR6GP3GfxbqtbcHZeFyydm2YKDYJ84WdjYtcTYANPHWmmhpvvE21vTQxoX7idofm5qQ8Fzy6QjF4s9cp-clU/s1600/Screen+Shot+2014-05-22+at+6.47.51+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;2) Like before we&#39;re using defining a header to use as a&amp;nbsp;delimiter.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi-dhRcjc35UOqbs9nN-bXA9McnQRoBZbw53DQwBMuGE8j0eZT9eBb9BFbiK0Qp7VjHAvBZjAlq2tC-ygb6xF1gldebNzDxj_vn3ass5VXjqam9U6Q_OBoqbErzfrKy4J2veyhnxv_zQE/s1600/Screen+Shot+2014-05-22+at+6.50.26+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi-dhRcjc35UOqbs9nN-bXA9McnQRoBZbw53DQwBMuGE8j0eZT9eBb9BFbiK0Qp7VjHAvBZjAlq2tC-ygb6xF1gldebNzDxj_vn3ass5VXjqam9U6Q_OBoqbErzfrKy4J2veyhnxv_zQE/s1600/Screen+Shot+2014-05-22+at+6.50.26+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;3) Using ctypes we call the port of PIVYs encryption/decryption and key table functions similar to how you would using the .DLL in windows on lines &lt;b&gt;28&lt;/b&gt; and &lt;b&gt;29. &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;For PIVY, the password must be less than 12 character lengths. &amp;nbsp;The password providing from the command line used as an argument in the C_SK function to generate a keytable for decryption &amp;nbsp;on lines &lt;/span&gt;&lt;b&gt;38&lt;/b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt; and &lt;/span&gt;&lt;b&gt;39.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEiYT8hyphenhyphen6I8eEg_4dKkMiz90244l1cbq2_v0EOwm08-HkQ_4G4GkbKNjbEyyPglO9Rd8TL_zyCSUrzfZZ-AJf__qrnvNmkMrhZUUqFEJJPndmRRCsnnHkNoXJ0bVZdgxSC3YhWySJTeNg/s1600/Screen+Shot+2014-05-22+at+6.50.44+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEiYT8hyphenhyphen6I8eEg_4dKkMiz90244l1cbq2_v0EOwm08-HkQ_4G4GkbKNjbEyyPglO9Rd8TL_zyCSUrzfZZ-AJf__qrnvNmkMrhZUUqFEJJPndmRRCsnnHkNoXJ0bVZdgxSC3YhWySJTeNg/s1600/Screen+Shot+2014-05-22+at+6.50.44+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;4) &quot;targ&quot; defines the options used to send to Tsron. &amp;nbsp;Note the &lt;b&gt;header &lt;/b&gt;variable&amp;nbsp;we defined previously will be used again.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikPPAJTpILUltB-84bkztKiH7-xTrctDLerue81UkPW3JXfKokASyUe7G1pqXdrwnkaIoiHTwTmlLV_rB_9hgjlgeaUPujP4wcyKh1FRJxlcmEfR_Meit6X41ziBEckR6Bh4u59yFxThs/s1600/Screen+Shot+2014-05-22+at+6.51.10+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikPPAJTpILUltB-84bkztKiH7-xTrctDLerue81UkPW3JXfKokASyUe7G1pqXdrwnkaIoiHTwTmlLV_rB_9hgjlgeaUPujP4wcyKh1FRJxlcmEfR_Meit6X41ziBEckR6Bh4u59yFxThs/s1600/Screen+Shot+2014-05-22+at+6.51.10+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;5) &lt;b&gt;streamObj.TCP()&lt;/b&gt; returns ordered TCP data to variable &lt;b&gt;&quot;x&quot;&lt;/b&gt;. &amp;nbsp;Next we use the header again to&amp;nbsp;distinguish the start of new packets. &amp;nbsp;&lt;b&gt;Camellia &lt;/b&gt;decrypts 16 bytes at a time so our nested for loop handles that at on line &lt;b&gt;73&lt;/b&gt;. &amp;nbsp;On line &lt;b&gt;75&amp;nbsp;&lt;/b&gt;our port of &amp;nbsp;&lt;b&gt;Camellia &lt;/b&gt;is called producing decrypted data. &amp;nbsp;The decrypted data is saved to a temp variable and written to disk on line &lt;b&gt;77&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieg7wiD12U7dOZj0yffX28Xs2MvglT2y2AE6Rk6AHZyN4JhLOKi9kN1zbv0cm3n0yCxaXP1zV8xt8AI6tZ_PS0ZkNRjeiG2hs5BqydY1L3h9EEjoZQJWyXs6nwYenBBrekOK-6mjYwa5A/s1600/Screen+Shot+2014-05-23+at+5.17.08+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieg7wiD12U7dOZj0yffX28Xs2MvglT2y2AE6Rk6AHZyN4JhLOKi9kN1zbv0cm3n0yCxaXP1zV8xt8AI6tZ_PS0ZkNRjeiG2hs5BqydY1L3h9EEjoZQJWyXs6nwYenBBrekOK-6mjYwa5A/s1600/Screen+Shot+2014-05-23+at+5.17.08+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;i&gt;Typically because we&#39;re just dealing with decryption at this stage, I would generate a new pcap using nothing but &lt;b&gt;pypcap&lt;/b&gt; and &lt;b&gt;dpkt&lt;/b&gt; while calling &lt;b&gt;libpivy.C_D(decryption function)&lt;/b&gt;. &amp;nbsp;Once the &lt;b&gt;PIVY&lt;/b&gt; data has been decrypted on line &lt;b&gt;75, &amp;nbsp;&lt;/b&gt;it could have been&amp;nbsp;placed into a new decrypted pcap. &amp;nbsp;It would have been much easier to just call&amp;nbsp;&lt;b&gt;libtsrons&lt;/b&gt;&amp;nbsp;at that point to reassemble ordered TCP data from the new decrypted pcap containing for decompression. &amp;nbsp;Doing things using the method shown above leaves the possibility to decompress decrypted data streams inline without using multiple decoders/applications. &amp;nbsp;The challenge in doing things this way is dealing with decompressed data sizes that extend multiple packets. &amp;nbsp;This issue can be tackled using the &quot;header&quot; delimiter along with the offset variables to&amp;nbsp;concatenate multiple ordered packets based off the amount of data that is needed to be decompressed. &amp;nbsp;Enabling the &lt;b&gt;connheader &lt;/b&gt;option when creating an instance or Tsron will allow you to keep track of TCP flow, which in return could be used to reconstruct a complete decrypted and decompressed pcap. :D &amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i style=&quot;background-color: #eeeeee;&quot;&gt;But for now I will just call the Pivy data decompressor which in return will use the &quot;pivydecrypted.bin&quot; file to locate compressed data and decompress it to its proper file type based off ofs Pivys data scheme.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;6) I ran the Pivy Decompresser against the decrypted data written to disk by LibTsron which has been placed in the &lt;b&gt;&quot;decryptedpivy&quot; &lt;/b&gt;directory&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvxU-VX33NGj5ID0eoZbh3f0I-8tpsWnJszDPgKlqG7BhZZ3fOF8mhdq9MekcQLIA9nC-APTlVMEumIsc4wZXWAEjTB4GDBy60PjiqgjCIosHFwI0oqIYIJZpKA0ztZANq6YIPK-3yok/s1600/Screen+Shot+2014-05-22+at+8.22.41+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvxU-VX33NGj5ID0eoZbh3f0I-8tpsWnJszDPgKlqG7BhZZ3fOF8mhdq9MekcQLIA9nC-APTlVMEumIsc4wZXWAEjTB4GDBy60PjiqgjCIosHFwI0oqIYIJZpKA0ztZANq6YIPK-3yok/s1600/Screen+Shot+2014-05-22+at+8.22.41+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;7) Which seeks through decrypted data looking for offsets to decompress based off of PIVYs packet data structure. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAg_NZM2i979xqvuCL_Yl8JK4j0Hs9YoWiAU_IDPN3jtzkd9O1bctsG3GT7UlS7CCFWRohEzHmrtdR052j0IUlK7PGvcDXvShyphenhyphenSLPezAMQw7GRguWjLJ9Rd0b3J_xKjDmpLgAjDTzFsoE/s1600/Screen+Shot+2014-05-23+at+5.09.32+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAg_NZM2i979xqvuCL_Yl8JK4j0Hs9YoWiAU_IDPN3jtzkd9O1bctsG3GT7UlS7CCFWRohEzHmrtdR052j0IUlK7PGvcDXvShyphenhyphenSLPezAMQw7GRguWjLJ9Rd0b3J_xKjDmpLgAjDTzFsoE/s1600/Screen+Shot+2014-05-23+at+5.09.32+PM.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;8) After decompression we can see the true content of the data stolen using the PIVY RAT. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR7uEINTvYXRtkrTkZHF8niuSZIAsdil2TsyB_Cy0tuwTbxnyRwqrbTZp8pmpjWKMyuSX-XqJsJZZYj2KR0r2VUpbSre9otAQVR99xehJJC23l6_ijAnY0pPoiOqeFiBGuNZF25cY3Qok/s1600/Screen+Shot+2014-05-22+at+8.24.00+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR7uEINTvYXRtkrTkZHF8niuSZIAsdil2TsyB_Cy0tuwTbxnyRwqrbTZp8pmpjWKMyuSX-XqJsJZZYj2KR0r2VUpbSre9otAQVR99xehJJC23l6_ijAnY0pPoiOqeFiBGuNZF25cY3Qok/s1600/Screen+Shot+2014-05-22+at+8.24.00+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9m9jS3lM16whCE7DLgF4KhbAvmXWguH8WolMLE8fVRItm1OOqBq6RH7dTJ61MDopyhKUSVxLMJA_8tXxg1CMYRPu6sv6eyKBZhkm5c31gRqxGjP4Msu198FUmfmSZQfkOH1JMCowZm1M/s1600/41.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9m9jS3lM16whCE7DLgF4KhbAvmXWguH8WolMLE8fVRItm1OOqBq6RH7dTJ61MDopyhKUSVxLMJA_8tXxg1CMYRPu6sv6eyKBZhkm5c31gRqxGjP4Msu198FUmfmSZQfkOH1JMCowZm1M/s1600/41.jpg&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
EOF&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/2819801703246062524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2014/05/tcp-stream-reassembly-output-normalizer.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/2819801703246062524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/2819801703246062524'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2014/05/tcp-stream-reassembly-output-normalizer.html' title='Tcp Stream Reassembly Output Normalizer V2 (Libtsron) '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijGZaJ7j3M5PBV-kkAc_-mob-uOY6vjEO88PJPCyfB2AjPhWOBqw1j73KGimvEGP9ZWsi68L17PdcPzr21yC7gNfpUuESSXJm8Qsrqf_CUtywJy3jN5WpqqMzBvhZ2HXVfjZpWkgizmuI/s72-c/tsrona-Recovered.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-6935927207723200130</id><published>2014-04-21T02:09:00.001-07:00</published><updated>2014-04-22T11:57:54.645-07:00</updated><title type='text'>How I make High Quality gifs with Gimp. </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt1ihyphenhyphenf5wxPoLLAee3cBT1ZjlgP_89hd3h0ZjktjhzV8EFKqzU9uFG5s5OCp3aMwGH9ZbCJpxOMbrCwiecwsZNfQWG_LmD8LoQi76dGGcRAoli08Sfwk_oQVdR45GzE2i6LXPM6FU8N0/s1600/jsmarcmotogp2.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt1ihyphenhyphenf5wxPoLLAee3cBT1ZjlgP_89hd3h0ZjktjhzV8EFKqzU9uFG5s5OCp3aMwGH9ZbCJpxOMbrCwiecwsZNfQWG_LmD8LoQi76dGGcRAoli08Sfwk_oQVdR45GzE2i6LXPM6FU8N0/s1600/jsmarcmotogp2.gif&quot; height=&quot;180&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
My people, &amp;nbsp;it is time to elevate our &quot;gif&quot; game. &amp;nbsp;The days of dailup are over. &lt;br /&gt;
&lt;br /&gt;
This tutorial is aimed at Linux/OSX users. &amp;nbsp;But Windows users can follow the same steps. &amp;nbsp;I&#39;ll show you how to create high quality gifs like the one above using Gimp and a few other programs.&lt;br /&gt;
&lt;br /&gt;
You&#39;ll need:&lt;br /&gt;
&lt;b&gt;python 2.x&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;youtube-dl&lt;/b&gt; | http://rg3.github.io/youtube-dl/&lt;br /&gt;
&lt;b&gt;ffmpeg or Openshot&lt;/b&gt; | http://www.ffmpeg.org/ |&amp;nbsp;http://www.openshot.org/&lt;br /&gt;
&lt;b&gt;Gimp&lt;/b&gt; |&amp;nbsp;http://www.gimp.org/&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;gifsicle&lt;/b&gt; |&amp;nbsp;http://www.lcdf.org/gifsicle/&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;1) Get the video from youtube. &amp;nbsp;This step can be skipped if you already have a video source. &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I&#39;ll be using &quot;MotoGP™ Motegi 2013 -- Best slow motion&quot;&lt;br /&gt;
Video location: https://www.youtube.com/watch?v=UEqzjKrWhAk&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Download the video&lt;/i&gt;&lt;br /&gt;
From terminal execute:&amp;nbsp;&lt;b&gt;youtube-dl -citF https://www.youtube.com/watch?v=UEqzjKrWhAk&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzlBqp13NDM2grPmLp8nI1D7Vw9_XJdhVn-yiX5Ouc6s6k2qi2yOm5YwQVItsCqHFgaN09Mb9M2h-2ZwqCPtxcFmKm8Pf95gMbG1swuRECi1iQFwCmraErXnXjSlbuvxRxVmzSvGrNeYc/s1600/Screen+Shot+2014-04-21+at+1.23.47+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzlBqp13NDM2grPmLp8nI1D7Vw9_XJdhVn-yiX5Ouc6s6k2qi2yOm5YwQVItsCqHFgaN09Mb9M2h-2ZwqCPtxcFmKm8Pf95gMbG1swuRECi1iQFwCmraErXnXjSlbuvxRxVmzSvGrNeYc/s1600/Screen+Shot+2014-04-21+at+1.23.47+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;22 (best) is the highest quality. &amp;nbsp;Thats our target&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
From terminal execute:&amp;nbsp;&lt;b&gt;youtube-dl -citf 22 https://www.youtube.com/watch?v=UEqzjKrWhAk&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRMS34ARu0H7SfqSW08_U2_S4I6lezN_5Urw-WfRTsD73N6EUWhbnjC4TaLItJnWSea1FVUeb5jdDSNyf4pTEuqGnH5XJfrWVl7kFJ2ByUoObA1i7J-VhNoVwojG-B-LyoLR02fU8K08I/s1600/Screen+Shot+2014-04-21+at+1.30.03+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRMS34ARu0H7SfqSW08_U2_S4I6lezN_5Urw-WfRTsD73N6EUWhbnjC4TaLItJnWSea1FVUeb5jdDSNyf4pTEuqGnH5XJfrWVl7kFJ2ByUoObA1i7J-VhNoVwojG-B-LyoLR02fU8K08I/s1600/Screen+Shot+2014-04-21+at+1.30.03+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Great, now you&#39;ve just downloaded your target youtube video in high quality (22). &amp;nbsp;Read the manual on youtube-dl to figure out the command options I used.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;2) Convert the target video into PNG&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I opened the file &lt;b&gt;&quot;MotoGP™ Motegi 2013 -- Best slow motion-UEqzjKrWhAk.mp4&quot;&lt;/b&gt; in the best video viewer VLC (&lt;b&gt;http://www.videolan.org/&lt;/b&gt;) to review the video. &amp;nbsp;I know the frames of video I want for the gif are from about 22 seconds to 34 seconds which is a total of 12 seconds. &amp;nbsp;So I will extract that time range using ffmpeg as png files. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;From terminal execute the following:&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
#Make an output directory&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;ballen:giftut ff$ mkdir pngout&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#Use ffmpeg to convert (start time) &lt;b&gt;-ss of 22 seconds for 12 seconds (-t)&lt;/b&gt; and output the png files into the above directory. &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;ffmpeg -i MotoGP™\ Motegi\ 2013\ --\ Best\ slow\ motion-UEqzjKrWhAk.mp4 -ss 22 -t 12 pngout/%05d.png&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBNMT7c4MkC9NQ-ovGOFJ_H7g_LUj_-bEIkgSkgfddVjnMyft27F_p0mwAULVuKEskYc2ud1p9qGT3uYlgqXOK2gVY8Y1ujeH-7pz621f28i0ebWbVldm2NH6sbtiWP82PHdCa7bu0GUM/s1600/Screen+Shot+2014-04-21+at+3.23.56+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBNMT7c4MkC9NQ-ovGOFJ_H7g_LUj_-bEIkgSkgfddVjnMyft27F_p0mwAULVuKEskYc2ud1p9qGT3uYlgqXOK2gVY8Y1ujeH-7pz621f28i0ebWbVldm2NH6sbtiWP82PHdCa7bu0GUM/s1600/Screen+Shot+2014-04-21+at+3.23.56+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Change directory into &lt;b&gt;pngout&lt;/b&gt; and see the png files we&#39;ve extracted. &amp;nbsp;We will use these in gimp. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left; text-decoration: underline;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiom77mIdV1FeXlp7vrgybRGQu1VK1idrO-2jr_oDgwn8ryUvH-IEPkzCxjsIaXW8snNWZU1-pa6-6PFvDPNo4mrmrnemi5auBi0BzglOLI1S4Uw4Q27MToml___ICwTUC3bvr3r8rLscI/s1600/Screen+Shot+2014-04-21+at+3.25.07+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiom77mIdV1FeXlp7vrgybRGQu1VK1idrO-2jr_oDgwn8ryUvH-IEPkzCxjsIaXW8snNWZU1-pa6-6PFvDPNo4mrmrnemi5auBi0BzglOLI1S4Uw4Q27MToml___ICwTUC3bvr3r8rLscI/s1600/Screen+Shot+2014-04-21+at+3.25.07+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Openshot&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If you do not have ffmpeg the same steps can be done in Openshot. &amp;nbsp;For Openshot, Import the video and cut it down to the section of the video you want to gif. &amp;nbsp;Export the section of video you would like using the &quot;Convert into Image Sequence&quot; under advanced options. &amp;nbsp;This will save the video as PNG just like we did above into a target directory you select.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;Note, if the video portion you want to &quot;gif&quot; is 5 seconds, extend the video to &quot;6&quot; seconds on the video track. &amp;nbsp;Openshot seems to like to leave out the last bit of the video when converting to PNG for some reason. &amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;3) Creating the animated gif in Gimp.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Open Gimp&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;next&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;File &amp;gt; Open&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Open the first file 00001.png in Gimp&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hqCBikSRLLrh4EwZNLQ2TrIiDytKQAfgmfK-j6lLAOLK0QhcpEQ1ONoVpEAhyyB9Im47slr1rdV_yPAEgHQF3sVYvYXqowIBEdCV0U3RalGiVO4FOHa5Jt6GPqXQycDYBuPxD_guAQk/s1600/Screen+Shot+2014-04-21+at+3.26.30+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hqCBikSRLLrh4EwZNLQ2TrIiDytKQAfgmfK-j6lLAOLK0QhcpEQ1ONoVpEAhyyB9Im47slr1rdV_yPAEgHQF3sVYvYXqowIBEdCV0U3RalGiVO4FOHa5Jt6GPqXQycDYBuPxD_guAQk/s1600/Screen+Shot+2014-04-21+at+3.26.30+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Next open the rest of the png files as layers in gimp by doing.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;File &amp;gt; Open as Layers &lt;/b&gt;and select &lt;b&gt;00002.png to 00300.png&lt;/b&gt;&amp;nbsp;and hit &lt;b&gt;Open&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
(by selecting 00002.png and hold down the shift key, you can scroll down to&amp;nbsp;00300.png which is the last frame in the animation)&lt;/div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Importing might take some time but the end result is this.&amp;nbsp;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzCVt2WizE1yNyMDu-TI3vrkisQoq9WKFabPMk5D2B-Q_jCFovAYiSx1rvQwA2WxE73jY2ShbpUfVZkLKLC-7lJ52TzHyayF-F5FJaDqTTH0-zg9DgGCKfaoF4to8dqnjvnkLWUVfg-o/s1600/Screen+Shot+2014-04-21+at+3.34.15+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzCVt2WizE1yNyMDu-TI3vrkisQoq9WKFabPMk5D2B-Q_jCFovAYiSx1rvQwA2WxE73jY2ShbpUfVZkLKLC-7lJ52TzHyayF-F5FJaDqTTH0-zg9DgGCKfaoF4to8dqnjvnkLWUVfg-o/s1600/Screen+Shot+2014-04-21+at+3.34.15+AM.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;i&gt;If the view looks odd from&amp;nbsp;&lt;b&gt;Windows&lt;/b&gt;&amp;nbsp;menu bar select&lt;b&gt;&amp;nbsp;Single - Window Mode&lt;/b&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
Next select&lt;br /&gt;
&lt;b&gt;Image &amp;gt; Scale Image&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Set &lt;b&gt;Width: 360 Height 203&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;Note: this varies on the size of your gif, in this case the gif is already large, so I made the final animation relatively small&lt;/i&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Under Quality select&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Interpolation &amp;gt; Sinc (Lanczos3)&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Select &lt;b&gt;Scale&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx2xEZwDnxkbYF9jTttA4mync3Ny1PLjuH6SnkPONoCOysYBuIcb81fp-7Y6rSSPgU8ANqcNIjgu-Ci-9uqgAcXZuGrJodhr44yZGpHoTPxcY1SbdDumg7YwIyi5tIv7kmQEUMW9IeKow/s1600/Screen+Shot+2014-04-21+at+3.33.48+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx2xEZwDnxkbYF9jTttA4mync3Ny1PLjuH6SnkPONoCOysYBuIcb81fp-7Y6rSSPgU8ANqcNIjgu-Ci-9uqgAcXZuGrJodhr44yZGpHoTPxcY1SbdDumg7YwIyi5tIv7kmQEUMW9IeKow/s1600/Screen+Shot+2014-04-21+at+3.33.48+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;(Note, this size is pretty small compared to the normal size I use, however this gif is based off film in slow motion and uses a lot of frames. &amp;nbsp;Next tutorial i&#39;ll show a trick you can use to reduce large gif file sizes with gifsicle)&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Next select&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Image &amp;gt; Mode &amp;gt; Indexed&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Use the following options and press &lt;b&gt;Convert&lt;/b&gt; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLzM7YMW_SjSI648PMdFRDRomUNjbAhhDokuxk_nvH9QYw11Du7cjbMvPK2G4JmVZUN-tKUV5Zzo8GzF3HZnLxQYrI604OdCySMw-xbNajK_B2lXIlVjm2kN5KObuE4tnI6wxR-PNUWGo/s1600/Screen+Shot+2014-04-21+at+3.48.58+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLzM7YMW_SjSI648PMdFRDRomUNjbAhhDokuxk_nvH9QYw11Du7cjbMvPK2G4JmVZUN-tKUV5Zzo8GzF3HZnLxQYrI604OdCySMw-xbNajK_B2lXIlVjm2kN5KObuE4tnI6wxR-PNUWGo/s1600/Screen+Shot+2014-04-21+at+3.48.58+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
After you&#39;ve instructed your gif to use an optimum color palette, we need to export the gif with&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;File &amp;gt; Export As &amp;gt;&lt;/b&gt; &amp;nbsp;and give your gif a name and press &lt;b&gt;Export&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7r42ZqucunrmgatjCYZJ5tAgge28vX1gJFxSkjl0wDnJP5efTqJZMr0pLXFltOQG88PEAbCu9NGtxBnxyHveB3QJVxU33x7zrALwJuQ3uMpbpSaOD_kl7R2KgiVx3ARUU0tpKf_cWrE4/s1600/Screen+Shot+2014-04-21+at+3.52.53+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7r42ZqucunrmgatjCYZJ5tAgge28vX1gJFxSkjl0wDnJP5efTqJZMr0pLXFltOQG88PEAbCu9NGtxBnxyHveB3QJVxU33x7zrALwJuQ3uMpbpSaOD_kl7R2KgiVx3ARUU0tpKf_cWrE4/s1600/Screen+Shot+2014-04-21+at+3.52.53+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Use the settings in the &lt;b&gt;Export Image as Gif&lt;/b&gt; window below. &amp;nbsp;Notice the time indicates 40 milliseconds. Normally this default value of 100 (per frame) can be too slow for most animations. &amp;nbsp;Setting it to 40 will put &lt;b&gt;this&lt;/b&gt; animation on point as far as play speed is concerned. &amp;nbsp;Also notice &lt;b&gt;Loop forever&lt;/b&gt; is set. &amp;nbsp;I unset Interlace and Gif Comment to unselected. &amp;nbsp;&lt;b&gt;Frame disposal where unspecified&lt;/b&gt; I set to&lt;b&gt; I don&#39;t care. &lt;/b&gt;Press&lt;b&gt; Export&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7NkAb0ObikDAcAcEgMKeFjlJ36iG5669C1cfErBUjMU2M4NI-HWrEVuMmr3aFuvCHQq_8OM3jS5Ir7FzexdvugaMtCTH33ct-xpxlhcGUrtdHhW1DFg6dnH9kgUULRWmb1lNC1dWt-y4/s1600/Screen+Shot+2014-04-21+at+3.59.23+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7NkAb0ObikDAcAcEgMKeFjlJ36iG5669C1cfErBUjMU2M4NI-HWrEVuMmr3aFuvCHQq_8OM3jS5Ir7FzexdvugaMtCTH33ct-xpxlhcGUrtdHhW1DFg6dnH9kgUULRWmb1lNC1dWt-y4/s1600/Screen+Shot+2014-04-21+at+3.59.23+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
After the &lt;b&gt;Export&lt;/b&gt; is complete check the size of your gif. &amp;nbsp;13 Megs isn&#39;t to bad :D&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzDPTOh5Mbzr9NgemdEhCJd-pNxAEnZb6rB2ik09HK-6cujVotga6f7WR3uSV76odntTMOi0PisV7VW0ltB7rmYBOTKq-NWvpjhTr3unzTA_6WEkx_S_Nq5fLMN1wK_HTpkhaxnfQCwQ/s1600/Screen+Shot+2014-04-21+at+4.04.10+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzDPTOh5Mbzr9NgemdEhCJd-pNxAEnZb6rB2ik09HK-6cujVotga6f7WR3uSV76odntTMOi0PisV7VW0ltB7rmYBOTKq-NWvpjhTr3unzTA_6WEkx_S_Nq5fLMN1wK_HTpkhaxnfQCwQ/s1600/Screen+Shot+2014-04-21+at+4.04.10+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;4) Optimize the final gif with gifsicle&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Gifsicle can technically do all of this minus the video conversion. &amp;nbsp;I will cover gifsicle in the next tutorial. &amp;nbsp;For now, we will use it to do a simple Optimization which will reduce the file size some. &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
All we will do is run a simple optimization&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
From terminal execute: &amp;nbsp;&lt;b&gt;gifsicle -O3&amp;nbsp;&lt;/b&gt;&lt;b&gt;jsmarcmotogp.gif &amp;gt; jsmarcmotogp2.gif&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI0NN9z6mCHQZarXCtb7NvMK6vmk72V3C02jpeLt5r2B8o67Zd-IVnzGmImAAWDLpmhcpgejULosbfCHD_tLXtcE53rHydrOuUv9iozrL5-bYIYmc5FysA8T1xGL7qrS2Uh3ESp-8kT88/s1600/Screen+Shot+2014-04-21+at+4.07.14+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI0NN9z6mCHQZarXCtb7NvMK6vmk72V3C02jpeLt5r2B8o67Zd-IVnzGmImAAWDLpmhcpgejULosbfCHD_tLXtcE53rHydrOuUv9iozrL5-bYIYmc5FysA8T1xGL7qrS2Uh3ESp-8kT88/s1600/Screen+Shot+2014-04-21+at+4.07.14+AM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
We save some space on the final gif. &amp;nbsp;This optimization trick can produce good results sometimes. &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;5) Complete&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Uploaded the final version of the gif to http://gfycat.com/ which is using html5 and will compress the gif even future or to G+.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
And ride safe my people&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgck_8k9G8vfBxwsEGTWpGxZAgVlJlxbgq6F7tvzPkmbyxjVj8-jJGFJhtbfVPDQnalkh6lsSrv1jPH2_YAUqnsXJfZ5D6T9gmS1IUIjFj6yGs086kklktCMmC71CPxrbkLd5Mc0aRKALM/s1600/jamaaliomtt.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgck_8k9G8vfBxwsEGTWpGxZAgVlJlxbgq6F7tvzPkmbyxjVj8-jJGFJhtbfVPDQnalkh6lsSrv1jPH2_YAUqnsXJfZ5D6T9gmS1IUIjFj6yGs086kklktCMmC71CPxrbkLd5Mc0aRKALM/s1600/jamaaliomtt.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/6935927207723200130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2014/04/how-i-made-this-high-quality-gif.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6935927207723200130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6935927207723200130'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2014/04/how-i-made-this-high-quality-gif.html' title='How I make High Quality gifs with Gimp. '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt1ihyphenhyphenf5wxPoLLAee3cBT1ZjlgP_89hd3h0ZjktjhzV8EFKqzU9uFG5s5OCp3aMwGH9ZbCJpxOMbrCwiecwsZNfQWG_LmD8LoQi76dGGcRAoli08Sfwk_oQVdR45GzE2i6LXPM6FU8N0/s72-c/jsmarcmotogp2.gif" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-6511408062392515179</id><published>2013-11-12T09:05:00.005-08:00</published><updated>2013-11-18T00:41:40.520-08:00</updated><title type='text'>Smashing Themida with Qemu </title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitEFhe7gnuANShxTI0m4alczvd1LI3zACQPgqKmK6xNyJF6VLo0EbQWo2nGNCnRZHlve2h068LyRuoJBaZeD3A1uVrrXr9iSL-5lHBAUq2DJkFzMAq3_wM7X4fjuo_Y0JOZjVVvQZr1To/s1600/themida_s.jpg&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;633&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitEFhe7gnuANShxTI0m4alczvd1LI3zACQPgqKmK6xNyJF6VLo0EbQWo2nGNCnRZHlve2h068LyRuoJBaZeD3A1uVrrXr9iSL-5lHBAUq2DJkFzMAq3_wM7X4fjuo_Y0JOZjVVvQZr1To/s640/themida_s.jpg&quot; width=&quot;640&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div&gt;
&lt;h4&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;http://www.oreans.com/themida_features.php&quot;&gt;&lt;b&gt;Themida&lt;/b&gt; by Oreans&lt;/a&gt; provides a vast list of protection mechanisms.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div&gt;
&lt;h4&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;I&#39;ll explain a very simple approach to defeating Themdia 2.x protection schemes using&amp;nbsp;&lt;b&gt;Qemu&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Universal Import Fixer&lt;/b&gt;, and&amp;nbsp;&lt;b&gt;Imports Fixer 1.6&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;h4&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Qemu&lt;/b&gt;&amp;nbsp;was the only virtual environment that this Themdia protected exe did not detect and would run in completely. It did an excellent job detecting&amp;nbsp;&lt;b&gt;IDA&lt;/b&gt;&amp;nbsp;(even with IDA Stealth) and would not run inside&amp;nbsp;&lt;b&gt;Immunity Debugger&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;h4&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;It also has built in kernel debugging detection. The binary will execute in&amp;nbsp;&lt;b&gt;Vmware&lt;/b&gt;, however it doesn&#39;t execute its true payload inside Vmware.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Needed for this tutorial are:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;b&gt;Qemu running XP&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Universal Import Fixer&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Imports Fixer 1.6&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;5U4N8Q..exe&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;(Malware_5u4n8Q.zip) is the target file we will be unpacking. (Samples not provided) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwz62j0hWMpc6jbb39Wdvpq6OZ4r7e1JT8D3EXczmiFrgx5aMBvCguMq7WCAxEGVVVKDLgPNba-qql2hD7Kcn6_61Z40sCXvViUjj4LM9kxfzXgJCLSDf-H1JXFNwcnQDivSv1nq0phk/s1600/1.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwz62j0hWMpc6jbb39Wdvpq6OZ4r7e1JT8D3EXczmiFrgx5aMBvCguMq7WCAxEGVVVKDLgPNba-qql2hD7Kcn6_61Z40sCXvViUjj4LM9kxfzXgJCLSDf-H1JXFNwcnQDivSv1nq0phk/s1600/1.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1) Inside of Qemu double click on&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;5U4N8Q..exe&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;, open taskmgr and get its&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;PID&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrO6WJw1u9W_Y9e9LpQE0536-mDjYhpxvGLKl2yQtakQm3eaZbALHRsTmPmaQM4BImWOEYhO1xxkIcG6wAUJS9ZJ7ii0X56g8CfTJWBbsPzY4l0BBKXazP2ZP_pK12PwEfsp8BenBkyXs/s1600/2.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrO6WJw1u9W_Y9e9LpQE0536-mDjYhpxvGLKl2yQtakQm3eaZbALHRsTmPmaQM4BImWOEYhO1xxkIcG6wAUJS9ZJ7ii0X56g8CfTJWBbsPzY4l0BBKXazP2ZP_pK12PwEfsp8BenBkyXs/s1600/2.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;2) Open&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Universal Import Fixer v1.2&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;, enter the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;PID&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;(deselect hex), and make sure&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Fix Directly Imports&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;is checked and click&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Start&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;In the log window you&#39;ll see UIF finding all the indirect API calls. Take note of the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;IAT RVA&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;IAT SIZE&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;and the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;New IAT VA&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;from&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;UIF&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-5-qTSSQo1rZwi6YEHo1CVA4bzulQZfkniu8lbJtyuaSEX06yVOiwGlzWSwf0vQ7B-XKQM7zEANgDpwgFYyzE1VnSN4IrQhVrjuMJUhUx_j6iyowPh70AZfjLwMSJThi3Cp9uL3_qNo8/s1600/3.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-5-qTSSQo1rZwi6YEHo1CVA4bzulQZfkniu8lbJtyuaSEX06yVOiwGlzWSwf0vQ7B-XKQM7zEANgDpwgFYyzE1VnSN4IrQhVrjuMJUhUx_j6iyowPh70AZfjLwMSJThi3Cp9uL3_qNo8/s1600/3.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Below is output from the log file (the full log file is attached below as UIF-Log.txt):&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Log File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;===============================================================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Fixing : 5u4n8Q..exe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Code Start : 00000000 -&amp;gt; Auto: 00400000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Code End : 00000000 -&amp;gt; Auto: 009C5000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;New IAT VA : 00000000 -&amp;gt; Auto: 03910000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Fix Directly Imports : Yes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;===============================================================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;5u4n8Q..exe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;00400000 to: 009C5000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Target Module,Skipped...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ntdll.dll&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;7C900000 to: 7C9B0000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;00402714: Directly-&amp;gt; 03910000 : 7C901005 : RtlEnterCriticalSection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;0040271C: Directly-&amp;gt; 03910004 : 7C9010ED : RtlLeaveCriticalSection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;0040C700: Directly-&amp;gt; 03910000 : 7C901005 : RtlEnterCriticalSection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;0040C92C: Directly-&amp;gt; 03910004 : 7C9010ED : RtlLeaveCriticalSection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;kernel32.dll&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;7C800000 to: 7C8F4000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;004027A4: Directly-&amp;gt; 03910008 : 7C81CAA2 : ExitProcess&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;0050A119: 0061F0E4-&amp;gt; 0391000C : 7C810C21 : GetFileSizeEx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;----Truncated------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;xpsp2res.dll&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;20000000 to: 202C5000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Not Found any Exports...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;===============================================================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Fixing Success...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Fixed Module : 5u4n8Q..exe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Image Base : 00400000&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;IAT RVA : 03510000&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;IAT Size : 00000410&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Normal Imports : 38&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Directly Imports : 234&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;All Imports : 272&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;===============================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;End of Log File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;3) Open&amp;nbsp;&lt;b&gt;Imports Fixer 1.6&lt;/b&gt;, highlight the&amp;nbsp;&lt;b&gt;5u4n8q..exe&lt;/b&gt;&amp;nbsp;process, right click on it and select Dump. In the&amp;nbsp;&lt;b&gt;Dumper Tool&lt;/b&gt;&amp;nbsp;window select&amp;nbsp;&lt;b&gt;Dump&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNY06Cm55SiH3iFbK4iVNBth7SzmK2ZSy1WQuqHyVOelDXQ5B6HKi7BKIozbmQBD21p-RZwrk3fKN0oAFYc3yL8kuyJK5z6ciL8e24j3cYNEHSyvjKsbtLB5FOy4D8LITGYh0QTGEaoJA/s1600/4.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNY06Cm55SiH3iFbK4iVNBth7SzmK2ZSy1WQuqHyVOelDXQ5B6HKi7BKIozbmQBD21p-RZwrk3fKN0oAFYc3yL8kuyJK5z6ciL8e24j3cYNEHSyvjKsbtLB5FOy4D8LITGYh0QTGEaoJA/s1600/4.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Save the file as&amp;nbsp;&lt;b&gt;5u4n8Q...&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJdtVZzo32YxFba0MSDclFAe6_t7oLU_OD4N2h0nIbrS1fuelLRQ0cRzxclAMONfmspPe8fIFzHQy8eY9sPqO0Ivj4HOdiEnRlb8NA4uVXQ7vEfexFn_mIxJWHGTwjP9x-UbB84ky_prc/s1600/5.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJdtVZzo32YxFba0MSDclFAe6_t7oLU_OD4N2h0nIbrS1fuelLRQ0cRzxclAMONfmspPe8fIFzHQy8eY9sPqO0Ivj4HOdiEnRlb8NA4uVXQ7vEfexFn_mIxJWHGTwjP9x-UbB84ky_prc/s1600/5.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;4) Back in&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Import Fixer&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;, select the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;IT &amp;amp; IAT&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;at the top of the window.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhod4_ZX2L46BILdM7QOAuBwdjQNjoZKUxw6Vdog8oNEL4yjOCGKsV9LNfZ78xImLEeLtMkNAdYHesNR7kcCEzzuRjJAfWWbE_gzBZ_aHO-9I7-Xaj5FiJ_DTn4RPVKQ-rrlUS-nXtbGBw/s1600/6.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhod4_ZX2L46BILdM7QOAuBwdjQNjoZKUxw6Vdog8oNEL4yjOCGKsV9LNfZ78xImLEeLtMkNAdYHesNR7kcCEzzuRjJAfWWbE_gzBZ_aHO-9I7-Xaj5FiJ_DTn4RPVKQ-rrlUS-nXtbGBw/s1600/6.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;5) In the&amp;nbsp;&lt;b&gt;IT &amp;amp; IAT&lt;/b&gt;&amp;nbsp;window select everything under the&amp;nbsp;&lt;b&gt;Code sections&lt;/b&gt;&amp;nbsp;and click&amp;nbsp;&lt;b&gt;Get Imports (auto scan)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjABrzkUMXybCry0njx-_KmRS0SuYXhBebz5NqSHQYKoH1ZsmIGn6G-9Ye5ynxrVGKQMOzxMSC3VEl0lATPnHvCS9gAWvYTbxW92q4hG8Bfhdvr9SbDiVdk3g-AhQ0CpsHqhWsu6Guzfws/s1600/7.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjABrzkUMXybCry0njx-_KmRS0SuYXhBebz5NqSHQYKoH1ZsmIGn6G-9Ye5ynxrVGKQMOzxMSC3VEl0lATPnHvCS9gAWvYTbxW92q4hG8Bfhdvr9SbDiVdk3g-AhQ0CpsHqhWsu6Guzfws/s1600/7.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;It should look like this&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD-8sGqfrcNUYmb-6DXW1wGNSEPXvEgbfTiMVvWHtyxWzH58OauqslPdYL4y6vFq2sKJuWwa3oJrbjGghv_CbXsZvi_aQgyylDZWY94gvae_2WAI2sSoEh-hPHmRqARCXWTgGkzDbhm2s/s1600/8.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD-8sGqfrcNUYmb-6DXW1wGNSEPXvEgbfTiMVvWHtyxWzH58OauqslPdYL4y6vFq2sKJuWwa3oJrbjGghv_CbXsZvi_aQgyylDZWY94gvae_2WAI2sSoEh-hPHmRqARCXWTgGkzDbhm2s/s1600/8.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;6) Select&amp;nbsp;&lt;b&gt;Clear Imports&lt;/b&gt;&amp;nbsp;clearing all the incorrect imports, under&amp;nbsp;&lt;b&gt;IAT manual adding&lt;/b&gt;&amp;nbsp;enter the&amp;nbsp;&lt;b&gt;New IAT VA&lt;/b&gt;&amp;nbsp;(0x03910410) from UIF minus it&#39;s IAT size (0x410) for the VA address&amp;nbsp;and add 410 for the size below.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;VA:&amp;nbsp;&lt;b&gt;03910000&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Size:&amp;nbsp;&lt;b&gt;410&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Click&amp;nbsp;&lt;b&gt;Add&lt;/b&gt;&amp;nbsp;and you should see the correct imports added as shown below&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-dG9tja0eJcyQUBguxmkFM0oYPoU8MoY-mUMkADSAIAm_0uUEktCpsTSh-5Qx5GJ8BQJ8Dl_sJwXekATd5bTZQ9XrixRhBUIa59YmFrd8W-_O_-0UHBakRu7ewf4nphtZ7Ovr56SdT4/s1600/9.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-dG9tja0eJcyQUBguxmkFM0oYPoU8MoY-mUMkADSAIAm_0uUEktCpsTSh-5Qx5GJ8BQJ8Dl_sJwXekATd5bTZQ9XrixRhBUIa59YmFrd8W-_O_-0UHBakRu7ewf4nphtZ7Ovr56SdT4/s1600/9.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;7) Select&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Fix dump&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;and use the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;5u4n8Q...&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;target file we dumped in step 3 above and you should be rewarded with a message showing that the IAT has been rebuilt.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGuTRooPjEa35QK9Qn_W5DbdK7wrxELBaR1XqXUHRhV1UtVS5dPruuFbullX1WjOdHdjvEPTuzhQjdC3-xd5E_NVCTCUNxXlltl5Gpy8SUvuinQZ8aFI35M1V4vgD8LQh14UijlqjrVEQ/s1600/10.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGuTRooPjEa35QK9Qn_W5DbdK7wrxELBaR1XqXUHRhV1UtVS5dPruuFbullX1WjOdHdjvEPTuzhQjdC3-xd5E_NVCTCUNxXlltl5Gpy8SUvuinQZ8aFI35M1V4vgD8LQh14UijlqjrVEQ/s1600/10.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;The file should save as *&lt;b&gt;5u4n8Q.IF.exe.exe&lt;/b&gt;&amp;nbsp;and we&#39;re done!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv43jfhuDffE3D3oJS9SlL28MISTCWkBQdQpwy6eenoHP7vb0nHjMcxNA6DG8AAeaBUl2pcMc0fh48ZvyD1oHu_RqgXHQ7X0-uqscWvPLq1pfnzTaBrA2sYpbd_FCIix8BT6Uu0zcdy5o/s1600/11.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv43jfhuDffE3D3oJS9SlL28MISTCWkBQdQpwy6eenoHP7vb0nHjMcxNA6DG8AAeaBUl2pcMc0fh48ZvyD1oHu_RqgXHQ7X0-uqscWvPLq1pfnzTaBrA2sYpbd_FCIix8BT6Uu0zcdy5o/s1600/11.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;8) Because this exe used Delphi7, copy the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Delphi7.sig&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;file to the IDA pro signature directory and Open *&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;5u4n8Q.IF.exe.exe&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;inside IDA, just select ok for the warning message about imports&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAb_2VeFf5iODOs6HXl7T07WnMBudJPmn-ElSdr331I3dbBsVnu6twWyIa1YTUMhg29idQ8U0VXcZ2FuWR_78JmO9Yz-IkOOxlWsWCwQsHxqlukDAYagAFTSKYhNCKn1OlLiVE2n26KtM/s1600/12.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAb_2VeFf5iODOs6HXl7T07WnMBudJPmn-ElSdr331I3dbBsVnu6twWyIa1YTUMhg29idQ8U0VXcZ2FuWR_78JmO9Yz-IkOOxlWsWCwQsHxqlukDAYagAFTSKYhNCKn1OlLiVE2n26KtM/s1600/12.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;9) As you can see the imports are now showing up along with functions!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidfWwyJ71co3cweP7gtoa1X9d8vvPERmXa4fJIDgYVJxwN6Pvd7_ZrD9-ruYnyFk6d1Z_aiLm-9d6gld_rCgWuyEWm1zLp5XiY6w_Yn4LEJ__blpSqQFNC591IUgqy9MvoTUkhsFo6kDg/s1600/13.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidfWwyJ71co3cweP7gtoa1X9d8vvPERmXa4fJIDgYVJxwN6Pvd7_ZrD9-ruYnyFk6d1Z_aiLm-9d6gld_rCgWuyEWm1zLp5XiY6w_Yn4LEJ__blpSqQFNC591IUgqy9MvoTUkhsFo6kDg/s1600/13.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;10) Looking at the disassembled code however still doesn&#39;t look right because we need to apply some sigs.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI4rvK6g_8yR_HaD6_ymQH_KKFHJCj7mr6V7gvv7ruACun1VTo43bwPcERI4y1i_CgWikMg56KM0u1C1QSscJokOWT-Tp6zWAdgpGFxsmWZ9Bdk6szyK6r_BDn3nINFXeNcZz3KG5SWm4/s1600/14.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI4rvK6g_8yR_HaD6_ymQH_KKFHJCj7mr6V7gvv7ruACun1VTo43bwPcERI4y1i_CgWikMg56KM0u1C1QSscJokOWT-Tp6zWAdgpGFxsmWZ9Bdk6szyK6r_BDn3nINFXeNcZz3KG5SWm4/s1600/14.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;11) Apply the Delphi 7 and BDS 2005-2007 signatures as shown below. Be sure to apply the Delphi 7 sig first as order seems to matter.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyEi8K9Pl2_nQ_RpB4bNM3OxIh2XYtddsqbTzue7k_DpJSVPgLWtYY0MdqDsrGQiqgeyLnS5f20eV1VuxyU3kMSn1MdbUkAbMJY6exv-jK8nLhWGaOPoV9uBwSp0mB84dIxk3FBW6Y8Kw/s1600/15.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyEi8K9Pl2_nQ_RpB4bNM3OxIh2XYtddsqbTzue7k_DpJSVPgLWtYY0MdqDsrGQiqgeyLnS5f20eV1VuxyU3kMSn1MdbUkAbMJY6exv-jK8nLhWGaOPoV9uBwSp0mB84dIxk3FBW6Y8Kw/s1600/15.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;When the&amp;nbsp;&lt;b&gt;Please confirm&lt;/b&gt;&amp;nbsp;message box comes up, select&amp;nbsp;&lt;b&gt;Unload library&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ-ryH7acgb3i8WvM1LIu1ZmCL0rLCAnGCJaES93SQZL7qcI1D-48kx9anKq7tfcCpHze_o0IBYYlRowlX6XQxGmfxtm6f04nZSwU2fStwWmj_M1rZAOQb-ZmzNGSbPgfaTFD3gOIo3gk/s1600/16.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJ-ryH7acgb3i8WvM1LIu1ZmCL0rLCAnGCJaES93SQZL7qcI1D-48kx9anKq7tfcCpHze_o0IBYYlRowlX6XQxGmfxtm6f04nZSwU2fStwWmj_M1rZAOQb-ZmzNGSbPgfaTFD3gOIo3gk/s1600/16.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;12) Now the disassembled code looks correct and we have a much better understanding of the malware and we are&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;done.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLhKn9De5LTYfe8TMg2VwzbWgJSqymlgpwZH4nDQEECiY2vX1x_uULpTx3eJjQMGn1cU1gF9rY_uRqO8F5L1JANLZx5EPERlllGyadtzUOmPe9At2UlmeJqFkK1AzAoRLnmm6s1Ycot6A/s1600/17.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLhKn9De5LTYfe8TMg2VwzbWgJSqymlgpwZH4nDQEECiY2vX1x_uULpTx3eJjQMGn1cU1gF9rY_uRqO8F5L1JANLZx5EPERlllGyadtzUOmPe9At2UlmeJqFkK1AzAoRLnmm6s1Ycot6A/s1600/17.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Themida Packed&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1)&amp;nbsp;Just to illustrate the difference, here are some screenshots of the malware before we unpacked it and rebuilt the IAT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxP8Rh1QAZUSz_zMapi7aAw0bdr7Ps9lC83Onq1n3Xe0s0YIP3PVQnr0OShjE7phlZoYGbkzUGe1B2JQNpvZI591UCkedKTg6nvdgGlQbNsXxQi__iqwaLHXt2jUj-YaVeapYi24dqBY/s1600/18.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxP8Rh1QAZUSz_zMapi7aAw0bdr7Ps9lC83Onq1n3Xe0s0YIP3PVQnr0OShjE7phlZoYGbkzUGe1B2JQNpvZI591UCkedKTg6nvdgGlQbNsXxQi__iqwaLHXt2jUj-YaVeapYi24dqBY/s1600/18.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;2)&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Import Address Table&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9suHTvgQCmbU7CmOTuTzd6XB8hw8GEJoO-mqBM2e9-vjacjN044FXt1Rg3_xloTus1qa0_0x0Me2P5fkj12Yerb5RBvJlX67yBe9i2Er9GjeC1Op09IhEiXhaZdoQk21ijfLvFZr7FOs/s1600/19+(1).jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9suHTvgQCmbU7CmOTuTzd6XB8hw8GEJoO-mqBM2e9-vjacjN044FXt1Rg3_xloTus1qa0_0x0Me2P5fkj12Yerb5RBvJlX67yBe9i2Er9GjeC1Op09IhEiXhaZdoQk21ijfLvFZr7FOs/s1600/19+(1).jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Qemu Notes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;I ran QEMU inside a Windows VM. To transfer files between the Vmware Env and Qemu, enable File sharing on the vmware Windows C drive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Kz_GGP3pnQUlOMh5fg7JSU-FBDGDfb2DzZ6U0TbWiLeZt70fL0NydB8HCq6NBv4Rhxg8QawLAHJd64Kwod603auoDzalhepNVFkRU0ZIBf3UoPnol7trwP2-crnp4WZBQi0acBlrv0E/s1600/19.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Kz_GGP3pnQUlOMh5fg7JSU-FBDGDfb2DzZ6U0TbWiLeZt70fL0NydB8HCq6NBv4Rhxg8QawLAHJd64Kwod603auoDzalhepNVFkRU0ZIBf3UoPnol7trwP2-crnp4WZBQi0acBlrv0E/s1600/19.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Also enable the option that says &quot;Allow network users to change my files&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTeSOiwjzUvvdCNQj2wAerTnJxQ_Lkern6Ta29_Tq4WZFBpeSEgE1JwlvSbEp8hgclF4JR3Yxx_vP1IXs3H9vmZDCgNYxPozG_lsJX9n9ofj4vbI0vRAJs7oJ-Bie0vp7O-p8j_heByjc/s1600/20.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTeSOiwjzUvvdCNQj2wAerTnJxQ_Lkern6Ta29_Tq4WZFBpeSEgE1JwlvSbEp8hgclF4JR3Yxx_vP1IXs3H9vmZDCgNYxPozG_lsJX9n9ofj4vbI0vRAJs7oJ-Bie0vp7O-p8j_heByjc/s1600/20.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Inside Qemu just point windows Explore to \\10.0.2.2\c which should be the default gateway and also the Vmware XP image.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiStdvBYTOcA9oT_fIvChOK4oio0-MJ171cdMmPUxswZ_4xkFaHJtRaDEYJirFEQ-33z_YHq2rcM2uxdFSH3aEdWtexKyCasIMgTg0NdP8e_0U1dYv3g8vTq3k4BYeMmsHBH66obppIY1k/s1600/21.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiStdvBYTOcA9oT_fIvChOK4oio0-MJ171cdMmPUxswZ_4xkFaHJtRaDEYJirFEQ-33z_YHq2rcM2uxdFSH3aEdWtexKyCasIMgTg0NdP8e_0U1dYv3g8vTq3k4BYeMmsHBH66obppIY1k/s1600/21.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;General Notes&lt;br /&gt;Verified against another sample from the wild.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;This worked against 3 Themida packed malware samples using Themida 2.x.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;If anyone has any Themida packed samples, please send them to me or try this process to see if it works.&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a class=&quot;external&quot; href=&quot;http://www.offensivecomputing.net/?q=ocsearch&quot; style=&quot;background-image: url(&amp;quot;https://10.122.171.199/images/external.png&amp;quot;); background-position: 0% 60%; background-repeat: no-repeat no-repeat; padding-left: 12px; text-decoration: none;&quot;&gt;http://www.offensivecomputing.net/?q=ocsearch&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;MD5:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;9a597cae40e4d22695626c84878d80cf SHA1:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;850ba4950cc1e9624e85200e48e8a400683ffb12&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SHA256:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1129e7372053a9259526b35a41c62373dd1656329287eec69c668252003ec9f8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Original Submitted Filename:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;9a597cae40e4d22695626c84878d80cf.exe Date Added:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;2009-04-04 04:47:30.931305&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Magic File Type:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;MS-DOS executable PE for MS Windows (GUI) Intel 80386 32-bit Packer Signature:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Anti-Virus Results:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;BitDefender Trojan.Generic.772406&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;AVGScan Win32/Themida&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tags:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Add a tag:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;This screenshot was taken after using the unpacking methods.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFE7EHN5R6kndDEN5WQqDrgU1AVRCrrgiCSWnD8Vw3KJx__8MbymMKjF9e9kBWj_Rk6aCqZIQEmjAEjzjwrbEGu5RVEZ0trg6xYHu_LZBAYaJIqRPJD6ICNm8ChNGCDdcM_yGtZFaXah8/s1600/22.jpg&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFE7EHN5R6kndDEN5WQqDrgU1AVRCrrgiCSWnD8Vw3KJx__8MbymMKjF9e9kBWj_Rk6aCqZIQEmjAEjzjwrbEGu5RVEZ0trg6xYHu_LZBAYaJIqRPJD6ICNm8ChNGCDdcM_yGtZFaXah8/s1600/22.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: small;&quot;&gt;Summary&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;This attack against this version and implementation of Themida works because we bypass all the protection&amp;nbsp;mechanisms&amp;nbsp;by running &amp;nbsp;the sample in an&amp;nbsp;environment&amp;nbsp;Themida deems as safe. &amp;nbsp;We only need to rebuild the IAT once the sample uncompresses in memory, dump and rebuild the real processes IAT.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/6511408062392515179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2013/11/smashing-themida-with-qemu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6511408062392515179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6511408062392515179'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2013/11/smashing-themida-with-qemu.html' title='Smashing Themida with Qemu '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitEFhe7gnuANShxTI0m4alczvd1LI3zACQPgqKmK6xNyJF6VLo0EbQWo2nGNCnRZHlve2h068LyRuoJBaZeD3A1uVrrXr9iSL-5lHBAUq2DJkFzMAq3_wM7X4fjuo_Y0JOZjVVvQZr1To/s72-c/themida_s.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-7835868639203764236</id><published>2013-08-06T11:04:00.001-07:00</published><updated>2013-08-27T15:22:11.427-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="forensics"/><category scheme="http://www.blogger.com/atom/ns#" term="malware"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="qextract"/><category scheme="http://www.blogger.com/atom/ns#" term="reverseengineering"/><category scheme="http://www.blogger.com/atom/ns#" term="vad"/><category scheme="http://www.blogger.com/atom/ns#" term="vadtree"/><category scheme="http://www.blogger.com/atom/ns#" term="vadwalk"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility"/><title type='text'>vadimm</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
This plugin renders VAD information in a format similar to that of immunity debuggers &quot;Memory Map&quot; display window. &amp;nbsp;VadIMM will attempt to display the processes ImageBase plus size and PE section information. &amp;nbsp;I got a lot of help and give credit to code already written by the vol developers, particularly for the Map Types section. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/vadimm.py&quot;&gt;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/vadimm.py&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;python vol.py vadimm -f be2.vmem &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Volatile Systems Volatility Framework 2.2&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-c07Z4dqXwU3OJHIku2K1kVStmHhrViRiSg7lIAITWn6_bnnq-IIFCc3Md6JdDGjLqbzNrDv6CH2rmHn0MYIaZiGNkTnLlOGBRC3WqfFnDZ7pMGqqzFZfyLXp8xUerYOTpe1f0ra_sk/s1600/vadimm1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-c07Z4dqXwU3OJHIku2K1kVStmHhrViRiSg7lIAITWn6_bnnq-IIFCc3Md6JdDGjLqbzNrDv6CH2rmHn0MYIaZiGNkTnLlOGBRC3WqfFnDZ7pMGqqzFZfyLXp8xUerYOTpe1f0ra_sk/s1600/vadimm1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4n-LyFDr3gMdptuVpm4ZnCRct3kOTGiZzRwb1RgtDHZ1p3sdbdT_QGtYSYXYTrnuRR0dG2TUt844Z2tswpooxQqByBF-uEpTTmaKnJmu_yLVWF8Kf-9DyLzk26vEN5LbcLTxaGHfND0M/s1600/vadimm2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4n-LyFDr3gMdptuVpm4ZnCRct3kOTGiZzRwb1RgtDHZ1p3sdbdT_QGtYSYXYTrnuRR0dG2TUt844Z2tswpooxQqByBF-uEpTTmaKnJmu_yLVWF8Kf-9DyLzk26vEN5LbcLTxaGHfND0M/s1600/vadimm2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/7835868639203764236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2013/08/vadimm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/7835868639203764236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/7835868639203764236'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2013/08/vadimm.html' title='vadimm'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-c07Z4dqXwU3OJHIku2K1kVStmHhrViRiSg7lIAITWn6_bnnq-IIFCc3Md6JdDGjLqbzNrDv6CH2rmHn0MYIaZiGNkTnLlOGBRC3WqfFnDZ7pMGqqzFZfyLXp8xUerYOTpe1f0ra_sk/s72-c/vadimm1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-983227883200097819</id><published>2013-07-18T14:18:00.000-07:00</published><updated>2013-07-18T16:23:55.134-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="forensics"/><category scheme="http://www.blogger.com/atom/ns#" term="malware"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="reverseengineering"/><category scheme="http://www.blogger.com/atom/ns#" term="volatility"/><title type='text'>Ethscan: volatility memory forensics framework plugin for recovering Ethernet frames from memory.</title><content type='html'>For the&amp;nbsp;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;a href=&quot;http://volatility-labs.blogspot.com/2013/01/the-1st-annual-volatility-framework.html&quot;&gt;The 1st Annual Volatility Framework Plugin Contest:&lt;/a&gt;&amp;nbsp;t&lt;/span&gt;oday I turned in my first of (3) plugins called Ethscan.&lt;br /&gt;
&lt;br /&gt;
&lt;table id=&quot;src_table_0&quot; style=&quot;background-color: white; border-collapse: collapse; color: black; font-family: Monaco, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Lucida Console&#39;, monospace; font-size: 12px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_2&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;Ethscan: volatility memory forensics framework plugin for recovering ethernet frames from memory.&lt;/td&gt;&lt;/tr&gt;
&lt;tr class=&quot;cursor_hidden&quot; id=&quot;ccr_svnf2647669db67998fdcdf81a493d3537ebdf00752_2_cursor&quot; style=&quot;height: 2px; margin: 0px; padding: 0px;&quot;&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Ethscan gives you the ability to scan any type of memory image (&lt;b&gt;Windows, OSX, Linux - 32/64, Vmware Snapshot images .vmem, etc..&lt;/b&gt;) or raw file using volatility to extract valid or invalid Ethernet frames (depending on if you&#39;re using the Checksum option)&lt;br /&gt;
&lt;br /&gt;
Some Options/features for Ethscan are (please see the README.txt file for all options):&lt;br /&gt;
&lt;br /&gt;
IPv4 and IPv6 support! &lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;b&gt;&amp;nbsp; -R, --save-raw &lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Create binary files of each packet found in memory&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
5__131.107.115.254__47873__172.16.176.143__3332__TCP.bin&lt;/div&gt;
&lt;div&gt;
3__172.16.176.1__35566__172.16.176.255__35072__UDP.bin&lt;/div&gt;
&lt;div&gt;
1__172.16.176.1__35054__172.16.176.255__35072__UDP.bin&lt;/div&gt;
&lt;div&gt;
2__172.16.176.1__34030__172.16.176.255__35072__UDP.bin&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp; -C SAVE_PCAP&lt;/b&gt;, --save-pcap=SAVE_PCAP&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Create a pcap file from recovered packets of given&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name: &quot;Example: -C out.pcap&quot; (requires dpkt)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Every packet ethscan finds in memory can be written to a single pcap file using &lt;a href=&quot;https://code.google.com/p/dpkt/&quot;&gt;dpkt&lt;/a&gt; for further inspection under wireshark. &amp;nbsp;(Note: some recovered IPv6 packets will cause dpkt to except upon writing, I suggest using the -R option when using the pcap option).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp; -P, --enable-proc &lt;/b&gt;&amp;nbsp; &amp;nbsp; Enable Packet to Process Association: Windows Only&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (SLOW)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This option will attempt to associate recovered packets with a Process name/PID (this currently works for valid windows memory images only):&lt;/div&gt;
&lt;div&gt;
Example:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table id=&quot;src_table_0&quot; style=&quot;background-color: white; border-collapse: collapse; color: black; font-family: Monaco, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Lucida Console&#39;, monospace; font-size: 12px; margin: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_37&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;&lt;b&gt; ProcName: wuauclt.exe PID: 1732 Base Address: 0x15e000  End Address: 0x1000  &lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_38&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;Ethernet:    Src: (00:50:56:f1:2d:82)       Dst: (00:0c:29:a4:81:79)&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_39&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;Type:        IPv4 (0x0800)&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_40&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;IPv4:        Src: 131.107.115.254:47873       Dst: 172.16.176.143:3332&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_41&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;Protocol:    TCP (6)&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_42&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;Packet Size: (54) Bytes&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_43&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;0x00000000  00 0c 29 a4 81 79 00 50 56 f1 2d 82 08 00 45 00   ..)..y.PV.-...E.&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_44&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;0x00000010  00 28 29 85 00 00 80 06 bd 41 83 6b 73 fe ac 10   .()......A.ks...&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_45&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;0x00000020  b0 8f 01 bb 04 0d 79 7e 45 77 d8 8d 3f 5e 50 10   ......y~Ew..?^P.&lt;/td&gt;&lt;/tr&gt;
&lt;tr id=&quot;sl_svnf2647669db67998fdcdf81a493d3537ebdf00752_46&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td class=&quot;source&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 4px; vertical-align: top;&quot;&gt;0x00000030  fa f0 84 30 00 00                                 ...0..&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Using a memory image from the Volatility wiki here is a short example with no options. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://code.google.com/p/volatility/wiki/SampleMemoryImages&quot;&gt;https://code.google.com/p/volatility/wiki/SampleMemoryImages&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;python vol.py ethscan -f be2.vmem&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Volatile Systems Volatility Framework 2.2&lt;br /&gt;
Packets Found: 1&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:c0:00:08) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (ff:ff:ff:ff:ff:ff)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 172.16.176.1:35054 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.255:35072&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;UDP (17)&lt;br /&gt;
Packet Size: (92) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;ff ff ff ff ff ff 00 50 56 c0 00 08 08 00 45 00 &amp;nbsp; .......PV.....E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 4e 77 fa 00 00 40 11 49 83 ac 10 b0 01 ac 10 &amp;nbsp; .Nw...@.I.......&lt;br /&gt;
0x00000020 &amp;nbsp;b0 ff ee 88 00 89 00 3a 72 c0 3b 07 01 10 00 01 &amp;nbsp; .......:r.;.....&lt;br /&gt;
0x00000030 &amp;nbsp;00 00 00 00 00 00 20 41 42 41 43 46 50 46 50 45 &amp;nbsp; .......ABACFPFPE&lt;br /&gt;
0x00000040 &amp;nbsp;4e 46 44 45 43 46 43 45 50 46 48 46 44 45 46 46 &amp;nbsp; NFDECFCEPFHFDEFF&lt;br /&gt;
0x00000050 &amp;nbsp;50 46 50 41 43 41 42 00 00 20 00 01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFPACAB.....&lt;br /&gt;
&lt;br /&gt;
Packets Found: 2&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:c0:00:08) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (ff:ff:ff:ff:ff:ff)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 172.16.176.1:34030 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.255:35072&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;UDP (17)&lt;br /&gt;
Packet Size: (92) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;ff ff ff ff ff ff 00 50 56 c0 00 08 08 00 45 00 &amp;nbsp; .......PV.....E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 4e 9b e5 00 00 40 11 25 98 ac 10 b0 01 ac 10 &amp;nbsp; .N....@.%.......&lt;br /&gt;
0x00000020 &amp;nbsp;b0 ff ee 84 00 89 00 3a 79 33 34 98 01 10 00 01 &amp;nbsp; .......:y34.....&lt;br /&gt;
0x00000030 &amp;nbsp;00 00 00 00 00 00 20 41 42 41 43 46 50 46 50 45 &amp;nbsp; .......ABACFPFPE&lt;br /&gt;
0x00000040 &amp;nbsp;4e 46 44 45 43 46 43 45 50 46 48 46 44 45 46 46 &amp;nbsp; NFDECFCEPFHFDEFF&lt;br /&gt;
0x00000050 &amp;nbsp;50 46 50 41 43 41 42 00 00 20 00 01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFPACAB.....&lt;br /&gt;
&lt;br /&gt;
Packets Found: 3&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:c0:00:08) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (ff:ff:ff:ff:ff:ff)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 172.16.176.1:35566 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.255:35072&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;UDP (17)&lt;br /&gt;
Packet Size: (92) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;ff ff ff ff ff ff 00 50 56 c0 00 08 08 00 45 00 &amp;nbsp; .......PV.....E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 4e b2 89 00 00 40 11 0e f4 ac 10 b0 01 ac 10 &amp;nbsp; .N....@.........&lt;br /&gt;
0x00000020 &amp;nbsp;b0 ff ee 8a 00 89 00 3a 65 8d 48 38 01 10 00 01 &amp;nbsp; .......:e.H8....&lt;br /&gt;
0x00000030 &amp;nbsp;00 00 00 00 00 00 20 41 42 41 43 46 50 46 50 45 &amp;nbsp; .......ABACFPFPE&lt;br /&gt;
0x00000040 &amp;nbsp;4e 46 44 45 43 46 43 45 50 46 48 46 44 45 46 46 &amp;nbsp; NFDECFCEPFHFDEFF&lt;br /&gt;
0x00000050 &amp;nbsp;50 46 50 41 43 41 42 00 00 20 00 01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFPACAB.....&lt;br /&gt;
&lt;br /&gt;
Packets Found: 4&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:f1:2d:82) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (00:0c:29:a4:81:79)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 131.107.115.254:47873 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.143:3332&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;TCP (6)&lt;br /&gt;
Packet Size: (58) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;00 0c 29 a4 81 79 00 50 56 f1 2d 82 08 00 45 00 &amp;nbsp; ..)..y.PV.-...E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 2c 29 7d 00 00 80 06 bd 45 83 6b 73 fe ac 10 &amp;nbsp; .,)}.....E.ks...&lt;br /&gt;
0x00000020 &amp;nbsp;b0 8f 01 bb 04 0d 79 7e 33 45 d8 8d 3c ef 60 12 &amp;nbsp; ......y~3E..&amp;lt;.`.&lt;br /&gt;
0x00000030 &amp;nbsp;fa f0 81 13 00 00 02 04 05 b4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ..........&lt;br /&gt;
&lt;br /&gt;
Packets Found: 5&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:f1:2d:82) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (00:0c:29:a4:81:79)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 131.107.115.254:47873 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.143:3332&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;TCP (6)&lt;br /&gt;
Packet Size: (54) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;00 0c 29 a4 81 79 00 50 56 f1 2d 82 08 00 45 00 &amp;nbsp; ..)..y.PV.-...E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 28 29 7e 00 00 80 06 bd 48 83 6b 73 fe ac 10 &amp;nbsp; .()~.....H.ks...&lt;br /&gt;
0x00000020 &amp;nbsp;b0 8f 01 bb 04 0d 79 7e 33 46 d8 8d 3d 55 50 10 &amp;nbsp; ......y~3F..=UP.&lt;br /&gt;
0x00000030 &amp;nbsp;fa f0 98 6a 00 00 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...j..&lt;br /&gt;
&lt;br /&gt;
Packets Found: 6&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:c0:00:08) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (ff:ff:ff:ff:ff:ff)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 172.16.176.1:35310 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.255:35072&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;UDP (17)&lt;br /&gt;
Packet Size: (92) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;ff ff ff ff ff ff 00 50 56 c0 00 08 08 00 45 00 &amp;nbsp; .......PV.....E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 4e 8c fd 00 00 40 11 34 80 ac 10 b0 01 ac 10 &amp;nbsp; .N....@.4.......&lt;br /&gt;
0x00000020 &amp;nbsp;b0 ff ee 89 00 89 00 3a 6c f3 40 d3 01 10 00 01 &amp;nbsp; .......:l.@.....&lt;br /&gt;
0x00000030 &amp;nbsp;00 00 00 00 00 00 20 41 42 41 43 46 50 46 50 45 &amp;nbsp; .......ABACFPFPE&lt;br /&gt;
0x00000040 &amp;nbsp;4e 46 44 45 43 46 43 45 50 46 48 46 44 45 46 46 &amp;nbsp; NFDECFCEPFHFDEFF&lt;br /&gt;
0x00000050 &amp;nbsp;50 46 50 41 43 41 42 00 00 20 00 01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFPACAB.....&lt;br /&gt;
&lt;br /&gt;
Packets Found: 7&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:f1:2d:82) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (00:0c:29:a4:81:79)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 131.107.115.254:47873 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.143:3332&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;TCP (6)&lt;br /&gt;
Packet Size: (1422) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;00 0c 29 a4 81 79 00 50 56 f1 2d 82 08 00 45 00 &amp;nbsp; ..)..y.PV.-...E.&lt;br /&gt;
0x00000010 &amp;nbsp;05 80 29 7f 00 00 80 06 b7 ef 83 6b 73 fe ac 10 &amp;nbsp; ..)........ks...&lt;br /&gt;
0x00000020 &amp;nbsp;b0 8f 01 bb 04 0d 79 7e 33 46 d8 8d 3d 55 50 18 &amp;nbsp; ......y~3F..=UP.&lt;br /&gt;
0x00000030 &amp;nbsp;fa f0 83 08 00 00 16 03 00 11 e9 02 00 00 46 03 &amp;nbsp; ..............F.&lt;br /&gt;
0x00000040 &amp;nbsp;00 4c 62 3e 86 1c 84 f1 cb cd fc be 83 d9 b3 31 &amp;nbsp; .Lb&amp;gt;...........1&lt;br /&gt;
0x00000050 &amp;nbsp;5b 1d ed e8 37 1b b6 38 31 37 bc 01 cd f0 99 d2 &amp;nbsp; [...7..817......&lt;br /&gt;
0x00000060 &amp;nbsp;15 20 30 0d 00 00 cc 24 42 11 1a 50 f3 dc cf 74 &amp;nbsp; ..0....$B..P...t&lt;br /&gt;
0x00000070 &amp;nbsp;c4 04 7a f5 da 1b 93 9c 51 f4 46 64 43 b2 55 17 &amp;nbsp; ..z.....Q.FdC.U.&lt;br /&gt;
0x00000080 &amp;nbsp;48 f0 00 04 00 0b 00 11 97 00 11 94 00 04 89 30 &amp;nbsp; H..............0&lt;br /&gt;
0x00000090 &amp;nbsp;82 04 85 30 82 03 6d a0 03 02 01 02 02 0a 61 12 &amp;nbsp; ...0..m.......a.&lt;br /&gt;
0x000000a0 &amp;nbsp;df 52 00 00 00 00 00 12 30 0d 06 09 2a 86 48 86 &amp;nbsp; .R......0...*.H.&lt;br /&gt;
0x000000b0 &amp;nbsp;f7 0d 01 01 05 05 00 30 81 a3 31 0b 30 09 06 03 &amp;nbsp; .......0..1.0...&lt;br /&gt;
0x000000c0 &amp;nbsp;55 04 06 13 02 55 53 31 13 30 11 06 03 55 04 08 &amp;nbsp; U....US1.0...U..&lt;br /&gt;
0x000000d0 &amp;nbsp;13 0a 57 61 73 68 69 6e 67 74 6f 6e 31 10 30 0e &amp;nbsp; ..Washington1.0.&lt;br /&gt;
0x000000e0 &amp;nbsp;06 03 55 04 07 13 07 52 65 64 6d 6f 6e 64 31 1e &amp;nbsp; ..U....Redmond1.&lt;br /&gt;
0x000000f0 &amp;nbsp;30 1c 06 03 55 04 0a 13 15 4d 69 63 72 6f 73 6f &amp;nbsp; 0...U....Microso&lt;br /&gt;
0x00000100 &amp;nbsp;66 74 20 43 6f 72 70 6f 72 61 74 69 6f 6e 31 2b &amp;nbsp; ft.Corporation1+&lt;br /&gt;
0x00000110 &amp;nbsp;30 29 06 03 55 04 03 13 22 4d 69 63 72 6f 73 6f &amp;nbsp; 0)..U...&quot;Microso&lt;br /&gt;
0x00000120 &amp;nbsp;66 74 20 50 72 6f 64 75 63 74 20 53 65 63 75 72 &amp;nbsp; ft.Product.Secur&lt;br /&gt;
0x00000130 &amp;nbsp;65 20 53 65 72 76 65 72 20 43 41 31 20 30 1e 06 &amp;nbsp; e.Server.CA1.0..&lt;br /&gt;
0x00000140 &amp;nbsp;09 2a 86 48 86 f7 0d 01 09 01 16 11 70 6b 69 40 &amp;nbsp; .*.H........pki@&lt;br /&gt;
0x00000150 &amp;nbsp;6d 69 63 72 6f 73 6f 66 74 2e 63 6f 6d 30 1e 17 &amp;nbsp; microsoft.com0..&lt;br /&gt;
0x00000160 &amp;nbsp;0d 30 39 31 30 31 35 32 32 30 30 33 38 5a 17 0d &amp;nbsp; .091015220038Z..&lt;br /&gt;
0x00000170 &amp;nbsp;31 32 30 31 31 35 32 32 30 30 33 38 5a 30 6f 31 &amp;nbsp; 120115220038Z0o1&lt;br /&gt;
0x00000180 &amp;nbsp;0b 30 09 06 03 55 04 06 13 02 55 53 31 10 30 0e &amp;nbsp; .0...U....US1.0.&lt;br /&gt;
0x00000190 &amp;nbsp;06 03 55 04 08 13 07 52 65 64 6d 6f 6e 64 31 0b &amp;nbsp; ..U....Redmond1.&lt;br /&gt;
0x000001a0 &amp;nbsp;30 09 06 03 55 04 07 13 02 57 41 31 12 30 10 06 &amp;nbsp; 0...U....WA1.0..&lt;br /&gt;
0x000001b0 &amp;nbsp;03 55 04 0a 13 09 4d 69 63 72 6f 73 6f 66 74 31 &amp;nbsp; .U....Microsoft1&lt;br /&gt;
0x000001c0 &amp;nbsp;0d 30 0b 06 03 55 04 0b 13 04 42 47 4f 53 31 1e &amp;nbsp; .0...U....BGOS1.&lt;br /&gt;
0x000001d0 &amp;nbsp;30 1c 06 03 55 04 03 13 15 77 70 61 2e 6f 6e 65 &amp;nbsp; 0...U....wpa.one&lt;br /&gt;
0x000001e0 &amp;nbsp;2e 6d 69 63 72 6f 73 6f 66 74 2e 63 6f 6d 30 81 &amp;nbsp; .microsoft.com0.&lt;br /&gt;
0x000001f0 &amp;nbsp;9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 &amp;nbsp; .0...*.H........&lt;br /&gt;
0x00000200 &amp;nbsp;03 81 8d 00 30 81 89 02 81 81 00 be ca f6 17 88 &amp;nbsp; ....0...........&lt;br /&gt;
0x00000210 &amp;nbsp;0c a9 e5 de 4d ef 6c 21 e0 46 58 c2 21 20 a3 e3 &amp;nbsp; ....M.l!.FX.!...&lt;br /&gt;
0x00000220 &amp;nbsp;7e 6d b0 eb 44 d6 f7 90 cd 56 c3 4b 99 97 09 09 &amp;nbsp; ~m..D....V.K....&lt;br /&gt;
0x00000230 &amp;nbsp;da db 68 57 87 e4 0f 19 b8 b8 57 c7 f7 03 75 9a &amp;nbsp; ..hW......W...u.&lt;br /&gt;
0x00000240 &amp;nbsp;f4 4e 51 c8 96 9a cb bd 34 fe eb 22 91 88 2b 1f &amp;nbsp; .NQ.....4..&quot;..+.&lt;br /&gt;
0x00000250 &amp;nbsp;9a 36 8d d9 35 d3 f4 8d 75 09 a8 2c 31 c3 48 d3 &amp;nbsp; .6..5...u..,1.H.&lt;br /&gt;
0x00000260 &amp;nbsp;9c b8 c2 b9 67 70 cc 32 1e 93 16 98 f0 c8 12 47 &amp;nbsp; ....gp.2.......G&lt;br /&gt;
0x00000270 &amp;nbsp;5d 7e f7 2b c9 36 65 b1 4e 3a d6 dd ce d8 35 56 &amp;nbsp; ]~.+.6e.N:....5V&lt;br /&gt;
0x00000280 &amp;nbsp;76 56 d8 62 ed 7c b0 c9 e1 52 0d 02 03 01 00 01 &amp;nbsp; vV.b.|...R......&lt;br /&gt;
0x00000290 &amp;nbsp;a3 82 01 70 30 82 01 6c 30 0e 06 03 55 1d 0f 01 &amp;nbsp; ...p0..l0...U...&lt;br /&gt;
0x000002a0 &amp;nbsp;01 ff 04 04 03 02 04 f0 30 13 06 03 55 1d 25 04 &amp;nbsp; ........0...U.%.&lt;br /&gt;
0x000002b0 &amp;nbsp;0c 30 0a 06 08 2b 06 01 05 05 07 03 01 30 1d 06 &amp;nbsp; .0...+.......0..&lt;br /&gt;
0x000002c0 &amp;nbsp;03 55 1d 0e 04 16 04 14 d1 e7 5a 77 0b fb 90 eb &amp;nbsp; .U........Zw....&lt;br /&gt;
0x000002d0 &amp;nbsp;b5 10 1f b9 b3 b7 d9 64 38 07 07 c0 30 1f 06 03 &amp;nbsp; .......d8...0...&lt;br /&gt;
0x000002e0 &amp;nbsp;55 1d 23 04 18 30 16 80 14 9e 49 93 71 e6 fa ed &amp;nbsp; U.#..0....I.q...&lt;br /&gt;
0x000002f0 &amp;nbsp;97 80 08 89 3e 3c f3 29 cc 71 6d ef 5c 30 81 a6 &amp;nbsp; ....&amp;gt;&amp;lt;.).qm.\0..&lt;br /&gt;
0x00000300 &amp;nbsp;06 03 55 1d 1f 04 81 9e 30 81 9b 30 81 98 a0 81 &amp;nbsp; ..U.....0..0....&lt;br /&gt;
0x00000310 &amp;nbsp;95 a0 81 92 86 47 68 74 74 70 3a 2f 2f 63 72 6c &amp;nbsp; .....Ghttp://crl&lt;br /&gt;
0x00000320 &amp;nbsp;2e 6d 69 63 72 6f 73 6f 66 74 2e 63 6f 6d 2f 70 &amp;nbsp; .microsoft.com/p&lt;br /&gt;
0x00000330 &amp;nbsp;6b 69 2f 63 72 6c 2f 70 72 6f 64 75 63 74 73 2f &amp;nbsp; ki/crl/products/&lt;br /&gt;
0x00000340 &amp;nbsp;4d 69 63 50 72 6f 53 65 63 53 65 72 43 41 5f 32 &amp;nbsp; MicProSecSerCA_2&lt;br /&gt;
0x00000350 &amp;nbsp;30 30 37 2d 31 32 2d 30 34 2e 63 72 6c 86 47 68 &amp;nbsp; 007-12-04.crl.Gh&lt;br /&gt;
0x00000360 &amp;nbsp;74 74 70 3a 2f 2f 77 77 77 2e 6d 69 63 72 6f 73 &amp;nbsp; ttp://www.micros&lt;br /&gt;
0x00000370 &amp;nbsp;6f 66 74 2e 63 6f 6d 2f 70 6b 69 2f 63 72 6c 2f &amp;nbsp; oft.com/pki/crl/&lt;br /&gt;
0x00000380 &amp;nbsp;70 72 6f 64 75 63 74 73 2f 4d 69 63 50 72 6f 53 &amp;nbsp; products/MicProS&lt;br /&gt;
0x00000390 &amp;nbsp;65 63 53 65 72 43 41 5f 32 30 30 37 2d 31 32 2d &amp;nbsp; ecSerCA_2007-12-&lt;br /&gt;
0x000003a0 &amp;nbsp;30 34 2e 63 72 6c 30 5c 06 08 2b 06 01 05 05 07 &amp;nbsp; 04.crl0\..+.....&lt;br /&gt;
0x000003b0 &amp;nbsp;01 01 04 50 30 4e 30 4c 06 08 2b 06 01 05 05 07 &amp;nbsp; ...P0N0L..+.....&lt;br /&gt;
0x000003c0 &amp;nbsp;30 02 86 40 68 74 74 70 3a 2f 2f 77 77 77 2e 6d &amp;nbsp; 0..@http://www.m&lt;br /&gt;
0x000003d0 &amp;nbsp;69 63 72 6f 73 6f 66 74 2e 63 6f 6d 2f 70 6b 69 &amp;nbsp; icrosoft.com/pki&lt;br /&gt;
0x000003e0 &amp;nbsp;2f 63 65 72 74 73 2f 4d 69 63 50 72 6f 53 65 63 &amp;nbsp; /certs/MicProSec&lt;br /&gt;
0x000003f0 &amp;nbsp;53 65 72 43 41 5f 32 30 30 37 2d 31 32 2d 30 34 &amp;nbsp; SerCA_2007-12-04&lt;br /&gt;
0x00000400 &amp;nbsp;2e 63 72 74 30 0d 06 09 2a 86 48 86 f7 0d 01 01 &amp;nbsp; .crt0...*.H.....&lt;br /&gt;
0x00000410 &amp;nbsp;05 05 00 03 82 01 01 00 18 5f 91 4e 9d d6 d9 cf &amp;nbsp; ........._.N....&lt;br /&gt;
0x00000420 &amp;nbsp;4a 31 44 77 20 87 f8 af e8 a3 ef 18 11 c9 fb 4d &amp;nbsp; J1Dw...........M&lt;br /&gt;
0x00000430 &amp;nbsp;c9 e5 09 db 22 91 57 d7 db b7 b7 40 c4 0a 44 74 &amp;nbsp; ....&quot;.W....@..Dt&lt;br /&gt;
0x00000440 &amp;nbsp;14 cf eb a8 d4 41 7e ab f7 72 f4 c1 fd bb 15 49 &amp;nbsp; .....A~..r.....I&lt;br /&gt;
0x00000450 &amp;nbsp;e8 20 3c 4e a3 4b 05 e0 ad a6 4a 14 e6 f6 25 b2 &amp;nbsp; ..&amp;lt;N.K....J...%.&lt;br /&gt;
0x00000460 &amp;nbsp;90 26 ac 96 68 43 8c fd 4b 3a 9e a3 09 19 81 de &amp;nbsp; .&amp;amp;..hC..K:......&lt;br /&gt;
0x00000470 &amp;nbsp;51 f8 99 47 86 cc 5b 40 a8 d6 f8 a9 b6 b8 0f 5e &amp;nbsp; Q..G..[@.......^&lt;br /&gt;
0x00000480 &amp;nbsp;51 ce 1b 84 1b de 38 c2 86 08 34 62 a5 4c ab 4f &amp;nbsp; Q.....8...4b.L.O&lt;br /&gt;
0x00000490 &amp;nbsp;b1 91 70 69 7c ec 61 ce 56 44 0e 7a 2e 35 47 86 &amp;nbsp; ..pi|.a.VD.z.5G.&lt;br /&gt;
0x000004a0 &amp;nbsp;53 44 4d 08 1a 95 bd 65 c2 7d 47 d1 6e 0a 1c 83 &amp;nbsp; SDM....e.}G.n...&lt;br /&gt;
0x000004b0 &amp;nbsp;ff b4 d2 5f 04 1d 65 37 01 07 4c ba 2d 66 be 0f &amp;nbsp; ..._..e7..L.-f..&lt;br /&gt;
0x000004c0 &amp;nbsp;89 10 91 7a 3b c8 ec 7e 53 07 b8 6b 2b ab 2c 5b &amp;nbsp; ...z;..~S..k+.,[&lt;br /&gt;
0x000004d0 &amp;nbsp;c4 78 55 14 72 40 78 93 8f 74 de 29 b1 28 70 24 &amp;nbsp; .xU.r@x..t.).(p$&lt;br /&gt;
0x000004e0 &amp;nbsp;34 d1 42 82 17 65 1f 1f da 2a 0f 4f ec 71 ad 28 &amp;nbsp; 4.B..e...*.O.q.(&lt;br /&gt;
0x000004f0 &amp;nbsp;aa d4 aa 2c b2 e5 cc 07 00 19 4c f9 7d 63 13 01 &amp;nbsp; ...,......L.}c..&lt;br /&gt;
0x00000500 &amp;nbsp;af 62 59 ee 89 c5 b5 ad c0 0d 88 af 98 10 45 53 &amp;nbsp; .bY...........ES&lt;br /&gt;
0x00000510 &amp;nbsp;e2 01 e5 a0 41 4e 03 61 00 05 c6 30 82 05 c2 30 &amp;nbsp; ....AN.a...0...0&lt;br /&gt;
0x00000520 &amp;nbsp;82 04 aa a0 03 02 01 02 02 0a 61 09 bd fa 00 01 &amp;nbsp; ..........a.....&lt;br /&gt;
0x00000530 &amp;nbsp;00 00 00 0f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 &amp;nbsp; ....0...*.H.....&lt;br /&gt;
0x00000540 &amp;nbsp;05 05 00 30 81 ac 31 20 30 1e 06 09 2a 86 48 86 &amp;nbsp; ...0..1.0...*.H.&lt;br /&gt;
0x00000550 &amp;nbsp;f7 0d 01 09 01 16 11 70 6b 69 40 6d 69 63 72 6f &amp;nbsp; .......pki@micro&lt;br /&gt;
0x00000560 &amp;nbsp;73 6f 66 74 2e 63 6f 6d 31 0b 30 09 06 03 55 04 &amp;nbsp; soft.com1.0...U.&lt;br /&gt;
0x00000570 &amp;nbsp;06 13 02 55 53 31 13 30 11 06 03 55 04 08 13 0a &amp;nbsp; ...US1.0...U....&lt;br /&gt;
0x00000580 &amp;nbsp;57 61 73 68 69 6e 67 74 6f 6e 31 10 30 0e &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Washington1.0.&lt;br /&gt;
&lt;br /&gt;
Packets Found: 8&lt;br /&gt;
Ethernet: &amp;nbsp; &amp;nbsp;Src: (00:50:56:c0:00:08) &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: (ff:ff:ff:ff:ff:ff)&lt;br /&gt;
Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPv4 (0x0800)&lt;br /&gt;
IPv4: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Src: 172.16.176.1:33262 &amp;nbsp; &amp;nbsp; &amp;nbsp; Dst: 172.16.176.255:35072&lt;br /&gt;
Protocol: &amp;nbsp; &amp;nbsp;UDP (17)&lt;br /&gt;
Packet Size: (92) Bytes&lt;br /&gt;
0x00000000 &amp;nbsp;ff ff ff ff ff ff 00 50 56 c0 00 08 08 00 45 00 &amp;nbsp; .......PV.....E.&lt;br /&gt;
0x00000010 &amp;nbsp;00 4e cf e4 00 00 40 11 f1 98 ac 10 b0 01 ac 10 &amp;nbsp; .N....@.........&lt;br /&gt;
0x00000020 &amp;nbsp;b0 ff ee 81 00 89 00 3a 91 a0 1c 2e 01 10 00 01 &amp;nbsp; .......:........&lt;br /&gt;
0x00000030 &amp;nbsp;00 00 00 00 00 00 20 41 42 41 43 46 50 46 50 45 &amp;nbsp; .......ABACFPFPE&lt;br /&gt;
0x00000040 &amp;nbsp;4e 46 44 45 43 46 43 45 50 46 48 46 44 45 46 46 &amp;nbsp; NFDECFCEPFHFDEFF&lt;br /&gt;
0x00000050 &amp;nbsp;50 46 50 41 43 41 42 00 00 20 00 01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PFPACAB.....&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;--snip---&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;README.TXT&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/README.txt&quot;&gt;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/README.txt&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;ETHSCAN.PY&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/ethscan.py&quot;&gt;https://code.google.com/p/jamaal-re-tools/source/browse/volplugins/ethscan.py&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks to&amp;nbsp;&lt;a href=&quot;http://mnin.blogspot.com/&quot;&gt;MHL&lt;/a&gt;, &lt;a href=&quot;http://gleeda.blogspot.com/&quot;&gt;Jamie&lt;/a&gt; and &lt;a href=&quot;http://siliconblade.blogspot.com/&quot;&gt;Cem&lt;/a&gt;&amp;nbsp;for your help in learning the Volatility Framework. &amp;nbsp;Your input was invaluable. &amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/983227883200097819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2013/07/ethscan-volatility-memory-forensics.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/983227883200097819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/983227883200097819'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2013/07/ethscan-volatility-memory-forensics.html' title='Ethscan: volatility memory forensics framework plugin for recovering Ethernet frames from memory.'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-1789922558053916098</id><published>2013-06-22T19:07:00.004-07:00</published><updated>2013-06-22T22:48:24.921-07:00</updated><title type='text'>Volatility 2.2 Class/Api Documentation </title><content type='html'>&lt;br /&gt;
Learning how to create plugins for&amp;nbsp;Volatility is forcing me to learn and understand&amp;nbsp;object oriented programming in python which is great. &amp;nbsp;To help out I generated some documentation for the framework using pydoctor. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://jamaal-re-tools.googlecode.com/git/voldocs/index.html&quot;&gt;https://jamaal-re-tools.googlecode.com/git/voldocs/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Some items are missing from the generated documentation. &amp;nbsp;They are listed below. &lt;br /&gt;
&lt;br /&gt;
volatility.scan.PoolScanner.object_offset&lt;br /&gt;
volatility.plugins.procdump.ProcExeDump.dump_pe&lt;br /&gt;
volatility.plugins.malware.idt.IDT.get_section_name&lt;br /&gt;
volatility.plugins.malware.malfind.MalwareEPROCESS.get_vads&lt;br /&gt;
volatility.plugins.malware.malfind.MalwareEPROCESS.search_process_memory&lt;br /&gt;
volatility.plugins.malware.malfind.VadYaraScanner.__init__&lt;br /&gt;
volatility.plugins.vadinfo.VADDump.dump_vad&lt;br /&gt;
volatility.plugins.gui.win32k_core._MM_SESSION_SPACE._section_chunks&lt;br /&gt;
volatility.plugins.gui.win32k_core._RTL_ATOM_TABLE.find_atom&lt;br /&gt;
volatility.plugins.gui.sessions.SessionsMixin.session_spaces&lt;br /&gt;
volatility.plugins.gui.sessions.SessionsMixin.find_session_space&lt;br /&gt;
volatility.obj.BaseObject.__nonzero__&lt;br /&gt;
volatility.plugins.overlays.windows.windows._UNICODE_STRING&lt;br /&gt;
volatility.plugins.overlays.windows.windows.WinTimeStamp.windows_to_unix_time&lt;br /&gt;
volatility.plugins.addrspaces.hibernate.WindowsHiberFileSpace32&lt;br /&gt;
volatility.plugins.registry.registryapi.RegistryApi.reg_get_currentcontrolset&lt;br /&gt;
volatility.cache&lt;br /&gt;
volatility.cache.CacheDecorator.__init__&lt;br /&gt;
volatility.conf&lt;br /&gt;
volatility.conf.ConfObject.add_option</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/1789922558053916098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2013/06/volatility-22-classapi-documentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/1789922558053916098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/1789922558053916098'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2013/06/volatility-22-classapi-documentation.html' title='Volatility 2.2 Class/Api Documentation '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-3596270209056828765</id><published>2013-06-13T03:39:00.002-07:00</published><updated>2014-06-26T01:45:23.998-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="malware"/><category scheme="http://www.blogger.com/atom/ns#" term="qextract"/><category scheme="http://www.blogger.com/atom/ns#" term="qextract.exe"/><category scheme="http://www.blogger.com/atom/ns#" term="reverseengineering"/><category scheme="http://www.blogger.com/atom/ns#" term="symantec"/><title type='text'>Symantec Quarantined VBN file decoder </title><content type='html'>pyqextract.py will decode Symantec quarantined vbn files. &amp;nbsp;Like many others I couldn&#39;t get qextract.exe to work so I wrote my own. &amp;nbsp;This decoder removes the magic bytes&amp;nbsp;Symantec adds to each file that is&amp;nbsp;quarantined. &amp;nbsp;The &quot;magic bytes&quot; break the IAT, data/code segments by offsetting everything in the executable. &lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Usage: $ python pyqextract.py &lt;b&gt;5BB7429F.VBN&lt;/b&gt;&amp;nbsp; out.exe&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;Updated version: 6/26/14&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Download &lt;a href=&quot;http://jamaal-re-tools.googlecode.com/git/pyqextract/pyqextract.py&quot;&gt;pyqextract.py&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/3596270209056828765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2013/06/symantec-quarantined-vbn-file-decoder.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/3596270209056828765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/3596270209056828765'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2013/06/symantec-quarantined-vbn-file-decoder.html' title='Symantec Quarantined VBN file decoder '/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-1089942307749106926</id><published>2012-01-20T00:25:00.000-08:00</published><updated>2012-01-20T00:25:18.615-08:00</updated><title type='text'>Another Python for Android Project</title><content type='html'>This project looks better than SL4A + Py4A. More to come.&lt;br /&gt;
&lt;a href=&quot;http://python-for-android.readthedocs.org/en/latest/index.html&quot;&gt;http://python-for-android.readthedocs.org/en/latest/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/1089942307749106926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/another-python-for-android-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/1089942307749106926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/1089942307749106926'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/another-python-for-android-project.html' title='Another Python for Android Project'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-8880529057170208157</id><published>2012-01-07T01:55:00.000-08:00</published><updated>2012-01-17T21:40:27.194-08:00</updated><title type='text'>Running Volatility Memory Forensics Framework on your android phone!</title><content type='html'>&lt;div&gt;
In this post i&#39;ll quickly show you how to build your own python&amp;nbsp;&lt;em style=&quot;background-color: white; font-family: arial, sans-serif; font-size: small; font-style: normal; font-weight: bold; line-height: 16px;&quot;&gt;egg&lt;/em&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: x-small; line-height: 16px;&quot;&gt;&amp;nbsp;distribution package for your Android phone and PY4A. &amp;nbsp;&lt;/span&gt;Volatility will be our example&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: x-small; line-height: 16px;&quot;&gt;distribution package&lt;/span&gt;&amp;nbsp;we will use.  You can use the steps below to build your own python egg files for other modules like&amp;nbsp;Pycrypto for example. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.volatilesystems.com/default/volatility&quot;&gt;Volatility&lt;/a&gt; = The best Memory Forensics Framework&lt;br /&gt;
Android with &lt;a href=&quot;http://code.google.com/p/android-scripting/&quot;&gt;sl4a&lt;/a&gt;  = Best mobile phone OS + Python!  &lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
Please read my past posts on getting &lt;a href=&quot;http://code.google.com/p/python-for-android/&quot;&gt;python&lt;/a&gt; running on your android.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
1) Get the android-ndk, uncompress it and setup exports like this: &lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$ &lt;b&gt;wget http://dl.google.com/android/ndk/android-ndk-r7-linux-x86.tar.bz2&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; tar xjvf android-ndk-r7-linux-x86.tar.bz2&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; &lt;/b&gt;&lt;b&gt;mkdir android-toolchain&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; export ANDROID_NDK=~/android-ndk-r7&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; &lt;/b&gt;&lt;b&gt;export ANDROID_NDK_TOOLCHAIN_ROOT=~/android-toolchain&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~$ &lt;b&gt;$ANDROID_NDK/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$ANDROID_NDK_TOOLCHAIN_ROOT&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Auto-config: --toolchain=arm-linux-androideabi-4.4.3&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Copying prebuilt binaries...&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Copying sysroot headers and libraries...&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Copying libstdc++ headers and libraries...&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Copying files to: /home/ff/android-toolchain&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Cleaning up...&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Done.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
2) Grab the Standalone library for compiling modules from &lt;a href=&quot;http://code.google.com/p/python-for-android/downloads/list&quot;&gt;http://code.google.com/p/python-for-android/downloads/list&lt;/a&gt; in this case we&#39;re getting&lt;b&gt; http://python-for-android.googlecode.com/files/python-lib_r16.zip  &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;From your $HOME directory &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
--&amp;gt; ff@shoryuken:~$&lt;b&gt; wget http://python-for-android.googlecode.com/files/python-lib_r16.zip &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Unzip &lt;b&gt;python-lib_r16.zip &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~$ &lt;b&gt;unzip python-lib_r16.zip &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Archive:  python-lib_r16.zip&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;  inflating: setup.sh                &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;  inflating: python.sh  &lt;/b&gt;             &lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;---------snip-------------------------------------&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
3) Make sure &lt;b&gt;python-setuptools&lt;/b&gt; is installed and grab &lt;b&gt;volatility&lt;/b&gt; and uncompress&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; sudo apt-get install python-setuptools&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
ff@shoryuken:~$&lt;b&gt; wget https://www.volatilesystems.com/volatility/2.0/volatility-2.0.tar.gz&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; tar zxvf volatility-2.0.tar.gz &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/plugins/&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/plugins/disablewarnings.py&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/plugins/example.py&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/plugins/verinfo.py&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0/contrib/plugins/psdispscan.py&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;b&gt;---------snip-------------------------------------&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4) Building the volatility egg,...&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Change into the volatility directory&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$ &lt;b&gt;cd volatility-2.0/&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;We need to update setup.py and setup.cfg. &amp;nbsp;&lt;/b&gt;&lt;b&gt;Add the following to the top of the setup.py file in the &lt;/b&gt;&lt;b&gt;volatility-2.0 directory.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: white; max-width: 70em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;from&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; py4a &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; patch_distutils
patch_distutils&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()
&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;
&lt;/b&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;b&gt;So the setup.py file should look like this....&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~/volatility-2.0$ &lt;b&gt;cat setup.py  | less&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;---------snip-------------------------------------&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA &lt;/div&gt;
&lt;div&gt;
#&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;from py4a import patch_distutils &amp;nbsp; &amp;nbsp;#Add these 2 lines to the top of the setp.py file&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;patch_distutils()&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
try:&lt;/div&gt;
&lt;div&gt;
from setuptools import setup&lt;/div&gt;
&lt;div&gt;
except ImportError:&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;---------snip-------------------------------------&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;
Edit your setup.cfg file to it looks like this:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~/volatility-2.0$&lt;b&gt; cat setup.cfg &lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
[egg_info]&lt;/div&gt;
&lt;div&gt;
tag_build = &lt;/div&gt;
&lt;div&gt;
tag_date = 0&lt;/div&gt;
&lt;div&gt;
tag_svn_revision = 0&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;[bdist_egg]&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;plat-name=linux-armv&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Source the python-lib setup.sh file from the volatility and build the egg..&lt;/b&gt;&lt;br /&gt;
ff@shoryuken:~/volatility-2.0$&lt;b&gt; source ../python-lib/setup.sh&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Build the egg file...&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
ff@shoryuken:~/volatility-2.0$ &lt;b&gt;python2.6 setup.py bdist_egg&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;running bdist_egg&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;running egg_info&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;writing volatility.egg-info/PKG-INFO&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;writing top-level names to volatility.egg-info/top_level.txt&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;writing dependency_links to volatility.egg-info/dependency_links.txt&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;reading manifest file &#39;volatility.egg-info/SOURCES.txt&#39;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;reading manifest template &#39;MANIFEST.in&#39;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;---------snip-------------------------------------&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;In ~&lt;/b&gt;&lt;b&gt;/volatility-2.0/dist you should see the file &quot;&lt;/b&gt;&lt;b&gt;volatility-2.0-py2.6.egg&quot;&lt;/b&gt;&lt;br /&gt;
ff@shoryuken:~/volatility-2.0/dist$&lt;b&gt; ls&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
volatility-2.0-py2.6.egg&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
5) Running Volatility on your android phone &lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Push the egg to your phone.  We place the file into the &lt;b&gt;/sdcard/Download directory like so..&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$ &lt;b&gt;~/android-sdks/platform-tools/adb push ~/volatility-2.0/dist/volatility-2.0-py2.6.egg /sdcard/Download&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;b&gt;Open Python for Android on your phone and click Import Modules&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBWOp-E2e4shD6PourRaJQadEy0LziEwUVuyyVJJhTm99boHnlBfQTjTl2RSkJ0KnCvksEDTbjOJlUEBHk15ESbVPQ0CqYYsmsjDXCJGBF7MMvPMZdbQM8OF-iPtUMs2mXL75TdSB43I/s1600/modinstall.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5698479018623414754&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBWOp-E2e4shD6PourRaJQadEy0LziEwUVuyyVJJhTm99boHnlBfQTjTl2RSkJ0KnCvksEDTbjOJlUEBHk15ESbVPQ0CqYYsmsjDXCJGBF7MMvPMZdbQM8OF-iPtUMs2mXL75TdSB43I/s400/modinstall.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Under the Import Module menu select volatility-2.0-py2.6.egg file.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72O7SaTJqt7Seg4YcM4jyFnEfcdhlfiK7wZkTouRNCukVfqosJkt1H9SAfLFCmXaXUvXtkclG2a4XpXcG0oeHNfnnqeSM3VXRIVUPY5F6vuuH_WqI9f4rE_TYLAId0lU3HLf1x1gvEiQ/s1600/modimport.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGR_PHOTO_ID_5698479329679582722&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj72O7SaTJqt7Seg4YcM4jyFnEfcdhlfiK7wZkTouRNCukVfqosJkt1H9SAfLFCmXaXUvXtkclG2a4XpXcG0oeHNfnnqeSM3VXRIVUPY5F6vuuH_WqI9f4rE_TYLAId0lU3HLf1x1gvEiQ/s400/modimport.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;You should get a message letting you know the module imported correctly.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEKUGoZqPK-Z4NBoVgWCtFsve39YY3XV4d1dIfNEGmcgAyOdHCwdgJjQhV9FvXrrfvp5WqKuH7RYH3QIafw3w5TNa-RLUE3MWlYGWlkGZhe6eYMEanmwI6DqY1GxwBFOIHqApnW3FADDc/s1600/volimported.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5698497696943352610&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEKUGoZqPK-Z4NBoVgWCtFsve39YY3XV4d1dIfNEGmcgAyOdHCwdgJjQhV9FvXrrfvp5WqKuH7RYH3QIafw3w5TNa-RLUE3MWlYGWlkGZhe6eYMEanmwI6DqY1GxwBFOIHqApnW3FADDc/s400/volimported.png&quot; style=&quot;height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Copy the main vol.py script to your phone&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;ff@shoryuken:~/volatility-2.0/dist$&lt;/span&gt;&lt;b&gt;&lt;b&gt;~/android-sdks/platform-tools/adb push&amp;nbsp;&lt;/b&gt;&lt;/b&gt;~/volatility-2.0/vol.py /sdcard/sl4a/scripts/&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Save the following script into a file called runvol.py:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;ff@shoryuken:~/volatility-2.0/dist$ &lt;/span&gt;&lt;b&gt;cat&amp;nbsp;runvol.py&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
import android&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
import os &lt;/div&gt;
&lt;div&gt;
import sys &lt;/div&gt;
&lt;div&gt;
droid = android.Android()&lt;/div&gt;
&lt;div&gt;
cmd = &quot;vol.py -h&quot;&lt;/div&gt;
&lt;div&gt;
#print os.path.realpath(os.path.dirname(sys.argv[0]))&lt;/div&gt;
&lt;div&gt;
os.system(&quot;/data/data/com.googlecode.pythonforandroid/files/python/bin/python /mnt/sdcard/sl4a/scripts/vol.py -f /mnt/sdcard/Download/xp.dmp pslist&quot;)&lt;/div&gt;
&lt;div&gt;
#os.system(&quot;/mnt/sdcard/sl4a/scripts/vol.py -h&quot;)&lt;/div&gt;
&lt;div&gt;
#print sys.executable&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-size: large;&quot;&gt;Dumping Memory with Qemu&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;In this example I&#39;ve made an memory image from Windows XP running on Qemu using pmemsave from the &lt;a href=&quot;http://en.wikibooks.org/wiki/QEMU/Monitor&quot;&gt;Qemu monitor&lt;/a&gt;.  I saved the memory image file to xp.dmp. The script will run pslist against the xp.dmp file.  For more information on getting a memory image using QEMU read&amp;nbsp;&lt;a href=&quot;http://web.cs.du.edu/~mitchell/forensics/projects/memory/Setup.pdf&quot;&gt;http://web.cs.du.edu/~mitchell/forensics/projects/memory/Setup.pdf&lt;/a&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;To help you out some in order to get the image size we take the windows XP memory image SIZE&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; text-align: -webkit-auto;&quot;&gt; times (1024^2) = mem_size. &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;So for example if we have a windows image running in qemu thats using 128megs of        memory, from the Qemu Monitor we would type: (&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, &#39;Courier New&#39;; font-size: 13px; line-height: 19px; text-align: -webkit-auto;&quot;&gt;CTRL-ALT-2 to enter Qemus monitor,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, &#39;Courier New&#39;; font-size: 13px; line-height: 19px; text-align: -webkit-auto;&quot;&gt;CTRL-ALT-1 to switch back to the OS)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;(qemu) pmemsave 0 &lt;span style=&quot;color: #222222;&quot;&gt;134217728 &lt;/span&gt;xp.dmp&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #222222;&quot;&gt;How did we get the number &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #222222;&quot;&gt;134217728? &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #222222;&quot;&gt;128 * (1024^2) = 134217728&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Above the command &quot;pmemsave 0 &lt;span style=&quot;color: #222222;&quot;&gt;134217728 &lt;/span&gt;xp.dmp&quot; breaks down like this &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;-&amp;gt; pmemsave - the command to save memory &lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;-&amp;gt; 0 is the first offset in memory to start from&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;-&amp;gt;&amp;nbsp;&lt;span style=&quot;color: #222222;&quot;&gt;134217728 (basically 128M) &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;-&amp;gt; xp.dmp (output file)&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;text-align: -webkit-auto;&quot;&gt;Next we need to copy this memory image to your phone....&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b style=&quot;color: #222222;&quot;&gt;Coping the memory image to your phones Download directory&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
ff@shoryuken:~$&lt;b&gt; ~/android-sdks/platform-tools/adb push &lt;span style=&quot;color: #222222; text-align: -webkit-auto;&quot;&gt;xp.dmp /sdcard/Download/xp.dmp&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Copy the runvol.py script (above) to /sdcard/sl4a/scripts/&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
ff@shoryuken:~$&lt;b&gt; &lt;/b&gt;&lt;b&gt;~/android-sdks/platform-tools/adb push runvol.py /sdcard/sl4a/scripts/&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;Open sl4a and click runvol.py&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;color: #222222; text-align: -webkit-auto;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguGWrFgLT37ao9C7_RtMdwf_XdLQgj1LFAB-PDG3U-j7tryZETqVXqU6hhHLuBm8tOc1WAi9sMa0cjNUIrZ22wlHej5bLV6NbCtesulmEhos2IZuz1ucjv28cVsEs-QySyYD6g3U7PfX8/s1600/volScript.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5698489129550392802&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguGWrFgLT37ao9C7_RtMdwf_XdLQgj1LFAB-PDG3U-j7tryZETqVXqU6hhHLuBm8tOc1WAi9sMa0cjNUIrZ22wlHej5bLV6NbCtesulmEhos2IZuz1ucjv28cVsEs-QySyYD6g3U7PfX8/s400/volScript.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;When you click on runvol.py select the black terminal box to the left and you should be reward with something like this!&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CTx7qbsrLYde4jqTiPHtixOyQNIVvILS-KDiXqkWCTat7CYnXP9wPyzKGfnz63dxn1xW2dvNpAGc_82_OieCCP5ryC2BPr-yExMGtMR5mYeQbv4-ZHHg-P_G3gjTItcJxoJ7AyDlhBU/s1600/volrunning.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5698489885342349810&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CTx7qbsrLYde4jqTiPHtixOyQNIVvILS-KDiXqkWCTat7CYnXP9wPyzKGfnz63dxn1xW2dvNpAGc_82_OieCCP5ryC2BPr-yExMGtMR5mYeQbv4-ZHHg-P_G3gjTItcJxoJ7AyDlhBU/s400/volrunning.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;Ignore the Traceback error for now, however if you&#39;ve gotten this far you&#39;ve installed Volatility on your phone!  We can update the script to run &quot;volshell&quot;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;In the runvol.py script change:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;os.system(&quot;/data/data/com.googlecode.pythonforandroid/files/python/bin/python /mnt/sdcard/sl4a/scripts/vol.py -f /mnt/sdcard/Download/xp.dmp &lt;b&gt;pslist&lt;/b&gt;&quot;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;To..&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
os.system(&quot;/data/data/com.googlecode.pythonforandroid/files/python/bin/python /mnt/sdcard/sl4a/scripts/vol.py -f /mnt/sdcard/Download/xp.dmp &lt;b&gt;volshell&lt;/b&gt;&quot;)&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;And repush the script to your phone&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
ff@shoryuken:&lt;b&gt;~/android-sdks/platform-tools$ ./adb push runvol.py /sdcard/sl4a/scripts/&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;On your phone rerun the runvol.py script and type hh() and ps() for example like so&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVe62ePpSpNi_g8AZLj8QFFfCEH23q-KOqbbB-RphOQtzPqpaSxjbWbp_529H7Qts8uW6IDf-XrN_0iOB2jz0BvvWDnAEjNvVQVu0hveXrJVaM2gdqTbiSqNw977-0v5VnP14KeEWoj7k/s1600/volshell.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5698491607850368290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVe62ePpSpNi_g8AZLj8QFFfCEH23q-KOqbbB-RphOQtzPqpaSxjbWbp_529H7Qts8uW6IDf-XrN_0iOB2jz0BvvWDnAEjNvVQVu0hveXrJVaM2gdqTbiSqNw977-0v5VnP14KeEWoj7k/s1600/volshell.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 400px; width: 225px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #222222;&quot;&gt;This post showed you how to build and import a python egg file for&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.volatilesystems.com/default/volatility&quot;&gt;The Volatility Framework&lt;/a&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp;running&lt;/span&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&amp;nbsp;on your android phone with &lt;a href=&quot;http://code.google.com/p/android-scripting/&quot;&gt;python 4 android&lt;/a&gt;. &amp;nbsp;&lt;/span&gt;Now you can do memory forensics from anywhere!&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://i.imgur.com/2nLwd.gif&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://i.imgur.com/2nLwd.gif&quot; style=&quot;cursor: hand; cursor: pointer; height: 288px; width: 335px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/8880529057170208157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/running-volatility-memory-forensics-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8880529057170208157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8880529057170208157'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/running-volatility-memory-forensics-on.html' title='Running Volatility Memory Forensics Framework on your android phone!'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjBWOp-E2e4shD6PourRaJQadEy0LziEwUVuyyVJJhTm99boHnlBfQTjTl2RSkJ0KnCvksEDTbjOJlUEBHk15ESbVPQ0CqYYsmsjDXCJGBF7MMvPMZdbQM8OF-iPtUMs2mXL75TdSB43I/s72-c/modinstall.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-552818673162308258</id><published>2012-01-05T14:51:00.000-08:00</published><updated>2012-01-05T14:55:45.487-08:00</updated><title type='text'>The Mobile Malware mini dump</title><content type='html'>If you&#39;re researching malware on android this page is a wonderful resource for malware samples.  &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://contagiominidump.blogspot.com/&quot;&gt;http://contagiominidump.blogspot.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/552818673162308258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/mobile-malware-mini-dump.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/552818673162308258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/552818673162308258'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/mobile-malware-mini-dump.html' title='The Mobile Malware mini dump'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-2720149824642780086</id><published>2012-01-03T13:38:00.001-08:00</published><updated>2012-01-05T14:51:08.703-08:00</updated><title type='text'>App Inventor for Android</title><content type='html'>I came across this on the way, it looks promising.  &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.appinventorbeta.com/about/&quot;&gt;http://www.appinventorbeta.com/about/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/2720149824642780086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/app-inventor-for-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/2720149824642780086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/2720149824642780086'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/app-inventor-for-android.html' title='App Inventor for Android'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-8275763361439827302</id><published>2012-01-01T16:57:00.000-08:00</published><updated>2012-01-01T17:04:50.885-08:00</updated><title type='text'>How to increase the internal partition size an emulated android device</title><content type='html'>By default the Android emulator will run only using a small amount of memory and you&#39;ll run out quick.  Here&#39;s how to increase the memory size without recreating your emulation avd&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;-partition-size 512 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example Script &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;ff@shoryuken:~/android-sdks/tools$ more phoneup.sh &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#Phone up script &lt;br /&gt;#device A &lt;br /&gt;sudo umount /home/ff/android-sdks/tools/a&lt;br /&gt;sudo mount -o loop smsAC /home/ff/android-sdks/tools/a&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;./emulator -partition-size 512 -avd smsA -sdcard ./smsAC &amp; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;ff@shoryuken:~/android-sdks/tools$&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/8275763361439827302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/how-to-increase-internal-partition-size.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8275763361439827302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8275763361439827302'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/how-to-increase-internal-partition-size.html' title='How to increase the internal partition size an emulated android device'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-8736012950160637226</id><published>2012-01-01T09:23:00.000-08:00</published><updated>2012-01-01T09:29:18.933-08:00</updated><title type='text'>QR Code Generator</title><content type='html'>Use &lt;a href=&quot;http://zxing.appspot.com/&quot;&gt;http://zxing.appspot.com/&lt;/a&gt; to create your own 2D barcodes&lt;br /&gt;  &lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEQ4i87P06OSeXXaC0rv1kSZ_r2z2h2KcGNMMhzSp5KTesfaR956abE0T-5VkrfiNBfRH1OHVMY_7ITAloFOAH7UE4RKGFn3UuCBcVG0tCwrvxAaOUhfbtZIyJfNEOzHrUcseqXQgJI5U/s1600/chart.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 350px; height: 350px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEQ4i87P06OSeXXaC0rv1kSZ_r2z2h2KcGNMMhzSp5KTesfaR956abE0T-5VkrfiNBfRH1OHVMY_7ITAloFOAH7UE4RKGFn3UuCBcVG0tCwrvxAaOUhfbtZIyJfNEOzHrUcseqXQgJI5U/s400/chart.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5692715627588533122&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/8736012950160637226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/qr-code-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8736012950160637226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/8736012950160637226'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2012/01/qr-code-generator.html' title='QR Code Generator'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEQ4i87P06OSeXXaC0rv1kSZ_r2z2h2KcGNMMhzSp5KTesfaR956abE0T-5VkrfiNBfRH1OHVMY_7ITAloFOAH7UE4RKGFn3UuCBcVG0tCwrvxAaOUhfbtZIyJfNEOzHrUcseqXQgJI5U/s72-c/chart.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-6972420530516271400</id><published>2011-12-31T13:04:00.000-08:00</published><updated>2011-12-31T17:49:18.038-08:00</updated><title type='text'>Creating an Android Emulator Quickly</title><content type='html'>Here&#39;s how to setup an Android Phone emulator, make sure the SDK + tools are installed (see my first post).  You might have multiple Android SDK target versions to see which Android versions you have installed run the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;ff@shoryuken:~/android-sdks/tools$ ./android list&lt;/span&gt;&lt;br /&gt;Available Android targets:&lt;br /&gt;----------&lt;br /&gt;id: 1 or &quot;android-7&quot;&lt;br /&gt;     Name: Android 2.1&lt;br /&gt;     Type: Platform&lt;br /&gt;     API level: 7&lt;br /&gt;     Revision: 3&lt;br /&gt;     Skins: WQVGA400, WQVGA432, HVGA, WVGA800 (default), WVGA854, QVGA&lt;br /&gt;     ABIs : armeabi&lt;br /&gt;----------&lt;br /&gt;id: 2 or &quot;android-14&quot;&lt;br /&gt;     Name: Android 4.0&lt;br /&gt;     Type: Platform&lt;br /&gt;     API level: 14&lt;br /&gt;     Revision: 3&lt;br /&gt;     Skins: WQVGA400, WQVGA432, HVGA, WVGA800 (default), WXGA720, WSVGA, WVGA854, QVGA, WXGA800&lt;br /&gt;     ABIs : no ABIs.&lt;br /&gt;----------&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;id: 3 or &quot;android-15&quot;&lt;/span&gt;&lt;br /&gt;     Name: Android 4.0.3&lt;br /&gt;     Type: Platform&lt;br /&gt;     API level: 15&lt;br /&gt;     Revision: 1&lt;br /&gt;     Skins: WQVGA400, WQVGA432, HVGA, WVGA800 (default), WXGA720, WSVGA, WVGA854, QVGA, WXGA800&lt;br /&gt;     ABIs : armeabi-v7a&lt;br /&gt;----------&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;id: 4 or &quot;Google Inc.:Google APIs:15&quot;&lt;br /&gt;&lt;/span&gt;     Name: Google APIs&lt;br /&gt;     Type: Add-On&lt;br /&gt;     Vendor: Google Inc.&lt;br /&gt;     Revision: 1&lt;br /&gt;     Description: Android + Google APIs&lt;br /&gt;     Based on Android 4.0.3 (API level 15)&lt;br /&gt;     Libraries:&lt;br /&gt;      * com.google.android.media.effects (effects.jar)&lt;br /&gt;          Collection of video effects&lt;br /&gt;      * com.android.future.usb.accessory (usb.jar)&lt;br /&gt;          API for USB Accessories&lt;br /&gt;      * com.google.android.maps (maps.jar)&lt;br /&gt;          API for Google Maps&lt;br /&gt;     Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, QVGA, WVGA800 (default), WXGA800&lt;br /&gt;     ABIs : armeabi-v7a&lt;br /&gt;Available Android Virtual Devices:&lt;br /&gt;    Name: galaxy&lt;br /&gt;    Path: /home/ff/.android/avd/galaxy.avd&lt;br /&gt;  Target: Android 4.0.3 (API level 15)&lt;br /&gt;     ABI: armeabi-v7a&lt;br /&gt;    Skin: WVGA800&lt;br /&gt;&lt;br /&gt;In my case I would like to emulate id 4 (&quot;id: 4 or &quot;Google Inc.:Google APIs:15&quot;&lt;br /&gt;&quot;) so I would run the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;ff@shoryuken:~/android-sdks/tools$ ./android create avd -n phoneA -t 4&lt;/span&gt;&lt;br /&gt;Created AVD &#39;phoneA&#39; based on Google APIs (Google Inc.), ARM (armeabi-v7a) processor,&lt;br /&gt;with the following hardware config:&lt;br /&gt;hw.lcd.density=240&lt;br /&gt;vm.heapSize=48&lt;br /&gt;hw.ramSize=512&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now to run the emulator we type: &lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;ff@shoryuken:~/android-sdks/tools$ ./emulator -avd phoneA &amp;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpJg89ojlBRhlSTY4H5t8CfJsbKaM6XwLUyCC2O39GrDIJ_r2vi2S_JY2bJaod1mK6XwFms0jFfjOY9SEU-e4uOzzjTuqu6aoYFa_B7VfUI4l3GAGr4suzm92OLyHshlCgOocwarXsn_Q/s1600/emulator2.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 400px; height: 225px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpJg89ojlBRhlSTY4H5t8CfJsbKaM6XwLUyCC2O39GrDIJ_r2vi2S_JY2bJaod1mK6XwFms0jFfjOY9SEU-e4uOzzjTuqu6aoYFa_B7VfUI4l3GAGr4suzm92OLyHshlCgOocwarXsn_Q/s400/emulator2.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5692409602246877282&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We&#39;re done!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Getting the SDcard can be found here.  &lt;/span&gt;&lt;br /&gt;http://blog.jayway.com/2009/04/22/working-with-sd-cards-in-the-android-emulator/&lt;br /&gt;&lt;br /&gt;The quick version is simply cd into the tools directory under the android sdk:&lt;br /&gt;&lt;br /&gt;$ cd /home/ff/android-sdks/tools&lt;br /&gt;$ ff@shoryuken:~/android-sdks/tools$./mksdcard 128M phoneAsdCard&lt;br /&gt;$ ff@shoryuken:~/android-sdks/tools$ mkdir sdcardA&lt;br /&gt;$ ff@shoryuken:~/android-sdks/tools$ sudo mount -o loop phoneAsdCard sdcardA/&lt;br /&gt;$ ff@shoryuken:~/android-sdks/tools$ ./emulator -avd phoneA -sdcard ./phoneAsdCard</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/6972420530516271400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/creating-android-emulator-quickly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6972420530516271400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/6972420530516271400'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/creating-android-emulator-quickly.html' title='Creating an Android Emulator Quickly'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-5154964555497699290</id><published>2011-12-31T12:51:00.000-08:00</published><updated>2011-12-31T12:55:46.349-08:00</updated><title type='text'>Reading Google Books offline in Ubuntu</title><content type='html'>If you want to read your google ebooks, install the &quot;Google Ebooks App&quot; for Chrome found here:  &lt;br /&gt;https://chrome.google.com/webstore/detail/mmimngoggfoobjdlefbcabngfnmieonb&lt;br /&gt;&lt;br /&gt;One installed click Launch App which will take you here.  &quot;http://books.google.com/ebooks/app&quot; &lt;br /&gt;&lt;br /&gt;Under each book, select &quot;Make Available offline&quot; and bookmark the page &quot;http://books.google.com/ebooks/app&quot;  &lt;br /&gt;&lt;br /&gt;The plugin will download your ebook and now you don&#39;t have to be online in order to read your books anymore while on your computer :)</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/5154964555497699290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/reading-google-books-offline-in-ubuntu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/5154964555497699290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/5154964555497699290'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/reading-google-books-offline-in-ubuntu.html' title='Reading Google Books offline in Ubuntu'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-287187009535067907</id><published>2011-12-20T20:23:00.000-08:00</published><updated>2011-12-24T16:11:50.596-08:00</updated><title type='text'>Installing Scripting Layer for Android, Android SDK and Python Quickly on Ubuntu plus sending yourself an SMS</title><content type='html'>If you have Attention deficit hyperactivity disorder like me or don&#39;t want to read 40 pages for something that should take 5 minutes to install this blog is for you.  If you want to read 40 pages about stuff you really don&#39;t care about (apple press) just to install python on Android here&#39;s the &lt;a href=&quot;http://books.google.com/books/about/Pro_Android_Scripting_with_SL4A_Writing.html?id=uYEmWet7QtsC&quot;&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Else lets go, If you&#39;re rocken linux get the &lt;a href=&quot;http://dl.google.com/android/android-sdk_r16-linux.tgz&quot;&gt;sdk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#If need be read my first post &lt;a href=&quot;http://jamaaldev.blogspot.com/2011/12/getting-eclipse-and-android-sdk-working.html&quot;&gt;on getting java 32bit or the 64bit version with ia32-lib installed &lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;#Using the barcode scanner install &lt;a href=&quot;http://code.google.com/p/android-scripting/&quot;&gt;SL4A&lt;/a&gt;  and &lt;a href=&quot;http://code.google.com/p/android-scripting/downloads/detail?name=PythonForAndroid_r4.apk&quot;&gt;Python for Android&lt;/a&gt; Both programs need to be installed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Installing the SDK&lt;/span&gt;&lt;br /&gt;$ tar zxvf android-sdk_r15-linux.tgz&lt;br /&gt;$ android-sdk-linux/tools/android     #execute the installer&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-EvAgH45tSNVrp3tKTqkl9Cu3MLYy3cWRq0h_nohA73NglPh1BSDP7oDviJHK9HJy08umX72YD6L6drY4vjeaOQJSY3QQhRpHYAurX10holbmBy-B2suZZpfTfNzsdCz3ebnsiHS-4CA/s1600/blogsdk.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 356px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-EvAgH45tSNVrp3tKTqkl9Cu3MLYy3cWRq0h_nohA73NglPh1BSDP7oDviJHK9HJy08umX72YD6L6drY4vjeaOQJSY3QQhRpHYAurX10holbmBy-B2suZZpfTfNzsdCz3ebnsiHS-4CA/s400/blogsdk.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5688520868304502642&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Select Tools, Android 4.0.3 and Extra, you should have around 14 packages in the bottom right hand corner to install.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Once installed on the phone click on Settings -&amp;gt; Developer options&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAQQgb1xO1YowAAVKUqwl4T950FDEWzd62GIn3z35cbFnQ3HfygRzy0Tfia_1VxQoTShF_Bpiq1meWYA9QLIsIv9TwOVcdGWbLLtykrysbqxxPqRmgCd1q2PZsLCfei57mMIafjUa4GY0/s1600/Settings.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 225px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAQQgb1xO1YowAAVKUqwl4T950FDEWzd62GIn3z35cbFnQ3HfygRzy0Tfia_1VxQoTShF_Bpiq1meWYA9QLIsIv9TwOVcdGWbLLtykrysbqxxPqRmgCd1q2PZsLCfei57mMIafjUa4GY0/s400/Settings.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5689525921243027090&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;# Under Developer options Select USB debugging and Stay awake&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie6qkHDU4EHwE_KPm0yx8R0pUiauQIcGpDDTv9Rk0XvizJ-xINKE2LtTZIFzXddccCm-npmUesW3qMniz4A90bF3lWIFmU6N3cFkL7CPTpFrh-kobcP2XmLRLdfdfi5TB4ze-rPnd6se0/s1600/usbdebugging.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 225px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie6qkHDU4EHwE_KPm0yx8R0pUiauQIcGpDDTv9Rk0XvizJ-xINKE2LtTZIFzXddccCm-npmUesW3qMniz4A90bF3lWIFmU6N3cFkL7CPTpFrh-kobcP2XmLRLdfdfi5TB4ze-rPnd6se0/s400/usbdebugging.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5689526613215152594&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;#Back in Ubuntu in your home directory &quot;cd&quot; into ~/android-sdks/platform-tools directory and add the following script to a file called adbserver.sh, don&#39;t forget to chmod ug+x adbserver.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#adbserver.sh server script to start python server on android&lt;/span&gt;&lt;br /&gt;./adb shell am start -a com.googlecode.android_scripting.action.LAUNCH_SERVER \&lt;div&gt;-n com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher \&lt;/div&gt;&lt;div&gt;--ei com.googlecode.android_scripting.extra.USE_SERVICE_PORT 45001&lt;/div&gt;&lt;div&gt;port=`./adb logcat -d | grep &quot;Bound to&quot; | tail -n 1  | grep &#39;127.0.0.1&#39; | sed -e &#39;s/.*://g&#39;`&lt;/div&gt;&lt;div&gt;./adb forward tcp:9999 tcp:$port&lt;br /&gt;export AP_PORT=9999&lt;br /&gt;echo &quot;server started on port:$port&quot;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijvHobRNSShv9Ln1-cfDQm5hgmJOqQJ7tYs-EwMhyEC5Q8x3qdGB1KAGaKOVfHvkiqQKtmhyvBVzio-xg2ZD8xBXmifRI3mcaDdk3h88ddRVSySSdmEqCAF5pYCBoDcsXLZMsuibJE5wo/s1600/adbserverscript.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 400px; height: 40px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijvHobRNSShv9Ln1-cfDQm5hgmJOqQJ7tYs-EwMhyEC5Q8x3qdGB1KAGaKOVfHvkiqQKtmhyvBVzio-xg2ZD8xBXmifRI3mcaDdk3h88ddRVSySSdmEqCAF5pYCBoDcsXLZMsuibJE5wo/s400/adbserverscript.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5689841983751021474&quot; /&gt;&lt;/a&gt;&lt;br /&gt;(for some reason the USE_SERVICE_PORT option doesn&#39;t work, however the script takes care of this)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#On the phone from the top window drop down you can see the server running.  It&#39;s in dark grey and extremely hard to see.  &lt;/span&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrDFL4YsDwjtK1okCDsqWUJwniwgy5AO6jyR7I2QezXPuQ2U6FszAFW3DYyjEnPLnXbMQIoKttp3hs_ZTOWDKge1KMcQii1u4RmeM_spKMIGbEZpO7dXHePGtIEUa8W9KhaPg_d6f6-wI/s1600/pulldown.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 225px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrDFL4YsDwjtK1okCDsqWUJwniwgy5AO6jyR7I2QezXPuQ2U6FszAFW3DYyjEnPLnXbMQIoKttp3hs_ZTOWDKge1KMcQii1u4RmeM_spKMIGbEZpO7dXHePGtIEUa8W9KhaPg_d6f6-wI/s400/pulldown.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5689842538450897826&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#If you click on the server listing, it will bring you to the following screen showing the server port on 42409&lt;/span&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUFWthL4K9hEqv97xLDnC6BJt8hccBSwpRQITIkwBtQ4C7cF4sIHZS4K3D4JkLrBmJWFE-15BUdsgJ1KtclYUjht-2layC-PTuiv948u66Sx3jCZPsbCarDgrSKAsTNZhTs0gD4hohBc8/s1600/serverrunning.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 225px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUFWthL4K9hEqv97xLDnC6BJt8hccBSwpRQITIkwBtQ4C7cF4sIHZS4K3D4JkLrBmJWFE-15BUdsgJ1KtclYUjht-2layC-PTuiv948u66Sx3jCZPsbCarDgrSKAsTNZhTs0gD4hohBc8/s400/serverrunning.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5689842857817545378&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#We need to move android.py from the phone to python2.6 ubuntu&#39;s python2.6 dist-packages directory. Make sure python2.6 is installed.  &lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;$ ./adb pull /sdcard/com.googlecode.pythonforandroid/extras/python/android.py .&lt;br /&gt;$ sudo cp android.py /usr/local/lib/python2.6/dist-packages/&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Add the following to hellosms.py and run it using python2.6 &lt;br /&gt;&lt;/span&gt;import android &lt;br /&gt;droid = android.Android()&lt;br /&gt;droid.smsSend(&quot;9999999999&quot;, &quot;testing&quot;)  #replace 9999999999 with your number&lt;br /&gt;&lt;br /&gt;$ python2.6 hellosms.py &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#You should get a text from yourself to yourself and you&#39;re done! I hope this helps.&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/287187009535067907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/installing-scripting-layer-for-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/287187009535067907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/287187009535067907'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/installing-scripting-layer-for-android.html' title='Installing Scripting Layer for Android, Android SDK and Python Quickly on Ubuntu plus sending yourself an SMS'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-EvAgH45tSNVrp3tKTqkl9Cu3MLYy3cWRq0h_nohA73NglPh1BSDP7oDviJHK9HJy08umX72YD6L6drY4vjeaOQJSY3QQhRpHYAurX10holbmBy-B2suZZpfTfNzsdCz3ebnsiHS-4CA/s72-c/blogsdk.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8690909935651405396.post-5463310233071047147</id><published>2011-12-15T23:20:00.000-08:00</published><updated>2011-12-16T15:19:32.360-08:00</updated><title type='text'>Getting Eclipse and ADT working on Ubuntu 64</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Getting Eclipse to run on Ubuntu 11.10 64bit with the Android Development Tools (32bit).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is how I was able to get the Android Development Tools working on my Ubuntu 11.10 64bit machine.  The problem is that when you install eclipse using apt-get, you&#39;ll get the 64bit version, however the android sdk needs a 32bit version of java.  We can solve this issue by installing both the 64bit and 32bit versions of Java, this is how I did it.  &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#install the ia32-libs so you can run 32bit apps and shit &lt;br /&gt;&lt;/span&gt;$ apt-get --reinstall install ia32-libs-multiarch ia32-libs&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#install eclipse, this will install the 64bit version  &lt;br /&gt;&lt;/span&gt;$ apt-get install eclipse&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Get Oracles 32bit and 64 bit version of JDK  &lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html&quot;&gt;http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Decompress each tarball and rename the 64 bit folder and move both the /usr/lib/jvm&lt;br /&gt;&lt;/span&gt;$ mv jdk1.7.0_02/ /usr/lib/jvm/    &lt;---mv 32bit version to /usr/lib/jvm &lt;br /&gt;$ mv jdk1.7.0_02/ jdk64_1.7.0_0    &lt;---rename 64bit version  &lt;br /&gt;$ mv  jdk64_1.7.0_0 /usr/lib/jvm   &lt;---mv 64 bit version &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Chown dem bitches &lt;br /&gt;&lt;/span&gt;$ chown -R root:root /usr/lib/jvm/jdk1.7.0_02/&lt;br /&gt;$ chown -R root:root /usr/lib/jvm/jdk64_1.7.0_02/&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Select the JDK using the following steps from  &lt;a href=&quot;http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html&quot;&gt;http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html&lt;/a&gt;  &lt;/span&gt;&lt;br /&gt;$ add-apt-repository ppa:nilarimogard/webupd8&lt;br /&gt;$ apt-get update&lt;br /&gt;$ apt-get install update-java&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#run update-java so Android SDK will us 32bit version &lt;br /&gt;&lt;/span&gt;$ update-java (and select the 32 bit version (jdk1.7.0_02))&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#update /etc/eclipse.ini to make eclipse run the 64 version of java &lt;br /&gt;#nano /etc/eclipse.ini add the first two lines below &lt;br /&gt;#-vm &lt;br /&gt;#/usr/lib/jvm/jdk64_1.7.0_02/bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ cat /etc/eclipse.ini &lt;br /&gt;-vm &lt;br /&gt;/usr/lib/jvm/jdk64_1.7.0_02/bin&lt;br /&gt;-startup&lt;br /&gt;plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar&lt;br /&gt;--launcher.library&lt;br /&gt;plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist&lt;br /&gt;-showsplash&lt;br /&gt;org.eclipse.platform&lt;br /&gt;--launcher.XXMaxPermSize&lt;br /&gt;256m&lt;br /&gt;--launcher.defaultAction&lt;br /&gt;openFile&lt;br /&gt;-vmargs&lt;br /&gt;-Xms40m&lt;br /&gt;-Xmx384m&lt;br /&gt;-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Run eclipse and install ADT (Android Development Tools) &lt;/span&gt;&lt;a href=&quot;http://developer.android.com/sdk/eclipse-adt.html&quot;&gt;http://developer.android.com/sdk/eclipse-adt.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#If you get the following error after installing ADT &lt;/span&gt;Software being installed: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) Missing requirement: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) requires &#39;org.eclipse.wst.sse.core 0.0.0&#39; but it could not be found&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Here is the fix&lt;/span&gt; &lt;br /&gt;&lt;a href=&quot;http://stackoverflow.com/questions/6482268/eclipse-indigo-cannot-install-android-adt-plugin&quot;&gt;http://stackoverflow.com/questions/6482268/eclipse-indigo-cannot-install-android-adt-plugin&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;#Next read &lt;a href=&quot;http://developer.android.com/sdk/adding-components.html&quot;&gt;http://developer.android.com/sdk/adding-components.html&lt;/a&gt; to get the SDK and other comopnents working &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#b00m</content><link rel='replies' type='application/atom+xml' href='http://jamaaldev.blogspot.com/feeds/5463310233071047147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/getting-eclipse-and-android-sdk-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/5463310233071047147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8690909935651405396/posts/default/5463310233071047147'/><link rel='alternate' type='text/html' href='http://jamaaldev.blogspot.com/2011/12/getting-eclipse-and-android-sdk-working.html' title='Getting Eclipse and ADT working on Ubuntu 64'/><author><name>K</name><uri>http://www.blogger.com/profile/04041702163714098785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>