<?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"
	>

<channel>
	<title>Matthieu Suiche's blog !</title>
	<atom:link href="http://www.msuiche.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.msuiche.net</link>
	<description>Happiness only real when shared.</description>
	<pubDate>Tue, 15 Jul 2008 16:50:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Ooh! Headshot! Linus Torvalds about OpenBSD Team.</title>
		<link>http://www.msuiche.net/2008/07/15/ooh-headshot-linus-torvalds-about-openbsd-team/</link>
		<comments>http://www.msuiche.net/2008/07/15/ooh-headshot-linus-torvalds-about-openbsd-team/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 16:50:08 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=58</guid>
		<description><![CDATA[Source: http://thread.gmane.org/gmane.linux.kernel/706600/
On Tue, 15 Jul 2008, Linus Torvalds wrote:

&#62; So as far as I'm concerned, "disclosing" is the fixing of the bug. It's
&#62; the "look at the source" approach.
Btw, and you may not like this, since you are so focused on security, one
reason I refuse to bother with the whole security circus is that I [...]]]></description>
			<content:encoded><![CDATA[<p>Source: <a href=" http://thread.gmane.org/gmane.linux.kernel/706600/">http://thread.gmane.org/gmane.linux.kernel/706600/</a></p>
<pre>On Tue, 15 Jul 2008, Linus Torvalds wrote:

&gt; So as far as I'm concerned, "disclosing" is the fixing of the bug. It's
&gt; the "look at the source" approach.
Btw, and you may not like this, since you are so focused on security, one
reason I refuse to bother with the whole security circus is that I think
it glorifies - and thus encourages - the wrong behavior.

It makes "heroes" out of security people, as if the people who don't just
fix normal bugs aren't as important.

In fact, all the boring normal bugs are _way_ more important, just because
there's a lot more of them. I don't think some spectacular security hole
should be glorified or cared about as being any more "special" than a
random spectacular crash due to bad locking.

<i>Security people are often the black-and-white kind of people that I can&#8217;t
stand. <strong>I think the OpenBSD crowd is a bunch of masturbating monkeys</strong>, in
that they make such a big deal about concentrating on security to the
point where they pretty much admit that nothing else matters to them.</i>

To me, security is important. But it&#8217;s no less important than everything
*else* that is also important!

			Linus</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/07/15/ooh-headshot-linus-torvalds-about-openbsd-team/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Capture memory under Win2k3 or Vista with win32dd!</title>
		<link>http://www.msuiche.net/2008/06/14/capture-memory-under-win2k3-or-vista-with-win32dd/</link>
		<comments>http://www.msuiche.net/2008/06/14/capture-memory-under-win2k3-or-vista-with-win32dd/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 20:48:41 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=54</guid>
		<description><![CDATA[Actually, win32dd is the only 100% open-source tool to capture memory under Win2k3 or Vista. Even, if ManTech released a similar tool yesterday, but some part of the source code (e.g. driver source code) are missing. Then, I decide to release mine as a full open-source project under GPL3 license.
The main difference between ManTech tool [...]]]></description>
			<content:encoded><![CDATA[<p>Actually, <a href="http://win32dd.msuiche.net">win32dd</a> is the only 100% open-source tool to capture memory under Win2k3 or Vista. Even, if ManTech <a href="http://www.mantech.com/msma/MDD.asp">released</a> a similar tool yesterday, but some part of the source code (e.g. driver source code) are missing. Then, I decide to release mine as a full open-source project under GPL3 license.</p>
<p>The main difference between ManTech tool and win32dd, is that win32dd is mainly a kernel mode application &#8212; then it avoids to use user-land API to write to an output file, everything is done with native functions. Thus, it means a faster dumping&#8230; This point isn&#8217;t negligible when you have one million page to dump in one single.</p>
<p>In ManTech tool, the driver is only used to get \Device\PhysicalMemory handle.</p>
<h2><a href="http://www.msuiche.net/countcount/click.php?id=1"><strong>Download win32dd v1.0.20080615 now!</strong></a></h2>
<p> <strong>EDIT: (16th June), New version, fixed bug.</strong></p>
<p>PS: You can read further information about PhysicalMemory restriction access on the <a href="http://technet2.microsoft.com/windowsserver/en/library/e0f862a3-cf16-4a48-bea5-f2004d12ce351033.mspx?mfr=true">Microsoft MSDN here.</a></p>
<p><a href='http://www.msuiche.net/wp-content/uploads/2008/06/win32dd1.png'><img src="http://www.msuiche.net/wp-content/uploads/2008/06/win32dd1.png" alt="" title="win32dd1"  class="alignnone size-full wp-image-56" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/06/14/capture-memory-under-win2k3-or-vista-with-win32dd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BlackHat Las Vegas Briefing 2008</title>
		<link>http://www.msuiche.net/2008/05/07/blackhat-las-vegas-briefing-2008/</link>
		<comments>http://www.msuiche.net/2008/05/07/blackhat-las-vegas-briefing-2008/#comments</comments>
		<pubDate>Wed, 07 May 2008 15:12:46 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=48</guid>
		<description><![CDATA[
In November 2007, Nicolas and I presented &#8220;Enter SandMan&#8221; in Tokyo at PacSec during its development phase. You can get the materials we used for this lecture here in English and here in Japanese. 
Some months later, an alpha version formally called 1.0.080226, of Sandman Framework has been released as an open source project. &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.msuiche.net/wp-content/uploads/2008/06/blackhat-135x48.gif'><img src="http://www.msuiche.net/wp-content/uploads/2008/06/blackhat-135x48.gif" alt="" title="blackhat-135x48" width="135" height="48" class="alignright size-full wp-image-57" /></a><br />
In November 2007, <a href="http://news0ft.blogspot.com/">Nicolas</a> and I presented &#8220;<b>Enter SandMan</b>&#8221; in Tokyo at PacSec during its development phase. <em>You can get the materials we used for this lecture <a href="http://www.msuiche.net/pres/PacSec07-slides-0.4.pdf">here in English</a> and <a href="http://www.msuiche.net/pres/psj07ruffsuiche-jp.pdf">here in Japanese</a>.</em> </p>
<p>Some months later, an alpha version formally called 1.0.080226, of Sandman Framework has been released as an open source project. &#8212; <em>you can find the current version <a href="http://sandman.msuiche.net/">here</a>.</em> Please consider, as Volatility Team <a href="http://volatility.tumblr.com/post/33993172">has kindly reminded</a> SandMan is a GPL3 project then don&#8217;t imitate <a href="http://computer.forensikblog.de/en/2008/04/the_3_vendors.html">Vendor &#8220;X&#8221;</a> which don&#8217;t even waited a final version of SandMan to violate the GPL and then implemented a bugged version into his commercial products :).</p>
<p>Furthermore, in March <a href="http://sid.rstack.org/blog/index.php/258-is-it-too-much">Cedric</a> presented and commented the <a href="http://www.msuiche.net/2008/03/18/new-attack-released-windows-has-been-vulnerable-for-8-years/">SandMan proof of concept video</a> during lightning talks at CanSecWest 2008 in Vancouver. </p>
<p>Anyway, at the upcoming Black Hat Vegas 2008, I&#8217;m going to give a talk entitled &#8220;<strong>Windows hibernation file for fun and profit</strong>&#8220;. This talk aims to discuss about both forensics and offensics uses through the hibernation file (hiberfil.sys) with SandMan.</p>
<p>For your information, <a href="http://www.alex-ionescu.com">Alex</a> is also giving a talk at BH called &#8220;Of Pointers and Handles A Story of Unchecked Assumptions in the Windows Kernel&#8221;. </p>
<p>You can take a look at the full schedule <a href="http://blackhat.com/html/bh-usa-08/bh-usa-08-schedule.html">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/05/07/blackhat-las-vegas-briefing-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>X-Files. Episode 2. *Squeeze*</title>
		<link>http://www.msuiche.net/2008/04/30/x-files-episode-2-squeeze/</link>
		<comments>http://www.msuiche.net/2008/04/30/x-files-episode-2-squeeze/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 14:18:41 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[Law]]></category>

		<category><![CDATA[SandMan]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=46</guid>
		<description><![CDATA[As said previously, it&#8217;s really easy to find proof of plagiarism when an open-source tool is released and whan this source is reimplemented into a commercial software without compliance.  Andreas published a new article called The implementation by Vendor &#8220;S&#8221;. In this article, he has explained what are the differences between the implementation of [...]]]></description>
			<content:encoded><![CDATA[<p>As said <a href="http://www.msuiche.net/2008/04/29/x-files-episode-1-deep-throat/">previously</a>, it&#8217;s really easy to find proof of plagiarism when an open-source tool is released and whan this source is reimplemented into a commercial software without compliance.  Andreas published a new article called <a href="http://computer.forensikblog.de/en/2008/04/implementation_by_vendor_s.html#more">The implementation by Vendor &#8220;S&#8221;</a>. In this article, he has explained what are the differences between the implementation of XpressDecode in <a href="http://sandman.msuiche.net">SandMan</a> and the Microsoft OS Loader&#8217;s one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/30/x-files-episode-2-squeeze/feed/</wfw:commentRss>
		</item>
		<item>
		<title>X-Files. Episode 1. *Deep throat*</title>
		<link>http://www.msuiche.net/2008/04/29/x-files-episode-1-deep-throat/</link>
		<comments>http://www.msuiche.net/2008/04/29/x-files-episode-1-deep-throat/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 20:13:09 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[Forensics]]></category>

		<category><![CDATA[Law]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=45</guid>
		<description><![CDATA[Andreas, recently published an interesting article called &#8220;The 3 Vendors&#8221;. This article is talking about GPL rights violation against researchers who share their knowledge. And also demonstrate, how this kind of violation can be easily identified through code flowchart. It sounds like the beginning of a series&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Andreas, recently published an interesting article called <a href="http://computer.forensikblog.de/en/2008/04/the_3_vendors.html">&#8220;The 3 Vendors&#8221;</a>. This article is talking about GPL rights violation against researchers who share their knowledge. And also demonstrate, how this kind of violation can be easily identified through code flowchart. It sounds like the beginning of a series&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/29/x-files-episode-1-deep-throat/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Summer of Code &#038; NT debugging Puzzler #3</title>
		<link>http://www.msuiche.net/2008/04/22/google-summer-of-code-nt-debugging-puzzler-3/</link>
		<comments>http://www.msuiche.net/2008/04/22/google-summer-of-code-nt-debugging-puzzler-3/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 13:17:40 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=44</guid>
		<description><![CDATA[As you probably know, Google launch every year the Summer of Code. Yesterday, Google published official 2008 result and I&#8217;ll be part of the Samba Team. My work is to implement compression functions into Samba.
Microsoft Advanced Windows Debugging Team published their third puzzler: Matrix Edition #3 . It looks they&#8217;ll publish one puzzler per week. [...]]]></description>
			<content:encoded><![CDATA[<p>As you probably know, Google launch every year the <a href="http://code.google.com/soc/">Summer of Code</a>. Yesterday, Google published official 2008 result and I&#8217;ll be part of the <a href="http://www.samba.org">Samba Team</a>. <a href="http://code.google.com/soc/2008/samba/about.html">My work</a> is to implement compression functions into Samba.</p>
<p>Microsoft Advanced Windows Debugging Team published their third puzzler: <a href="hxxp://blogs.msdn.com/ntdebugging/archive/2008/04/21/ntdebugging-puzzler-0x00000003-matrix-addition-some-assembly-required.aspx">Matrix Edition #3 </a>. It looks they&#8217;ll publish one puzzler per week. As far I understand, the goal of this puzzler is to translate a function from Assembly to C.</p>
<p>Here is my solution:</p>
<ul>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw4">void</span> myfun<span class="br0">&#40;</span><span class="kw4">char</span> *<span class="kw4">string</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">int</span> lenString, countLoop, index;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw4">char</span> savedByte;</div>
</li>
<li class="li2">
<div class="de2">lenString = strlen<span class="br0">&#40;</span><span class="kw4">string</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw1">for</span> <span class="br0">&#40;</span>countLoop = lenString; countLoop; countLoop&#8211;<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw1">for</span><span class="br0">&#40;</span>index = <span class="nu0">0</span>; index &lt; <span class="br0">&#40;</span>countLoop - <span class="nu0">1</span><span class="br0">&#41;</span>; index++<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw4">string</span><span class="br0">&#91;</span>index<span class="br0">&#93;</span> &gt; <span class="kw4">string</span><span class="br0">&#91;</span>index + <span class="nu0">1</span><span class="br0">&#93;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;savedByte = <span class="kw4">string</span><span class="br0">&#91;</span>index<span class="br0">&#93;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw4">string</span><span class="br0">&#91;</span>index<span class="br0">&#93;</span> = <span class="kw4">string</span><span class="br0">&#91;</span>index + <span class="nu0">1</span><span class="br0">&#93;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw4">string</span><span class="br0">&#91;</span>index + <span class="nu0">1</span><span class="br0">&#93;</span> = savedByte;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/22/google-summer-of-code-nt-debugging-puzzler-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Samba eXPerience conference - Germany</title>
		<link>http://www.msuiche.net/2008/04/20/samba-experience-conference-germany/</link>
		<comments>http://www.msuiche.net/2008/04/20/samba-experience-conference-germany/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 18:21:41 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Law]]></category>

		<category><![CDATA[Presentations]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Interoperability]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=43</guid>
		<description><![CDATA[





Day 1 :: Workshop
8.00 PM (yeah it&#8217;s late)
I had almost 7 hours of time travel in Train from Paris to Goettigen. It was really exhausting but it was a good opportunity to talk with pretty girls visiting Europa :)
This year, SambaXP conference hold in Freizeit Hotel (Free time in English) in Goettingen (Germany)  from [...]]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p>
<img src='http://www.sambaxp.org/fileadmin/sambaxp05/bilder/sambaXP_logo.gif' alt='SambaXP'  style="float:right; margin-left 1em;" />
</p>
</div>
<li><strong>Day 1 :: Workshop</strong></li>
<p><em>8.00 PM (yeah it&#8217;s late)</em><br />
I had almost 7 hours of time travel in Train from Paris to Goettigen. It was really exhausting but it was a good opportunity to talk with pretty girls visiting Europa :)</p>
<p>This year, <a href="http://www.sambaxp.org">SambaXP</a> conference hold in Freizeit Hotel (<em>Free time in English</em>) in Goettingen (Germany)  from 14th to 18th April.<br />
During the dinner, I met <a href="http://www.samba.org">Samba Team</a>, <a href="http://openchange.org">OpenChange Team</a> and sponsors people.</p>
<li><strong>Day 2 :: Workshop</strong></li>
<p>I had a really interesting discussion with the folks of Samba about <a href="http://samba.org/samba/PFIF/PFIF_history.html">Protocol</a> <a href="http://samba.org/samba/PFIF/PFIF_agreement.pdf">Freedom</a> <a href="http://samba.org/samba/PFIF/PFIF_agreement.html">Information</a> <a href="http://samba.org/samba/PFIF/">Foundation</a> (<a href="http://www.protocolfreedom.org/">PFIF</a>).</p>
<p>My main question was : What&#8217;s the difference between semi-private documentation provided by PFIF since December 2007 and public documentation provided by MSDN since March?<br />
Technically, the content is the same. But if you look the law part PFIF grants extra patents protections.<br />
For instance, if someone uses PFIF docs then Microsoft has a limited number of patents they can assert against the developer but if he uses MSDN docs then he doesn&#8217;t have patent protection.</p>
<p>I strongly recommend you to read links I posted above. That&#8217;s really an impressive work they did since <a href="http://us1.samba.org/samba/docs/10years.html">1992</a>.</p>
<li><strong>Day 3 :: Tutorials</strong></li>
<p><em>Weather in Germany is cold! I even wonder if it&#8217;s colder than North France one.</em></p>
<p>During the dinner, I had the occasion to meet <a href="http://port25.technet.com/archive/2006/03/18/Port-25-Contributors.aspx"><strong>Tom Hanrahan</strong></a> from <a href="http://port25.technet.com/">Port 25</a> (MSFT) who works as Director of Linux Interoperability. </p>
<p>I&#8217;d like to share an interesting reference from <a href="http://shearer.org"><strong>Dan</strong></a> to a speech of <strong><a href="http://en.wikipedia.org/wiki/Eben_Moglen">Eben</a> <a href="http://emoglen.law.columbia.edu/">Moglen</a> </strong>about <u><em>&#8220;The Global Software Industry in Transformation: After GPLv3&#8243;</em></u>. (<a href="http://www.archive.org/details/EbenMoglenLectureEdinburghJune2007">Audio</a>, <a href="http://jeremiad.org/moglentext.shtml">Txt</a>).</p>
<li><strong>Day 4 :: Conference</strong></li>
<p><strong><a href="http://www.samba.org/~tridge/">Andrew</a> <a href="http://en.wikipedia.org/wiki/Andrew_Tridgell">Tridgell</a></strong> (Samba Team), <u><i>Samba and the PFIF</i></u> renamed <u><i>Samba and Microsoft</i></u> to focus on new relationship between Samba and Microsoft engineers.</p>
<p><strong>Andrew </strong>gave a quick review of the relationship with Microsoft timeline from early 90&#8217;s to now including the antitrust action in Europe during (99 - 07),  WSPP/PFIF agreement (late 2007) to actual open cooperation publicly release of documentation MSDN (MSFT interoperability initiative).</p>
<p>PFIF (Protocol Freedom information foundation) has been introduced. For people who never heard about PFIF, it&#8217;s a legal entity that allows free software projects to take advantage of the WSPP protocol program. It makes protocol documentation available under a NDA but compatible with GPL. With an additional guarantees provided for at least 5 years of updates and corrections. Andrew also talked about the <a href="http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/">recent errors discovered</a> in the documentation and the fact that Microsoft is now close to developers to fix it. </p>
<p>As you probably know, WSPP and MCPP documents are now public under a liberal license. It means Samba can now build an open community for  cooperation on protocol knowledge. All previous secret on WSPP/PFIF is finished because the documentation is now available to everyone. PFIF also provides some additional guarantees on documentation updates and corrections.</p>
<p>As <strong>Andrew</strong> said, it means a good technical cooperation because lawyers are now sidelined and engineers have taken over. He also mentioned there is now a public forum for protocol discussion where PFIF members and MS Engineers can talk.</p>
<p>Tridge also highlighted two notable events for 2008: </p>
<ul>Samba&#8217;ll be participing file system plugfest at Microsoft in June.</ul>
<ul>Microsoft will actively participate in the CIFS plugfest in August.</ul>
<p><strong>Julien Kerihuel</strong> (<a href="http://www.openchange.org">OpenChange</a>): <u><i>When OpenChange assimilates the Borg</i></u><br />
OpenChange is 5 years old project build over Samba 4 infrastructure, two members of Openchange belong to Samba Team. <strong>Julien </strong>mostly talks about the libmapi client implementation  This library provides an interface for NSPI &#038; EMSMDB protocol. </p>
<p><em>*Party!*</em></p>
<li><strong>Day 5 :: Conference</strong></li>
<p>This day is composed of three simultaneous room for three simultaneous talks.</p>
<p>There is a presentation I really appreciated, entitled <i><u>Samba Encryption</u></i> by <strong>Jeremy Allison</strong> (Google &#038; Samba Team). The talk was about SMB protocol internal and some programming stuff.  </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/20/samba-experience-conference-germany/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Few words about Microsoft interoperability initiative.</title>
		<link>http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/</link>
		<comments>http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 21:23:05 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Debugging]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Reverse Engineering]]></category>

		<category><![CDATA[SandMan]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/?p=42</guid>
		<description><![CDATA[As you probably know, Microsoft released last month several thousands pages of documentation about  office file format and Windows protocols.  
It means numerous hundreds(thousands?) of functions/algorithms documentation and pseudo-code. But, are these pseudo-function right? It looks not. 
While I was reading [MS-DRSR]: Directory Replication Service (DRS) Remote Protocol Specification, I was a bit [...]]]></description>
			<content:encoded><![CDATA[<p>As you probably know, Microsoft released last month several thousands pages of documentation about  <a href="http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx">office file format</a> and <a href="http://msdn2.microsoft.com/en-us/library/cc216517.aspx">Windows protocols</a>.  </p>
<p>It means numerous hundreds(thousands?) of functions/algorithms documentation and pseudo-code. But, are these pseudo-function right? It looks not. </p>
<p>While I was reading <a href="http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-DRSR%5D.pdf">[MS-DRSR]: Directory Replication Service (DRS) Remote Protocol Specification</a>, I was a bit curious to see the DecompressWin2k3() function (Thanks <a href="http://volatilesystems.blogspot.com/">Aaron</a>, <a href="http://samba.org">Stefan</a> , and <a href="http://moyix.blogspot.com">Brendan</a>).</p>
<p>This function is in fact the decompression algorithm called Xpress implemented for the first time in Windows XP and not Windows 2003 as say the name. Xpress algorithm works on 64kb chunks and is used in <a href="http://sandman.msuiche.net">Windows hibernation file format</a>, <a href="http://technet.microsoft.com/en-us/magazine/cc160878.aspx">Windows Imaging Format (WIM) </a>, Outlook, Exchange, and&#8230; <a href="http://fr.wikipedia.org/wiki/LDAP">LDAP</a> replication service of Active Directory.</p>
<p>I&#8217;m quoting below, errors I found in the pseudo-code of DecompressWin2k3(). <a href="http://www.msuiche.net/codes/xpress.c.txt">Here is the C implementation.</a></p>
<pre>
<font color="red"><strong>while (outputIndex < = outputSize) </strong></strong></font>
<font color="orange"><em>should be:</em></font>
<font color="green"><strong>while (outputIndex < outputSize) </strong></strong></font>
    if (indicatorBit = 0) then
        <font color="red"><strong>indicatorBit := copy inputBuffer[inputIndex] as 32-bit integer in
        little-endian format </strong></font>
        <font color="orange"><em>should be:</em></font>
        <font color="green"><strong>indicator := copy inputBuffer[inputIndex] as 32-bit integer in
        little-endian format </strong></font>
        inputIndex := inputIndex + 4
        indicatorBit := 32
    endif 

    indicatorBit := indicatorBit - 1 

//* check whether the bit specified by indicatorBit is set or not
//* set in indicator. For example, if indicatorBit has value 4
//* check whether the 4th bit of the value in indicator is set  

    if indicatorBit bit in indicator is not set then
        <font color="red"><strong>inputBuffer[inputIndex] := outputBuffer[outputIndex]</strong></font>
        <font color="orange"><em>should be:</em></font>
        <font color="green"><strong>outputBuffer[outputIndex] := inputBuffer[inputIndex] </strong></font>
        inputIndex := inputIndex + 1
        outputIndex := outputIndex + 1
    else
        length := copy inputBuffer[inputIndex] as 16-bit integer in
        little-endian format
        inputIndex := inputIndex + 2
        offset := length /8
        length := length mod 8 

        if (length = 7) then 

            if (nibbleIndex = 0) then
                nibbleIndex := inputIndex
                length := inputBuffer[inputIndex] mod 16
                inputIndex := inputIndex + 1
            else
                <font color="red"><strong>length := inputBuffer[inputIndex] / 16</strong> </font>
                <font color="orange"><em>should be:</em></font>
                <font color="green"><strong>length := inputBuffer[nibbleIndex ] / 16</strong> </font>
                nibbleIndex := 0
            endif 

            if (length = 15) then 

                length := inputBuffer[inputIndex]
                inputIndex := inputIndex + 1 

                    if (length = 255) then
                        length := copy inputBuffer[inputIndex] as 16-bit integer in little-endian format
                        inputIndex := inputIndex + 2
                        length := length - (15 + 7)
                    endif
                length := length + 15
            endif 

            length := length + 7 

        endif 

    length := length + 3 

        <font color="red"><strong>while (not length = 0)</strong> </font>
        <font color="orange"><em>should be:</em></font>
        <font color="green"><strong>while (length != 0)</strong> </font>
            outputBuffer[outputIndex] := outputBuffer[outputIndex - offset - 1]
            outputIndex := outputIndex + 1
            length := length - 1
        endwhile
    endif 

endwhile 

return </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/feed/</wfw:commentRss>
		</item>
		<item>
		<title>X-Ways Forensics Beta 2 and hibernation file. (coincidence?)</title>
		<link>http://www.msuiche.net/2008/04/03/x-ways-forensics-beta-2-and-hibernation-file/</link>
		<comments>http://www.msuiche.net/2008/04/03/x-ways-forensics-beta-2-and-hibernation-file/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 11:16:12 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Forensics]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/2008/04/03/x-ways-forensics-beta-2-and-hibernation-file/</guid>
		<description><![CDATA[X-Ways (WinHex editor) Forensics Beta 2 now includes hibernation file(hiberfil.sys) support for Windows XP 32-bit only. Please notice, Sandman library/framework is an open-source project under GNU General Public License v3 to read and write the hibernation file released 2 months ago&#8230;

Posted on Friday, Mar 28, 2008 - 1:05:   
* Ability to decompress Windows [...]]]></description>
			<content:encoded><![CDATA[<p>X-Ways (WinHex editor) Forensics Beta 2 now includes hibernation file(hiberfil.sys) support for Windows XP 32-bit <strong>only</strong>. Please notice, Sandman library/framework is an open-source project under <strong>GNU General Public License v3</strong> to read and write the hibernation file released 2 months ago&#8230;</p>
<blockquote><p>
<strong>Posted on Friday, Mar 28, 2008 - 1:05:   </strong><br />
* Ability to decompress Windows XP 32-bit hiberfil.sys files, whether<br />
active or inactive, to get a dump of physical memory with all in-use<br />
pages from a previous point of time when the computer entered into<br />
hibernation, as well as individually carved xpress chunks from<br />
hiberfil.sys files, including xpress chunks located in the &#8220;slack&#8221; of<br />
hiberfil.sys that are even older. This feature is available in Edit |<br />
Convert. (forensic license only)</p></blockquote>
<p><i>(PS: I&#8217;m not beta-tester)</i><br />
<a href="http://www.x-ways.net/winhex/forum/messages/1/2252.html">Source.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/04/03/x-ways-forensics-beta-2-and-hibernation-file/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New attack released - Windows has been vulnerable for 8 years.</title>
		<link>http://www.msuiche.net/2008/03/18/new-attack-released-windows-has-been-vulnerable-for-8-years/</link>
		<comments>http://www.msuiche.net/2008/03/18/new-attack-released-windows-has-been-vulnerable-for-8-years/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 19:15:57 +0000</pubDate>
		<dc:creator>Matthieu Suiche</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[SandMan]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.msuiche.net/2008/03/18/new-attack-released-windows-has-been-vulnerable-for-8-years/</guid>
		<description><![CDATA[
In November 2007 at PacSec&#39;07, Tokyo, Japan, Nicolas Ruff and I (Matthieu Suiche) presented how to create a readable physical memory dump from the undocumented Microsoft hibernation file.

Last month, I published an open-source public version of this project called SandMan Framework. This framework allows manipulating the hibernation file for offensics (malicious) or forensics uses.

Today, I [...]]]></description>
			<content:encoded><![CDATA[<div align="right"><iframe src='http://digg.com/tools/diggthis.php?u=http%3A//www.msuiche.net/#' frameborder='0' scrolling='no' height='80' width='50'></iframe></div>
<p><strong>In November 2007</strong> at <em>PacSec&#39;07, Tokyo, Japan</em>, Nicolas Ruff and I (Matthieu Suiche) presented how to create a readable physical memory dump from the <strong>undocumented</strong> Microsoft hibernation file.</p>
<p>
Last month, I published an open-source public version of this project called <a href="http://sandman.msuiche.net" target="_blank"><strong>SandMan Framework</strong></a>. This framework allows manipulating the hibernation file for offensics (malicious) or forensics uses.</p>
<p>
Today, I am going to release a Proof of Concept of the <i>sandman attack</i> using SandMan Framework. This PoC consists in elevating a user CMD shell to SYSTEM level under Windows XP SP3 <strong>RC1</strong>.
</p>
<p>
Sandman Framework offers a wide range of possibilities, <strong>both offensive and defensive</strong>. Like <em>cryptographic keys retrieving in popular encryption software (e.g. TrueCrypt, GPG), privilege<br />
escalation (cf. PoC), login without any password, and so on</em>.
</p>
<p><strong>All Windows versions are concerned</strong>, from Windows 2000 up to Windows 2008, Windows Vista SP1 included (and possibly Windows Seven).
</p>
<p>
The following video shows how the system can be subverted in a few minutes. The following points are highlighted:</p>
<p><strong>* </strong>Deactivating hibernation feature <strong>does not solve</strong> the problem.<br />
<strong>* </strong>The sandman attack affects <strong>every Windows version</strong>, from Windows 2000 to Windows 2008, 32- and 64-bit alike.<br />
<strong>* </strong>We can <strong>read and write everything everywhere</strong> in the physical memory (RAM).<br />
<strong>* </strong> This attack is feasible in <strong>real life</strong> on every computer <strong>with no hardware requirements</strong>.<br />
<strong>* </strong><strong>The attack has no time limitation</strong>. If a computer has been hibernated one<br />
week ago, extracting his physical memory is still possible.</p>
<p>
<em>This is far more powerful than other recently demonstrated attacks against physical memory, like Cold Boot and FireWire attacks.</em>
</p>
<div align="center"><object width="672" height="504"><param name="movie" value="http://www.dailymotion.com/swf/x4pv79d&#038;v3=1&#038;related=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/x4pv79&#038;v3=1&#038;related=1" type="application/x-shockwave-flash" width="672"  height="504" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/video/x4pv79_new-attack-windows-vulnerables-for_tech" target="_blank">New attack released - Windows has been vulnerable for 8 years.<br />Generic Privilege Escalation under Windows XP SP3 RC1.</a></b></div>
<p></p>
<blockquote><p>&#8220;keep you free from sin, till the sandman he comes&#8221;<br />
<em> (Enter SandMan — Metallica)</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.msuiche.net/2008/03/18/new-attack-released-windows-has-been-vulnerable-for-8-years/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
