<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2318886372568084567</id><updated>2012-02-05T02:40:11.181+11:00</updated><category term='windows stack based buffer overflow'/><category term='fuzzing'/><category term='shellcode'/><category term='theory'/><category term='vulnserver'/><category term='incident response'/><category term='tutorial'/><category term='malware analysis'/><category term='ssltest'/><category term='SEH'/><category term='SafeSEH'/><category term='heap overflow'/><category term='links'/><category term='windows buffer overflow'/><category term='stack based buffer overflow'/><category term='exploit tutorial'/><category term='restrictive proxies'/><category term='malicious pdf'/><category term='stack overflow'/><category term='backtrack'/><category term='egghunter'/><category term='antivirus'/><category term='pentesting'/><category term='use after free'/><category term='software'/><category term='dradis'/><category term='buffer overflow'/><category term='rhino'/><category term='compiler'/><title type='text'>The Grey Corner</title><subtitle type='html'>A blog focused on the related subjects of software exploitation, penetration testing and computer incident detection and response.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-1889589602865180773</id><published>2011-12-03T10:45:00.001+11:00</published><updated>2011-12-03T10:52:56.657+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>Restricted Character Set Buffer Overflow Tutorial for Vulnserver</title><summary type='text'>The title says it all.

You can find the tutorial here.</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/1889589602865180773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/12/restricted-character-set-buffer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1889589602865180773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1889589602865180773'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/12/restricted-character-set-buffer.html' title='Restricted Character Set Buffer Overflow Tutorial for Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-5042377671449116427</id><published>2011-10-20T17:27:00.000+11:00</published><updated>2011-10-20T17:27:27.607+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='egghunter'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>Egghunter based exploit for Vulnserver</title><summary type='text'>A link to the most recent entry in the Vulnserver series is provided below.  Its at the  InfoSec Institute site once more.

Link


Hopefully the next part in the series will be coming up soon, keep watching this space.</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/5042377671449116427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/10/egghunter-based-exploit-for-vulnserver.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5042377671449116427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5042377671449116427'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/10/egghunter-based-exploit-for-vulnserver.html' title='Egghunter based exploit for Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6894954405830179948</id><published>2011-06-25T13:39:00.000+10:00</published><updated>2011-06-25T13:39:45.140+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SafeSEH'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SEH'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>SEH Based Buffer Overflow Tutorial for Vulnserver</title><summary type='text'>I wrote this tutorial on exploiting an SEH based vulnerability in Vulnserver a while back and am just getting around to posting a link for it here now that some formatting issues have been sorted.  Its at the InfoSec Institute site once more.

Link


Hopefully the next part in the series will be coming up soon, keep watching this space.</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6894954405830179948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/06/seh-based-buffer-overflow-tutorial-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6894954405830179948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6894954405830179948'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/06/seh-based-buffer-overflow-tutorial-for.html' title='SEH Based Buffer Overflow Tutorial for Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6121215002362028318</id><published>2011-05-21T22:34:00.004+10:00</published><updated>2012-01-26T12:26:59.729+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dradis'/><title type='text'>Running Dradis in Apache on Ubuntu</title><summary type='text'>Ever been running Dradis and noticed dreadful, unworkable performance problems?  I have, and to fix these I have often resorted to running Dradis on Apache, which seems to get things working nicely once more.  The problem with doing this however, is that I cant find an online guide that actually works for getting this setup.

The existing ones get you partway there, but still result in a broken </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6121215002362028318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/05/running-dradis-in-apache-on-ubuntu.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6121215002362028318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6121215002362028318'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/05/running-dradis-in-apache-on-ubuntu.html' title='Running Dradis in Apache on Ubuntu'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-3201533017746507458</id><published>2011-04-25T00:10:00.001+10:00</published><updated>2011-04-25T00:21:51.393+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>High Level Windows Shellcode Development Methods</title><summary type='text'>Heres a super quick entry covering some high level methods you can use when developing Windows shellcode.

