Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2008, 11:08 PM
Lito Lipad
Guest
 
Posts: n/a
Default How the Chicom got my IP address???

Everytime I look at my NAS ftp flog, I see all this Chicom IP's. How
in hell they get into my IP address? I got 400 recorded attempts to
login as Administrator.

Jun 5 10:26:33 vsftpd: [Administrator] FAIL LOGIN: Client
`222.169.224.114`
Jun 5 10:26:34 vsftpd: [Administrator] FAIL LOGIN: Client
`222.169.224.114`
Jun 5 10:26:34 vsftpd: [Administrator] FAIL LOGIN: Client
`222.169.224.114`
....
Jun 5 10:27:01 vsftpd: [Administrator] FAIL LOGIN: Client
`222.169.224.114`

It look like they're running a program because humanoid can't do 400
login attempts in 30 seconds.

I wonder if some embedded Trojan Dragon embedded in my Linksys router
or in my NAS box.

Reply With Quote
  #2 (permalink)  
Old 06-05-2008, 11:37 PM
Doug McIntyre
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Lito Lipad <bwawawa@gmail.com> writes:
>Everytime I look at my NAS ftp flog, I see all this Chicom IP's. How
>in hell they get into my IP address? I got 400 recorded attempts to
>login as Administrator.


The scripts go through and try to log into *every IP address* as
Administrator and common stupid passwords. Its not you they are after,
they are just looking for open places they can go in in general.

If they didn't get the ocassional hit that let them in, they wouldn't bother..

But people are lazy/stupid/whatever and put stupid easy passwords up
on common services listening wide open on the Net.


Reply With Quote
  #3 (permalink)  
Old 06-06-2008, 08:05 AM
Lito Lipad
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Jun 5, 4:37*pm, Doug McIntyre <mer...@geeks.org> wrote:
> Lito Lipad <bwaw...@gmail.com> writes:
> >Everytime I look at my NAS ftp flog, I see all this Chicom IP's. *How
> >in hell they get into my IP address? *I got 400 recorded attempts to
> >login as Administrator.

>
> The scripts go through and try to log into *every IP address* as
> Administrator and common stupid passwords. Its not you they are after,
> they are just looking for open places they can go in in general.
>
> If they didn't get the ocassional hit that let them in, they wouldn't bother..
>
> But people are lazy/stupid/whatever and put stupid easy passwords up
> on common services listening wide open on the Net.


My NAS running Linux OS as firmware o 'Administrator' is not even a
valid username. It is set up in my router as virtual FTP server
instead of DMZ.

Reply With Quote
  #4 (permalink)  
Old 06-06-2008, 08:55 AM
bz
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Lito Lipad <bwawawa@gmail.com> wrote in news:ca7d8fdd-7911-4b7b-a7a7-
893a4c6c0563@a70g2000hsh.googlegroups.com:

> On Jun 5, 4:37*pm, Doug McIntyre <mer...@geeks.org> wrote:
>> Lito Lipad <bwaw...@gmail.com> writes:
>> >Everytime I look at my NAS ftp flog, I see all this Chicom IP's. *How
>> >in hell they get into my IP address? *I got 400 recorded attempts to
>> >login as Administrator.

>>
>> The scripts go through and try to log into *every IP address* as
>> Administrator and common stupid passwords. Its not you they are after,
>> they are just looking for open places they can go in in general.
>>
>> If they didn't get the ocassional hit that let them in, they wouldn't both

> er..
>>
>> But people are lazy/stupid/whatever and put stupid easy passwords up
>> on common services listening wide open on the Net.

>
> My NAS running Linux OS as firmware o 'Administrator' is not even a
> valid username. It is set up in my router as virtual FTP server
> instead of DMZ.
>


There are scripts running, trying to break into machines all the time.
On one of my mail servers [a linux machine], I run a script in the hosts.deny
file
that sends me an e-mail every time someone unauthorized tries to SSH into my
machine.

If they try more than twice, I look up their ISP and forward a copy of the
message to them.

About 10% of the time I get back a 'thankyou, we checked the machine and it
was infected with ...'


----------------
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!

ALL: ALL: spawn ( \
echo -e "Unauthorized access attempt(s) made upon our machine(s)\n\
by %c. \n\
Probable compromised machine, scanning for vulnerable machines to subvert.\n\
\n\
Suspect machines should be removed from the network and checked.\n\
Most have been virus/worm/trojan infected or hacked/rooted/zombied.\n\
\n\
You may get lucky and catch a hacker.\n\
\n\
sig line1\n\
sig line2\n\
\n\
\n\
TCP Wrappers\: Connection Refused\n\
By\: $(uname -n)\n\
Process\: %d (pid %p)\n\
User\: %u\n\
Host\: %c\n\
Date\: $(date)\n\
Add 5 hours to CDT, 6 hours to CST to get GMT \n\
\n\
Trace Route to OFFENDING Machine \n\
" > host.deny.temp.txt ; /usr/sbin/traceroute %c >> host.deny.temp.txt ; \
/bin/echo -e "\n from log file " >> host.deny.temp.txt ; \
/bin/grep %h /var/log/secure >> host.deny.temp.txt ; \
/bin/echo -e "\n from log file " >> host.deny.temp.txt ; \
/bin/grep %h /var/log/messages >> host.deny.temp.txt ; \
/bin/echo -e "\n from log file " >> host.deny.temp.txt ; \
/usr/bin/tail -5 /var/log/messages >> host.deny.temp.txt ; \
/usr/bin/tail -5 /var/log/secure >> host.deny.temp.txt ; \
/bin/netstat -aven >> host.deny.temp.txt ; \
/bin/mail -s "Hack attempt(s) by %u@%h upon $(uname -n)" root \
< host.deny.temp.txt ; rm host.deny.temp.txt )&
------------------------------






