<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Langouster 's   Blog(虾 窝)</title><link>http://www.langouster.com/</link><description>欢迎来到“虾 窝” </description><generator>RainbowSoft Studio Z-Blog 2.0 bate Build</generator><language>zh-CN</language><copyright>Copyright langouster. Some Rights Reserved.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;苏ICP备06046736号 &amp;amp;nbsp;&amp;amp;nbsp;</copyright><pubDate>Sun, 18 Jul 2010 21:52:36 +0800</pubDate><item><title>Ring0上调用未导出Zw函数通用函数</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/112.html</link><pubDate>Sun, 18 Jul 2010 21:46:13 +0800</pubDate><guid>http://www.langouster.com/HTML/112.html</guid><description><![CDATA[<P>前段时间写的一段无聊代码，可能对大家有点用。用于在驱动里调用一些没有直接导出的Zw函数，如<FONT face=Verdana>ZwProtectVirtualMemory。在此感谢<A>alpha</A>提供思路。</FONT></P><P><FONT face="Wide Latin">BOOLEAN CallZwFunction(CONST CHAR *FunctionName,PVOID pCallRet,ULONG ArgNum,...)<BR>{<BR>&nbsp;char *vl;<BR>&nbsp;BOOLEAN retval = FALSE;<BR>&nbsp;ULONG FunctionIndex;<BR>&nbsp;ULONG CallRet;<BR>&nbsp;ULONG Argv[20],temp;<BR>&nbsp;LONG i;<BR>&nbsp;ULONG FunctionAddr;<BR>&nbsp;BYTE Sign[]="\xb8\x44\x00\x00\x00";<BR>&nbsp;BYTE *p;</FONT></P>...]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/112.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=112</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=112&amp;key=31d02c77</trackback:ping></item><item><title>VC向网页注入脚本</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/110.html</link><pubDate>Thu, 06 May 2010 21:13:31 +0800</pubDate><guid>http://www.langouster.com/HTML/110.html</guid><description><![CDATA[<P><FONT face=Verdana>IHTMLDocument2 *pDoc2</FONT></P><P>......</P><P><FONT face=Verdana><FONT face=Verdana>IHTMLWindow2 *pWindow;<BR>HRESULT hr=pDoc2-&gt;get_parentWindow(&amp;pWindow);<BR>VARIANT ret;<BR>ret.vt=VT_EMPTY;<BR>CComBSTR func="alert(document.cookie)";<BR>CComBSTR lang="JAVAScript";<BR>hr=pWindow-&gt;execScript(func,lang,&amp;ret);</FONT></FONT></P>...]]></description><category>Windows程序设计</category><comments>http://www.langouster.com/HTML/110.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=110</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=110&amp;key=49f1ba6b</trackback:ping></item><item><title>进程创建过程 关键函数执行顺序</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/109.html</link><pubDate>Wed, 05 May 2010 16:45:36 +0800</pubDate><guid>http://www.langouster.com/HTML/109.html</guid><description><![CDATA[<P>监控下一个进程的创建过程，关键函数的执行先后关系如下：</P><P>XP sp3下:</P><P>1.NtCreateProcessEx</P><P>2.NtCreateThread</P><P>3.CreateProcessNotify，调用创建进程回调函数，在PspCreateThread中调用</P><P>4.CreateThreadNotify，调用创建线程回调函数，在PspCreateThread中调用</P><P>Vista、Win7下:</P><P>1.NtCreateUserProcess-&gt;PspInsertThread</P>...]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/109.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=109</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=109&amp;key=539f3ef9</trackback:ping></item><item><title>千岛湖归来</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/108.html</link><pubDate>Mon, 03 May 2010 21:51:40 +0800</pubDate><guid>http://www.langouster.com/HTML/108.html</guid><description><![CDATA[<p>千岛湖二日游回来，多图。</p>]]></description><category>日记</category><comments>http://www.langouster.com/HTML/108.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=108</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=108&amp;key=dad664ba</trackback:ping></item><item><title>双向链表的添加、查找、删除算法</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/105.html</link><pubDate>Sat, 27 Mar 2010 15:35:10 +0800</pubDate><guid>http://www.langouster.com/HTML/105.html</guid><description><![CDATA[<P><FONT face=Verdana>前段时间看一个很早前写的驱动，发现对双向链表的操作还有BUG，删除时会蓝屏，修正了一下，把修正后的代码贴出来，方便日后使用前直接复制，大牛不用看了。</FONT></P><DIV align=left>&nbsp;</DIV><DIV align=left>&nbsp;</DIV><DIV align=left>typedef struct _FILELIST</DIV><DIV align=left>{</DIV><DIV align=left>&nbsp;&nbsp;&nbsp;&nbsp; LIST_ENTRY ListEntry;</DIV>...]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/105.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=105</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=105&amp;key=85ab82dc</trackback:ping></item><item><title>利用0day在win7下从user权限提升到system权限演示</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/104.html</link><pubDate>Sat, 20 Mar 2010 23:27:23 +0800</pubDate><guid>http://www.langouster.com/HTML/104.html</guid><description><![CDATA[<p>此演示完成user权限下以system权限运行指定程序,利用的是前几篇文章说的那个系统驱动的溢出漏洞。</p><p>利用成功后可看到Services.exe以system权限运行了C:\Users\test\Desktop\1.exe。</p>]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/104.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=104</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=104&amp;key=5a2fc872</trackback:ping></item><item><title>编写不影响继续执行的栈溢出shellcode，拒绝不返回，拒绝崩溃</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/103.html</link><pubDate>Sat, 20 Mar 2010 23:04:36 +0800</pubDate><guid>http://www.langouster.com/HTML/103.html</guid><description><![CDATA[<p>上次说的溢出0day的shellcode终于写完了，开始遇到了不少困难，但都一一解决了。</p><p>一开始，像大多数其它溢出那样，执行完shellcode后就sleep等死，可是这里不行，在进入有漏洞的函数前，系统占了一个锁，如果等死了，整个系统也立马卡死。函数调用是像下面这样的：</p><p>call func2()<br />{<br />&nbsp;&nbsp;&nbsp; getlocker();<br />&nbsp;&nbsp;&nbsp; bugfunc();//存在溢出的函数<br />...</p>]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/103.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=103</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=103&amp;key=3ff459e4</trackback:ping></item><item><title>驱动枚举所有快捷键</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/102.html</link><pubDate>Fri, 19 Mar 2010 20:48:48 +0800</pubDate><guid>http://www.langouster.com/HTML/102.html</guid><description><![CDATA[<p>在win32k中存在一个单向链表，这个链表中保存着当前子系统下的所有快捷键，保存这个单向链表的头的全局变量为_gphkFirst，这个全局变量在_RegisterHotKey、IsHotKey等函数中有使用。</p><p>下面是我在xp下逆向分析出的这个链表的结构：</p><p>typedef struct _HOTKEY<br />{<br />&nbsp;&nbsp;&nbsp; PVOID Win32Thread;<br />&nbsp;&nbsp;&nbsp; ULONG gptiCurrent;<br />...</p>]]></description><category>驱动开发</category><comments>http://www.langouster.com/HTML/102.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=102</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=102&amp;key=29901919</trackback:ping></item><item><title>分析学习木马鬼影</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/101.html</link><pubDate>Fri, 19 Mar 2010 19:22:11 +0800</pubDate><guid>http://www.langouster.com/HTML/101.html</guid><description><![CDATA[<p>昨天分析了下鬼影的驱动文件atixx.sys，分析了大概8、9成，学到了一些东西。</p><p>1.从这个木马里看到了一条IDA不认识的指令，mov&nbsp;&nbsp;&nbsp;&nbsp; eax,cr0它对应的机器码是0f20c0；</p><p>2.还有指令lock jmp，非常干扰IDA的分析；</p><p>3.另外返回使用jmp&nbsp;&nbsp;&nbsp;&nbsp; dword ptr [esp-4]会对动态调试造成影响</p><p>4.驱动文件执行一段加密一段，干扰静态分析。</p><p>...</p>]]></description><category>其它技术</category><comments>http://www.langouster.com/HTML/101.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=101</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=101&amp;key=c3528ce1</trackback:ping></item><item><title>貌似招行插件与工行插件冲突</title><author>langouster@163.com (langouster)</author><link>http://www.langouster.com/HTML/100.html</link><pubDate>Wed, 17 Mar 2010 22:03:55 +0800</pubDate><guid>http://www.langouster.com/HTML/100.html</guid><description><![CDATA[<p>用工行的网上银行给招行跨行转帐，貌似就会出现冲突。</p><p>工行用的口令卡，在工行填写对话对方招行账号时，强悍的招商插件弹出一个安全警告，大概意思是提示在招行官方以外的网站输入招行卡号是不安全的，看来工行没有和招行搞好关系。</p><p>然后无视这个提示，继续下一步，再下一步，到了显示转帐单要输入口令密码时，工行弹出一个错误&ldquo;非法字符展现&rdquo;，然后<font size="2">口令卡坐标位置写了&ldquo;异常&rdquo;2字。</font></p><p><font size="2">回去重新操作了两遍还是不行，退出重新登录也不行，再从Maxthon换到IE7还不行，前前后后登录了不下四次，重输对方帐号、姓名、分行地址不下5次，还是不停的弹那个错误错，当时真是火气都来了。</font></p><p>...</p>]]></description><category>日记</category><comments>http://www.langouster.com/HTML/100.html#comment</comments><wfw:comment>http://www.langouster.com/</wfw:comment><wfw:commentRss>http://www.langouster.com/feed.asp?cmt=100</wfw:commentRss><trackback:ping>http://www.langouster.com/cmd.asp?act=tb&amp;id=100&amp;key=8002c759</trackback:ping></item></channel></rss>
