<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Shellcode</title>
	<atom:link href="http://blog.didierstevens.com/programs/shellcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.didierstevens.com</link>
	<description>(blog 'DidierStevens)</description>
	<lastBuildDate>Wed, 08 Feb 2012 19:23:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: x64 Windows Shellcode &#171; Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-50305</link>
		<dc:creator><![CDATA[x64 Windows Shellcode &#171; Didier Stevens]]></dc:creator>
		<pubDate>Thu, 02 Feb 2012 20:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-50305</guid>
		<description><![CDATA[[...] can get the code from my shellcode page. Look for filenames starting with sc-x64 in the zip file. Like this:LikeBe the first to like this [...]]]></description>
		<content:encoded><![CDATA[<p>[...] can get the code from my shellcode page. Look for filenames starting with sc-x64 in the zip file. Like this:LikeBe the first to like this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simple-shellcode-generator.py &#171; Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-46113</link>
		<dc:creator><![CDATA[simple-shellcode-generator.py &#171; Didier Stevens]]></dc:creator>
		<pubDate>Fri, 23 Sep 2011 09:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-46113</guid>
		<description><![CDATA[[...] This shellcode uses the library sc-api-functions.asm you can find in my shellcode repository. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] This shellcode uses the library sc-api-functions.asm you can find in my shellcode repository. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [0x0027]Exploit writing tutorial part 9 : Introduction to Win32 shellcoding &#171; Eohnik.c</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-39784</link>
		<dc:creator><![CDATA[[0x0027]Exploit writing tutorial part 9 : Introduction to Win32 shellcoding &#171; Eohnik.c]]></dc:creator>
		<pubDate>Sun, 05 Sep 2010 12:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-39784</guid>
		<description><![CDATA[[...] Didier Stevens [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Didier Stevens [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Writing WIN32 Shellcode With a C-compiler &#171; Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-38407</link>
		<dc:creator><![CDATA[Writing WIN32 Shellcode With a C-compiler &#171; Didier Stevens]]></dc:creator>
		<pubDate>Tue, 04 May 2010 10:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-38407</guid>
		<description><![CDATA[[...] template can be found here.    Leave a [...]]]></description>
		<content:encoded><![CDATA[<p>[...] template can be found here.    Leave a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Exploit writing tutorial part 9 : Introduction to Win32 shellcoding &#124; Peter Van Eeckhoutte&#39;s Blog</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37742</link>
		<dc:creator><![CDATA[Exploit writing tutorial part 9 : Introduction to Win32 shellcoding &#124; Peter Van Eeckhoutte&#39;s Blog]]></dc:creator>
		<pubDate>Thu, 25 Feb 2010 16:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37742</guid>
		<description><![CDATA[[...] Didier Stevens [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Didier Stevens [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MemoryLoadLibrary: From C Program to Shellcode &#171; Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37708</link>
		<dc:creator><![CDATA[MemoryLoadLibrary: From C Program to Shellcode &#171; Didier Stevens]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 00:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37708</guid>
		<description><![CDATA[[...] MemoryLoadLibrary: From C Program to&#160;Shellcode Filed under: Hacking, My Software, Shellcode &#8212; Didier Stevens @ 0:40   The DLL-loading shellcode I used in my cmd.xls spreadsheet was generated with a method I worked out to generate WIN32 shellcode with a C-compiler. You can find it on my new Shellcode page. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] MemoryLoadLibrary: From C Program to&nbsp;Shellcode Filed under: Hacking, My Software, Shellcode &#8212; Didier Stevens @ 0:40   The DLL-loading shellcode I used in my cmd.xls spreadsheet was generated with a method I worked out to generate WIN32 shellcode with a C-compiler. You can find it on my new Shellcode page. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37701</link>
		<dc:creator><![CDATA[Didier Stevens]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 20:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37701</guid>
		<description><![CDATA[@Ron Yep, even with an egress firewall, it must perform a DNS lookup first, which you can catch. Unless the server has only access to an internal DNS that doesn&#039;t forward queries to the outside world.]]></description>
		<content:encoded><![CDATA[<p>@Ron Yep, even with an egress firewall, it must perform a DNS lookup first, which you can catch. Unless the server has only access to an internal DNS that doesn&#8217;t forward queries to the outside world.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37700</link>
		<dc:creator><![CDATA[Ron]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 20:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37700</guid>
		<description><![CDATA[The problem with URLDownloadToFileA, initially, is that it&#039;ll typically be stopped by an egress firewall. 

That being said, I think you&#039;re on to something -- I can use the URLDownloadToFileA shellcode with my domain as the URL, but return NXDOMAIN when it tries to download the code. The download will fail, and it&#039;ll never attempt a HTTP connection anywhere, but I will be alerted that it attempted to do so.]]></description>
		<content:encoded><![CDATA[<p>The problem with URLDownloadToFileA, initially, is that it&#8217;ll typically be stopped by an egress firewall. </p>
<p>That being said, I think you&#8217;re on to something &#8212; I can use the URLDownloadToFileA shellcode with my domain as the URL, but return NXDOMAIN when it tries to download the code. The download will fail, and it&#8217;ll never attempt a HTTP connection anywhere, but I will be alerted that it attempted to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Didier Stevens</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37699</link>
		<dc:creator><![CDATA[Didier Stevens]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 20:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37699</guid>
		<description><![CDATA[OK, now I understand. Yes, a ping would work to, but requires your shellcode to spawn a new process (the ping program).
You could just use that ubiquitous shellcode that downloads a file with URLDownloadToFileA and then executes it with WinExec.
You don&#039;t need to execute the file, just download it from your website and monitor your logs. You can even use an empty file, but do host a file, otherwise, if you don&#039;t host the file, URLDownloadToFileA will take long to execute (it will wait to timeout).]]></description>
		<content:encoded><![CDATA[<p>OK, now I understand. Yes, a ping would work to, but requires your shellcode to spawn a new process (the ping program).<br />
You could just use that ubiquitous shellcode that downloads a file with URLDownloadToFileA and then executes it with WinExec.<br />
You don&#8217;t need to execute the file, just download it from your website and monitor your logs. You can even use an empty file, but do host a file, otherwise, if you don&#8217;t host the file, URLDownloadToFileA will take long to execute (it will wait to timeout).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://blog.didierstevens.com/programs/shellcode/#comment-37698</link>
		<dc:creator><![CDATA[Ron]]></dc:creator>
		<pubDate>Sun, 14 Feb 2010 20:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.didierstevens.com/?page_id=2001#comment-37698</guid>
		<description><![CDATA[I think I was writing that too soon after waking up. :)

My thought is this: I see a vulnerable service on a remote box (say, NTP). I want to verify that it&#039;s vulnerable without worrying about it having an ingress/egress firewall. So, I throw some shellcode with a domain name hardcoded into it that simply does gethostbyname(&quot;xxx&quot;), and I watch my dns server to see if the request gets made. 

Now that I think more, it&#039;d probably be easier to just use an exec-style shellcode to run &quot;ping xxx&quot; instead of having special shellcode to do it. 

Does that make sense?]]></description>
		<content:encoded><![CDATA[<p>I think I was writing that too soon after waking up. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My thought is this: I see a vulnerable service on a remote box (say, NTP). I want to verify that it&#8217;s vulnerable without worrying about it having an ingress/egress firewall. So, I throw some shellcode with a domain name hardcoded into it that simply does gethostbyname(&#8220;xxx&#8221;), and I watch my dns server to see if the request gets made. </p>
<p>Now that I think more, it&#8217;d probably be easier to just use an exec-style shellcode to run &#8220;ping xxx&#8221; instead of having special shellcode to do it. </p>
<p>Does that make sense?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