--
bz

please pardon my infinite ignorance, the set-of-things-I-do-not-know is an
infinite set.

bz+csm@ch100-5.chem.lsu.edu remove ch100-5 to avoid spam trap

Reply With Quote
  #5 (permalink)  
Old 06-06-2008, 08:06 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Fri, 6 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
<ca7d8fdd-7911-4b7b-a7a7-893a4c6c0563@a70g2000hsh.googlegroups.com>, Lito
Lipad wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

>Doug McIntyre <mer...@geeks.org> wrote:


>> Lito Lipad <bwaw...@gmail.com> writes:


>>>Everytime I look at my NAS ftp flog, I see all this Chicom IP's. <A0>How
>>>in hell they get into my IP address? <A0>I got 400 recorded attempts to
>>>login as Administrator.


If you don't want people from country $FOO attempting to connect to your
system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
Do you someday plan on visiting Jilin province (the Chinese "state"
just North of Korea), and will need to connect to your system from
there? Until you do, block 222.168.0.0/15. A better solution is to
block ALL except the addresses/ranges you _need_ access from. (My
firewall allows connections through from a /22 and two /24s "outside"
because I can't see any reason to allow connections from you or anyone
else that I haven't approved in advance, and I really don't expect
authorized users to be connecting from Korea, Kenya, Kuwait or
Kazakhstan or a lot of other places either.)

>> The scripts go through and try to log into *every IP address* as
>> Administrator and common stupid passwords. Its not you they are after,
>> they are just looking for open places they can go in in general.


And they also try 'root' in addition to 'Administrator', so it's not
just a windoze thing.

>> If they didn't get the occasional hit that let them in, they wouldn't
>> bother..
>>
>> But people are lazy/stupid/whatever and put stupid easy passwords up
>> on common services listening wide open on the Net.


You may recall that the 'Deloder' worm had great success in March 2003
trying just 86 "passwords" such as

"" 1234567 a ihavenopass pwd
0 12345678 aaa login qwer
000000 123456789 abc love root
007 123abc abcd mypass123 server
1 123asd admin mypc sex

(that first one is an empty string - no password at all).

>My NAS running Linux OS as firmware o 'Administrator' is not even a
>valid username. It is set up in my router as virtual FTP server
>instead of DMZ.


So give them time and continued access, and they'll eventually start
trying other usernames like 'root' or 'toor' or a lot more. And the
reason you think everyone in the world should have access to your
system is what exactly?

Old guy

Reply With Quote
  #6 (permalink)  
Old 06-08-2008, 03:14 PM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

ibuprofin@painkiller.example.tld (Moe Trin) writes:

> If you don't want people from country $FOO attempting to connect to your
> system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
> Do you someday plan on visiting Jilin province (the Chinese "state"
> just North of Korea), and will need to connect to your system from
> there? Until you do, block 222.168.0.0/15. . . . . . .


[...]

Sorry to butt in here...

Moes' advice is good and I've been meaning to do something like that
but I wondered if anyone in this thread has a URL for a site that
shows what address blocks go to what country.

Googling with things like:

ip address by country chart -lookup

