<?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>Scott Brown Consulting &#187; Network Security</title>
	<atom:link href="http://www.scottbrownconsulting.com/category/network-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottbrownconsulting.com</link>
	<description>Information Systems Security - Defense In Depth</description>
	<lastBuildDate>Thu, 22 Jul 2010 04:46:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Network Attackers: Where In The World 3</title>
		<link>http://www.scottbrownconsulting.com/2010/02/network-attackers-where-in-the-world-3/</link>
		<comments>http://www.scottbrownconsulting.com/2010/02/network-attackers-where-in-the-world-3/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 20:19:02 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.scottbrownconsulting.com/?p=30</guid>
		<description><![CDATA[Two previous rounds of analysis using IP geolocation with Whois (Part 1 and Part 2) revealed that 40% to 45% of network intrusion attempts arriving at my public-facing SSH port could be traced back to Chinese hackers, and 20% to 25% to attackers in Russia and Eastern Europe. The tally is now in from a [...]]]></description>
			<content:encoded><![CDATA[<p>Two previous rounds of analysis using IP geolocation with Whois (<a href="http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/">Part 1</a> and <a href="http://www.scottbrownconsulting.com/2009/10/network-attackers-where-in-the-world-2/">Part 2</a>) revealed that 40% to 45% of network intrusion attempts arriving at my public-facing SSH port could be traced back to Chinese hackers, and 20% to 25% to attackers in Russia and Eastern Europe. The tally is now in from a third round of observations, boasting a significantly longer integration period (more than four months versus about six to seven weeks in the earlier rounds) and yielding plenty of interesting and even unexpected results. <span id="more-30"></span></p>
<p>First things first: logs do not lie, <b>SSH Scan attacks are on the rise</b>. Attacks occurred with an average frequency in round one of 0.583 per day; in round two there were 1.065 attacks seen per day; and in the round closing, I logged 1.417 attacks per day on average. Considering the total span of time under view as just eight short months, I would describe this escalation in the rate of a rather specialized and esoteric attack as rapid and alarming, and carrying the implication that more commonplace network attacks are likewise intensifying.</p>
<p align=center><img src="http://www.scottbrownconsulting.com/images/20100215a.gif" alt="SSH Scan Frequency" width="532" height="379"></p>
<p>On 180 occasions between October 10, 2009 and February 13, 2010, intruders from 154 different IP addresses in 37 different counties were caught trying to gain illicit access to my server by dictionary attacking SSH service. Every one of these attackers was promptly blacklisted automatically by <a target="_blank" href="http://www.fail2ban.org/">fail2ban</a>. Repeat offenders numbering 16 came back for further punishment, none more frequently than our old friends at 61.129.60.23, &#8220;Shanghai Telecom Corporation EDI Branch&#8221; in Shanghai, China, familiar from being banned three times in round two &#8211; banned six times this round.</p>
<p>China maintained the dubious distinction of leadership position among all regions, chalking up 76 out of the 180 observed attacks or 42% share, consistent with expectations from past rounds. In fact, as the chart below illustrates, all other attack origins besides China occurred at a fraction the rate by comparison, suggesting more or less uniform or &#8220;background&#8221; frequency for their regions, leaving China dominant alone over all the world. (Better get used to that.)</p>
<p align=center><img src="http://www.scottbrownconsulting.com/images/20100215b.gif" alt="SSH Scans by Region" width="532" height="451"></p>
<p>Meanwhile, Russia and Eastern Europe logged an unexpectedly low share of all attack activity in light of past rounds, picking up only 15 attacks or 8% share. The same chart in earlier rounds showed 20% to 25% aggregate representation from Russia, Poland, and other satellite states of the former USSR &#8211; less pronounced than China but significantly greater than other regions. What happened to all the ex-Soviet bloc hackers that were tripping over themselves to break into my unremarkable Linux server prior to October? To tell you the truth, I don&#8217;t know. Either some factor caused this region to be spuriously overrepresented in rounds one and two, or some factor caused it to be spuriously underrepresented in round three, or the falloff is real. </p>
<p>China&#8217;s continued domination within the network intrusion arena should come as no surprise amid last month&#8217;s highly publicized allegations of state-sponsored electronic espionage and cyberwarfare, <a href="http://www.scottbrownconsulting.com/2010/01/cyberwarfare-rages-guess-where/">delivered</a> at the hands of victimized Google. Forensics investigators <a target="_blank" href="http://www.wired.com/threatlevel/2010/01/operation-aurora/">purport</a> that valuable data was bounced back to attackers through command and control servers in Illinois, Texas, and Taiwan, while Texas-based Rackspace, Inc. &#8211; from whose IP block, by the way, we were surreptitiously scanned in both rounds two and three &#8211; was specifically implicated. A malicious agent (Chinese or otherwise) that wished to mount attacks against valuable targets and dispose of their tracks after the fact would require to amass networks of such intermediate relays. The wide area network intrusion vector, unlike say, web or file-packaged attack vectors that target the endpoint, conveniently <i>selects</i> for systems that already have desirable open network posture and can act as relays once compromised.</p>
<p>For the record, here is the complete round three log detail:</p>
<blockquote>
<pre>
2009-10-10 17:36:09,708 fail2ban.actions: WARNING [ssh] Ban 118.102.25.161
2009-10-11 08:25:28,208 fail2ban.actions: WARNING [ssh] Ban 218.206.243.243
2009-10-11 12:25:53,248 fail2ban.actions: WARNING [ssh] Ban 60.220.224.103
2009-10-11 13:59:52,288 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-10-12 04:46:43,358 fail2ban.actions: WARNING [ssh] Ban 82.118.208.167
2009-10-13 11:57:10,418 fail2ban.actions: WARNING [ssh] Ban 60.220.224.103
2009-10-13 18:26:40,478 fail2ban.actions: WARNING [ssh] Ban 217.8.80.220
2009-10-13 19:55:50,538 fail2ban.actions: WARNING [ssh] Ban 203.117.187.184
2009-10-14 22:34:40,608 fail2ban.actions: WARNING [ssh] Ban 62.173.39.252
2009-10-15 09:24:09,688 fail2ban.actions: WARNING [ssh] Ban 173.15.102.65
2009-10-15 16:39:16,738 fail2ban.actions: WARNING [ssh] Ban 94.137.254.29
2009-10-16 02:53:34,798 fail2ban.actions: WARNING [ssh] Ban 190.81.28.182
2009-10-16 09:01:21,868 fail2ban.actions: WARNING [ssh] Ban 84.204.138.52
2009-10-16 14:16:53,958 fail2ban.actions: WARNING [ssh] Ban 80.48.178.2
2009-10-16 19:28:09,018 fail2ban.actions: WARNING [ssh] Ban 59.52.255.63
2009-10-16 22:20:14,188 fail2ban.actions: WARNING [ssh] Ban 66.152.190.219
2009-10-17 16:13:07,308 fail2ban.actions: WARNING [ssh] Ban 203.117.187.184
2009-10-18 09:58:48,758 fail2ban.actions: WARNING [ssh] Ban 77.247.212.56
2009-10-18 20:25:07,818 fail2ban.actions: WARNING [ssh] Ban 89.238.130.130
2009-10-19 03:53:36,858 fail2ban.actions: WARNING [ssh] Ban 118.129.166.120
2009-10-19 05:42:36,908 fail2ban.actions: WARNING [ssh] Ban 118.129.166.120
2009-10-20 10:28:29,068 fail2ban.actions: WARNING [ssh] Ban 117.21.241.10
2009-10-20 16:01:21,118 fail2ban.actions: WARNING [ssh] Ban 61.7.231.114
2009-10-21 07:34:29,188 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-10-25 13:04:55,820 fail2ban.actions: WARNING [ssh] Ban 89.171.125.198
2009-10-26 21:19:17,889 fail2ban.actions: WARNING [ssh] Ban 210.181.96.27
2009-10-28 17:14:32,199 fail2ban.actions: WARNING [ssh] Ban 202.107.209.33
2009-10-30 12:18:49,389 fail2ban.actions: WARNING [ssh] Ban 210.110.181.56
2009-10-30 14:59:54,429 fail2ban.actions: WARNING [ssh] Ban 125.206.243.126
2009-10-31 07:00:02,499 fail2ban.actions: WARNING [ssh] Ban 61.189.16.37
2009-10-31 10:28:25,539 fail2ban.actions: WARNING [ssh] Ban 203.117.187.184
2009-10-31 22:23:25,590 fail2ban.actions: WARNING [ssh] Ban 110.172.24.28
2009-11-01 05:30:23,639 fail2ban.actions: WARNING [ssh] Ban 202.70.83.100
2009-11-01 10:38:04,129 fail2ban.actions: WARNING [ssh] Ban 210.110.181.56
2009-11-03 17:51:51,289 fail2ban.actions: WARNING [ssh] Ban 121.14.38.200
2009-11-05 03:59:41,419 fail2ban.actions: WARNING [ssh] Ban 174.143.170.13
2009-11-06 07:38:13,519 fail2ban.actions: WARNING [ssh] Ban 74.205.222.26
2009-11-06 09:01:20,583 fail2ban.actions: WARNING [ssh] Ban 124.254.14.153
2009-11-07 09:50:34,689 fail2ban.actions: WARNING [ssh] Ban 87.118.90.17
2009-11-07 20:56:51,779 fail2ban.actions: WARNING [ssh] Ban 209.12.229.206
2009-11-08 21:58:55,190 fail2ban.actions: WARNING [ssh] Ban 72.55.143.45
2009-11-10 09:22:31,309 fail2ban.actions: WARNING [ssh] Ban 121.96.25.101
2009-11-12 08:23:42,439 fail2ban.actions: WARNING [ssh] Ban 78.32.130.35
2009-11-12 10:28:31,480 fail2ban.actions: WARNING [ssh] Ban 222.74.228.158
2009-11-12 19:13:48,539 fail2ban.actions: WARNING [ssh] Ban 67.225.232.40
2009-11-13 13:04:27,619 fail2ban.actions: WARNING [ssh] Ban 119.161.145.162
2009-11-14 05:45:33,690 fail2ban.actions: WARNING [ssh] Ban 210.192.123.204
2009-11-14 23:22:29,769 fail2ban.actions: WARNING [ssh] Ban 124.124.105.235
2009-11-16 03:23:52,249 fail2ban.actions: WARNING [ssh] Ban 58.218.250.111
2009-11-16 04:25:32,299 fail2ban.actions: WARNING [ssh] Ban 67.63.160.133
2009-11-16 23:48:03,369 fail2ban.actions: WARNING [ssh] Ban 202.73.10.176
2009-11-17 08:17:49,419 fail2ban.actions: WARNING [ssh] Ban 63.247.65.146
2009-11-21 06:36:19,900 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-11-22 12:18:36,329 fail2ban.actions: WARNING [ssh] Ban 123.129.212.212
2009-11-22 12:29:21,369 fail2ban.actions: WARNING [ssh] Ban 113.105.0.205
2009-11-22 12:47:04,410 fail2ban.actions: WARNING [ssh] Ban 219.117.253.94
2009-11-22 19:07:10,750 fail2ban.actions: WARNING [ssh] Ban 95.158.128.18
2009-11-23 04:18:06,799 fail2ban.actions: WARNING [ssh] Ban 125.248.158.236
2009-11-23 07:01:50,489 fail2ban.actions: WARNING [ssh] Ban 91.211.117.51
2009-11-23 17:22:21,559 fail2ban.actions: WARNING [ssh] Ban 211.99.150.154
2009-11-24 14:10:56,679 fail2ban.actions: WARNING [ssh] Ban 219.117.221.234
2009-11-24 18:17:00,729 fail2ban.actions: WARNING [ssh] Ban 59.3.239.114
2009-11-25 10:29:50,590 fail2ban.actions: WARNING [ssh] Ban 173.45.92.122
2009-11-25 22:42:42,659 fail2ban.actions: WARNING [ssh] Ban 38.101.67.253
2009-11-26 02:55:26,719 fail2ban.actions: WARNING [ssh] Ban 202.54.54.234
2009-11-27 07:52:13,889 fail2ban.actions: WARNING [ssh] Ban 83.41.203.67
2009-11-27 09:53:04,929 fail2ban.actions: WARNING [ssh] Ban 118.212.129.145
2009-11-27 23:12:00,790 fail2ban.actions: WARNING [ssh] Ban 78.110.167.178
2009-11-28 04:28:26,839 fail2ban.actions: WARNING [ssh] Ban 202.104.148.229
2009-11-29 09:34:55,619 fail2ban.actions: WARNING [ssh] Ban 75.127.173.222
2009-11-30 07:16:06,790 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-12-03 05:08:01,162 fail2ban.actions: WARNING [ssh] Ban 210.48.153.214
2009-12-04 04:42:49,252 fail2ban.actions: WARNING [ssh] Ban 59.3.239.114
2009-12-04 17:56:42,342 fail2ban.actions: WARNING [ssh] Ban 201.0.145.106
2009-12-05 11:35:18,432 fail2ban.actions: WARNING [ssh] Ban 83.83.106.128
2009-12-06 06:23:28,870 fail2ban.actions: WARNING [ssh] Ban 203.94.1.23
2009-12-07 00:48:35,190 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-12-08 22:59:35,280 fail2ban.actions: WARNING [ssh] Ban 121.10.141.118
2009-12-10 03:29:02,420 fail2ban.actions: WARNING [ssh] Ban 210.0.144.109
2009-12-11 21:37:14,490 fail2ban.actions: WARNING [ssh] Ban 218.206.243.243
2009-12-12 00:11:46,530 fail2ban.actions: WARNING [ssh] Ban 78.111.99.186
2009-12-12 02:03:41,570 fail2ban.actions: WARNING [ssh] Ban 78.111.99.186
2009-12-12 08:26:37,610 fail2ban.actions: WARNING [ssh] Ban 187.45.205.140
2009-12-12 10:26:32,660 fail2ban.actions: WARNING [ssh] Ban 148.235.76.114
2009-12-12 13:16:51,700 fail2ban.actions: WARNING [ssh] Ban 219.148.111.179
2009-12-12 15:00:02,740 fail2ban.actions: WARNING [ssh] Ban 212.30.22.69
2009-12-13 08:27:25,780 fail2ban.actions: WARNING [ssh] Ban 58.211.168.252
2009-12-13 14:27:42,850 fail2ban.actions: WARNING [ssh] Ban 116.28.64.181
2009-12-14 04:42:02,920 fail2ban.actions: WARNING [ssh] Ban 74.205.222.27
2009-12-14 14:10:39,960 fail2ban.actions: WARNING [ssh] Ban 221.122.41.60
2009-12-14 16:44:37,000 fail2ban.actions: WARNING [ssh] Ban 201.0.210.186
2009-12-15 08:09:33,070 fail2ban.actions: WARNING [ssh] Ban 202.69.103.98
2009-12-15 16:45:51,110 fail2ban.actions: WARNING [ssh] Ban 221.122.41.60
2009-12-16 17:34:06,180 fail2ban.actions: WARNING [ssh] Ban 202.95.230.4
2009-12-17 09:08:59,230 fail2ban.actions: WARNING [ssh] Ban 201.238.235.11
2009-12-17 15:18:55,280 fail2ban.actions: WARNING [ssh] Ban 121.207.251.81
2009-12-17 16:51:06,320 fail2ban.actions: WARNING [ssh] Ban 195.149.118.43
2009-12-20 09:45:10,750 fail2ban.actions: WARNING [ssh] Ban 62.181.56.206
2009-12-20 15:30:20,792 fail2ban.actions: WARNING [ssh] Ban 124.127.117.20
2009-12-21 08:08:01,850 fail2ban.actions: WARNING [ssh] Ban 208.70.160.43
2009-12-22 13:23:48,920 fail2ban.actions: WARNING [ssh] Ban 196.15.143.106
2009-12-24 23:13:51,130 fail2ban.actions: WARNING [ssh] Ban 212.18.195.102
2009-12-25 02:06:26,180 fail2ban.actions: WARNING [ssh] Ban 124.127.117.20
2009-12-25 04:36:57,220 fail2ban.actions: WARNING [ssh] Ban 122.160.65.107
2009-12-25 09:57:32,270 fail2ban.actions: WARNING [ssh] Ban 59.3.239.114
2009-12-25 16:01:32,330 fail2ban.actions: WARNING [ssh] Ban 81.236.152.229
2009-12-25 20:33:16,390 fail2ban.actions: WARNING [ssh] Ban 59.108.230.130
2009-12-27 00:43:14,470 fail2ban.actions: WARNING [ssh] Ban 117.135.138.183
2009-12-27 14:11:23,840 fail2ban.actions: WARNING [ssh] Ban 59.46.39.204
2009-12-27 15:51:28,920 fail2ban.actions: WARNING [ssh] Ban 212.18.195.102
2009-12-27 18:51:41,960 fail2ban.actions: WARNING [ssh] Ban 118.98.163.214
2009-12-27 22:00:33,010 fail2ban.actions: WARNING [ssh] Ban 212.18.195.102
2009-12-28 00:03:07,070 fail2ban.actions: WARNING [ssh] Ban 118.129.166.120
2009-12-29 05:56:58,230 fail2ban.actions: WARNING [ssh] Ban 195.189.140.82
2009-12-30 05:23:09,290 fail2ban.actions: WARNING [ssh] Ban 96.57.49.213
2009-12-30 12:29:49,360 fail2ban.actions: WARNING [ssh] Ban 200.169.98.50
2010-01-03 07:24:36,982 fail2ban.actions: WARNING [ssh] Ban 72.252.249.10
2010-01-04 04:31:14,050 fail2ban.actions: WARNING [ssh] Ban 222.124.195.2
2010-01-04 14:09:37,100 fail2ban.actions: WARNING [ssh] Ban 174.142.32.175
2010-01-05 16:54:06,150 fail2ban.actions: WARNING [ssh] Ban 201.38.138.2
2010-01-06 15:10:48,210 fail2ban.actions: WARNING [ssh] Ban 123.129.202.199
2010-01-07 03:20:17,270 fail2ban.actions: WARNING [ssh] Ban 89.140.94.122
2010-01-07 06:16:27,310 fail2ban.actions: WARNING [ssh] Ban 222.45.235.74
2010-01-08 21:30:04,440 fail2ban.actions: WARNING [ssh] Ban 60.212.42.11
2010-01-09 07:05:34,480 fail2ban.actions: WARNING [ssh] Ban 93.180.91.254
2010-01-09 08:21:17,520 fail2ban.actions: WARNING [ssh] Ban 222.73.68.164
2010-01-11 23:49:38,910 fail2ban.actions: WARNING [ssh] Ban 84.38.18.74
2010-01-12 07:08:27,950 fail2ban.actions: WARNING [ssh] Ban 58.22.102.169
2010-01-13 12:36:45,020 fail2ban.actions: WARNING [ssh] Ban 63.208.120.229
2010-01-15 08:22:30,220 fail2ban.actions: WARNING [ssh] Ban 119.161.144.182
2010-01-15 11:51:12,260 fail2ban.actions: WARNING [ssh] Ban 61.82.144.2
2010-01-15 19:21:04,340 fail2ban.actions: WARNING [ssh] Ban 62.101.89.125
2010-01-16 05:19:15,380 fail2ban.actions: WARNING [ssh] Ban 189.114.59.200
2010-01-16 22:46:29,450 fail2ban.actions: WARNING [ssh] Ban 222.73.68.164
2010-01-17 06:28:36,490 fail2ban.actions: WARNING [ssh] Ban 218.241.173.35
2010-01-17 15:13:26,110 fail2ban.actions: WARNING [ssh] Ban 203.240.201.98
2010-01-18 10:19:51,190 fail2ban.actions: WARNING [ssh] Ban 222.208.183.21
2010-01-19 06:55:38,270 fail2ban.actions: WARNING [ssh] Ban 212.13.197.42
2010-01-19 09:14:51,340 fail2ban.actions: WARNING [ssh] Ban 190.81.104.28
2010-01-19 10:21:33,390 fail2ban.actions: WARNING [ssh] Ban 59.37.54.48
2010-01-22 02:15:50,540 fail2ban.actions: WARNING [ssh] Ban 116.28.64.181
2010-01-22 21:30:19,662 fail2ban.actions: WARNING [ssh] Ban 81.10.208.178
2010-01-23 00:58:29,702 fail2ban.actions: WARNING [ssh] Ban 213.154.72.72
2010-01-23 03:52:43,742 fail2ban.actions: WARNING [ssh] Ban 77.92.148.23
2010-01-23 06:21:06,782 fail2ban.actions: WARNING [ssh] Ban 189.1.164.92
2010-01-23 14:13:19,822 fail2ban.actions: WARNING [ssh] Ban 59.108.53.212
2010-01-23 14:35:03,862 fail2ban.actions: WARNING [ssh] Ban 60.28.183.156
2010-01-24 05:49:56,932 fail2ban.actions: WARNING [ssh] Ban 60.217.32.137
2010-01-24 10:16:58,352 fail2ban.actions: WARNING [ssh] Ban 75.141.200.176
2010-01-24 11:33:19,392 fail2ban.actions: WARNING [ssh] Ban 119.6.126.2
2010-01-24 17:31:13,442 fail2ban.actions: WARNING [ssh] Ban 140.128.101.230
2010-01-25 07:03:13,492 fail2ban.actions: WARNING [ssh] Ban 210.175.111.28
2010-01-25 15:33:13,562 fail2ban.actions: WARNING [ssh] Ban 58.19.182.194
2010-01-26 20:07:46,702 fail2ban.actions: WARNING [ssh] Ban 124.30.230.147
2010-01-27 16:22:59,812 fail2ban.actions: WARNING [ssh] Ban 222.195.137.249
2010-01-28 01:56:26,862 fail2ban.actions: WARNING [ssh] Ban 125.210.34.228
2010-01-28 23:00:18,942 fail2ban.actions: WARNING [ssh] Ban 218.106.96.230
2010-01-31 05:46:58,522 fail2ban.actions: WARNING [ssh] Ban 84.235.124.106
2010-02-01 23:58:00,332 fail2ban.actions: WARNING [ssh] Ban 220.227.125.100
2010-02-02 13:05:46,423 fail2ban.actions: WARNING [ssh] Ban 219.153.34.206
2010-02-03 15:00:05,513 fail2ban.actions: WARNING [ssh] Ban 119.93.16.36
2010-02-05 02:46:58,261 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2010-02-07 04:34:23,998 fail2ban.actions: WARNING [ssh] Ban 121.37.58.49
2010-02-07 06:29:54,038 fail2ban.actions: WARNING [ssh] Ban 118.129.153.43
2010-02-07 06:38:07,398 fail2ban.actions: WARNING [ssh] Ban 118.129.153.43
2010-02-07 22:15:53,889 fail2ban.actions: WARNING [ssh] Ban 84.235.124.106
2010-02-08 06:07:42,929 fail2ban.actions: WARNING [ssh] Ban 111.73.45.211
2010-02-08 09:47:12,989 fail2ban.actions: WARNING [ssh] Ban 124.74.243.79
2010-02-08 18:52:28,039 fail2ban.actions: WARNING [ssh] Ban 222.124.195.2
2010-02-09 04:50:38,079 fail2ban.actions: WARNING [ssh] Ban 124.207.40.151
2010-02-10 04:13:38,149 fail2ban.actions: WARNING [ssh] Ban 221.195.68.74
2010-02-10 09:54:07,209 fail2ban.actions: WARNING [ssh] Ban 118.129.153.43
2010-02-10 14:55:55,259 fail2ban.actions: WARNING [ssh] Ban 98.117.120.78
2010-02-11 02:35:12,319 fail2ban.actions: WARNING [ssh] Ban 218.3.88.114
2010-02-11 08:59:15,361 fail2ban.actions: WARNING [ssh] Ban 58.216.152.134
2010-02-11 18:45:17,407 fail2ban.actions: WARNING [ssh] Ban 121.34.248.1
2010-02-11 21:37:00,447 fail2ban.actions: WARNING [ssh] Ban 193.192.238.10
2010-02-11 23:13:16,487 fail2ban.actions: WARNING [ssh] Ban 122.129.241.73
2010-02-12 03:25:44,537 fail2ban.actions: WARNING [ssh] Ban 220.90.134.2
2010-02-13 16:45:00,627 fail2ban.actions: WARNING [ssh] Ban 116.28.64.181
</pre>
</blockquote>
<p>Who is at risk from this hacking activity? Service providers have the most direct exposure and should think long and hard about their perimeter defenses. Weak passwords on any WAN-facing service are an open invite to compromise. The most diligently patched, up to date system will get taken down in an instant on bad password security (as in <a target="_blank" href="http://www.securityfocus.com/infocus/1903">this</a> example), though in that case the intruder probably won&#8217;t be able to gain root. Risk analysis used to be predicated upon the dollar value of data on the host &#8211; e.g., Ann&#8217;s knitting store site merited less intrusion protection than a large merchant site server or a banking web application. In the new threat environment where every shell compromise might well be one hop away from a national security breach, can system administrators continue to be so lax?</p>
<p><b>Resources</b></p>
<p><a target="_blank" href="http://en.wikipedia.org/wiki/Operation_Aurora">Wikipedia: Operation Aurora</a></p>
<p><a target="_blank" href="http://www.wired.com/threatlevel/2010/01/operation-aurora/">Wired: Threat Level &#8211; Google Attack Details</a></p>
<p><a target="_blank" href="http://www.securityfocus.com/infocus/1903">SecurityFocus Infocus: Responding to a Brute Force SSH Attack</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottbrownconsulting.com/2010/02/network-attackers-where-in-the-world-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyberwarfare Rages, Guess Where</title>
		<link>http://www.scottbrownconsulting.com/2010/01/cyberwarfare-rages-guess-where/</link>
		<comments>http://www.scottbrownconsulting.com/2010/01/cyberwarfare-rages-guess-where/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 02:22:52 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.scottbrownconsulting.com/?p=29</guid>
		<description><![CDATA[Late breaking articles from the New York Times and Wall Street Journal this evening caught my eye, wherein one seriously pissed off Google Inc opens up a surprisingly hard line against Beijing: 

NYT: Google, Citing Cyber Attack, Threatens to Exit China
Google threatened late Tuesday to pull out of its operations in China after it said [...]]]></description>
			<content:encoded><![CDATA[<p>Late breaking articles from the <a target="_blank" href="http://www.nytimes.com/2010/01/13/world/asia/13beijing.html">New York Times</a> and <a target="_blank" href="http://online.wsj.com/article/SB126333757451026659.html?mod=WSJ_PersonalTechnology_RightTopCarousel">Wall Street Journal</a> this evening caught my eye, wherein one <i>seriously pissed off</i> Google Inc opens up a surprisingly hard line against Beijing: <span id="more-29"></span></p>
<blockquote>
<p><b>NYT: <a target="_blank" href="http://www.nytimes.com/2010/01/13/world/asia/13beijing.html">Google, Citing Cyber Attack, Threatens to Exit China</a></b></p>
<p>Google threatened late Tuesday to pull out of its operations in China after it said it had uncovered a massive cyber attack on its computers that originated there.</p>
<p>As a result, the company said, it would no longer agree to censor its search engine in China and may exit the country altogether.</p>
<p>Google said that a primary goal of the attackers was accessing the Gmail accounts of Chinese human right activists, but that the attack also targeted 20 other large companies&#8230;</p>
<p>&#8220;We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China,” &#8230;adding that the decision was being driven by executives in the United States, “without the knowledge or involvement of our employees in China.&#8221;</p>
<p><b>Google did not publicly link the Chinese government to the cyber attack, but people with knowledge of Google’s investigation said they had enough evidence to justify its actions.</b></p>
<p>34 companies were targeted&#8230; The attacks came from Taiwanese Internet addresses&#8230; stolen documents were sent electronically to a server controlled by Rackspace, based in San Antonio.</p>
</blockquote>
<p>The official statement from the Google Legal chief comes short of, but leaves no mistaking, that these intrusions were definitively determined to be PRC state-sponsored activity, although originating from Taiwanese IPs.</p>
<blockquote>
<p><b>WSJ: <a target="_blank" href="http://online.wsj.com/article/SB126333757451026659.html?mod=WSJ_PersonalTechnology_RightTopCarousel">Google Warns of China Exit Over Hacking</a></b></p>
<p>Google Inc. said it may leave China after an investigation found the company had been hit with major cyber attacks it believes originated from the country&#8230;</p>
<p><b>Investigators are probing whether the attack is linked to the Chinese government or intelligence services&#8230;</b> The attack has piqued the interest of U.S. intelligence agencies, including the National Security Agency&#8230;</p>
<p>For Google to withdraw from China would be an extremely rare repudiation by a Western company of what is almost universally seen in big business as one of the world&#8217;s most important markets. Even the public suggestion that it is considering such a move is likely to infuriate Chinese authorities.</p>
<p>Google said&#8230; it was making its move because it detected a &#8220;highly sophisticated and targeted attack on our corporate infrastructure originating from China&#8221; in mid-December. Google said the attack resulted in &#8220;the theft of intellectual property from Google.&#8221;</p>
<p>The perpetrators launched the attacks from at least six Internet addresses located in Taiwan, which is a common strategy used by Chinese hackers to mask their origin&#8230; The attackers used at least seven different types of attack code&#8230;</p>
</blockquote>
<p>I&#8217;ve been <a href="http://www.scottbrownconsulting.com/2009/10/network-attackers-where-in-the-world-2/">harping</a> on the phenomenon of Chinese cybercriminals, but of course Chinese cybersoldiers are just the flip-side of the same coin.</p>
<p>Now at least we know why Chinese hackers want in to my SSH server so bad&#8230; for use in mounting distributed attacks against Gmail.</p>
<p>I think Google will turn more conciliatory in the coming days to save face and their high growth revenue interests, but we are surely witnessing what will go down in socio/military/political history books as one of the more pronounced, and certainly most publicly visible, opening volleys on the cyberwarfare front.</p>
<p><b>Resources</b></p>
<p><a target="_blank" href="http://www.nytimes.com/2010/01/13/world/asia/13beijing.html">NYT: Google, Citing Cyber Attack, Threatens to Exit China</a></p>
<p><a target="_blank" href="http://online.wsj.com/article/SB126333757451026659.html?mod=WSJ_PersonalTechnology_RightTopCarousel">WSJ: Google Warns of China Exit Over Hacking</a></p>
<p><a target="_blank" href="http://en.wikipedia.org/wiki/Cyberwarfare">Wikipedia: Cyberwarfare</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottbrownconsulting.com/2010/01/cyberwarfare-rages-guess-where/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Attackers: Where In The World 2</title>
		<link>http://www.scottbrownconsulting.com/2009/10/network-attackers-where-in-the-world-2/</link>
		<comments>http://www.scottbrownconsulting.com/2009/10/network-attackers-where-in-the-world-2/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 19:54:32 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.scottbrownconsulting.com/?p=26</guid>
		<description><![CDATA[Time to tally up the new results since my last report on network intruder geolocation using Whois. Will the trend showing two-thirds of attackers as hailing from China, Russia and the former Soviet bloc hold for this new integration period? Place your bets. 


2009-08-23 09:21:13,847 fail2ban.actions: WARNING [ssh] Ban 218.32.80.168
2009-08-23 14:44:24,907 fail2ban.actions: WARNING [ssh] Ban [...]]]></description>
			<content:encoded><![CDATA[<p>Time to tally up the new results since my <a href="http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/">last report</a> on network intruder geolocation using Whois. Will the trend showing two-thirds of attackers as hailing from China, Russia and the former Soviet bloc hold for this new integration period? Place your bets. <span id="more-26"></span></p>
<blockquote>
<pre>
2009-08-23 09:21:13,847 fail2ban.actions: WARNING [ssh] Ban 218.32.80.168
2009-08-23 14:44:24,907 fail2ban.actions: WARNING [ssh] Ban 62.60.136.145
2009-08-24 08:49:00,997 fail2ban.actions: WARNING [ssh] Ban 93.186.192.46
2009-08-31 06:14:55,887 fail2ban.actions: WARNING [ssh] Ban 190.2.57.137
2009-08-31 15:14:19,937 fail2ban.actions: WARNING [ssh] Ban 121.78.237.148
2009-09-03 20:00:12,137 fail2ban.actions: WARNING [ssh] Ban 211.157.108.140
2009-09-03 20:19:31,177 fail2ban.actions: WARNING [ssh] Ban 211.157.108.140
2009-09-04 14:39:30,267 fail2ban.actions: WARNING [ssh] Ban 219.143.251.37
2009-09-05 05:46:46,337 fail2ban.actions: WARNING [ssh] Ban 201.27.1.91
2009-09-05 17:51:28,387 fail2ban.actions: WARNING [ssh] Ban 193.194.69.164
2009-09-05 20:02:32,427 fail2ban.actions: WARNING [ssh] Ban 98.124.82.222
2009-09-07 06:33:02,187 fail2ban.actions: WARNING [ssh] Ban 80.48.178.2
2009-09-08 16:17:26,277 fail2ban.actions: WARNING [ssh] Ban 219.134.242.67
2009-09-09 22:49:12,367 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-09-10 04:44:55,447 fail2ban.actions: WARNING [ssh] Ban 222.68.194.69
2009-09-10 16:36:47,517 fail2ban.actions: WARNING [ssh] Ban 124.128.93.118
2009-09-11 06:06:07,627 fail2ban.actions: WARNING [ssh] Ban 93.152.158.26
2009-09-13 08:33:49,037 fail2ban.actions: WARNING [ssh] Ban 212.72.132.166
2009-09-13 14:39:57,127 fail2ban.actions: WARNING [ssh] Ban 208.94.173.137
2009-09-14 10:34:19,207 fail2ban.actions: WARNING [ssh] Ban 12.120.201.208
2009-09-15 12:06:46,279 fail2ban.actions: WARNING [ssh] Ban 118.102.25.161
2009-09-16 03:46:53,866 fail2ban.actions: WARNING [ssh] Ban 80.48.178.2
2009-09-16 15:27:42,936 fail2ban.actions: WARNING [ssh] Ban 211.242.211.44
2009-09-17 11:52:43,066 fail2ban.actions: WARNING [ssh] Ban 174.143.214.143
2009-09-18 03:06:10,136 fail2ban.actions: WARNING [ssh] Ban 80.48.178.2
2009-09-18 09:28:54,176 fail2ban.actions: WARNING [ssh] Ban 202.65.129.106
2009-09-18 13:58:47,216 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-09-19 21:27:59,326 fail2ban.actions: WARNING [ssh] Ban 218.206.27.9
2009-09-22 09:32:49,806 fail2ban.actions: WARNING [ssh] Ban 118.213.88.7
2009-09-22 14:17:04,846 fail2ban.actions: WARNING [ssh] Ban 81.200.21.26
2009-09-23 06:10:49,936 fail2ban.actions: WARNING [ssh] Ban 72.249.66.204
2009-09-24 07:05:45,006 fail2ban.actions: WARNING [ssh] Ban 117.41.168.90
2009-09-25 17:23:18,136 fail2ban.actions: WARNING [ssh] Ban 117.135.9.34
2009-09-27 04:08:28,236 fail2ban.actions: WARNING [ssh] Ban 61.129.60.23
2009-09-27 09:28:05,586 fail2ban.actions: WARNING [ssh] Ban 122.200.82.161
2009-09-27 11:13:12,626 fail2ban.actions: WARNING [ssh] Ban 61.152.95.172
2009-09-28 12:08:31,696 fail2ban.actions: WARNING [ssh] Ban 60.251.154.27
2009-09-28 19:05:32,746 fail2ban.actions: WARNING [ssh] Ban 217.24.240.88
2009-09-29 09:10:07,806 fail2ban.actions: WARNING [ssh] Ban 204.124.181.80
2009-09-30 02:53:46,886 fail2ban.actions: WARNING [ssh] Ban 80.48.178.2
2009-10-04 00:38:25,096 fail2ban.actions: WARNING [ssh] Ban 202.106.124.227
2009-10-04 04:24:24,136 fail2ban.actions: WARNING [ssh] Ban 89.43.80.249
2009-10-04 08:34:45,546 fail2ban.actions: WARNING [ssh] Ban 212.50.27.194
2009-10-05 05:14:35,673 fail2ban.actions: WARNING [ssh] Ban 58.61.149.213
2009-10-05 21:58:46,756 fail2ban.actions: WARNING [ssh] Ban 95.156.204.6
2009-10-06 10:57:48,836 fail2ban.actions: WARNING [ssh] Ban 124.116.26.6
2009-10-06 18:30:14,906 fail2ban.actions: WARNING [ssh] Ban 82.226.213.131
2009-10-07 08:40:50,956 fail2ban.actions: WARNING [ssh] Ban 91.187.129.20
2009-10-07 09:46:52,006 fail2ban.actions: WARNING [ssh] Ban 203.92.35.148
</pre>
</blockquote>
<p>Attackers certainly got down to business, attacking 49 times over the course of 46 days, a 75% increase in attack volume over the previous period of like duration. Attacks originated from 43 different hosts, three of which were repeat offenders. Host address 80.48.178.2 topped the &#8220;serial offender&#8221; category, getting banned four times in a 23 day window. Host address 61.129.60.23 got banned three times in a 19 day window.</p>
<p>Turning to the <a target="_blank" href="http://en.wikipedia.org/wiki/WHOIS">Whois</a> registries for the geographic locations of our new friends, we find:</p>
<blockquote>
<pre>
<b>IP address        Registry    Registrant, Location</b>
218.32.80.168     APNIC       New Centry InfoComm, Taipei, Taiwan
62.60.136.145     RIPE        Iranian Research Org Sci/Tech, Tehran, Iran
93.186.192.46     RIPE        Fast IT GmbH, Dusseldorf, Germany
190.2.57.137      LACNIC      NSS S.A., Buenos Aires, Argentina
121.78.237.148    APNIC       Kinx Inc, Seoul, South Korea
211.157.108.140   APNIC       Chinacomm, Beijing, China
219.143.251.37    APNIC       Jewim Pharmaceutical Inc, Beijing, China
201.27.1.91       LACNIC      Telecom De Sao Paulo S.A., Sao Paulo, Brazil
193.194.69.164    AfriNIC     Research Ctr Sci/Tech Info, Algiers, Algeria
98.124.82.222     ARIN        Home Telephone Co Inc, Moncks Corner, SC, USA
80.48.178.2       RIPE        ART-COM s.c., Kamiensk, Poland
219.134.242.67    APNIC       "Big Customer Department", Guangzhou, China
61.129.60.23      APNIC       Shanghai Tel Corp EDI Branch, Shanghai, China
222.68.194.69     APNIC       China Telecom, Shanghai Province, China
124.128.93.118    APNIC       Jinan Xinyueliang Net Bar, Shandong Prv, China
93.152.158.26     RIPE        OnlineDirect, Sofia, Bulgaria
212.72.132.166    RIPE        Sa*Net Network, Tbilisi, Georgia
208.94.173.137    ARIN        Carrier Connex Inc, Toronto, Ontario, Canada
12.120.201.208    ARIN        AT&#038;T WorldNet Services, Morristown, NJ, USA
118.102.25.161    APNIC       Langfang Univ Devlpmt Area, Hebei Prv, China
211.242.211.44    APNIC       Dreamline Co, Seoul, South Korea
174.143.214.143   ARIN        Rackspace/Slicehost, San Antonio, TX, USA
202.65.129.106    APNIC       Pioneer Online Pvt Ltd, Hyderabad, India
218.206.27.9      APNIC       China Mobile, Chongqing, China
118.213.88.7      APNIC       Xi Ning Telecom, QingHai Province, China
81.200.21.26      RIPE        SU29 Telecom, Moscow, Russia
72.249.66.204     ARIN        Colo4Dallas/RimuHosting, Dallas, TX, USA
117.41.168.90     APNIC       China Telecom, Jiangxi Province, China
117.135.9.34      APNIC       China Mobile, Beijing, China
122.200.82.161    APNIC       HeJu ShuZi Telecom Engg, Beijing, China
61.152.95.172     APNIC       China Telecom, Shanghai Province, China
60.251.154.27     APNIC       Chunghwa Telecom, Taipei, Taiwan
217.24.240.88     RIPE        Albtelecom Sh.a., Tirana, Albania
204.124.181.80    ARIN        VolumeDrive, Clarks Summit, PA, USA
202.106.124.227   APNIC       China Unicom, Beijing, China
89.43.80.249      RIPE        Sc Century Net SRL, Suceava, Romania
212.50.27.194     RIPE        ProGroup BG, Rousse, Bulgaria
58.61.149.213     APNIC       China Telecom, Guangdong Province, China
95.156.204.6      RIPE        Weblino.de, Polch, Germany
124.116.26.6      APNIC       China Telecom, Shanxi Province, China
82.226.213.131    RIPE        Proxad / Free SAS, Paris, France
91.187.129.20     RIPE        Bolnica Valjevo, Belgrade, Serbia
203.92.35.148     APNIC       Spectranet, New Delhi, India
</pre>
</blockquote>
<p>To reiterate, the named registrants are network owners and operators, usually local ISPs, who are non-complicit bystanders in this hackery and do not represent the attackers themselves. (But a few do have hilarious names. E.g., <i>Please hold while I transfer you to &#8220;Big Customer Department&#8221;</i>.)</p>
<p>Finally, the results:</p>
<p align=center><img src="http://www.scottbrownconsulting.com/images/20091010a.gif" alt="SSH Scans by Region" width="513" height="442"></p>
<p>The trend from <a href="http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/">last time</a> remains intact: Attacks tend to originate from the bustling cybercrime industries of China, Russia, and the environs of Eastern Europe a.k.a. the former Soviet bloc, arriving from these zones roughly two-thirds of the time. Highlighting the trend, our 4x serial attacker was located in Poland, and our 3x serial attacker in Shanghai.</p>
<p>Something bothered me about this analysis: What if some originating hosts were themselves drone systems, previously compromised by a hacker in an entirely different zone from their given location, mounting intrusion attempts through them from a posture of indirection. Could this throw off the results? Thinking about it, I concluded that while definitely present, it cuts both ways. Attackers in China could be one hop behind attacks appearing to originate from the USA, just as well as attackers from the USA could be one hop behind attacks appearing to originate from Russia, just as well as attackers from Zimbabwe could be one hop behind attacks appearing to originate from Germany, etc. On balance, we may assume these effects cancel each other out. What&#8217;s more, <i>if</i> attackers <i>are</i> geographically concentrated, and an indirection effect is present, it would tend to skew the data <i>away</i> from the concentrations, implying that attackers are even more strongly concentrated than first inferred.</p>
<p>I noticed a number of users discussing this same trend on various blogs and security forums have taken this finding and run with it, and blocked, for example, the entire .ru country code from their network. Aggressive, but questionably effective, and not something I practice&#8230; but an example of countermeasures one could mount.</p>
<p>If you have exposure to the wide area network, and you prefer not to have your personal and customer data breached, your systems defaced and your ability to do business interrupted, it is crucial to mitigate your risk to network intrusion, and many other salient security risks, with appropriate countermeasures. I can <a href="http://www.scottbrownconsulting.com/services/">show you</a> techniques for preventing attackers from breaking in to your systems. Don&#8217;t wait until the damage is done!</p>
<p><b>Resources</b></p>
<p><a target="_blank" href="http://en.wikipedia.org/wiki/WHOIS">Wikipedia: WHOIS</a></p>
<p><a target="_blank" href="http://ws.arin.net/whois/">ARIN Whois Lookup</a></p>
<p><a target="_blank" href="http://wq.apnic.net/apnic-bin/whois.pl">APNIC Whois Lookup</a></p>
<p><a target="_blank" href="http://www.db.ripe.net/whois">RIPE Whois Lookup</a></p>
<p><a target="_blank" href="http://lacnic.net/cgi-bin/lacnic/whois">LACNIC Whois Lookup</a></p>
<p><a target="_blank" href="http://www.afrinic.net/cgi-bin/whois">AfriNIC Whois Lookup</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottbrownconsulting.com/2009/10/network-attackers-where-in-the-world-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Attackers: Where In The World</title>
		<link>http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/</link>
		<comments>http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 00:31:41 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/</guid>
		<description><![CDATA[Let&#8217;s have a look at who&#8217;s been trying to break into SSH service on my development server recently, and where in the world they&#8217;re attacking from. Since I implemented fail2ban to trap out these attempted dictionary attacks, it&#8217;s logged the network addresses of all the culprits. Here&#8217;s who got caught in recent activity: 


2009-07-06 19:41:21,425 [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s have a look at who&#8217;s been trying to break into SSH service on my development server recently, and where in the world they&#8217;re attacking from. Since I <a href="http://www.scottbrownconsulting.com/2008/12/network-intrusion-encounters-and-countermeasures/">implemented fail2ban</a> to trap out these attempted dictionary attacks, it&#8217;s logged the network addresses of all the culprits. Here&#8217;s who got caught in recent activity: <span id="more-25"></span></p>
<blockquote>
<pre>
2009-07-06 19:41:21,425 fail2ban.actions: WARNING [ssh] Ban 83.15.85.210
2009-07-08 13:48:43,565 fail2ban.actions: WARNING [ssh] Ban 87.229.101.170
2009-07-10 10:59:36,625 fail2ban.actions: WARNING [ssh] Ban 211.155.227.18
2009-07-14 00:12:49,866 fail2ban.actions: WARNING [ssh] Ban 202.109.242.18
2009-07-16 05:14:16,456 fail2ban.actions: WARNING [ssh] Ban 89.207.64.170
2009-07-17 01:34:32,566 fail2ban.actions: WARNING [ssh] Ban 91.83.48.226
2009-07-17 06:47:01,616 fail2ban.actions: WARNING [ssh] Ban 202.96.199.150
2009-07-21 04:22:42,195 fail2ban.actions: WARNING [ssh] Ban 80.190.191.124
2009-07-21 06:33:19,415 fail2ban.actions: WARNING [ssh] Ban 200.52.194.36
2009-07-25 00:26:18,623 fail2ban.actions: WARNING [ssh] Ban 222.68.194.69
2009-07-26 00:20:16,743 fail2ban.actions: WARNING [ssh] Ban 222.68.194.69
2009-07-27 22:43:14,553 fail2ban.actions: WARNING [ssh] Ban 80.88.248.30
2009-07-28 13:54:37,653 fail2ban.actions: WARNING [ssh] Ban 72.44.174.162
2009-07-29 01:52:28,733 fail2ban.actions: WARNING [ssh] Ban 218.16.224.203
2009-07-29 19:41:58,923 fail2ban.actions: WARNING [ssh] Ban 125.208.3.9
2009-07-30 13:39:40,597 fail2ban.actions: WARNING [ssh] Ban 94.89.83.58
2009-08-01 09:57:49,727 fail2ban.actions: WARNING [ssh] Ban 80.86.201.29
2009-08-02 06:38:09,777 fail2ban.actions: WARNING [ssh] Ban 173.45.241.236
2009-08-02 14:47:14,147 fail2ban.actions: WARNING [ssh] Ban 124.124.9.43
2009-08-07 23:35:22,597 fail2ban.actions: WARNING [ssh] Ban 202.109.242.18
2009-08-12 20:06:36,877 fail2ban.actions: WARNING [ssh] Ban 222.242.186.83
2009-08-13 19:01:42,967 fail2ban.actions: WARNING [ssh] Ban 85.115.100.144
2009-08-13 22:27:14,007 fail2ban.actions: WARNING [ssh] Ban 98.112.35.38
2009-08-14 01:32:15,057 fail2ban.actions: WARNING [ssh] Ban 219.237.197.158
2009-08-14 09:31:25,117 fail2ban.actions: WARNING [ssh] Ban 81.200.21.26
2009-08-16 12:12:31,627 fail2ban.actions: WARNING [ssh] Ban 221.233.134.124
2009-08-20 19:50:08,877 fail2ban.actions: WARNING [ssh] Ban 202.107.209.35
2009-08-22 12:20:31,127 fail2ban.actions: WARNING [ssh] Ban 115.108.25.2
</pre>
</blockquote>
<p>That&#8217;s 28 attacks over the course of 48 days, originating from 26 different hosts (two were repeat offenders).</p>
<p>Digging through the regional <a target="_blank" href="http://en.wikipedia.org/wiki/WHOIS">Whois</a> registries, we can discover the geographic locations of the network segments on which these remote IP addresses were assigned, and the names of the network operators:</p>
<blockquote>
<pre>
<b>IP address        Registry    Registrant, Location</b>
83.15.85.210      RIPE        Bielany Wroclawskie, Warsaw, Poland
87.229.101.170    RIPE        Polgarhaz Holding Kft., Budapest, Hungary
211.155.227.18    APNIC       Netli.lic., Hangzhou, China
202.109.242.18    APNIC       China Telecom, Fujian Province, China
89.207.64.170     RIPE        Joint Stock Company Svyazist, Kstovo, Russia
91.83.48.226      RIPE        Inest Hosting, Szeged, Hungary
202.96.199.150    APNIC       China Telecom, Shanghai Province, China
80.190.191.124    RIPE        IP Exchange GmbH, Nuremberg, Germany
200.52.194.36     LACNIC      MegaCable SA de CV, Guadalajara, Mexico
222.68.194.69     APNIC       China Telecom, Shanghai Province, China
80.88.248.30      RIPE        2Connect WLL, Manama, Bahrain
72.44.174.162     ARIN        ATX Telecom Services, King Of Prussia, PA, USA
218.16.224.203    APNIC       China Telecom, Guangdong Province, China
125.208.3.9       APNIC       Beijing Primezone Technologies, Beijing, China
94.89.83.58       RIPE        Tendensia SRL, Castellaneta, Italy
80.86.201.29      RIPE        Green.ch AG, Brugg, Switzerland
173.45.241.236    ARIN        Slicehost LLC, St. Louis, MO, USA
124.124.9.43      APNIC       Reliance Communications Ltd, Mumbai, India
222.242.186.83    APNIC       China Telecom, Hunan Province, China
85.115.100.144    RIPE        Sia "Pronets", Riga, Latvia
98.112.35.38      ARIN        Verizon DSL, San Fernando, CA, USA
219.237.197.158   APNIC       Jin'Ou Building, Beijing, China
81.200.21.26      RIPE        SU29 Telecom, Moscow, Russia
221.233.134.124   APNIC       China Telecom, Hubei Province, China
202.107.209.35    APNIC       Ningbo Education Science Ctr, Zhejiang, China
115.108.25.2      APNIC       TATA Communications, Mumbai, India
</pre>
</blockquote>
<p>The named registrants are network owners and operators, usually local ISPs, who of course represent non-complicit intermediaries and not the attackers themselves. But these records do accurately reflect the geographic locations of the remote hosts from which the intrusion attempts originated. The listed country, at a minimum, is very reliable; IP geolocation by country with Whois should be over 95% accurate.</p>
<p align=center><img src="http://www.scottbrownconsulting.com/images/20090822a.gif" alt="SSH Scans by Region" width="513" height="442"></p>
<p>There&#8217;s no mistaking that these attacks tend to originate from China and the former Soviet bloc. These areas are home to <a target="_blank" href="http://www.securitymanagement.com/news/china-hacker-schools-become-big-business-006017">bustling</a> <a target="_blank" href="http://news.xinhuanet.com/english/2009-08/04/content_11821911.htm">cybercrime</a> <a target="_blank" href="http://www.crn.com/security/218800207">industries</a>. Attackers seek to expose financial accounts presumed stored on servers, or to commandeer staging grounds for use in the infiltration of other lucrative targets.</p>
<p>This is just a tiny sample of all attack activity, being just one sensor on one port, on one host, on one network segment of the great wide internet that hackers direct their tools against. Attacks of this type and others, many of which are much more commonplace than SSH scans, originate from this same geographical profile.</p>
<p>How are you defending your network and data from these threats? Do you know about techniques for reducing your exposure? <a href="http://www.scottbrownconsulting.com/contact/">Let&#8217;s talk.</a></p>
<p><b>Resources</b></p>
<p><a target="_blank" href="http://www.fail2ban.org/">fail2ban Homepage</a></p>
<p><a target="_blank" href="http://en.wikipedia.org/wiki/WHOIS">Wikipedia: WHOIS</a></p>
<p><a target="_blank" href="http://ws.arin.net/whois/">ARIN Whois Lookup</a></p>
<p><a target="_blank" href="http://wq.apnic.net/apnic-bin/whois.pl">APNIC Whois Lookup</a></p>
<p><a target="_blank" href="http://www.db.ripe.net/whois">RIPE Whois Lookup</a></p>
<p><a target="_blank" href="http://lacnic.net/cgi-bin/lacnic/whois">LACNIC Whois Lookup</a></p>
<p><a target="_blank" href="http://www.securitymanagement.com/news/china-hacker-schools-become-big-business-006017">China: Hacker Schools Become Big Business</a></p>
<p><a target="_blank" href="http://news.xinhuanet.com/english/2009-08/04/content_11821911.htm">China View: Training for hackers stirs worry about illegal actions</a></p>
<p><a target="_blank" href="http://www.crn.com/security/218800207">BlackHat USA 2009: Russian&#8217;s Organized Crime Heritage Paved Way For Cybercrime</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottbrownconsulting.com/2009/08/network-attackers-where-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Intrusion Encounters and Countermeasures</title>
		<link>http://www.scottbrownconsulting.com/2008/12/network-intrusion-encounters-and-countermeasures/</link>
		<comments>http://www.scottbrownconsulting.com/2008/12/network-intrusion-encounters-and-countermeasures/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 23:04:52 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://192.168.0.5/?p=4</guid>
		<description><![CDATA[Network intrusion threats ran rampant and unchecked on the internet, invisible to most users. You may see no apparent signs of the automatic probes directed at your computer network, arriving around the clock, scanning for potential entry points. But they are occurring, maybe right now. Any exposed service may be expected to be quickly discovered [...]]]></description>
			<content:encoded><![CDATA[<p>Network intrusion threats ran rampant and unchecked on the internet, invisible to most users. You may see no apparent signs of the automatic probes directed at your computer network, arriving around the clock, scanning for potential entry points. But they are occurring, maybe right now. Any exposed service may be expected to be quickly discovered and subjected to attack. <span id="more-4"></span></p>
<p>I get a good look at these threats by way of the access logs of the shell service which I make available to the internet from a Linux development server on my home network. On a daily basis I log quite a few attempts to gain unauthorized access. In these attacks, would-be intruders try hundreds of guessed login/password combinations from a pre-populated list of default, common, and easy-to-guess access credentials &#8211; an extremely effective methodology known as a <a href="http://en.wikipedia.org/wiki/Dictionary_attack" target="_blank">dictionary attack</a>, specifically in this case, an SSH scan. In the initial hours of operation alone, I logged three rounds of scans: 627 rejected login attempts over 49 minutes from a rogue IP address in Sichuan province, China; 110 similar attempts over 8 minutes from an IP tracing to Brussels, Belgium; and 187 attempts over 13 minutes from yet another source IP, this one from Beijing, China.</p>
<p>Network intruders are motivated by the possibility of obtaining valuable data, vandalizing installations, spreading spam, or using your endpoint as an intermediate staging ground to mount new attacks. Probes and scans are ongoing at all hours and originate from anywhere on the globe. There may be no visible signs of these threats to most users, who by and large have come to be shielded from unsolicited remote network traffic by the prevalence of hardware firewall/routers. However, exposure can easily be realized, either through deliberate configuration when there is a justification, or by accidental configuration or unknowingly as in when you wirelessly network a laptop at an airport or hotel. (Or consider the alternative vector of attacks mounted from a privileged network posture by a rouge agent wirelessly associated with your wide open, unsecured wi-fi access point.)</p>
<p>In the meantime, network intrusion detection and prevention countermeasures are wholesale absent from default installations, making for shallow security. Dictionary attacks running without limitation into the hundreds of attempts pose a fairly horror-inspiring risk gap, even in the presence of good passwords and patch levels. The hack-tool wielding communities of China and Belgium, apologies, are not counterparties with which I would rest particularly well while allowing unrestricted tries at my login, presumed unguessable or not. The observed dictionary attack could also be stage one of a cascade or package of intrusion attempts against other components to follow. An inexperienced operator throwing their fresh, as in my example, Ubuntu 8.04LTS server up on the internet for SSH access would be exposed to the full extent of this risk. One exposing Windows Terminal Services to the world would be likewise exposed to the full unmitigated extent (see below).</p>
<p>Closing the risk gap requires an active detection-response countermeasure that recognizes attacks as soon as they commence and cuts them short. Different situations call for different solutions; in the case of my example Ubuntu server, a few add-on packages fit the bill, among which I ended up installing <a href="http://www.fail2ban.org/" target="_blank">fail2ban</a>. fail2ban actively monitors access logs and blacklists intruders from all network activity via the iptables packet filtering framework in the kernel as soon as they are recognized. This functionality critically backstops other, statically configured countermeasures, yielding the intruder as few penetration attempts as possible, suppressing the threat, providing <a href="http://en.wikipedia.org/wiki/Defense_in_Depth_(computing)" target="_blank">defense in depth</a>.</p>
<p>Why fail2ban or another package like it is not an automatically implied dependency of Ubuntu&#8217;s SSH server install preset is a mystery to me; it shows that you cannot be complacent. Never enter haphazardly into any configuration that substantially lowers your overall security posture to the untrusted network. The threat assessment is more dire than you may realize. Consider where your perimeter defenses may be in want of reinforcement.</p>
<p><strong>Resources</strong></p>
<p><a href="http://en.wikipedia.org/wiki/Dictionary_attack" target="_blank">Wikipedia: Dictionary Attack</a></p>
<p><a href="http://www.fail2ban.org/" target="_blank">fail2ban Homepage</a></p>
<p><a href="http://www.ethicalhacker.net/content/view/106/1/" target="_blank">Dictionary Attacks against MS Terminal Services</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottbrownconsulting.com/2008/12/network-intrusion-encounters-and-countermeasures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