The methods are:
Using the memory editing features of a debugger
Using a c compiler
Using an assembler

Using a debugger

Writing shellcode using the code editing features of a debugger like OllyDbg is best suited to really simple (approximately &lt;20 byte) shellcode, or for making small edits</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/3201533017746507458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/04/high-level-windows-shellcode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3201533017746507458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3201533017746507458'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/04/high-level-windows-shellcode.html' title='High Level Windows Shellcode Development Methods'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-3626901359435653374</id><published>2011-03-11T17:29:00.000+11:00</published><updated>2011-03-11T17:29:31.772+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>Simple Stack Based Buffer Overflow Tutorial for Vulnserver</title><summary type='text'>I have just written a tutorial for writing an exploit for the first and simplest exploitable vulnerability in Vulnserver.  As with previous Vulnserver related articles, you can read it at the InfoSec Institute site.

Links below:
Part 1
Part 2
Part 3

Enjoy!</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/3626901359435653374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/03/simple-stack-based-buffer-overflow.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3626901359435653374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3626901359435653374'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/03/simple-stack-based-buffer-overflow.html' title='Simple Stack Based Buffer Overflow Tutorial for Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2409523919983354144</id><published>2011-03-02T17:26:00.000+11:00</published><updated>2011-03-11T17:22:17.226+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>Exploit Writers Debugging Tutorial</title><summary type='text'>I have written a debugging tutorial specifically for exploit writers, which you can read at the InfoSec Institute resources site.  It covers all of the debugging skills needed to use OllyDbg for the development of Basic to Intermediate exploits, and is intended as a lead in to the tutorials I am planning on how to exploit each of the vulnerabilities in Vulnserver.

Links below:

Part 1
Part 2

 </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2409523919983354144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2011/03/exploit-writers-debugging-tutorial.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2409523919983354144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2409523919983354144'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2011/03/exploit-writers-debugging-tutorial.html' title='Exploit Writers Debugging Tutorial'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6058698619539322694</id><published>2010-12-25T12:33:00.002+11:00</published><updated>2011-02-22T23:27:30.966+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='fuzzing'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>An Introduction to Fuzzing: Using SPIKE to find vulnerabilities in Vulnserver</title><summary type='text'>I have written an article on how to use the SPIKE fuzzer to find vulnerabilities in Vulnserver, which you can read at the InfoSec Institute site.

Links are below.

Part 1: Introduction to Fuzzing
Part 2: Fuzzer Automation with SPIKE


You can download some of the scripts used in the article below:
fuzzer.pl
trun.pl
gmon.pl

Enjoy!</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6058698619539322694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/12/introduction-to-fuzzing-using-spike-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6058698619539322694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6058698619539322694'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/12/introduction-to-fuzzing-using-spike-to.html' title='An Introduction to Fuzzing: Using SPIKE to find vulnerabilities in Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6543304143018908107</id><published>2010-12-15T11:29:00.000+11:00</published><updated>2010-12-15T11:29:18.410+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnserver'/><title type='text'>Introducing Vulnserver</title><summary type='text'>Vulnserver 
I have just released a program named Vulnserver - a  Windows based threaded TCP server application that is designed to be  exploited.

Why did I write this?
I  am (slowly, and when not occupied with other things) teaching myself to  program in C, and this seemed like a good way to further develop my C  programming skills.  This gave me an opportunity to see how software is  exploited </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6543304143018908107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/12/introducing-vulnserver.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6543304143018908107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6543304143018908107'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/12/introducing-vulnserver.html' title='Introducing Vulnserver'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2035125832949883014</id><published>2010-11-10T18:09:00.000+11:00</published><updated>2010-12-15T14:04:58.488+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssltest'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Version 0.4 of SSL Testing Tool ssltest.pl</title><summary type='text'>New version, fixing a bug with the list command and resolving an issue from Skoyern relating to SSLv2 compliance with PCI DSS.