Even nixing `lookup' I still get dozens of hits that are really
nothing more than single IP lookup tools.

I know I've seen large charts showing large blocks of IP addresses
assigned to various countries somewhere on line.

Reply With Quote
  #7 (permalink)  
Old 06-08-2008, 08:49 PM
Doug McIntyre
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

reader@newsguy.com writes:
>ibuprofin@painkiller.example.tld (Moe Trin) writes:


>> If you don't want people from country $FOO attempting to connect to your
>> system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
>> Do you someday plan on visiting Jilin province (the Chinese "state"
>> just North of Korea), and will need to connect to your system from
>> there? Until you do, block 222.168.0.0/15. . . . . . .


>[...]


>Sorry to butt in here...


>Moes' advice is good and I've been meaning to do something like that
>but I wondered if anyone in this thread has a URL for a site that
>shows what address blocks go to what country.



Go to the source, www.iana.org.

But, why stop at just blocking foreign countries to wherever you are?
(I'm assuming the US).

Percentage of hacked botnetwork machines ranks the US as #2 or #3 in
the world for hack attempts.

Don't let any connection in that you aren't ready to vet for yourself.



Reply With Quote
  #8 (permalink)  
Old 06-10-2008, 02:20 PM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Doug McIntyre <merlyn@geeks.org> writes:

> reader@newsguy.com writes:
>>ibuprofin@painkiller.example.tld (Moe Trin) writes:

>
>>> If you don't want people from country $FOO attempting to connect to your
>>> system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
>>> Do you someday plan on visiting Jilin province (the Chinese "state"
>>> just North of Korea), and will need to connect to your system from
>>> there? Until you do, block 222.168.0.0/15. . . . . . .

>
>>[...]

>
>>Sorry to butt in here...

>
>>Moes' advice is good and I've been meaning to do something like that
>>but I wondered if anyone in this thread has a URL for a site that
>>shows what address blocks go to what country.

>
>
> Go to the source, www.iana.org.


Thanks... I guess you've seen some sort of chart like I described
there somewhere....

After digging around there (admittedly somewhat blindly) I'm not
finding such a chart.

> But, why stop at just blocking foreign countries to wherever you are?
> (I'm assuming the US).
>
> Percentage of hacked botnetwork machines ranks the US as #2 or #3 in
> the world for hack attempts.
>
> Don't let any connection in that you aren't ready to vet for yourself.


Can you run this by me again. This phraseology went right over my
head.

What are you saying there?

Reply With Quote
  #9 (permalink)  
Old 06-10-2008, 04:01 PM
Doug McIntyre
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

reader@newsguy.com writes:
>> Go to the source, www.iana.org.


>Thanks... I guess you've seen some sort of chart like I described
>there somewhere....


http://www.iana.org/assignments/ipv4-address-space


>> But, why stop at just blocking foreign countries to wherever you are?
>> (I'm assuming the US).
>>
>> Percentage of hacked botnetwork machines ranks the US as #2 or #3 in
>> the world for hack attempts.
>>
>> Don't let any connection in that you aren't ready to vet for yourself.


>Can you run this by me again. This phraseology went right over my
>head.


>What are you saying there?


If you are blocking IP addresses that are in other countries as
hackers, you are only blocking a small part of the problem. Out of #
of hack attempts recorded, US based IP addresses account #2 or #3 for
all attacks on measured honeynets.

If you don't want any hack attempts, block all IPs besides your own.





Reply With Quote
  #10 (permalink)  
Old 06-11-2008, 02:37 AM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Doug McIntyre <merlyn@geeks.org> writes:

>>Thanks... I guess you've seen some sort of chart like I described
>>there somewhere....

>
> http://www.iana.org/assignments/ipv4-address-space


Now that I did find but near as I can tell its nearly useless as a
handy guide to what blocks of addresses go where.

I've seen something in a much better format that showed clearly and
quickly where the lead numbers went

211.xxx.xxx somewhere
220.xxx.xxx etc

So the URL is no more helpful than your other ... comments.

Not sure why you bother posting this stuff. You probably have oodles
of great information but apparently not willing to present it.

Don't take that as a question you need to answer... I'd sooner not
here anymore from you but thanks for you input.

Reply With Quote
  #11 (permalink)  
Old 06-11-2008, 04:08 PM
Harrie
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

reader@newsguy.com wrote:
> Doug McIntyre <merlyn@geeks.org> writes:
>
>> http://www.iana.org/assignments/ipv4-address-space

>
> Now that I did find but near as I can tell its nearly useless as a
> handy guide to what blocks of addresses go where.
>
> I've seen something in a much better format that showed clearly and
> quickly where the lead numbers went
>
> 211.xxx.xxx somewhere
> 220.xxx.xxx etc


If you find such a list, please let us (or me for sure) know?

> So the URL is no more helpful than your other ... comments.


That's not nice :(

The other comment you're refering to was a good one, maybe you didn't
understand it and got frustrated, or whatever, but I don't think Doug
deserved this.

> Not sure why you bother posting this stuff. You probably have oodles
> of great information but apparently not willing to present it.


That's not nice either, why are you making such a claim when someone
wants to (and does!) help you?

> Don't take that as a question you need to answer... I'd sooner not
> here anymore from you but thanks for you input.


I guess you won't hear from him, I wouldn't if I got such a response ..

Not sure why I bother, but have you ever heard of black- and
whitelisting? Doug tried to explain you're (probably) trying to use
blacklisting by denying specific IP's (or block of IP's). That will
leave a wide range of IP's still being able to connect to your IP and
isn't therefor "secure" (or wise).

Whitelisting is better, you deny every IP and whitelist the IP('s) (or,
again, block of IP('s)) you want so they are allowed to connect to you,
so you won't get hit by those scripts anymore (unless one or several if
your whitelisted IP('s) got infected).

--
Regards,
Harrie

Reply With Quote
  #12 (permalink)  
Old 06-11-2008, 06:15 PM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Harrie <harrie@example.com> writes:

> I guess you won't hear from him, I wouldn't if I got such a response ..
>
> Not sure why I bother, but have you ever heard of black- and
> whitelisting? Doug tried to explain you're (probably) trying to use
> blacklisting by denying specific IP's (or block of IP's). That will
> leave a wide range of IP's still being able to connect to your IP and
> isn't therefor "secure" (or wise).
>
> Whitelisting is better, you deny every IP and whitelist the IP('s) (or,
> again, block of IP('s)) you want so they are allowed to connect to you,
> so you won't get hit by those scripts anymore (unless one or several if
> your whitelisted IP('s) got infected).


I may need to apolagize to Doug, and will shortly...
Put first I'll apologize to the group for the line noise

I should have known not to open my mouth when butting into a thread
half way through and possibly not understanding most of it.

My issue (concerning blocking) was not really hack related. I should have
said as much. I get thousands of hits of chinese origin on ports
102[6-9]. Just keeps on coming. I doubt they are hack
attemtps.. more like misconfigured machines.

I was thinking of blocking the Chinese domains since the chances of me
getting a legitimate connection from china are very slim.

Reply With Quote
  #13 (permalink)  
Old 06-11-2008, 06:18 PM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

Doug McIntyre <merlyn@geeks.org> writes:

> reader@newsguy.com writes:
>>> Go to the source, www.iana.org.

>
>>Thanks... I guess you've seen some sort of chart like I described
>>there somewhere....

>
> http://www.iana.org/assignments/ipv4-address-space
>
>
>>> But, why stop at just blocking foreign countries to wherever you are?
>>> (I'm assuming the US).
>>>
>>> Percentage of hacked botnetwork machines ranks the US as #2 or #3 in
>>> the world for hack attempts.
>>>
>>> Don't let any connection in that you aren't ready to vet for yourself.

>
>>Can you run this by me again. This phraseology went right over my
>>head.

>
>>What are you saying there?

>
> If you are blocking IP addresses that are in other countries as
> hackers, you are only blocking a small part of the problem. Out of #
> of hack attempts recorded, US based IP addresses account #2 or #3 for
> all attacks on measured honeynets.
>
> If you don't want any hack attempts, block all IPs besides your own.



Doug if this is a suggestion about white listing... My little pea
brain was not able to process it.

Sorry about the rude remarks in reply to your post.

A fellow poster named Harrie has clued me in and I'm taking this
opportunity to apologize for wasting your time (and the groups')

Reply With Quote
  #14 (permalink)  
Old 06-17-2008, 03:05 AM
Moe Trin
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Sun, 08 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
<87hcc4t0vv.fsf@newsguy.com>, reader@newsguy.com wrote:

>ibuprofin@painkiller.example.tld (Moe Trin) writes:


>> If you don't want people from country $FOO attempting to connect to your
>> system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
>> Do you someday plan on visiting Jilin province (the Chinese "state"
>> just North of Korea), and will need to connect to your system from
>> there? Until you do, block 222.168.0.0/15. . . . . . .


>Sorry to butt in here...


That's OK - this is Usenet! And I was on vacation anyway.

>Moes' advice is good and I've been meaning to do something like that
>but I wondered if anyone in this thread has a URL for a site that
>shows what address blocks go to what country.


Oh, Fsck! What you are asking for is enormous. What I'm using
is the delegated blocks from the five Regional Internet Registries
(AFRINIC, APNIC, ARIN, LACNIC, RIPE), and the data source is quite large.
This month, there were 86818 IPv4 allocations/assignments from /29s (8
hosts) to /8s (16777216 hosts) totalling 2,660,804,976 addresses (never
mind the 2552 IPv6 allocations/assignments totalling some mind-boggling
number like ~5.73e33 addresses). Let's see what's in the logs...

-rw-r--r-- 1 ftp1 ftp1 85679 Jun 15 06:00 delegated-afrinic-20080615

-rw-r--r-- 1 ftp1 ftp1 894326 Jun 15 11:17 delegated-apnic-20080615

-rw-r--r-- 1 ftp1 ftp1 2640786 Jun 15 04:01 delegated-arin-20080615

-rw-r--r-- 1 ftp1 ftp1 165528 Jun 16 03:30 delegated-lacnic-20080615

-rw-r--r-- 1 ftp1 ftp1 2244084 Jun 15 11:00 delegated-ripencc-20080615

(I grab these files ~04:00 UTC on the 16th of each month, which is
plenty often enough.) What's that, 6030403 bytes? 'wc' says that's a
total of 128062 lines of text. Each file (this is the delegated-afrinic
file) has a four line summary, then ASN lines in the form

afrinic|ZA|asn|1228|1|19910301|allocated

which is probably meaningless to you (which is OK - it's beyond most
people), then the IPv4 and IPv6 blocks in the form

afrinic|ZA|ipv4|41.0.0.0|2097152|20071126|allocate d

and

afrinic|ZA|ipv6|2001:4200::|32|20051021|allocated

where the first field is the RIR, the second is the ISO-3166 country code
and the third is the type of record. For IPv4, the fourth field is the
_starting_ IP address, the fifth field is the number of addresses in the
block, the sixth is the date of the record, and the last field is either
'allocated' (assigned to an entity that will sub-assign the addresses) or
'assigned' (assigned to an entity that is an end user). The IPv6 data is
nearly identical, except that the fifth field is the width of the network
mask (here a /32 meaning 'ffff:ffff:0000:0000:0000:0000:0000:0000' which
allows for 79,228,162,514,264,337,593,543,950,336 hosts).

Very truthfully, unless you are experienced or knowledgeable in this type
of information, it's _very_ difficult to use. I've got a roughly 320 line
shell script that converts these files into something I can use, but it's
not very likely to be useful to others. I did see something recently, at
http://ibiblio.org/pub/linux/apps/ww...ountry-0.2.tgz but as
you note this is a single IP lookup tool, and isn't much more useful (and
is less accurate) than a simple whois query.

[compton ~]$ whatis whois
whois (1) - client for the whois directory service
[compton ~]$

>Googling with things like:
>
> ip address by country chart -lookup
>
>Even nixing `lookup' I still get dozens of hits that are really
>nothing more than single IP lookup tools.


