<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://global.honeynet.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>GSoC Project #3 - Qebek: QEMU Based Sebek</title>
 <link>http://global.honeynet.org/gsoc/project3</link>
 <description>Qebek: QEMU Based Sebek</description>
 <language>en</language>
<item>
 <title>NtDeviceIoControlFile</title>
 <link>http://global.honeynet.org/node/471</link>
 <description>&lt;p&gt;As the console spy is almost finished, the next stage is mainly for network activities. Sebek Win32 version uses TDI hook to get this done. However, since getting driver object in virtualization layer is hard and TDI is TDI is on the path to deprecation, I need to find another way. The best solution seems to be hooking NtDeviceIoControlFile, the API Windows uses to do network related stuff and has been widely mentioned in malware behavior analysis papers. After some days of searching, I encounter a very useful resources today, a master thesis from TTAnalyze team:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/chapters/china&quot; class=&quot;og_links&quot;&gt;Chinese  Chapter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <group domain="http://global.honeynet.org/chapters/china" xmlns="http://drupal.org/project/og">Chinese  Chapter</group>
 <category domain="http://global.honeynet.org/taxonomy/term/99">qebek windows socket network</category>
 <pubDate>Thu, 30 Jul 2009 12:01:41 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">471 at http://global.honeynet.org</guid>
</item>
<item>
 <title>stack crash?</title>
 <link>http://global.honeynet.org/node/455</link>
 <description>&lt;p&gt;This phenomenon is first observed when I tried the NtReadFile test last week, sometimes when the postNtReadFile is called, the handle value, buffer address and buffer size got from the stack is quite different from values got in preNtReadFile. I didn&#039;t pay much attention to this problem that time, but, when I tried to debug the NtSecureConnectPort API with WinDBG today, this phenomenon appeared again. So I did a further study on it.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;First, I set a break point at nt!NtSecureConnectPort:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/gsoc/project3&quot; class=&quot;og_links&quot;&gt;GSoC Project #3 - Qebek: QEMU Based Sebek&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <category domain="http://global.honeynet.org/taxonomy/term/83">qebek windows</category>
 <pubDate>Fri, 26 Jun 2009 14:06:18 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">455 at http://global.honeynet.org</guid>
</item>
<item>
 <title>QEMU dyngen</title>
 <link>http://global.honeynet.org/node/454</link>
 <description>&lt;p&gt;This is supposed to be the first Qebek blog, but unfortunately, it cannot pass the check of mod_security (even today), so I posted &lt;a href=&quot;http://songcy1984.blogspot.com/2009/05/qemu-dyngen.html&quot; target=&quot;_self&quot;&gt;here&lt;/a&gt;.  &lt;/p&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/gsoc/project3&quot; class=&quot;og_links&quot;&gt;GSoC Project #3 - Qebek: QEMU Based Sebek&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <category domain="http://global.honeynet.org/taxonomy/term/82">qemu qebek</category>
 <pubDate>Sun, 21 Jun 2009 10:08:22 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">454 at http://global.honeynet.org</guid>
</item>
<item>
 <title>Precall and Postcall</title>
 <link>http://global.honeynet.org/node/444</link>
 <description>&lt;p&gt;When using hooking technology to intercept system calls, there are two different places to collect information: before the original function is called (precall) and after the original function returns (postcall). For example, in Sebek Win32 client, when callback function OnZwReadFile is called, it first calls the original function s_fnZwReadFile, after the original function returns, it checks whether the original call succeeds,  if does, it then calls the data collection function LogIfStdHandle:&lt;/p&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/gsoc/project3&quot; class=&quot;og_links&quot;&gt;GSoC Project #3 - Qebek: QEMU Based Sebek&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <category domain="http://global.honeynet.org/taxonomy/term/74">qebek sebek qemu windows</category>
 <pubDate>Sun, 14 Jun 2009 12:43:13 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">444 at http://global.honeynet.org</guid>
</item>
<item>
 <title>Is Handle Std</title>
 <link>http://global.honeynet.org/node/441</link>
 <description>&lt;p&gt;Sebek Windows client has two keystroke sources, one is read or write std stream, the other is csrss port. In the callback function of NtReadFile and NtWriteFile, Sebek will check if the given file handle match one of the three standard stream handles. if matches, it then logs the given data of keystrokes:&lt;/p&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/gsoc/project3&quot; class=&quot;og_links&quot;&gt;GSoC Project #3 - Qebek: QEMU Based Sebek&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <category domain="http://global.honeynet.org/taxonomy/term/69">qebek</category>
 <category domain="http://global.honeynet.org/taxonomy/term/72">qemu</category>
 <category domain="http://global.honeynet.org/taxonomy/term/70">sebek</category>
 <category domain="http://global.honeynet.org/taxonomy/term/71">windows</category>
 <pubDate>Thu, 11 Jun 2009 11:32:37 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">441 at http://global.honeynet.org</guid>
</item>
<item>
 <title>Get system call address from SSDT</title>
 <link>http://global.honeynet.org/node/438</link>
 <description>&lt;p&gt;One difference in Qebek from other existing virtualization based honeypot monitoring tool is that I want to &#039;hook&#039; the function of system service instead of the dispatcher, more precisely, the &#039;sysenter&#039; or &#039;int 2e&#039; instruction. This is similar to the difference between SSDT (System Service Descriptor Table) hook and kernel inline hook. However, doing it this way must face a problem: how to get the function address? One way is get it directly from SSDT.&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/gsoc/project3&quot; class=&quot;og_links&quot;&gt;GSoC Project #3 - Qebek: QEMU Based Sebek&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://global.honeynet.org/gsoc/project3" xmlns="http://drupal.org/project/og">GSoC Project #3 - Qebek: QEMU Based Sebek</group>
 <pubDate>Sun,  7 Jun 2009 06:24:44 -0400</pubDate>
 <dc:creator>chengyu.song</dc:creator>
 <guid isPermaLink="false">438 at http://global.honeynet.org</guid>
</item>
</channel>
</rss>