Download below - this link will always point to the latest version:
ssltest.pl
</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2035125832949883014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/11/version-04-of-ssl-testing-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2035125832949883014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2035125832949883014'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/11/version-04-of-ssl-testing-tool.html' title='Version 0.4 of SSL Testing Tool ssltest.pl'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-8923831905875407177</id><published>2010-11-09T20:43:00.000+11:00</published><updated>2010-12-15T14:04:58.488+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssltest'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Version 0.3 of SSL Testing Tool ssltest.pl</title><summary type='text'>I have released a new version of ssltest.pl - version 0.3.  This new version has two changes from version 0.2:
The tool now checks to see that it can make a connection to the provided host and port before it performs all of its SSL tests.  This will allow you to differentiate a non listening socket or non working network connection from an SSL service that supports no ciphers (mostly there to </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/8923831905875407177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/11/version-03-of-ssl-testing-tool.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8923831905875407177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8923831905875407177'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/11/version-03-of-ssl-testing-tool.html' title='Version 0.3 of SSL Testing Tool ssltest.pl'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-1525182226316849737</id><published>2010-10-21T18:20:00.001+11:00</published><updated>2010-10-21T18:28:09.261+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restrictive proxies'/><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Download and Execute Script Shellcode on Windows 7</title><summary type='text'>I have just released a new version of my Download and Execute Script shellcode which now works on Windows 7.

Essentially, the previous method I was using to find the base address of kernel32 was not Windows 7 compatible, so I have now started using this method discovered by SkyLined.

Taking into account some other "efficient-ising" I did while I was making this change, this comes in at only (</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/1525182226316849737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/10/download-and-execute-script-shellcode.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1525182226316849737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1525182226316849737'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/10/download-and-execute-script-shellcode.html' title='Download and Execute Script Shellcode on Windows 7'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-4670258273982690291</id><published>2010-08-22T13:50:00.003+10:00</published><updated>2010-10-28T17:42:43.653+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restrictive proxies'/><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Bypassing Restrictive Proxies Part 2, Modified Windows Shell via Metasploit PassiveX</title><summary type='text'>Introduction

When I first posted my Download and Execute Script shellcode a few months back, I mentioned that I had used it to obtain a shell in a restrictive proxy environment, and that I would discuss the process in a future blog entry.  Well this blog entry has been a long time coming, mostly because I couldn't think of the right way to present the code that I used.  Since use of this method </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/4670258273982690291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/08/bypassing-restrictive-proxies-part-2.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4670258273982690291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4670258273982690291'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/08/bypassing-restrictive-proxies-part-2.html' title='Bypassing Restrictive Proxies Part 2, Modified Windows Shell via Metasploit PassiveX'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_e7K39d4GimA/THCTMVDpy_I/AAAAAAAAASI/9ZgzYLpAMDs/s72-c/Screenshot-burp+suite+v1.3.03-2.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2213281571852261559</id><published>2010-08-12T21:02:00.000+10:00</published><updated>2010-12-15T14:04:58.489+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssltest'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Version 0.2 of SSL Testing Tool ssltest.pl</title><summary type='text'>I have just released a new version (0.2) of ssltest.pl.

This newest set of changes to the tool still don't include some of the things on my future wishlist, as mentioned in the previous post,  but instead came about when I attempted to use the tool from a Windows system and found it didn't work so well.

The changes in version 0.2 were essentially focused on getting the same functionality from </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2213281571852261559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/08/version-02-of-ssl-testing-tool.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2213281571852261559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2213281571852261559'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/08/version-02-of-ssl-testing-tool.html' title='Version 0.2 of SSL Testing Tool ssltest.pl'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_e7K39d4GimA/TGPSO1sStuI/AAAAAAAAASA/UCU3_2s9n8Y/s72-c/ssltest-windows.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-1887583659564999259</id><published>2010-07-27T21:18:00.005+10:00</published><updated>2010-12-15T14:04:58.490+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssltest'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>SSL Testing Tool ssltest.pl</title><summary type='text'>Update: I have just updated this tool to version 0.1.1 to resolve a minor bug (thanks Gitsnik) and a few cosmetic issues.

I have used a number of different tools to check cipher support on SSL Servers, including SSLDigger, sslthing, Cryptonark,  Openssl and even a few web based solutions.  Each tool has its good and bad points, but recently when trying to confirm that a particular badly behaved </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/1887583659564999259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/07/ssl-testing-tool-ssltestpl.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1887583659564999259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1887583659564999259'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/07/ssl-testing-tool-ssltestpl.html' title='SSL Testing Tool ssltest.pl'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6627344261938607650</id><published>2010-06-19T00:43:00.001+10:00</published><updated>2010-06-29T20:32:46.772+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restrictive proxies'/><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Bypassing Restrictive Proxies Part 1, Encoded Executables and DNS Tunneling</title><summary type='text'>Uses for Download and Execute Script Shellcode 

A little while back I posted my Download and Execute Script shellcode and mentioned that it could be used in bypassing restrictive proxy servers.  In this post I will give some quick examples of how you can actually do that.

The example scenarios I will describe are as follows, and involve having the script that is downloaded and executed:
write </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6627344261938607650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/06/bypassing-restrictive-proxies-part-1.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6627344261938607650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6627344261938607650'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/06/bypassing-restrictive-proxies-part-1.html' title='Bypassing Restrictive Proxies Part 1, Encoded Executables and DNS Tunneling'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-6978853943698465012</id><published>2010-06-13T02:12:00.010+10:00</published><updated>2010-07-20T21:59:10.442+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malicious pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='antivirus'/><category scheme='http://www.blogger.com/atom/ns#' term='rhino'/><title type='text'>Bypassing AntiVirus Detection for Malicious PDFs</title><summary type='text'>Introduction

Recently I had to get a malicious PDF file past a virus scanner as part of a penetration test, and I thought I would share the process I used to do it.  But before I do so, lets get the standard disclaimer out of the way...

Warning! Please note that this tutorial is intended for educational purposes only, and you should NOT use the skills you gain here to attack any system for </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/6978853943698465012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/06/bypassing-antivirus-detection-for.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6978853943698465012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/6978853943698465012'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/06/bypassing-antivirus-detection-for.html' title='Bypassing AntiVirus Detection for Malicious PDFs'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_e7K39d4GimA/TEWK8uJFuCI/AAAAAAAAARw/rKeqIEyW4Qo/s72-c/sploitcode1.jpg' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-8637480133081618157</id><published>2010-05-22T21:14:00.009+10:00</published><updated>2010-10-21T18:23:21.080+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restrictive proxies'/><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Download and Execute Script Shellcode</title><summary type='text'>Introduction 

Something I have been working on lately is shellcode to download and execute a script on a Windows system.  "What?"  you may be thinking, "Why the hell would you want to do that when there already exists shellcode to download and execute proper Windows executables?"  

The short answer to that question is "To bypass restrictive proxy servers"...

...

Need more detail than that?  </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/8637480133081618157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/05/download-and-execute-script-shellcode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8637480133081618157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8637480133081618157'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/05/download-and-execute-script-shellcode.html' title='Download and Execute Script Shellcode'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_e7K39d4GimA/S_eyWcgdfEI/AAAAAAAAAQA/67nSTZ2eBQY/s72-c/Diagram1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-5254522895345945130</id><published>2010-04-25T15:57:00.007+10:00</published><updated>2010-08-30T11:54:21.357+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Running Regripper on Linux</title><summary type='text'>I have been using Harlan Carvey's excellent RegRipper tool for a while now to analyse Windows registry hive files as part of incident investigations, and since I do the majority of my investigations from Linux systems I thought I'd share here the process I use to run RegRipper from Linux.

I am aware that a Linux version of RegRipper has been created but at the time that I checked it was not </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/5254522895345945130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/04/running-regripper-on-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5254522895345945130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5254522895345945130'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/04/running-regripper-on-linux.html' title='Running Regripper on Linux'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-1779979589772134191</id><published>2010-04-09T17:35:00.001+10:00</published><updated>2010-06-16T19:01:16.366+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malicious pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='links'/><title type='text'>Random Links</title><summary type='text'>Just adding a couple of random links I found interesting over the past few days
First of all - the nmap survey!  Used as input for updates to nmap and to the sectools.org list.  If you havent already get in there and vote!http://nmap.org/survey/ More on malicious pdf analysis at the ISC Diary. This one analyses a pdf that is using some interesting new Javascript obfuscation methods. http://</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/1779979589772134191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/04/random-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1779979589772134191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/1779979589772134191'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/04/random-links.html' title='Random Links'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2683591577675570176</id><published>2010-04-03T21:19:00.001+11:00</published><updated>2010-04-04T13:23:35.068+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='antivirus'/><title type='text'>Bypassing Antivirus Detection: Netcat</title><summary type='text'>Introduction

The subject of bypassing AV detection is one that comes up quite frequently in discussions in pentesting circles, and I was most recently reminded of it once again when it came up on one of the mailing lists I subscribed to.  In this particular case, the executable in question that people wanted to sneak by those evil AV scanners was the Windows version of netcat (nc.exe).

Since </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2683591577675570176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/04/bypassing-av-detection-netcat.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2683591577675570176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2683591577675570176'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/04/bypassing-av-detection-netcat.html' title='Bypassing Antivirus Detection: Netcat'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-3087956561165515118</id><published>2010-03-31T21:25:00.002+11:00</published><updated>2010-06-16T19:01:16.367+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Links and trojans and zipsploits, oh my!</title><summary type='text'>A bit of a housekeeping post here, where I am just going to provide some links for cool stuff I have seen recently and provide some updates on some things mentioned in other blog posts.

First of all... the trojan.  Im still planning to write a malware detection and analysis style post using it as an example, but when I actually started writing the thing it started to grow out of all proportion </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/3087956561165515118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/03/links-and-trojans-and-zipsploits-oh-my.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3087956561165515118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3087956561165515118'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/03/links-and-trojans-and-zipsploits-oh-my.html' title='Links and trojans and zipsploits, oh my!'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-8899193148027390678</id><published>2010-03-31T20:35:00.000+11:00</published><updated>2010-03-31T20:50:27.784+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='theory'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='use after free'/><category scheme='http://www.blogger.com/atom/ns#' term='heap overflow'/><title type='text'>The Difference Between Heap Overflow and Use After Free Vulnerabilities</title><summary type='text'>A little while back I received a question from a blog reader asking about the difference between heap overflows and use after free vulnerabilities, and I thought it would make a good topic for a blog post, so here goes.

Now, to answer this question I am first going to have to explain something about memory management, so prepare yourself for reams of dry theory... 

There are two main types of </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/8899193148027390678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/03/difference-between-heap-overflow-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8899193148027390678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8899193148027390678'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/03/difference-between-heap-overflow-and.html' title='The Difference Between Heap Overflow and Use After Free Vulnerabilities'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-4635668579552292732</id><published>2010-03-19T10:51:00.002+11:00</published><updated>2010-03-19T12:58:19.606+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Uh oh!  Trojan!</title><summary type='text'>Apparently you cant trust anyone these days.  Including me it seems ;).

In my second exploit tutorial I talked about how to exploit a vulnerability in BigAnt Server 2.52, and I provided a link to the vulnerable application from the Exploit-DB.  On the 27th of February, I noticed that the Exploit-DB download link for the vulnerable application had been removed, with no explanation as to why, so </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/4635668579552292732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/03/uh-oh-trojan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4635668579552292732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4635668579552292732'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/03/uh-oh-trojan.html' title='Uh oh!  Trojan!'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-7709908231173457141</id><published>2010-02-28T13:14:00.001+11:00</published><updated>2010-05-22T21:37:11.063+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SafeSEH'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><title type='text'>Do the Exploit Tutorials Work Under XP SP3?</title><summary type='text'>I have received a couple of questions from blog readers recently about whether the various exploits I have written in my various exploit tutorials will work under XP SP3, so I thought I would write a quick blog post on the subject here in case other readers were interested.

As mentioned in each of my tutorials, the platform I have been using for my victim machine is XP SP2.  There was no real </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/7709908231173457141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/02/do-exploit-tutorials-work-under-xp-sp3.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7709908231173457141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7709908231173457141'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/02/do-exploit-tutorials-work-under-xp-sp3.html' title='Do the Exploit Tutorials Work Under XP SP3?'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_e7K39d4GimA/S4nIHAX0fUI/AAAAAAAAAPw/PHdqEo4k_MA/s72-c/minishare.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-4820440972617454861</id><published>2010-02-27T20:33:00.006+11:00</published><updated>2010-03-31T21:36:58.795+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Creating an Unprivileged (Non Root) User in BackTrack</title><summary type='text'>Introduction

This tutorial will cover the steps for adding a new, unprivileged user for day to day use of BackTrack.  It will also discuss the reasons for and against running as root, as well covering off on as potential problems that may arise from running as a user other than root and how to solve these problems.


This is essentially just a repost of a tutorial I posted over at the BackTrack </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/4820440972617454861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/02/creating.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4820440972617454861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4820440972617454861'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/02/creating.html' title='Creating an Unprivileged (Non Root) User in BackTrack'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-3804191390286563669</id><published>2010-02-13T21:46:00.003+11:00</published><updated>2010-05-22T22:13:30.014+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='egghunter'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='compiler'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Windows Buffer Overflow Tutorial: An Egghunter and a Conditional Jump</title><summary type='text'>Introduction

This is entry number five in my series of buffer overflow tutorials.  These tutorials have been written so that the later tutorials build upon skills taught in the earlier ones, so if you haven't already read parts one, two, three and four Id recommend you do that first before you attempt this entry.

This particular entry will exploit a vulnerability in Savant Web Server 3.1 </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/3804191390286563669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/02/windows-buffer-overflow-tutorial.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3804191390286563669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3804191390286563669'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/02/windows-buffer-overflow-tutorial.html' title='Windows Buffer Overflow Tutorial: An Egghunter and a Conditional Jump'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_e7K39d4GimA/S3Z0PmeEqNI/AAAAAAAAALg/GZRyGfcLqII/s72-c/savant01-d.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-4622670680845602838</id><published>2010-02-13T14:35:00.001+11:00</published><updated>2010-02-13T22:09:51.262+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='compiler'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Installing and Running the MinGW Windows C Compiler on Linux</title><summary type='text'>Having a working Windows c compiler on your Linux system can be very handy for penetration testing and incident response activities, as it allows you to create executables from Windows shellcode to aid in analysis or to compile Windows c based exploits so you can run them on your Linux box using wine.

In this post I will briefly cover the steps required to install the MinGW C compiler on a Linux</summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/4622670680845602838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/02/installing-and-running-mingw-windows-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4622670680845602838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/4622670680845602838'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/02/installing-and-running-mingw-windows-c.html' title='Installing and Running the MinGW Windows C Compiler on Linux'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_e7K39d4GimA/S3YcP1yazZI/AAAAAAAAALA/etI8mrH6J4s/s72-c/mingw1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-7958697726026368139</id><published>2010-02-09T18:20:00.002+11:00</published><updated>2010-06-16T19:01:16.368+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='links'/><title type='text'>Linkfest</title><summary type='text'>To tide everyone over while I finish up writing part 5 of my exploit tutorials (which will hopefully be done by the end of this week), I have a number of interesting links that I have collected recently.

Didier Stevens has been up to some very interesting things recently with getting dlls loaded from memory (so a copy of the DLL does NOT have to be stored on the hard disk).  This has very </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/7958697726026368139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/02/linkfest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7958697726026368139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7958697726026368139'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/02/linkfest.html' title='Linkfest'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-8030009386952270811</id><published>2010-01-28T18:12:00.000+11:00</published><updated>2010-12-25T12:34:05.054+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='SEH'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='fuzzing'/><title type='text'>Introduction to Vulnerability Discovery: Guest Post</title><summary type='text'>When I wrote my second buffer overflow tutorial I mentioned that I was discussing with Lincoln the possibility of him writing a complementary blog post on how the vulnerability in BigAnt Server 2.52 was discovered.  Well here is the post in its entirety, written by the man himself and posted as a guest entry on my blog:

Finding 0day for BigAnt

The process of finding a buffer overflow is </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/8030009386952270811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/introduction-to-vulnerability-discovery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8030009386952270811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/8030009386952270811'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/introduction-to-vulnerability-discovery.html' title='Introduction to Vulnerability Discovery: Guest Post'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Od-pgvfuIg8/S13skpJy0hI/AAAAAAAAABE/-KNTr0ynbUU/s72-c/ant.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2546277614525129819</id><published>2010-01-24T22:27:00.007+11:00</published><updated>2010-07-21T17:41:45.212+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='use after free'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Heap Spray Exploit Tutorial: Internet Explorer Use After Free Aurora Vulnerability</title><summary type='text'>Introduction

This is the fourth entry in my series of exploit tutorials.  Part one is here, part two is here, and part three is here.  The tutorials are written to be done in order, so ensure you have the required knowledge from parts one through three before you attempt number four.

In this entry, we will be reproducing the "aurora" Internet Explorer exploit using heap spraying.  This exploit </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2546277614525129819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/heap-spray-exploit-tutorial-internet.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2546277614525129819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2546277614525129819'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/heap-spray-exploit-tutorial-internet.html' title='Heap Spray Exploit Tutorial: Internet Explorer Use After Free Aurora Vulnerability'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_e7K39d4GimA/S1woEJ1plsI/AAAAAAAAAI8/BX6YrpBG4lM/s72-c/aurora18-c.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-9067712280497629694</id><published>2010-01-17T19:44:00.001+11:00</published><updated>2010-05-22T21:37:01.613+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SafeSEH'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SEH'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Windows Buffer Overflow Tutorial: Dealing with Character Translation</title><summary type='text'>Introduction

This is the third entry in my series of buffer overflow tutorials.

In case you missed them, here are entries one and two. These tutorials are designed to build upon skills taught in each of the preceding tutorials, so I recommend that you complete the first two before you attempt this one.

In this entry we will be doing another SEH Stack based overflow, however in this case our </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/9067712280497629694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/windows-buffer-overflow-tutorial.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/9067712280497629694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/9067712280497629694'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/windows-buffer-overflow-tutorial.html' title='Windows Buffer Overflow Tutorial: Dealing with Character Translation'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_e7K39d4GimA/S1LAPXoeyFI/AAAAAAAAAH0/Ko2meoC52lo/s72-c/servu02-c.png' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-7172594260457629092</id><published>2010-01-13T00:24:00.000+11:00</published><updated>2010-02-01T17:49:07.513+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>BackTrack 4 Final First Impressions</title><summary type='text'>I just finished installing BackTrack 4 Final and I thought I would list some of my initial impressions of it here. 

I performed a fresh install of BackTrack 4 Final, over the top of my old BackTrack 4 PreFinal install.  Apparently an upgrade is possible (according to this) but it sounds like it might cause some small niggles so I decided to go with the fresh install option.

Theres a few things </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/7172594260457629092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/backtrack-4-final-first-impressions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7172594260457629092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/7172594260457629092'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/backtrack-4-final-first-impressions.html' title='BackTrack 4 Final First Impressions'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_e7K39d4GimA/S0xmamL-VdI/AAAAAAAAAHk/WiHC3vEXImk/s72-c/snapshot1.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-3810629341908577686</id><published>2010-01-12T13:13:00.000+11:00</published><updated>2010-02-01T17:49:07.514+11:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>BackTrack 4 Final Released!</title><summary type='text'>BackTrack 4 Final has finally been released!

Along with the new BackTrack version there is also a new website including various installation, customisation and usage HowTo documents, a new blog, and a new forum.

I am currently downloading BT4 Final from the official torrent (the official downloads are here, dont forget to check the MD5 hash!) , and I will post here again with my first </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/3810629341908577686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/backtrack-4-final-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3810629341908577686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/3810629341908577686'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/backtrack-4-final-released.html' title='BackTrack 4 Final Released!'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-2023562439058462197</id><published>2010-01-10T00:25:00.008+11:00</published><updated>2010-06-16T19:01:16.369+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malicious pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><category scheme='http://www.blogger.com/atom/ns#' term='rhino'/><title type='text'>Analysing a Malicious PDF Document</title><summary type='text'>Introduction

On a number of occasions I have had to analyse PDF documents to determine whether they were malicious, and in this post I am going to share the process I follow in performing this analysis.

For demonstration purposes, I will generate an example malicious PDF document using Metasploit, featuring the "use-after-free" media.newPlayer vulnerability.  This is the very same exploit that </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/2023562439058462197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/analysing-malicious-pdf-document.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2023562439058462197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/2023562439058462197'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/analysing-malicious-pdf-document.html' title='Analysing a Malicious PDF Document'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_e7K39d4GimA/S0h-wS3hMWI/AAAAAAAAAHM/o0SRxDFjbTE/s72-c/malpdf03.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-5647020082813941945</id><published>2010-01-07T20:17:00.025+11:00</published><updated>2010-08-12T17:46:37.654+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SafeSEH'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='SEH'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>SEH Stack Based Windows Buffer Overflow Tutorial</title><summary type='text'>Introduction

This is the second in my series of buffer overflow tutorials, which focuses on how to use an overwrite of the SEH handler address on the stack to gain control of code execution in a vulnerable program.  The intent of this series of tutorials is to educate the reader on how they can write buffer overflow exploits.  This will enable you to have a better understanding of the use of </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/5647020082813941945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/seh-stack-based-windows-buffer-overflow.html#comment-form' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5647020082813941945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/5647020082813941945'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/seh-stack-based-windows-buffer-overflow.html' title='SEH Stack Based Windows Buffer Overflow Tutorial'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_e7K39d4GimA/S0aeQT2ZyOI/AAAAAAAAADc/8eiGHvTp0EY/s72-c/bigant25.png' height='72' width='72'/><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2318886372568084567.post-384664715221385024</id><published>2010-01-07T13:44:00.005+11:00</published><updated>2010-05-22T21:37:01.614+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploit tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='windows stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='stack based buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows buffer overflow'/><category scheme='http://www.blogger.com/atom/ns#' term='shellcode'/><title type='text'>Stack Based Windows Buffer Overflow Tutorial</title><summary type='text'>Introduction

One thing I have always maintained is that aspiring or practicing penetration testers who use an exploitation product (such as CANVAS, Core Impact, Metasploit) should know how buffer overflows actually work. Having this knowledge will help you understand the circumstances under which these products can work, will help you troubleshoot when things don't work and will correct </summary><link rel='replies' type='application/atom+xml' href='http://grey-corner.blogspot.com/feeds/384664715221385024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grey-corner.blogspot.com/2010/01/beginning-stack-based-buffer-overflow.html#comment-form' title='49 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/384664715221385024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2318886372568084567/posts/default/384664715221385024'/><link rel='alternate' type='text/html' href='http://grey-corner.blogspot.com/2010/01/beginning-stack-based-buffer-overflow.html' title='Stack Based Windows Buffer Overflow Tutorial'/><author><name>lupin</name><uri>http://www.blogger.com/profile/17048881513297639889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_e7K39d4GimA/S19wsSiT0_I/AAAAAAAAAKg/YgRGuPhDCfE/S220/avatar1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_e7K39d4GimA/S0ar9_UlqfI/AAAAAAAAAFc/ItQ6rmJxyTg/s72-c/minishare14.png' height='72' width='72'/><thr:total>49</thr:total></entry></feed>