Yeah, that's reasonable. And the results are less than perfect. As
an example, my 'work' address is registered in New York state, but if
you were able to traceroute to it, the last address you'd see before
hitting the black hole of the firewall would be a backbone stub a few
miles South of San Francisco - yet I'm really located near Phoenix
Arizona, and the adjacent subnets are in France and Japan (we're a
large company) - but the toy tools for users might report anything.
Visual Traceroute (and several others) say all of these addresses are
in the Boston metro area for some reason. Most network geo-location
programs are absolute bull-droppings, and are totally useless.

>I know I've seen large charts showing large blocks of IP addresses
>assigned to various countries somewhere on line.


If you did, it would be horribly inaccurate, or nearly useless. Let's
look at something like China - people are always complaining about
them. China has 1448 allocations/assignments in IPv4-land and 32 more
in IPv6. I'm purposely ignoring the autonomous districts of Hong Kong
and Macau, and what many consider a separate country (Taiwan). Now just
looking at the first octet of the address, let's see where China is:

[compton ~]$ zgrep CN APNIC.gz | cut -d' ' -f2 | cut -d'.' -f1 | sort -n
| uniq -c | column
43 58 36 118 40 125 1 168 41 211
34 59 70 119 1 134 1 169 64 218
38 60 27 120 1 159 4 192 41 219
86 61 43 121 1 161 1 198 16 220
18 114 25 122 1 162 321 202 63 221
49 116 44 123 1 166 95 203 64 222
34 117 68 124 1 167 75 210
[compton ~]$ zgrep CN APNIC.gz | cut -d' ' -f3 | sort | uniq -c | column
4 255.192.0.0 208 255.254.0.0 168 255.255.240.0
4 255.224.0.0 241 255.255.0.0 98 255.255.248.0
14 255.240.0.0 144 255.255.128.0 34 255.255.252.0
56 255.248.0.0 126 255.255.192.0 20 255.255.254.0
129 255.252.0.0 159 255.255.224.0 43 255.255.255.0
[compton ~]$

