<?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>yurisk.info &#187; Scan of the week</title>
	<atom:link href="http://yurisk.info/category/scan-of-the-week/feed/" rel="self" type="application/rss+xml" />
	<link>http://yurisk.info</link>
	<description>Yuri Slobodyanyuk&#039;s blog on IT Security and Networking</description>
	<lastBuildDate>Mon, 16 Apr 2012 17:23:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Enable 2 factor authentication to protect your Gmail account if you have not done so already</title>
		<link>http://yurisk.info/2011/10/26/enable-2-factor-authentication-to-protect-your-gmail-account-if-you-have-not-done-so/</link>
		<comments>http://yurisk.info/2011/10/26/enable-2-factor-authentication-to-protect-your-gmail-account-if-you-have-not-done-so/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 11:34:42 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stay safe online]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1728</guid>
		<description><![CDATA[Today i did an improvised poll at work who is using the 2 factor authentication with their Gmail mail account and got only one positive answer &#8211; me . The question was in turn inspired by the article in Atlantic Monthly where James Fallows depicts in detail his wife&#8217;s Gmail account being hacked and how [...]]]></description>
			<content:encoded><![CDATA[<p>Today i did an improvised poll at work who is using the 2 factor authentication with their Gmail mail account and got only one positive answer &#8211; me <img src='http://yurisk.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . The question was in turn inspired by the article in Atlantic Monthly where <a href="http://www.theatlantic.com/magazine/archive/2011/11/hacked/8673/1/<br />
" target=_blank> James Fallows </a> depicts in detail his wife&#8217;s Gmail account being hacked and how much trouble it was to get it back. I can only add that not using absolutely free and easy feature to safeguard your precious asset, mail account &#8211; is pretty reckless in our time . Just imagine what it would  be to have ALL your Gmail inbox emptied and have your access to the account lost due to a hack &#8230;<br />
I&#8217;ve always known that the best way to solve the problems is to prevent them from occurring at all, so go ahead and use this Gmail feature and have less problems in life to solve .<br />
My personal experience of few months is that it works with any mobile provider in Israel and it is pretty much &#8216; set and forget &#8216; type of configuration, just be able to receive once a month SMS , it can&#8217;t  be any easier I guess.<br />
<a href="http://googleblog.blogspot.com/2011/02/advanced-sign-in-security-for-your.html" target=_blank > Advanced sign-in security for your Google account  </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2011/10/26/enable-2-factor-authentication-to-protect-your-gmail-account-if-you-have-not-done-so/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can be Nmap hacker too &#8211; contribute new signatures in few easy steps and feel proud of yourself</title>
		<link>http://yurisk.info/2011/03/24/you-can-be-nmap-hacker-too-contribute-new-signatures-in-few-easy-steps-and-feel-proud-of-yourself/</link>
		<comments>http://yurisk.info/2011/03/24/you-can-be-nmap-hacker-too-contribute-new-signatures-in-few-easy-steps-and-feel-proud-of-yourself/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 09:07:19 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1549</guid>
		<description><![CDATA[NMAP is probably the most known long standing and community involved security-related project in the Open Source universe ever. And it is quite naturally to think that there is nothing left to be done to improve it by end users like us, and of course the opposite is the case. If we forget for a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://insecure.org" target=_blank>NMAP</a> is probably the most known long standing and community involved security-related project in the Open Source universe ever. And it is quite naturally to think that there is nothing left to be done to improve it by end users like us, and of course the opposite is the case. If we forget for a second all the complex C/C++/Lua/etc coding involved to sharpen the algorithms and performance of the Nmap, after all it is a signature based network scanner that is as good as its signatures are. And here you can never get enough.<br />
Just find some over the shelf network equipment, run a scan on it , be surprised that it is not recognized by Nmap and contribute its signature back to the Nmap communa, then buy yourself a beer and put a sign in your cube &#8221; I contributed to Nmap&#8221; <img src='http://yurisk.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&#8211; So how do you do this? Piece of cake.<br />
When running scan with -sV option (version detection of the software) if the target is not known to the Nmap it will print out as the output the Nmap-style fingerprint of the scanned service. It is ok to just take copy and paste it here : <a href="http://insecure.org/cgi-bin/submit.cgi" target=_blank>http://insecure.org/cgi-bin/submit.cgi</a>, but then I wouldn&#8217;t write this article. So let&#8217;s do some practice.<br />
There is a nice anti-spam and anti-virus appliance called PineApp Mailsecure , produced by Israel company named (surprise ..) <a href="http://pineapp.com" target=_blank>Pineapp</a> and which is quite popular at least here in Israel. Unfortunately Nmap does not recognize it beyond having an opened port of 25.<br />
Here is the result of the Nmap scan.</p>
<div class="cmd">nmap -v -n -sV -P0 12.12.12.12</div>
<div class="cmdout">Starting Nmap 5.21 ( http://nmap.org ) at 2091-03-17 15:41 IST<br />
NSE: Loaded 4 scripts for scanning.<br />
Initiating SYN Stealth Scan at 15:41<br />
Scanning 12.12.12.12 [1000 ports]<br />
Discovered open port 25/tcp on 12.12.12.12<br />
Completed SYN Stealth Scan at 15:41, 4.88s elapsed (1000 total ports)<br />
Initiating Service scan at 15:41<br />
Scanning 2 services on 12.12.12.12<br />
Completed Service scan at 15:41, 13.88s elapsed (2 services on 1 host)<br />
NSE: Script scanning 12.12.12.12.<br />
NSE: Script Scanning completed.<br />
Nmap scan report for 12.12.12.12<br />
Host is up (0.015s latency).<br />
Not shown: 996 filtered ports</p>
<p>PORT STATE SERVICE VERSION<br />
25/tcp open smtp<br />
113/tcp closed auth</p>
<p>1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :<br />
SF-Port25-TCP:V=5.21%I=7%D=3/19%Time=4D14329D%P=i686-pc-linux-gnu%r(NULL,2<br />
SF:5,&#8221;220\x20Ready\x20to\x20receive\x20mail\x20-=-\x20ESMTP\r\n&#8221;)%r(Hello,<br />
SF:8E,&#8221;220\x20Ready\x20to\x20receive\x20mail\x20-=-\x20ESMTP\r\n250-Ready\<br />
SF:x20to\x20receive\x20mail\x20-=-\r\n250-AUTH\x20LOGIN\x20PLAIN\r\n250-AU<br />
SF:TH=LOGIN\x20PLAIN\r\n250-PIPELINING\r\n250\x208BITMIME\r\n&#8221;)%r(Help,28,<br />
SF:&#8221;451\x20Rejected\x20due\x20to\x20illegal\x20pipelining\r\n&#8221;)%r(GenericL<br />
SF:ines,28,&#8221;451\x20Rejected\x20due\x20to\x20illegal\x20pipelining\r\n&#8221;);</p>
<p>Read data files from: /usr/local/share/nmap</p></div>
<p>So let&#8217;s fix this,but first some preliminary knowledge of importance.<br />
All its service signatures Nmap keeps in the file <strong>nmap-service-probes</strong> that has some predefined keywords that are easy to remember and use :<br />
-First we want to create a probe to define what string to which port to send, it goes like this:<br />
In our case the target service is SMTP so no changes are due to the existing probe,</p>
<div class="cmdout">Probe TCP Hello q|EHLO\r\n|</div>
<p>The above means send word EHLO once connected.<br />
Next line starts with the word <strong>rarity</strong> and its value. The higher the number the less is the probability of running this service probe, leave it as is in our case, as it will be run if previous port scanning reports port 25 as open.<br />
<strong>rarity 8</strong><br />
The rarity line is followed by the list of ports for which this service probe will be triggered once they are reported as open. Again , in our case we leave it as is:<br />
<strong>ports 25,587,3025</strong><br />
Then goes <strong>sslports</strong> keyword to specify SSL enabled ports, finally followed by <strong>totalwaitms</strong> also of no interest here .<br />
Now we come to the good stuff &#8211; many lines doing matches of different vendors/equipment that all and each start with keyword <strong>match</strong>. let&#8217;s have a closer look at it:<br />
match m|matching regex pattern Perl style| [version/device/hardware optional info]<br />
The best way to get it is via an existing match in the file:</p>
<p>match smtp m|^220\s+(DP-\d+)\r\n250-Hello\r\n250-DSN\r\n| p/Panasonic smtpd/ v/$1/ i/Panasonic printer/ d/printer/</p>
<p>It basically says:<br />
Send EHLO command to the target,check output the output from the target and look for string that starts with 220 followed by printable string of variable length, followed<br />
by word DP- then decimal number, note &#8211; here () allow to later reference the matched part of the string inside (), followed by Return and New Line char (\r\n), followed by word &#8220;250-DSN&#8221; and finally followed by return + new line (\r\n). If such match is found then print to the terminal string &#8220;Panasonic smtpd&#8221; , in version field (v/$1/) print what was matched by (DP-\d+) and in device type field print printer (d/printer/).<br />
That is it to it. Now let&#8217;s create a signature for the PineApp.<br />
We have 2 options here &#8211; to actually run a scan against the PineApp target and decipher the output, or , what I do here, use the common sense.<br />
First I will try to do what Nmap Probe EHLo does &#8211; namely connect by telnet to port 25 and issue EHLO command. After that I will try to compile a regex expression matching the output.</p>
<div class="cmd">[root@darkstar ~]# telnet 12.12.12.12 25</div>
<div class="cmdout">Trying 12.12.12.12&#8230;<br />
Connected to earth.planet.co (12.12.12.12).</p>
<p>Escape character is &#8216;^]&#8217;.<br />
220 Ready to receive mail -=- ESMTP<br />
helo a<br />
250 Ready to receive mail -=-<br />
quit<br />
221 Ready to receive mail -=-<br />
Connection closed by foreign host.</p></div>
<p>Well, the regex is not that hard to do here:<br />
<strong>match smtp m|^220 Ready to receive mail -=- ESMTP\r\n| p/PineApp Mail-secure/ i/PineApp Av and Antispam mail gateway/ o/Linux/ </strong><br />
I edit /usr/local/share/nmap/nmap-service-probes and insert the above regex under Probe TCP Hello where the matches start, save it and run the Nmap on the same host not recognized before:</p>
<div class="cmd">nmap -n -sV -P0 12.12.12.12</div>
<div class="cmdout">Starting Nmap 5.21 ( http://nmap.org ) at 2091-03-17 15:46 IST<br />
Nmap scan report for 12.12.12.12<br />
Host is up (0.012s latency).</p>
<p>Not shown: 996 filtered ports<br />
PORT STATE SERVICE VERSION<br />
25/tcp open smtp PineApp Mail-secure (PineApp Av and Antispam mail gateway)<br />
113/tcp closed auth<br />
Service Info: OS: Linux</p></div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2011/03/24/you-can-be-nmap-hacker-too-contribute-new-signatures-in-few-easy-steps-and-feel-proud-of-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSA servers have been hacked</title>
		<link>http://yurisk.info/2011/03/18/rsa-servers-have-been-hacked/</link>
		<comments>http://yurisk.info/2011/03/18/rsa-servers-have-been-hacked/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 08:36:05 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1533</guid>
		<description><![CDATA[Anything connected to the Internet will be hacked in someday and RSA is no exception.The open letter is here Open Letter, but more interesting are best practices published in response to the attack &#8211; www.sec.gov]]></description>
			<content:encoded><![CDATA[<p>Anything connected to the Internet will be hacked in someday and RSA is no exception.The<br />
open letter is here <a href="http://www.rsa.com/node.aspx?id=3872" target=_blank> Open Letter</a>, but more interesting are best practices published in response to the attack &#8211; <a href="http://www.sec.gov/Archives/edgar/data/790070/000119312511070159/dex992.htm" target=_blank>  www.sec.gov </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2011/03/18/rsa-servers-have-been-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP address pools of Facebook to block, if you need to</title>
		<link>http://yurisk.info/2010/11/15/ip-address-pools-of-facebook/</link>
		<comments>http://yurisk.info/2010/11/15/ip-address-pools-of-facebook/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 12:14:15 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Awk weekly]]></category>
		<category><![CDATA[Scan of the week]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1421</guid>
		<description><![CDATA[Once upon a time I mentioned that blocking Facebook is easy as they have a uniform IP addresses pool . Since then they added more , here is the new and old pools: NetRange: 69.63.176.0 &#8211; 69.63.191.255 CIDR: 69.63.176.0/20 OriginAS: AS32934 NetName: TFBNET2 NetHandle: NET-69-63-176-0-1 Parent: NET-69-0-0-0-0 NetType: Direct Assignment NameServer: NS5.FACEBOOK.COM NameServer: NS3.FACEBOOK.COM NameServer: [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time I <a href="http://yurisk.info/2009/04/09/black-hole-routing-to-the-rescue-fortigate-os-4-surprise/" >mentioned</a> that blocking Facebook is easy as they have a uniform IP addresses pool . Since then they added more , here is the new and old pools:</p>
<div class="cmdout">
NetRange:       69.63.176.0 &#8211; 69.63.191.255<br />
CIDR:           69.63.176.0/20<br />
OriginAS:       AS32934<br />
NetName:        TFBNET2<br />
NetHandle:      NET-69-63-176-0-1<br />
Parent:         NET-69-0-0-0-0<br />
NetType:        Direct Assignment<br />
NameServer:     NS5.FACEBOOK.COM<br />
NameServer:     NS3.FACEBOOK.COM<br />
NameServer:     NS4.FACEBOOK.COM<br />
RegDate:        2007-02-07<br />
Updated:        2010-07-08</div>
<div class="cmdout">
NetRange:       66.220.144.0 &#8211; 66.220.159.255<br />
CIDR:           66.220.144.0/20<br />
OriginAS:       AS32934<br />
NetName:        TFBNET3<br />
NetHandle:      NET-66-220-144-0-1<br />
Parent:         NET-66-0-0-0-0<br />
NetType:        Direct Assignment<br />
NameServer:     NS5.FACEBOOK.COM <br />
NameServer:     NS3.FACEBOOK.COM  <br />
NameServer:     NS4.FACEBOOK.COM <br />
RegDate:        2009-02-13</div>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/11/15/ip-address-pools-of-facebook/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The easiest way to disclose Cisco routers on the network and how to fix it</title>
		<link>http://yurisk.info/2010/10/29/the-easiest-way-to-disclose-cisco-route-on-the-network-and-how-to-fix-it/</link>
		<comments>http://yurisk.info/2010/10/29/the-easiest-way-to-disclose-cisco-route-on-the-network-and-how-to-fix-it/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 15:43:10 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS Cisco]]></category>
		<category><![CDATA[Scan of the week]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1376</guid>
		<description><![CDATA[Cisco gear has a well-known behaviour pattern that when you telnet to some weird and positively closed port on Cisco you get the uniform response of “Connection refused” . To add more precision it happens when a terminal line management access is enabled on the Cisco but your IP is not in the access-list allowing [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco gear has a well-known behaviour pattern that when you telnet to some weird and positively closed port on Cisco you get the uniform response of “Connection refused” . To add more precision it happens when a terminal line management access is enabled on the Cisco but your IP is not in the access-list allowing access to the device. The funny thing about that is that only Cisco seem to do it , and given so, it makes exposing a Cisco device a no-brainer. I tested it on few dozens of Cisco routers (I don’t talk about other equipment from the Golden Gate folks) and it only confirmed this observation. Also I tested telnetting to the other vendors’ equipment and always got back time out. So far I’ve tried Juniper, Brocade, IBM, Huawei. To somehow fix this situation Cisco  actually have a feature in their Control Plane Protection toolbox just for that. Below I bring the configuration from IOS router that causes the router to time out connection attempts to the closed ports.</p>
<div class="cmdout">
class-map type port-filter match-any CLOSED_PORTS<br />
 match  closed-ports<br />
policy-map type port-filter FILTER_CLOSED_PORTS<br />
 class CLOSED_PORTS<br />
   drop<br />
control-plane host<br />
 service-policy type port-filter input FILTER_CLOSED_PORTS</div>
<p><strong>Testing.</strong><br />
Before the configuration:</p>
<div class="cmd"># telnet 19.6.24.51 444<br />
Trying 19.6.24.51&#8230;<br />
telnet: connect to address 19.6.24.51: Connection refused</div>
<p>After the configuration:</p>
<div class="cmd">[root@darkstar ~]# telnet 19.6.24.51 444<br />
Trying 19.6.24.51&#8230;<br />
telnet: connect to address 19.6.24.51: Connection timed out<br />
telnet: Unable to connect to remote host: Connection timed out</div>
<p>NB Unfortunately it is a half-solution cause if telnet access is enabled on the Cisco then connection attempts to the port 23 will elicit the same “Connection refused” . To close even this disclosure hole , disable telnet as the management protocol and switch to SSH.<br />
NB2 The good news for the pentesters out there is that rare ISP implement such protections</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/29/the-easiest-way-to-disclose-cisco-route-on-the-network-and-how-to-fix-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too much of the Zeus on TV</title>
		<link>http://yurisk.info/2010/10/25/too-much-of-the-zeus-on-tv/</link>
		<comments>http://yurisk.info/2010/10/25/too-much-of-the-zeus-on-tv/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 12:26:22 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1365</guid>
		<description><![CDATA[At  19th of October the 1st  Russia channel  aired  the TV show called  &#8220;Пусть говорят, Однажды в Америке&#8221; , dedicated to  Zeus trojan story. You all saw and heard about this FBI operation that brought some 38 people to the captivity. The talk show on the most available and popular Russian public channel brought parents/relatives of [...]]]></description>
			<content:encoded><![CDATA[<p>At  19th of October the <a href=" http://www.1tv.ru/" target=" _blank">1st  Russia channel </a> aired  the TV show called  &#8220;Пусть говорят, Однажды в Америке&#8221; , dedicated to  Zeus trojan story. You all saw and heard about this FBI operation that brought some 38 people to the captivity. The talk show on the most<br />
available and popular Russian public channel brought parents/relatives of the arrested<br />
 suspects and the girl that by her words took part in this scam a year before.<br />
The majority of the people in the studio clearly stated that these guys and gals are<br />
 plain thieves (except their parents , understood) – a major progress I should say, over the years. The sum up of the main points comes next:<br />
- Those are low rank droppers/mules;<br />
- They didn&#8217;t have personal direct contact with any of the masterminds of the scam. All their communication was through ICQ/forums/ all things Internet<br />
- For them it was just another way to earn the money. Sounds plausible as there were other youngsters at the same apartment that came through the same student exchange program and still choose NOT to get involved as had other income.<br />
- All claim  that agreed to do it only because were in a dire financial situation. Also<br />
probably true. Even tough according to the exchange program they all are provided with work on their arrival to the US. Also the girl in studio (Anna Savenko [Анна Савенко]) noted that she agreed to be a scammer after she was fired from the work.<br />
- All of them were recruited into this by people already in the business and were told the same story of &#8221; Many American companies try to lower their taxes by transferring money to people like her &#8221; . Lame story for those willing to believe and feel good about themselves.<br />
- They were encouraged by the absence of the minimal vigilance by the US banks. Anna recalled that she opened the account (with fake passport) and when she came to the bank<br />
to withdraw the money, the clerk asked her where she was expecting money from , and she could only say &#8220;Don&#8217;t know&#8221; and still was given the cash.<br />
- Russia as a state pretty much doesn&#8217;t give a heck about those citizens in jail &#8211; pro bono<br />
 advocates is their way to go (if they only were spies &#8230;)<br />
if your Russian is good enough try searching the Net for &#8220;&#8221;Пусть говорят, Однажды в Америке SATRIP&#8221; and you will get the show recording in full.<br />
Link to the show forum , just in case: <a href="http://forum.1tv.ru/index.php?showtopic=427318" target="_blank"> forum.1tv.ru </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/25/too-much-of-the-zeus-on-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darknet can&#8217;t lie &#8211; most of the attacks, scans and other interesting things indeed come from behind the Great Firewall of China.</title>
		<link>http://yurisk.info/2010/10/12/darknet-cant-lie-most-of-the-attacks-scans-and-other-interesting-things-come-from-behind-the-great-firewall-of-china/</link>
		<comments>http://yurisk.info/2010/10/12/darknet-cant-lie-most-of-the-attacks-scans-and-other-interesting-things-come-from-behind-the-great-firewall-of-china/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 10:33:01 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Awk weekly]]></category>
		<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[awk weekly]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1230</guid>
		<description><![CDATA[Working for ISP entitles me to various perks, one of them is unlimited connection to the Internet with wealth of unallocated yet IP addresses. So to use it somehow I set up a little Darknet (details what it means can be found here Darknet Project ) and gather some statistics. First the volume of unsolicited [...]]]></description>
			<content:encoded><![CDATA[<p>Working for <a href="http://netvision.net.il" target="_blank">ISP</a> entitles me to various perks, one of them is unlimited connection to the Internet with wealth of unallocated yet IP addresses. So to use it somehow I set up a little Darknet (details what it means can be found here <a href="http://www.team-cymru.org/Services/darknets.html"> Darknet Project </a> ) <img class="size-medium wp-image-1293 alignleft" title="Hackers_attack" src="http://yurisk.info/wp-content/uploads/2010/10/Hackers_attack2-300x199.gif" alt="Most malware comes from China" width="300" height="199" />and gather some statistics. First the volume of unsolicited and malicious traffic is staggering . Mostly it is traffic to Windows sharing &#8211; port 445 , then brute force &#8211; port 22, then strange ports used by new malware in the wild .Second, the interesting information pretty much stops here &#8211; as nothing listens on my side of the Darknet I don&#8217;t get more insight. As comes from this I am working on the next stage of the Darknet &#8211; HoneyNet. Once done, I&#8217;ll post here the findings.<br />
To give you a glimpse of the Ips and ports involved in probes here is the non-sanitized sorted list of the alien IPs , destination ports, protocols and number of packets seen.This is the day&#8217;s worth statistics <a href="http://yurisk.info/The_Darknet_probing_IPSS.txt.gz"> Bad guys and gals IPs</a><br />
To get this list from Tcpdump capture I used one-liner: <strong>[root@darkstar]# tshark -n  -r honey_bunny.cap42 | awk &#39; $3~/[0-9]+\./ {print $3,$6,$9}&#39; | sort -n -k1,1 | uniq -c &gt; Darknet_probing_IPs.txt </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/12/darknet-cant-lie-most-of-the-attacks-scans-and-other-interesting-things-come-from-behind-the-great-firewall-of-china/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You need no MX record to get mails</title>
		<link>http://yurisk.info/2010/10/07/you-need-no-mx-record-to-get-mails/</link>
		<comments>http://yurisk.info/2010/10/07/you-need-no-mx-record-to-get-mails/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 07:51:52 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1209</guid>
		<description><![CDATA[That one is funny. One client of ours that is actually themselves provide ISP services in a far-far-away land asked to add PTR record for their mail server . But that was dull, the interesting part was that their domain had absolutely NO MX record ! Only A record for the mail server host . [...]]]></description>
			<content:encoded><![CDATA[<p>That one is funny. One client of ours that is actually themselves provide ISP services<br />
in a far-far-away land asked to add PTR record for their mail server . But that was dull,<br />
the interesting part was that their domain had absolutely NO MX record ! Only A record for the mail server host . I had always thought if there is no MX record for the destination domain sending mail server should bail out and I was wrong. A SMTP RFC 5321 actually states that if there no MX record exists for the domain the sender should try delivering the mail to A record of the domain <a  target="_blank" href="http://tools.ietf.org/html/rfc5321#section-5">RFC 5321 section 5 </a>. Be aware though that MX record should be completely absent, so say if MX record does exist but points to a not responding server is a different case &#8211; in such case sender should fail the delivery.<br />
The funny thing about that is that they have been working without MX record for about 2 years and have had no problems with receiving the mails, just amazing how  RFC-compliant mail servers in the wild are.</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/07/you-need-no-mx-record-to-get-mails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skynet got blacklisted &#8211; Google mail servers entered RBL of Sorbs.net</title>
		<link>http://yurisk.info/2010/10/05/skynet-got-blacklisted-google-mail-servers-entered-rbl-of-sorbs-net/</link>
		<comments>http://yurisk.info/2010/10/05/skynet-got-blacklisted-google-mail-servers-entered-rbl-of-sorbs-net/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 16:11:59 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Esafe]]></category>
		<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1194</guid>
		<description><![CDATA[When yesterday my client sent me the headers of blocked by eSafe (Aladdin) mails I was quite surprised &#8211; the message said &#8221; Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error [...]]]></description>
			<content:encoded><![CDATA[<p>When yesterday my client sent me the headers of blocked by eSafe <a  target="_blank" href="http://www.aladdin.com">(Aladdin) </a>mails I was quite surprised &#8211; the message said &#8221; Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 574 574 MAIL REFUSED &#8211; IP (74.125.82.172) is in RBL black list recent.spam.dnsbl.sorbs.net (state 18). &#8221; What? Google servers got blacklisted ? No way .<br />
I also expected Sorbs.net to be wiped out from the Earth rather quickly for such act of aggression against <a  target="_blank" href="http://en.wikipedia.org/wiki/Skynet_(Terminator)">Skynet</a> , also known as <a  target="_blank" href="http://google.com">Google.com </a>but nothing actually happened. So just for the fun of it I checked another IP of theirs &#8211; 74.125.82.48, also blocked. In short the class-C 74.125.82.0 got listed (screenshot follows). From<br />
practical point of view &#8211; make sure if your device is using <a  target="_blank" href="http://www.Sorbs.net">www.Sorbs.net </a>to put this pool in exclusion list, as I did in the eSafe of the client.</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/10/05/skynet-got-blacklisted-google-mail-servers-entered-rbl-of-sorbs-net/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Few questions you will most probably hear on your next job interview.</title>
		<link>http://yurisk.info/2010/09/25/few-questions-you-will-most-probably-hear-on-your-next-job-interview/</link>
		<comments>http://yurisk.info/2010/09/25/few-questions-you-will-most-probably-hear-on-your-next-job-interview/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 15:49:39 +0000</pubDate>
		<dc:creator>Yuri</dc:creator>
				<category><![CDATA[Scan of the week]]></category>
		<category><![CDATA[Stories from the trenches]]></category>

		<guid isPermaLink="false">http://yurisk.info/?p=1151</guid>
		<description><![CDATA[Lately, for whatever reason it may be, many of my friends/colleagues/acquaintances switched the jobs and mostly because they wanted to. And hearing their accounts of job search I catch myself that while offered positions and employers differ there are ever returning themes/questions that arise on the job interviews pretty much universally. So here I bring [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, for whatever reason it may be, many of my friends/colleagues/acquaintances switched the jobs and mostly because they wanted to. And hearing their accounts of job search I catch myself that while offered positions and employers differ there are ever returning themes/questions that arise on the job interviews pretty much universally.<br />
So here I bring compendium of these questions planning to update it as I hear new stories.</p>
<div class="cmd">Tell us about something at your current job that you did and it made you proud of yourself … </div>
<div class="cmd">Bring us an example or few of initiatives you took at the current/previous job … </div>
<p>This probably tests that you actually have had some initiatives worth mentioning or in other words – Did you do something productive that didn’t come from your manager request directly? </p>
<div class="cmd">What was the highest sign of appreciation you earned on the current/previous job and what was the cause ? …</div>
<p>They mean beyond the pay check that you got every month , or in other words – Did someone notice that you actually quit the job ? </p>
<div class="cmd">Usage/Case studies .</div>
<p> This is rather a metacategory and will include slightly different subject depending on the sought title. I will bring  united cases for the 2 titles – in enterprise networking and security.<br />
<strong>Networking.</strong></p>
<div class="cmd">We are the internet enabled and reliant company. What are the key factors in designing network topology and connectivity and how you suggest to implement them ?</div>
<p>Key words here: Redundancy, reliability of connection, cost saving in managing the lines utilization.<br />
How do you implement this:<br />
Redundancy in Internet connectivity (different ISPs and infrastructure types with possible hot failover, routing advertisements of your IPs if you have them [BGP]).<br />
Redundancy in network equipment (HSRP and VRRP for standby routers/Etherchannel for Cisco switches/ ) .Proprietary clustering implementations by some vendors (3COM,HP, Checkpoint firewalls – you think you can escape it ?).<br />
Line utilization management – maximize bits for bucks ratio using traffic management or load balancing solutions like F5 Big-IP with Link Controller module for accessing the internet or if some webservers are hosted at the company premises then also using Local/Global Traffic Manager modules. On a cheaper side Radware load balancers like Linkproof for Internet access , Appdirector for webservers will do the job.<br />
Implementing DRP procedure – remote hosting of database backups.<br />
<strong>Security. </strong></p>
<div class="cmd">We are the Internet connected and publicly traded company that should safeguard against external and internal threats, what key factors in fulfilling this requirement would you list ? What would be actual implementation ?</div>
<p>Key factors: </p>
<ul>
<li>Security in depth. </li>
<li>Accountability for security-related events in the company.</li>
<li>Ability to comply with external audit/standards requirements.</li>
<li>Data Leak/Lost Protection/Prevention (everyone says it differently anyway). </li>
<li>Ability to sustain determined and targeted external attacks.</li>
</ul>
<p>How would you implement this ?<br />
Perimeter security with Checkpoint firewall(s), possible with clustering for reliability.<br />
Central log and events correlation and management system (ArcSight).<br />
If there are web servers to be protected then Web Application Firewall – say Imperva.<br />
For DLP – <a href="http://www.websense.com/content/DataSecurity.aspx">Websense</a>/<a href="http://www.symantec.com/en/uk/business/theme.jsp?themeid=dlp">Symantec</a> / maybe <a href="http://en.wikipedia.org/wiki/Documentum">EMC Documentum </a> as part of the more comprehensive task. Also endpoints data encryption – Symantec.<br />
Antivirus ofcourse by default &#8211; Symantec or McAfee<br />
To thwart and detect dedicated and highly skilled attacks IPS will be appropriate. Say<br />
<a href="http://www.mcafee.com/us/enterprise/products/network_intrusion_prevention/index.html">McAfee </a> or <a href="http://h10163.www1.hp.com/products_ips.html">Tipping Point </a> .<br />
Regarding compliance usually people didn’t mean to exam you on every point of PCI requirement , but at least awareness of such standards is expected.<br />
That is all I could remember from the stories told so far. As I hear new ones I will update this post.<br />
Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://yurisk.info/2010/09/25/few-questions-you-will-most-probably-hear-on-your-next-job-interview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

