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

<channel>
	<title>Security &#38; Hacking Blog</title>
	<atom:link href="http://securityblog.gr/feed/" rel="self" type="application/rss+xml" />
	<link>http://securityblog.gr</link>
	<description>All about security and more!</description>
	<lastBuildDate>Sat, 19 May 2012 08:08:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How SSL Works</title>
		<link>http://securityblog.gr/793/how-ssl-works/</link>
		<comments>http://securityblog.gr/793/how-ssl-works/#comments</comments>
		<pubDate>Sat, 19 May 2012 08:08:23 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=793</guid>
		<description><![CDATA[Secure Sockets Layer (SSL), is a cryptographic protocol that provides secure communication over the Internet. Secure communication has three main goals, privacy, message integrity, and authentication. SSL uses asymmetric cryptography for key exchange, symmetric encryption for privacy, and message authentication &#8230;<p class="read-more"><a href="http://securityblog.gr/793/how-ssl-works/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Secure Sockets Layer (SSL)</strong>, is a cryptographic protocol that provides secure communication over the Internet. Secure communication has three main goals, <strong>privacy</strong>, <strong>message integrity</strong>, and <strong>authentication</strong>. SSL uses <a title="asymmetric encryption" href="http://securityblog.gr/452/asymmetric-encryption-public-key-encryption/" target="_blank">asymmetric cryptography</a> for <strong>key exchange</strong>, <a title="symmetric encryption" href="http://securityblog.gr/431/popular-symmetric-encryption-algorithms/" target="_blank">symmetric encryption</a> for <strong>privacy</strong>, and message authentication codes for <strong>message integrity</strong>.</p>
<p>When the browser requests an SSL connection with the website, it actually requests from the web server to identify itself. The <strong>server</strong> to identify itself, responds with SSL <strong>Certificate</strong>. The browser checks the certificate to make sure that the site is the real site and not someone intercepting.</p>
<p>The browser has public keys from root certificate authorities. If the received key from a web server is signed by one of the root CA&#8217;s stored in the browser&#8217;s database, then the website can be verified as trustworthy automatically and SSL session can be established.</p>
<p>if the browser trusts the SSL Certificate, it sends a unique code to the server encrypted with SSL public key. The server responds with a digitally signed acknowledgement and an SSL encrypted session is established. After this step the browser and the web server start exchanging encrypted messages.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/793/how-ssl-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web server audit tool &#8211; Webshag</title>
		<link>http://securityblog.gr/774/web-server-audit-tool-webshag/</link>
		<comments>http://securityblog.gr/774/web-server-audit-tool-webshag/#comments</comments>
		<pubDate>Wed, 09 May 2012 08:36:53 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[crawling]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[fuzzing]]></category>
		<category><![CDATA[scanning]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webshag]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=774</guid>
		<description><![CDATA[Webshag page 1. Open your BackTrack VM. 2. Goto Applications-&#62;BackTrack-&#62;Information Gathering-&#62;Web Application Analysis-&#62;Web Crawlers-&#62;webshag-cli 3. Execute the following command to uscan a host on port 80: python webshag_cli.py targethostname.com 4. Options: &#8211;version show program&#8217;s version number and exit -h, &#8211;help &#8230;<p class="read-more"><a href="http://securityblog.gr/774/web-server-audit-tool-webshag/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.scrt.ch/en/attack/downloads/webshag" title="webshag" target="_blank">Webshag page</a></p>
<p>1. Open your <strong>BackTrack</strong> VM.</p>
<p>2. Goto <strong>Applications</strong>-&gt;<strong>BackTrack</strong>-&gt;<strong>Information Gathering</strong>-&gt;<strong>Web Application Analysis</strong>-&gt;<strong>Web Crawlers</strong>-&gt;<strong>webshag-cli</strong></p>
<p>3. Execute the following command to uscan a host on port 80:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python webshag_cli.py targethostname.com</pre></div></div>

<p>4. Options:<br />
  <strong>&#8211;version</strong>       <em>show program&#8217;s version number and exit</em></p>
<p>  <strong>-h, &#8211;help</strong>      <em>show this help message and exit</em></p>
<p>  <strong>-U</strong>              <em>Update the URL scanner databases and exit</em></p>
<p>  <strong>-m MODULE</strong>       <em>Use MODULE [pscan|info|spider|uscan|fuzz]. (default: uscan)</em></p>
<p>  <strong>-p PORT</strong>         <em>Set target port to PORT. For modules uscan and fuzz PORT can<br />
                                   be a list of ports [port1,port2,...]. (default: 80)</em></p>
<p>  <strong>-r ROOT</strong>         <em>Set root directory to ROOT. For modules uscan and fuzz ROOT<br />
                                   can be a list of directories [/root1/,/root2/,...].<br />
                                   (default: /)</em></p>
<p>  <strong>-k SKIP</strong>         <em>*uscan only* Set a false positive detection string</em></p>
<p>  <strong>-s SERVER</strong>       <em>*uscan only* Bypass server detection and force server as<br />
                                    SERVER</em></p>
<p>  <strong>-i SPIDER_INIT</strong>  <em>*spider only* Set spider initial crawling page (default: /)<br />
</em><br />
  <strong>-n FUZZ_MODE</strong>    <em>*fuzz only* Choose the fuzzing mode [list|gen]. (default:<br />
                                   list)</em></p>
<p>  <strong>-e FUZZ_CFG</strong>    <em> *fuzz / list only* Set the fuzzing parameters for list mode.<br />
                                   11 = fuzz directories and files; 01 = fuzz files only; 10 =<br />
                                   fuzz directories only; 00 = fuzz nothing. (default: 11)</em></p>
<p>  <strong>-g FUZZ_GEN</strong>     <em>*fuzz / gen only* Set the filename generator expression.<br />
                                   Refer to documentation for syntax reference. (default: )</em></p>
<p>  <strong>-x</strong>              <em>Export a report summarizing results.</em></p>
<p>  <strong>-o OUTPUT</strong>       <em>Set the format of the exported report. [xml|html|txt].<br />
                                   (default: html)</em></p>
<p>  <strong>-f OUTPUT_FILE</strong>  <em>Write report to FILE. (default: webshag_report.html)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/774/web-server-audit-tool-webshag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a Zombie Computer?</title>
		<link>http://securityblog.gr/764/what-is-a-zombie-computer/</link>
		<comments>http://securityblog.gr/764/what-is-a-zombie-computer/#comments</comments>
		<pubDate>Sat, 05 May 2012 09:24:10 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[zombie]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=764</guid>
		<description><![CDATA[A zombie computer is a computer that is connected to the Internet and has been compromised secretly. Malware software such as rootkits, computer viruses or trojan horses allow a hacker to control computer and its resources remotely and execute a &#8230;<p class="read-more"><a href="http://securityblog.gr/764/what-is-a-zombie-computer/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>A<strong> <a title="zombie computer" href="http://en.wikipedia.org/wiki/Zombie_%28computer_science%29" target="_blank">zombie computer</a></strong> is a computer that is connected to the Internet and has been compromised secretly. Malware software such as <strong>rootkits</strong>, <strong>computer viruses</strong> or <strong>trojan horses</strong> allow a hacker to control computer and its resources remotely and execute a variation of malicious tasks and illegal activities. <strong></strong></p>
<p>A network of zombie computers (<strong>botnet</strong>) are used to launch <strong>denial-of-service</strong> (DDOS/DOS) attacks, send spam, attack websites, compromise other computers etc. Because most of the owners of zombie computers are unaware that their system has been compromised and is being used in this way, these computers are compared to zombies.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/764/what-is-a-zombie-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer virus and other malware in simple words</title>
		<link>http://securityblog.gr/741/computer-virus-and-other-malware-in-simple-words/</link>
		<comments>http://securityblog.gr/741/computer-virus-and-other-malware-in-simple-words/#comments</comments>
		<pubDate>Wed, 02 May 2012 09:10:41 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[explanation]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[malicious]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=741</guid>
		<description><![CDATA[A computer virus is a computer program, malicious software, that can replicate itself and spread from one computer to another. Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file &#8230;<p class="read-more"><a href="http://securityblog.gr/741/computer-virus-and-other-malware-in-simple-words/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>A <span style="text-decoration: underline;"><strong><a title="virus" href="http://en.wikipedia.org/wiki/Computer_virus" target="_blank">computer virus</a></strong></span> is a computer program, malicious software, that can replicate itself and spread from one computer to another. Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file system that is accessed by other computers. Malware also includes  computer worms, Trojan horses, rootkits, spyware and adware.</p>
<p><span style="text-decoration: underline;"><strong>Infection Strategies &#8211; Viruses types</strong></span></p>
<p><em>Nonresident viruses</em> &#8211; this type of virus search for other files to infect. When a nonresident virus finds a new healthy executable file it replicates itself into healthy executable file.</p>
<p><em>Resident viruses</em> -  this type of virus loads a replication mechanism into memory and ensures that this mechanism is executed each time the operating system is called to perform a certain operation. The replication mechanism-module can be called each time the operating system executes a file, etc. In this case the virus infects every suitable program that is executed on the computer.</p>
<p><em>Code injection</em> &#8211; can be used to infect operating system files, make antivirus programs unable to detect the virus etc. File hashes stored in Windows, to identify altered Windows files, can also be overwritten so that the System File Checker will report that system files are originals.</p>
<p><a title="worms" href="http://en.wikipedia.org/wiki/Computer_worm" target="_blank"><span style="text-decoration: underline;"><strong>Worms</strong></span></a></p>
<p>A worm is a standalone malware computer program that replicates itself in order to spread to other computers. A worm can exploit security vulnerabilities to spread itself automatically to other computers through networks. It does not need to attach itself to an existing program like virus does.</p>
<p><a title="trojan horse" href="http://en.wikipedia.org/wiki/Trojan_horse_%28computing%29" target="_blank"><span style="text-decoration: underline;"><strong>Trojan Horses</strong></span></a></p>
<p>A Trojan horse is a program that appears harmless but hides malicious functions. When the user executes a Trojan horse, the program performs the expected task for ex. a calculator or an mp3 music converter etc, however, the program is also performing actions unknown to the user. The term is derived from the Trojan Horse story in Greek mythology because Trojan horses employ a form of “social engineering,” presenting themselves as harmless, freeware software tools, in order to persuade victims to install them on their computers.</p>
<p><a title="spyware" href="http://en.wikipedia.org/wiki/Spyware" target="_blank"><span style="text-decoration: underline;"><strong>Spyware</strong></span></a></p>
<p>Spyware is a type of malicious software installed on computers that collects information about users without their knowledge. The presence of spyware is hidden from the user and can be difficult to detect. Keyllogers are a type of spyware.</p>
<p><a title="adware" href="http://en.wikipedia.org/wiki/Adware" target="_blank"><span style="text-decoration: underline;"><strong>Adware</strong></span></a></p>
<p>Adware (advertising-supported software) is a computer software which shows advertisements. These advertisements can be in the form of a pop-up, embedded in the user interface of the main software or on a screen presented to the user during the installation process. Adware is harmless but some adware may come with integrated spyware software such as keyloggers.</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/741/computer-virus-and-other-malware-in-simple-words/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure Your Wireless Network</title>
		<link>http://securityblog.gr/724/secure-your-wireless-network/</link>
		<comments>http://securityblog.gr/724/secure-your-wireless-network/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 21:17:22 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=724</guid>
		<description><![CDATA[Find Your Router To find your router in Windows open cmd and issue the following command: ipconfig in Linux type: route -n or ifconfig Locate the ip address under Gateway. All you need to do in most situations is to &#8230;<p class="read-more"><a href="http://securityblog.gr/724/secure-your-wireless-network/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>Find Your Router</strong></span></p>
<p>To find your router in <strong>Windows</strong> open cmd and issue the following command:</p>
<p><strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ipconfig</pre></div></div>

<p></strong></p>
<p>in <strong>Linux</strong> type:</p>
<p><strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">route <span style="color: #660033;">-n</span></pre></div></div>

<p> or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p></strong></p>
<p>Locate the ip address under <em>Gateway</em>. All you need to do in most situations is to enter this ip address into your favorite web browser.</p>
<p><span style="text-decoration: underline;"><strong>Change default Admin password</strong></span></p>
<p><span style="text-decoration: underline;"><strong>Change the name of yout SSID</strong></span></p>
<p><em>Service Set Identifier</em> (SSID) is the <em>name</em> of your wireless access point. Change it to something else, for example <em>myownet</em>.</p>
<p><span style="text-decoration: underline;"><strong>Use encryption</strong></span></p>
<p>Use <strong>WPA2</strong> or <strong>WPA2-PSK</strong> because these are the latest wireless encryption protocols that provide the best encryption.</p>
<p><span style="text-decoration: underline;"><strong>Filter MAC addresses</strong></span></p>
<p>Almost every router has the feature to allow specific devices-mac addresses to access the network. Find all your machines mac addresses and add them to router&#8217;s white list.</p>
<p>For Windows users, to find your mac address: <strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ipconfig</pre></div></div>

<p></strong></p>
<p>For Linux users: <strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p></strong></p>
<p><span style="text-decoration: underline;"><strong>Enable router&#8217;s firewall</strong></span></p>
<p>Firewall will help you to protect your network and your computers from unauthorized access.</p>
<p><span style="text-decoration: underline;"><strong>Hide your SSID</strong></span></p>
<p>Hiding your SSID from public is not a strong security measure but it is an <em>extra layer of security</em> for <em>defense-in-depth</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/724/secure-your-wireless-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing Session fixation &#8211; hijacking</title>
		<link>http://securityblog.gr/716/preventing-session-fixation-hijacking/</link>
		<comments>http://securityblog.gr/716/preventing-session-fixation-hijacking/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 10:06:05 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Vulnerabilities]]></category>
		<category><![CDATA[fixation]]></category>
		<category><![CDATA[hijacking]]></category>
		<category><![CDATA[prevent]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=716</guid>
		<description><![CDATA[&#8220;Session fixation attacks attempt to exploit the vulnerability of a system which allows one person to fixate (set) another person&#8217;s session identifier (SID). Most session fixation attacks are web based, and most rely on session identifiers being accepted from URLs &#8230;<p class="read-more"><a href="http://securityblog.gr/716/preventing-session-fixation-hijacking/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>&#8220;<strong>Session fixation attacks</strong> attempt to exploit the vulnerability of a system which allows one person to fixate (set) another person&#8217;s session identifier (SID). Most session fixation attacks are web based, and most rely on session identifiers being accepted from URLs (query string) or POST data..&#8221; from <a title="session fixation" href="http://en.wikipedia.org/wiki/Session_fixation" target="_blank">Wiki</a>.</p>
<p>Let&#8217;s see some countermeasures we can take to prevent this sort of vulnerability.</p>
<p>* Generate a <strong>new session identifier</strong> whenever the user <strong>log in</strong>.</p>
<p>* Generate a <strong>new session identifier</strong> whenever the user must <strong>re-authenticate</strong>.</p>
<p>* Generate a <strong>new session identifier</strong> on <strong>each request</strong>.</p>
<p>* Generate a <strong>new session identifier</strong> <strong>every 3-5 minutes</strong>.</p>
<p>* Perform an extra check by matching the <strong>User-Agent</strong>.</p>
<p>* Perform an extra check by matching the <strong>IP</strong>.</p>
<p>* Store the session identifier in <strong>HTTP</strong> <strong>cookies</strong>.</p>
<p>* The logout mechanism must <strong>destroy</strong> all session data.</p>
<p>* Generate your own <strong>random, unpredictable session identifier</strong>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/716/preventing-session-fixation-hijacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discover other computers or devices on the network</title>
		<link>http://securityblog.gr/704/discover-other-computers-or-devices-on-the-network/</link>
		<comments>http://securityblog.gr/704/discover-other-computers-or-devices-on-the-network/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 14:28:05 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[devices]]></category>
		<category><![CDATA[discover]]></category>
		<category><![CDATA[netdiscover]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=704</guid>
		<description><![CDATA[1. Open your BackTrack VM. 2. Goto Applications->BackTrack->Information Gathering->Network Analysis->Identify Live Hosts->netdiscover 3. Execute the following command to scan the local network: netdiscover -i eth1 -r xxx.xxx.x.0/24 to get a response similar to this: Currently scanning: Finished! &#124; Screen View: &#8230;<p class="read-more"><a href="http://securityblog.gr/704/discover-other-computers-or-devices-on-the-network/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>1. Open your <strong>BackTrack</strong> VM.</p>
<p>2. Goto <strong>Applications</strong>-><strong>BackTrack</strong>-><strong>Information Gathering</strong>-><strong>Network Analysis</strong>-><strong>Identify Live Hosts</strong>-><strong>netdiscover</strong></p>
<p>3. Execute the following command to scan the local network:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">netdiscover <span style="color: #660033;">-i</span> eth1 <span style="color: #660033;">-r</span> xxx.xxx.x.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span></pre></div></div>

<p>to get a response similar to this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Currently scanning: Finished<span style="color: #000000; font-weight: bold;">!</span>   <span style="color: #000000; font-weight: bold;">|</span>   Screen View: Unique Hosts                 
&nbsp;
 <span style="color: #000000;">8</span> Captured ARP Req<span style="color: #000000; font-weight: bold;">/</span>Rep packets, from <span style="color: #000000;">5</span> hosts.   Total <span style="color: #c20cb9; font-weight: bold;">size</span>: <span style="color: #000000;">480</span>               
 _____________________________________________________________________________
   IP            At MAC Address      Count  Len   MAC Vendor                   
 <span style="color: #660033;">-----------------------------------------------------------------------------</span> 
 xxx.xxx.x.x     yy:yy:yy:yy:yy:yy    02    <span style="color: #000000;">120</span>   Unknown vendor               
 xxx.xxx.x.x     aa:aa:aa:aa:aa:aa    01    060   DIGITAL EQUIPMENT CORPORATION
 xxx.xxx.x.xx    00:00:00:00:00:00    01    060   Vixen Co., Ltd.              
 xxx.xxx.x.xx    <span style="color: #c20cb9; font-weight: bold;">cc</span>:<span style="color: #c20cb9; font-weight: bold;">cc</span>:<span style="color: #c20cb9; font-weight: bold;">cc</span>:<span style="color: #c20cb9; font-weight: bold;">cc</span>:<span style="color: #c20cb9; font-weight: bold;">cc</span>:<span style="color: #c20cb9; font-weight: bold;">cc</span>    01    060   Unknown vendor               
 xxx.xxx.x.x     ee:ee:ee:ee:ee:ee    03    <span style="color: #000000;">180</span>   Unknown vendor</pre></div></div>

<p><strong><u>Usage</u></strong><br />
<strong>netdiscover</strong> [-i device] [-r range | -l file | -p] [-s time] [-n node] [-c count] [-f] [-d] [-S] [-P] [-C]<br />
  <strong>-i</strong> device: your network device<br />
  <strong>-r</strong> range: scan a given range instead of auto scan. 192.168.6.0/24,/16,/8<br />
  <strong>-l</strong> file: scan the list of ranges contained into the given file<br />
  <strong>-p</strong> passive mode: do not send anything, only sniff<br />
  <strong>-F</strong> filter: Customize pcap filter expression (default: &#8220;arp&#8221;)<br />
  <strong>-s</strong> time: time to sleep between each arp request (miliseconds)<br />
  <strong>-n</strong> node: last ip octet used for scanning (from 2 to 253)<br />
  <strong>-c</strong> count: number of times to send each arp reques (for nets with packet loss)<br />
  <strong>-f</strong> enable fastmode scan, saves a lot of time, recommended for auto<br />
  <strong>-d</strong> ignore home config files for autoscan and fast mode<br />
  <strong>-S</strong> enable sleep time supression betwen each request (hardcore mode)<br />
  <strong>-P</strong> print results in a format suitable for parsing by another program<br />
  <strong>-L</strong> in parsable output mode (-P), continue listening after the active scan is completed</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/704/discover-other-computers-or-devices-on-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS Detection with xprobe2</title>
		<link>http://securityblog.gr/696/os-detection-with-xprobe2/</link>
		<comments>http://securityblog.gr/696/os-detection-with-xprobe2/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 08:25:31 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[xprobe2]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=696</guid>
		<description><![CDATA[1. Open your backtrack vm. 2. Goto Applications-&#62;BackTrack-&#62;Information Gathering-&#62;Network Analysis-&#62;OS Fingerprinting-&#62;xprobe2. 3. Execute the following command: xprobe2 xxx.xxx.xxx.xxx or xprobe2 -v -r xxx.xxx.xxx.xxx -v verbose -r show route to target (traceroute) You will get a response similar to this: .. &#8230;<p class="read-more"><a href="http://securityblog.gr/696/os-detection-with-xprobe2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>1. Open your backtrack vm.</p>
<p>2. Goto <strong>Applications</strong>-&gt;<strong>BackTrack</strong>-&gt;<strong>Information Gathering</strong>-&gt;<strong>Network Analysis</strong>-&gt;<strong>OS Fingerprinting</strong>-&gt;<strong>xprobe2</strong>.</p>
<p>3. Execute the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xprobe2 xxx.xxx.xxx.xxx</pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xprobe2 <span style="color: #660033;">-v</span> <span style="color: #660033;">-r</span> xxx.xxx.xxx.xxx</pre></div></div>

<p><strong>-v</strong>  verbose<br />
<strong>-r</strong>  show route to target (traceroute)</p>
<p>You will get a response similar to this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">..
..
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Primary Network guess:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows 2003 Server Enterprise Edition&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Other guesses:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows NT 4 Server Service Pack 6a&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows 2000 Workstation SP2&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows NT 4 Server Service Pack 4&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows 2000 Workstation&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows NT 4 Workstation Service Pack 4&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows NT 4 Workstation Service Pack 6a&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows 2000 Workstation SP1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows NT 4 Server Service Pack 5&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>+<span style="color: #7a0874; font-weight: bold;">&#93;</span> Host xxx.xxx.xxx.xxx Running OS: <span style="color: #ff0000;">&quot;Microsoft Windows 2000 Workstation SP3&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Guess probability: <span style="color: #000000;">93</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
..
..</pre></div></div>

<p>happy xprobing..!</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/696/os-detection-with-xprobe2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map the network with lanmap2 and Backtrack</title>
		<link>http://securityblog.gr/681/map-the-network-with-lanmap2-and-backtrack/</link>
		<comments>http://securityblog.gr/681/map-the-network-with-lanmap2-and-backtrack/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 16:26:40 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[lanmap2]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=681</guid>
		<description><![CDATA[1. Open your backtrack vm. 2. Goto Applications-&#62;BackTrack-&#62;Information Gathering-&#62;Network Analysis-&#62;Network Scanners-&#62;lanmap2. 3. After lanmap2 finishes loading open a new terminal tab. 4. Issue the following command in the new tab: nmap -vv -A xxx.xxx.xxx.* 5. When nmap scanning has finished, &#8230;<p class="read-more"><a href="http://securityblog.gr/681/map-the-network-with-lanmap2-and-backtrack/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>1. Open your backtrack vm.</p>
<p>2. Goto <strong>Applications</strong>-&gt;<strong>BackTrack</strong>-&gt;<strong>Information Gathering</strong>-&gt;<strong>Network Analysis</strong>-&gt;<strong>Network Scanners</strong>-&gt;<strong>lanmap2</strong>.</p>
<p>3. After lanmap2 finishes loading open a new terminal tab.</p>
<p>4. Issue the following command in the new tab:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-vv</span> <span style="color: #660033;">-A</span> xxx.xxx.xxx.<span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

<p>5. When nmap scanning has finished, stop-terminate lanmap2, change directory to <strong>/pentest/enumeration/lanmap2</strong> and paste the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> graph <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> .<span style="color: #000000; font-weight: bold;">/</span>graph.sh <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> -</pre></div></div>

<p> to generate the <strong>graph</strong>.</p>
<p>6. Open File browser, select File System from Devices on the right and goto <strong>pentest</strong>-><strong>enumeration</strong>-><strong>lanmap2</strong>-><strong>graph</strong> and open file <strong>net.png</strong> to see your network!!</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/681/map-the-network-with-lanmap2-and-backtrack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBIOS name enumeration</title>
		<link>http://securityblog.gr/656/netbios-name-enumeration/</link>
		<comments>http://securityblog.gr/656/netbios-name-enumeration/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 19:12:32 +0000</pubDate>
		<dc:creator>George Karpouzas</dc:creator>
				<category><![CDATA[Enumeration]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[enumeration]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[netbios]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[scan]]></category>

		<guid isPermaLink="false">http://securityblog.gr/?p=656</guid>
		<description><![CDATA[We are going to use nbtscan tool to enumeratate NetBIOS names. NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human &#8230;<p class="read-more"><a href="http://securityblog.gr/656/netbios-name-enumeration/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>We are going to use <strong><a href="http://www.inetcat.net/software/nbtscan.html" title="nbtscan web site" target="_blank">nbtscan</a></strong> tool to enumeratate <strong>NetBIOS</strong> names. NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form.</p>
<p><strong><u>To install it in Ubuntu:</u></strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> nbtscan</pre></div></div>

<p><strong><u>How to use it:</u></strong></p>
<p><strong>Scan just one machine:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">nbtscan 192.168.2.15</pre></div></div>

<p>You will get an answer like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Doing NBT name scan <span style="color: #000000; font-weight: bold;">for</span> addresses from 192.168.1.15
&nbsp;
IP address       NetBIOS Name     Server    User             MAC address      
<span style="color: #660033;">------------------------------------------------------------------------------</span>
192.168.1.15      GEORGE-XXXXXXXX  <span style="color: #000000; font-weight: bold;">&lt;</span>server<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #000000; font-weight: bold;">&lt;</span>unknown<span style="color: #000000; font-weight: bold;">&gt;</span>        XX:XX:XX:XX:XX:XX</pre></div></div>

<p><strong>Scan a whole network:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">nbtscan 192.168.2.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span></pre></div></div>

<p>You will get an answer like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Doing NBT name scan <span style="color: #000000; font-weight: bold;">for</span> addresses from 192.168.2.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span>
&nbsp;
IP address       NetBIOS Name     Server    User             MAC address      
<span style="color: #660033;">------------------------------------------------------------------------------</span>
192.168.2.0	Sendto failed: Permission denied
192.168.2.11     XXXXXXXXX                  <span style="color: #000000; font-weight: bold;">&lt;</span>unknown<span style="color: #000000; font-weight: bold;">&gt;</span>        XX:XX:XX:XX:XX:XX
192.168.2.15      GEORGE-YYYYYYYY  <span style="color: #000000; font-weight: bold;">&lt;</span>server<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #000000; font-weight: bold;">&lt;</span>unknown<span style="color: #000000; font-weight: bold;">&gt;</span>        YY:YY:YY:YY:YY:YY
192.168.2.255	Sendto failed: Permission denied</pre></div></div>

<p><u><strong>Other arguments:</strong></u><br />
<strong>-v</strong>		verbose output. Print all names received<br />
		from each host</p>
<p><strong>-d</strong>		dump packets. Print whole packet contents.</p>
<p><strong>-e</strong>		Format output in /etc/hosts format.</p>
<p><strong>-l</strong>		Format output in lmhosts format.<br />
		Cannot be used with -v, -s or -h options.</p>
<p><strong>-t timeout</strong>	wait timeout milliseconds for response.<br />
		Default 1000.</p>
<p><strong>-b bandwidth</strong>	Output throttling. Slow down output<br />
		so that it uses no more that bandwidth bps.<br />
		Useful on slow links, so that ougoing queries<br />
		don&#8217;t get dropped.</p>
<p><strong>-r</strong>		use local port 137 for scans. Win95 boxes<br />
		respond to this only.<br />
		You need to be root to use this option on Unix.</p>
<p><strong>-q</strong>		Suppress banners and error messages,</p>
<p><strong>-s separator</strong>	Script-friendly output. Don&#8217;t print<br />
		column and record headers, separate fields with separator.</p>
<p><strong>-h</strong>		Print human-readable names for services.<br />
		Can only be used with -v option.</p>
<p><strong>-m retransmits</strong>	Number of retransmits. Default 0.</p>
<p><strong>-f filename</strong>	Take IP addresses to scan from file filename.</p>
]]></content:encoded>
			<wfw:commentRss>http://securityblog.gr/656/netbios-name-enumeration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