So, China has address ranges all over the lot, from 58.14.0.0 to
222.249.255.255, and 1446 other blocks, ranging in size from /24s up to
4 /11s and 4 /10s. But before you get out your shotgun and start
blazing away at /8s, let's look at that first /8 (58.x.x.x) and see who
else is there:

[compton ~]$ zgrep ' 58\.' APNIC.gz | cut -d' ' -f1 | sort | uniq -c |
column
1 AF 4 HK 15 KR 5 PK 1 VN
24 AU 3 ID 4 MY 6 SG
5 BD 3 IN 2 NZ 8 TH
43 CN 30 JP 2 PH 4 TW
[compton ~]$

Do you know your ISO-3166 country codes? ;-) There are 124 /8s with
multiple countries - anywhere from 2 countries (currently 11 /8s) to
over 60 countries (5 /8s mainly serving Europe). There are only 50 /8s
allocated or assigned to single countries, and few of those are all
physically located in that given country.

Going to try to block hosts where the domain name is (for example) .cn?
Several problems there - first, there are 23 non-ISO-3166 domains, such
as .com, or .net and so on, and these may be registered/used in ANY
country (so all hosts in .cn may not have a .cn hostname). There are
several two-letter codes that are _not_ ISO-3166 country codes - such as
..ap (Asia-Pacific region) and .eu (European Union region). Second, as
noted above, this merely indicates where the domain is registered. It
says absolutely nothing about where it is physically. Third, all your
systems know about is the IP address, and you need to do a DNS lookup to
find the hostname. It may be of no surprise to learn that the network
administrators at many domains are to freakin' st00pid to know how to
set up the IP to hostname tables (even though it is required by various
RFCs). This is especially true in domains where a lot of abuse comes
from. A simple spam blocking technique used by mail servers is to
simply not accept mail from any host without a IP to hostname record in
the DNS.

Doug McIntyre <merlyn@geeks.org> is providing the same answer I am.
Block _ALL_ addresses that you don't want connecting, not just those
from AD (Andorra) to ZW (Zimbabwe). You do this by 'white-listing'
approved addresses or address ranges. As I said, I allow connections
from just three ranges totalling 1530 addresses. It's a heck of a lot
less work maintaining those firewall rules.

Old guy

Reply With Quote
  #15 (permalink)  
Old 06-22-2008, 02:43 PM
reader@newsguy.com
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

ibuprofin@painkiller.example.tld (Moe Trin) writes:

>
> Oh, Fsck! What you are asking for is enormous. What I'm using


Egad... all I can think to say is `UNCLE'.

Thanks for the detailed information.
It appears I'm in way over my head.

Reply With Quote
  #16 (permalink)  
Old 06-22-2008, 08:09 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Sun, 22 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
<877ichv8cl.fsf@newsguy.com>, reader@newsguy.com wrote:

>ibuprofin@painkiller.example.tld (Moe Trin) writes:
>
>> Oh, Fsck! What you are asking for is enormous. What I'm using

>
>Egad... all I can think to say is `UNCLE'.


