<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Richie86's Life!!</title>
	<atom:link href="http://richie86.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://richie86.wordpress.com</link>
	<description>It's all about me!!</description>
	<lastBuildDate>Thu, 17 Nov 2011 11:17:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='richie86.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Richie86's Life!!</title>
		<link>http://richie86.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://richie86.wordpress.com/osd.xml" title="Richie86&#039;s Life!!" />
	<atom:link rel='hub' href='http://richie86.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Unpacking Themida/WinLicense 1.8.x</title>
		<link>http://richie86.wordpress.com/2008/01/24/unpacking-themidawinlicense-18x/</link>
		<comments>http://richie86.wordpress.com/2008/01/24/unpacking-themidawinlicense-18x/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 23:21:24 +0000</pubDate>
		<dc:creator>Richie86</dc:creator>
				<category><![CDATA[Reverse Engineering]]></category>

		<guid isPermaLink="false">http://richie86.wordpress.com/2008/01/24/unpacking-themidawinlicense-18x/</guid>
		<description><![CDATA[Title: Unpacking Themida/WinLicense 1.8.x Author: Richie86 Tool Preparation: OD + Phantom + okdodo script + PEiD + ImportRec Packer Used: WinLicense 1.8.9.0 Software Name: Cpp1.exe Software Size: 152Kb(Original), 1.37Mb(Packed) Operating System: Windows XP SP2 Cpp1.exe (Packed) Download Cpp1_src.exe (Non Packed) Download &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Software Introduction: 1. OD Also known as OllyDbg. It&#8217;s a 32-bit assembler level [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=richie86.wordpress.com&amp;blog=2364056&amp;post=9&amp;subd=richie86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Title:</b> Unpacking Themida/WinLicense 1.8.x<br />
<b>Author:</b> Richie86<br />
<b>Tool Preparation:</b> OD + Phantom + okdodo script + PEiD + ImportRec<br />
<b>Packer Used:</b> WinLicense 1.8.9.0<br />
<b>Software Name:</b> Cpp1.exe<br />
<b>Software Size:</b> 152Kb(Original), 1.37Mb(Packed)<br />
<b>Operating System:</b> Windows XP SP2</p>
<p>Cpp1.exe (Packed) <a href="http://www.sendspace.com/file/wh2dly">Download</a><br />
Cpp1_src.exe (Non Packed) <a href="http://www.sendspace.com/file/qsid8s">Download</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><b>Software Introduction:</b><br />
1. OD<br />
Also known as OllyDbg. It&#8217;s a 32-bit assembler level analysis debugger. Powerful tool to analyze 32-bit assembler. More info see <a href="http://en.wikipedia.org/wiki/OllyDbg" title="http://en.wikipedia.org/wiki/OllyDbg" target="_blank">http://en.wikipedia.org/wiki/OllyDbg</a></p>
<p>2. Phantom<br />
It&#8217;s a plugin for OllyDbg. Used to prevent the OllyDbg from being detected by anti-debugger engine for Themida/WInLicense.</p>
<p>3. okdodo script<br />
This is the unpack script we will use in this tutorial.</p>
<p>4. PEiD<br />
PEiD detects most common packers, cryptors and compilers for PE files. It can currently detect more than 600 different signatures in PE files.</p>
<p>5. ImpportRec<br />
Import Reconstructor is a tool that used to fix the IAT of dump image and reconstruct them.</p>
<p>You can get these tool easily from <a href="http://www.unpack.cn" title="http://www.unpack.cn" target="_blank">http://www.unpack.cn</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Okay let&#8217;s get started.</p>
<p>First we have to determine what is the packer first. Drag Cpp1.exe into PEiD. You will need the latest signature database. Here we found it&#8217;s pack with Themida/WinLicense 1.8.2.0 above.<br />
<a href="http://richie86.files.wordpress.com/2008/01/peid.jpg" title="PeID"><img src="http://richie86.files.wordpress.com/2008/01/peid.jpg" alt="PeID" /></a><br />
Start your ollydbg, make sure your phantom setting is like below. Configure it by pressing Plugin&gt;Phantom&gt;Option . You will need to restart ollydbg for setting to take effect.<br />
<a href="http://richie86.files.wordpress.com/2008/01/phantom-opt.jpg" title="Phantom Setting"><img src="http://richie86.files.wordpress.com/2008/01/phantom-opt.jpg" alt="Phantom Setting" /></a></p>
<p>After that drag Cpp1.exe into ollydbg. See the yellow line in main thread. B8 00 00 00 60, common entry point used by Themida/WinLicense.<br />
<a href="http://richie86.files.wordpress.com/2008/01/load.jpg" title="load.jpg"><img src="http://richie86.files.wordpress.com/2008/01/load.thumbnail.jpg" alt="load.jpg" /></a><br />
Pressing ALT+M to switch into Memory Map tab. Drag down a little bit the list and you will found msvcrt on PE Header. Shows that this EXE is using C++ Runtime.<br />
<a href="http://richie86.files.wordpress.com/2008/01/c.jpg" title="C++"><img src="http://richie86.files.wordpress.com/2008/01/c.thumbnail.jpg" alt="C++" /></a></p>
<p>Let&#8217;s continue. Run okdodo script by pressing Plugin&gt;ODbgScript&gt;RunScript&gt;then select okdodo.osc</p>
<p>The script will automatic run. After you being prompt that the script has completed. The debugger will stop at the OEP (Original Entry Point) of your EXE.<br />
<a href="http://richie86.files.wordpress.com/2008/01/oep.jpg" title="oep.jpg"><img src="http://richie86.files.wordpress.com/2008/01/oep.thumbnail.jpg" alt="oep.jpg" /></a></p>
<p>Take note of the OEP address above. We will using it later on. <b>00401151</b><br />
Next we will try to dump the image out. Do <b>NOT</b> close OllyDbg yet.<br />
Open your importRec. Attach the process to the Cpp1.Exe in the list.</p>
<p>Then you will see in the status box. Image Base: 00400000. So calculate the OEP by 00401151-00400000 = 1151<br />
Fill in into the OEP box and press IAT Auto Search. It will inform you that the OEP is found.</p>
<p>Press Get Import to get all import function.  From the Imports status, shows that valid:YES. Which means all imports function pointer are match.</p>
<p>So dump the image by RightClick&gt;Advanced Commands&gt;Select Code Section(s)<br />
<a href="http://richie86.files.wordpress.com/2008/01/imprec.jpg" title="imprec.jpg"><img src="http://richie86.files.wordpress.com/2008/01/imprec.jpg" alt="imprec.jpg" /></a></p>
<p>Press Full Dump. then save it at somewhere as cpp1_dump.exe<br />
<a href="http://richie86.files.wordpress.com/2008/01/dumped.jpg" title="dumped.jpg"><img src="http://richie86.files.wordpress.com/2008/01/dumped.jpg" alt="dumped.jpg" /></a></p>
<p>Then continue to reconstruct the dump base on new OEP. At main menu. Press Fix Dump, then select the dump image cpp1_dump.exe we create just now.<br />
<a href="http://richie86.files.wordpress.com/2008/01/fixdump.jpg" title="fixdump.jpg"><img src="http://richie86.files.wordpress.com/2008/01/fixdump.jpg" alt="fixdump.jpg" /></a></p>
<p>After reconstruct. New image cpp1_dump_.exe is created. And now try to open the cpp1_dump_.exe and you will see you are sucessfully unpacked it.<br />
<a href="http://richie86.files.wordpress.com/2008/01/done.jpg" title="done.jpg"><img src="http://richie86.files.wordpress.com/2008/01/done.jpg" alt="done.jpg" /></a></p>
<p>Credit: okdodo for the script. unpack.cn for the resources.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/richie86.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/richie86.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/richie86.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/richie86.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/richie86.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=richie86.wordpress.com&amp;blog=2364056&amp;post=9&amp;subd=richie86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://richie86.wordpress.com/2008/01/24/unpacking-themidawinlicense-18x/feed/</wfw:commentRss>
		<slash:comments>98</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Richie86</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/peid.jpg" medium="image">
			<media:title type="html">PeID</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/phantom-opt.jpg" medium="image">
			<media:title type="html">Phantom Setting</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/load.thumbnail.jpg" medium="image">
			<media:title type="html">load.jpg</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/c.thumbnail.jpg" medium="image">
			<media:title type="html">C++</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/oep.thumbnail.jpg" medium="image">
			<media:title type="html">oep.jpg</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/imprec.jpg" medium="image">
			<media:title type="html">imprec.jpg</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/dumped.jpg" medium="image">
			<media:title type="html">dumped.jpg</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/fixdump.jpg" medium="image">
			<media:title type="html">fixdump.jpg</media:title>
		</media:content>

		<media:content url="http://richie86.files.wordpress.com/2008/01/done.jpg" medium="image">
			<media:title type="html">done.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Richie86 Boxes Game</title>
		<link>http://richie86.wordpress.com/2007/12/24/richie86-boxes-game/</link>
		<comments>http://richie86.wordpress.com/2007/12/24/richie86-boxes-game/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 02:00:54 +0000</pubDate>
		<dc:creator>Richie86</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[Richie86 Boxes Game]]></category>

		<guid isPermaLink="false">http://richie86.wordpress.com/2007/12/24/richie86-boxes-game/</guid>
		<description><![CDATA[This is the game that created by me, you need some logic thinking and patient only able to solve it. It&#8217;s kind of puzzle game.. If you having problem for running it, install .net Framework 2.0 that can be downloaded from Microsoft. After few update, it&#8217;s quite hard to hack this game anymore. In Version [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=richie86.wordpress.com&amp;blog=2364056&amp;post=6&amp;subd=richie86&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the game that created by me, you need some logic thinking and patient only able to solve it. It&#8217;s kind of puzzle game.. If you having problem for running it, install .net Framework 2.0 that can be downloaded from Microsoft.</p>
<p>After few update, it&#8217;s quite hard to hack this game anymore. In Version 3.0 you can just simply load it in olly and find the boolean value refer by the function called each time you press a box. But now you have more thing to do to exploit it, and the most difficult is.. you have to bypass the validation of simulation, you can cheat by change all box to black which is very simple, but during simulation it will replay whatever step you had made and that time it will know whether you cheat or not.</p>
<p>Score evaluate by recording your startup time and the time where you solve the game. May be you will think of freezing the time or change it though system clock, try it and see what happened.</p>
<p>Offline Database (score.dll) is just using MS Access without password protect but you can&#8217;t just modify your score there.</p>
<p>Download Link:</p>
<p>Game program:<br />
<a href="http://hoangyuh.googlepages.com/Richie86BoxesGame3.5.rar" title="http://hoangyuh.googlepages.com/Richie86BoxesGame3.5.rar" target="_blank">http://hoangyuh.googlepages.com/Richie86BoxesGame3.5.rar</a></p>
<p>Replay Script Collection:<br />
<a href="http://hoangyuh.googlepages.com/RBGSCollection.rar" title="http://hoangyuh.googlepages.com/RBGSCollection.rar" target="_blank">http://hoangyuh.googlepages.com/RBGSCollection.rar</a></p>
<p>Main Interface<br />
<img src="http://img211.imageshack.us/img211/5086/mainie7.jpg" align="bottom" /></p>
<p>Online Ranking<br />
<img src="http://img211.imageshack.us/img211/6596/rankingdr5.jpg" align="bottom" /></p>
<p>Simulation Playback<br />
<img src="http://img153.imageshack.us/img153/425/simulatingrb1.jpg" /></p>
<p>Change log:<br />
Version 3.5<br />
- Tweaked simulation speed<br />
- Fixed threading problem in simulation</p>
<p>Version 3.4<br />
- Introducing Simulating Engine<br />
a) Anti-Hack Mode<br />
b) Replay Mode<br />
- Minor bug fixed</p>
<p>Version 3.3<br />
- Quick fix on ranking system</p>
<p>Version 3.2<br />
- Added a mini Anti-Hack Mechanism<br />
- Exe packed!<br />
- Improved Synchronizing System</p>
<p>Version 3.1<br />
- Fixed some bugs<br />
- Added mini Anti SQL Injection Engine<br />
- Added restart button</p>
<p>Version 3.0<br />
- Introducing Ranking System<br />
- Introducing Anti-Cheat System (Try to cheat and see :P)<br />
- Introducing Online Database Synchronizing Support<br />
- Improving GUI, Help menu added with tutorial and hint<br />
- Added Automated MSN Adding Feature</p>
<p>Version 2.0<br />
- Remodify Score Evaluating System<br />
- Improving game difficulty to 5&#215;5 boxes game</p>
<p>Version 1.0<br />
- Original 3&#215;3 boxes game<br />
- Introducing Score Evaluating System</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/richie86.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/richie86.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/richie86.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/richie86.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/richie86.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=richie86.wordpress.com&amp;blog=2364056&amp;post=6&amp;subd=richie86&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://richie86.wordpress.com/2007/12/24/richie86-boxes-game/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Richie86</media:title>
		</media:content>

		<media:content url="http://img211.imageshack.us/img211/5086/mainie7.jpg" medium="image" />

		<media:content url="http://img211.imageshack.us/img211/6596/rankingdr5.jpg" medium="image" />

		<media:content url="http://img153.imageshack.us/img153/425/simulatingrb1.jpg" medium="image" />
	</item>
	</channel>
</rss>