;-) The problem is that IP address assignments were never lain out in
a convenient way for filtering. If you look at the top of the IPv4 pile
(http://www.iana.org/assignments/ipv4-address-space), the range from
58.0.0.0 to 126.255.255.255 has a faint hint of some kind of order on
a regional basis, and if you look much harder you can even see traces of
a hint of some order in the 193.0.0.0 - 222.255.255.255 area, but that's
about it. RFC2050 "Internet Registry IP Allocation Guidelines" really
doesn't touch on the matter. Initially, address ranges were handed out
like it was going out of style, with little thought or planning - hence
the use of entire /8s for trivial use (your loopback interface accepts
127.0.0.0 through 127.255.255.255 as all meaning "me"). Now, it's
finally dawning on people that we're running out of IPv4 addresses
(as of last week, 71.79% of available addresses are allocated or
assigned), and new chunks are being handed out in much smaller sizes.
But it's still being handed out - between May 16th and June 15th,
China picked up 12 blocks, and overall the number of addresses used
went from 71.44% to 71.79% (up from 69.25% on 1/1/2008, and 60.6% only
three years ago).

>Thanks for the detailed information.
>It appears I'm in way over my head.


Nah, come on in - the water's fine. Just be aware that there is a lot
of it, and keep watching for those dorsal fins ;-)

Glad to be able to help!

Old guy

Reply With Quote
  #17 (permalink)  
Old 06-23-2008, 11:45 AM
david20@alpha1.mdx.ac.uk
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

In article <slrng5tcb6.hkg.ibuprofin@compton.phx.az.us>, ibuprofin@painkiller.example.tld (Moe Trin) writes:
>On Sun, 22 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
><877ichv8cl.fsf@newsguy.com>, reader@newsguy.com wrote:
>
>>ibuprofin@painkiller.example.tld (Moe Trin) writes:
>>
>>> Oh, Fsck! What you are asking for is enormous. What I'm using

>>
>>Egad... all I can think to say is `UNCLE'.

>
>;-) The problem is that IP address assignments were never lain out in
>a convenient way for filtering. If you look at the top of the IPv4 pile
>(http://www.iana.org/assignments/ipv4-address-space), the range from
>58.0.0.0 to 126.255.255.255 has a faint hint of some kind of order on
>a regional basis, and if you look much harder you can even see traces of
>a hint of some order in the 193.0.0.0 - 222.255.255.255 area, but that's
>about it. RFC2050 "Internet Registry IP Allocation Guidelines" really
>doesn't touch on the matter. Initially, address ranges were handed out
>like it was going out of style, with little thought or planning - hence
>the use of entire /8s for trivial use (your loopback interface accepts
>127.0.0.0 through 127.255.255.255 as all meaning "me"). Now, it's
>finally dawning on people that we're running out of IPv4 addresses
>(as of last week, 71.79% of available addresses are allocated or
>assigned), and new chunks are being handed out in much smaller sizes.
>But it's still being handed out - between May 16th and June 15th,
>China picked up 12 blocks, and overall the number of addresses used
>went from 71.44% to 71.79% (up from 69.25% on 1/1/2008, and 60.6% only
>three years ago).
>


Does HP still own both the 15/8 address block and the 16/8 block it inherited
when it took over Digital ? (Actually by taking over Compaq who had taken over
Digital).

David Webb
Security team leader
CCSS
Middlesex University

Reply With Quote
  #18 (permalink)  
Old 06-23-2008, 12:08 PM
Frank Slootweg
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

david20@alpha1.mdx.ac.uk wrote:
[...]

> Does HP still own both the 15/8 address block and the 16/8 block it
> inherited when it took over Digital ? (Actually by taking over Compaq
> who had taken over Digital).


Yup, 'we' [1] do.

--
[1] Frank "Ex-'we'." Slootweg

Reply With Quote
  #19 (permalink)  
Old 06-23-2008, 12:33 PM
david20@alpha1.mdx.ac.uk
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

In article <485f9225$0$1862$dbd43001@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> writes:
>david20@alpha1.mdx.ac.uk wrote:
>[...]
>
>> Does HP still own both the 15/8 address block and the 16/8 block it
>> inherited when it took over Digital ? (Actually by taking over Compaq
>> who had taken over Digital).

>
> Yup, 'we' [1] do.
>

Given the lack of available address-space is there any reason for HP to hang
onto such a large address-space ?

David Webb
Security team leader
CCSS
Middlesex University

>--
>[1] Frank "Ex-'we'." Slootweg


Reply With Quote
  #20 (permalink)  
Old 06-23-2008, 05:48 PM
Frank Slootweg
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

david20@alpha1.mdx.ac.uk wrote:
> In article <485f9225$0$1862$dbd43001@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> writes:
> >david20@alpha1.mdx.ac.uk wrote:
> >[...]
> >
> >> Does HP still own both the 15/8 address block and the 16/8 block it
> >> inherited when it took over Digital ? (Actually by taking over Compaq
> >> who had taken over Digital).

> >
> > Yup, 'we' [1] do.
> >

> Given the lack of available address-space is there any reason for HP to hang
> onto such a large address-space ?


As my footnote indicated I'm ex-HP (retired), so I couldn't tell.

But many people say that there really isn't a lack of available
address space if people use NAT and IPv6 if and when they can. I'm not a
network specialist, so I can't tell if they talk sense or non-sense.

Also I doubt if any organization/business is willing to *buy* Net 16.
After all, it cost HP a lot of money - like way, way too much :-) c.q.
:-( - so it's unlikely that they give it away.

I think this is not a simple matter. Selling/buying a bunch of small
networks, i.e. Class B or C, is probably feasible, but a Class A
network?

Reply With Quote
  #21 (permalink)  
Old 06-23-2008, 07:57 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Mon, 23 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
<g3o55v$hpd$1@south.jnrs.ja.net>, david20@alpha1.mdx.ac.uk wrote:

>>david20@alpha1.mdx.ac.uk wrote:


>>> Does HP still own both the 15/8 address block and the 16/8 block it
>>> inherited when it took over Digital ? (Actually by taking over Compaq
>>> who had taken over Digital).


http://www.iana.org/assignments/ipv4-address-space

Prefix Designation Date Whois Status [1] Note

015/8 Hewlett-Packard Company 1994-07 LEGACY
016/8 Digital Equipment Corporation 1994-11 LEGACY

If you have a 'whois' tool in your O/S, ARIN says 'yes'.

>Given the lack of available address-space is there any reason for HP
>to hang onto such a large address-space ?


1917 An Appeal to the Internet Community to Return Unused IP Networks
(Prefixes) to the IANA. P. Nesser II. February 1996. (Format:
TXT=23623 bytes) (Also BCP0004) (Status: BEST CURRENT PRACTICE)

RFC1917 is available via any search engine. Problem is that you'd have
to convince HP to review their use. Personally, I don't believe it's
going to happen - and that's not just HP, IBM, Xerox, Apple, MIT, Ford,
CSC, Halliburton, Eli Lily, Interop Show, Bell Northern, Prudential
Security, DuPont, Merck... you get the idea. Over the years, a number
of /8s have been returned to IANA. Looking at the list beginning on
page 7 of RFC0990 (Assigned Numbers - November 1986) and comparing it
to the web page above might give some nostalgia.

The solution seems to be to go to IPv6. As of mid-month, there was only
a tiny fraction (0.00168%) of IPv6 land allocated/assigned, and the
_smallest_ block released is a /64 (18,446,744,073,709,551,616 addresses)
though /48s and /32s are more common, and IANA is even prepared for the
day when those addresses run out:

1606 A Historical Perspective On The Usage Of IP Version 9. J. Onions.
April 1 1994. (Format: TXT=8398 bytes) (Status: INFORMATIONAL)

RFC1606 is likewise available via any search engine. Just looking at
the web page cited at the top of this post, I notice the "Former Class
E" address range (240.0.0.0/4) is no longer marked Experimental, but
is "Reserved for Future Use". Given the fact that virtually every
network stack knows these addresses are special, I rather doubt that
anything will come of this change.

Old guy

Reply With Quote
  #22 (permalink)  
Old 06-24-2008, 07:44 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On 23 Jun 2008, in the Usenet newsgroup comp.security.misc, in article
<485fe1de$0$40866$dbd41001@news.wanadoo.nl>, Frank Slootweg wrote:

> But many people say that there really isn't a lack of available
>address space if people use NAT and IPv6 if and when they can. I'm not
>a network specialist, so I can't tell if they talk sense or non-sense.


Noted up-thread, as of June 15, 2008, there were 2660804976 IPv4
addresses allocated/assigned by the five RIRs, and if you exclude
RFC3330 address space, that's 71.79% of "available" addresses. Looking
back to the end (12/31/xxxx) of the years, you see

1983 325151488 8.77%
1985 360680960 9.73%
1990 730298112 19.70%
1995 1374740706 37.09%
2000 1698877890 45.84%
2005 2246643418 60.61%
6/15/08 2660804976 71.79%

You mention NAT or IPv6. As an example, look at comcast.com - a major
provider in the US. They have (at least) 45 IPv4 ranges totaling some
51.3 million addresses - the equivalent of a bit over 3 "Class A"
networks. As many of those are used by residential customers, NAT may
be a good choice (look at the possibilities of improved security) but
is NAT likely? I don't think so - it would break to many things used
by clueless users. Comcast also has an IPv6 block - a /32 which is
79228162514264337593543950336 addresses (7.9e28) which should allow
every customer to have their own "Class A" and then some. Is that going
to happen soon? Hah!

The shortage of IPv4 addresses has been hashed about for years. The
1994 edition of 'TCP/IP Illustrated Volume 1' by W. Richard Stevens
(ISBN 0-201-63346-9, a standard college textbook on the protocols)
mentions an article in the May 1993 issue of 'IEEE Network' (Volume
7 number 3) discussing the problem, and you should be able to find
copies of RFC1454 and RFC1475 via any search engine.

1454 Comparison of Proposals for Next Version of IP. T. Dixon. May
1993. (Format: TXT=35064 bytes) (Status: INFORMATIONAL)

1475 TP/IX: The Next Internet. R. Ullmann. June 1993. (Format:
TXT=77854 bytes) (Status: EXPERIMENTAL)

but what we know as IPv6 wasn't initially formalized until 1995

1883 Internet Protocol, Version 6 (IPv6) Specification. S. Deering,
R. Hinden. December 1995. (Format: TXT=82089 bytes) (Obsoleted
by RFC2460) (Status: PROPOSED STANDARD)

and there are several other documents in that period.

> Also I doubt if any organization/business is willing to *buy* Net
>16. After all, it cost HP a lot of money - like way, way too much
>:-) c.q. :-( - so it's unlikely that they give it away.


I'm not sure, but believe that you don't *own* an IP range. You merely
have use of the range, and the "owner" remains the RIR - in this case
ARIN, who allocated/assigned it to some party. Certainly all of the
transactions I'm aware of are returning the block to the registrar who
may then hand it out to some other entity.

> I think this is not a simple matter. Selling/buying a bunch of small
>networks, i.e. Class B or C, is probably feasible, but a Class A
>network?


Simple - you just buy the company. ;-)

Old guy

Reply With Quote
  #23 (permalink)  
Old 06-26-2008, 07:56 PM
Greg Hennessy
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On Mon, 23 Jun 2008 12:33:03 +0000 (UTC), david20@alpha1.mdx.ac.uk wrote:

>In article <485f9225$0$1862$dbd43001@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> writes:
>>david20@alpha1.mdx.ac.uk wrote:
>>[...]
>>
>>> Does HP still own both the 15/8 address block and the 16/8 block it
>>> inherited when it took over Digital ? (Actually by taking over Compaq
>>> who had taken over Digital).

>>
>> Yup, 'we' [1] do.
>>

>Given the lack of available address-space is there any reason for HP to hang
>onto such a large address-space ?
>


Closer to home there is no reason for HMG to hang on to 51/8, which I
believe is currently unused with the DSS and is not advertised to the rest
of the world via BGP.

Greg
--
?¡aah, los gringos otra vez!?

Reply With Quote
  #24 (permalink)  
Old 06-27-2008, 07:11 PM
Chris Mattern
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On 2008-06-10, reader@newsguy.com <reader@newsguy.com> wrote:
> Doug McIntyre <merlyn@geeks.org> writes:
>
>> reader@newsguy.com writes:
>>>ibuprofin@painkiller.example.tld (Moe Trin) writes:

>>
>>>> If you don't want people from country $FOO attempting to connect to your
>>>> system, WHY ARE YOU ALLOWING CONNECTIONS FROM THAT BLOCK OF ADDRESSES?
>>>> Do you someday plan on visiting Jilin province (the Chinese "state"
>>>> just North of Korea), and will need to connect to your system from
>>>> there? Until you do, block 222.168.0.0/15. . . . . . .

>>
>>>[...]

>>
>>>Sorry to butt in here...

>>
>>>Moes' advice is good and I've been meaning to do something like that
>>>but I wondered if anyone in this thread has a URL for a site that
>>>shows what address blocks go to what country.

>>
>>
>> Go to the source, www.iana.org.

>
> Thanks... I guess you've seen some sort of chart like I described
> there somewhere....
>
> After digging around there (admittedly somewhat blindly) I'm not
> finding such a chart.
>
>> But, why stop at just blocking foreign countries to wherever you are?
>> (I'm assuming the US).
>>
>> Percentage of hacked botnetwork machines ranks the US as #2 or #3 in
>> the world for hack attempts.
>>
>> Don't let any connection in that you aren't ready to vet for yourself.

>
> Can you run this by me again. This phraseology went right over my
> head.
>
> What are you saying there?


He's saying, don't just block the IPs you know (or suspect) are bad. Block
*all* IPs except for the ones you know are *good*.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities

Reply With Quote
  #25 (permalink)  
Old 06-27-2008, 07:31 PM
Chris Mattern
Guest
 
Posts: n/a
Default Re: How the Chicom got my IP address???

On 2008-06-23, david20@alpha1.mdx.ac.uk <david20@alpha1.mdx.ac.uk> wrote:
> In article <485f9225$0$1862$dbd43001@news.wanadoo.nl>, Frank Slootweg <this@ddress.is.invalid> writes:
>>david20@alpha1.mdx.ac.uk wrote:
>>[...]
>>
>>> Does HP still own both the 15/8 address block and the 16/8 block it
>>> inherited when it took over Digital ? (Actually by taking over Compaq
>>> who had taken over Digital).

>>
>> Yup, 'we' [1] do.
>>

> Given the lack of available address-space is there any reason for HP to hang
> onto such a large address-space ?
>

"It's ours, you can't take it back, and we're not giving it back." I 'spect that's
pretty much the position. I'm sure HP finds having two class A address blocks very
useful; whether other people need those addresses is no concern of theirs.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Range Extender - IP Address Problems tomjoyce Network Troubleshooting 0 04-25-2008 04:53 PM
Wireless - IP address problem? tashtb Network Troubleshooting 2 04-21-2008 12:11 PM
Memory Issue or Test issue?? bill alt.comp.hardware 6 04-14-2008 12:28 PM
MAC address are similar result in similar ip address zillah Security 3 04-22-2006 02:34 PM
changing MAC address questions apngss@yahoo.com alt.internet.wireless 17 10-24-2005 03:20 PM


All times are GMT. The time now is 05:32 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0