Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Another day, another Chinese attack on my home web/media server...

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » Archives » General Discussion (1/22-2007 thru 12/14/2010) Donate to DU
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:36 PM
Original message
Another day, another Chinese attack on my home web/media server...
Last month I posted about noticing my internet going very slowly, and after a few days of trying to figure out what was wrong, I hopped onto my home server and looked at its access log, only to find that thousands of access attempts were being made by IP addresses registered in China. Several posters recommended that I contact the FBI and report it, but after looking into the situation I realized I had deleted the access logs and figured I no longer had proof. I did turn off the server, and sure enough my connection speed shot right back up.

I had been meaning to make some changes to the server itself for a while, but since I've been busy at work I never got around to it, and so never even turned it back on, until last night when I needed a file off of it. Sure enough I forgot to turn it back off...

Anywhos, the partner just comes in and asks me if I'm doing anything major online that would be killing the internet, (apparently it's going slowly again and wreaking havoc with some WOW mission to liberate Doritos Valley or something in the next room). After telling him that I'm just scrolling past 95,357 pirates-related threads to see what happened at DU today, I realize that the server is up, and pull up a Remote Desktop Connection to see if it's the problem.

Sure enough, there in the access logs are more than a few random IP addresses that when checked are registered in China, trying to talk to the server at various times today. This time I saved the log file and am going to file the complaint.

What the heck is so interesting about my crap web/home media server that would prompt Chinese people to want to get into it? I'm not exactly running the nation's power grid off of it. And is there anything the government will actually be able to do to stop these "Chinese Server Pirates", (heh heh), from doing this every time I turn it on?

Is anyone else having this problem?
Printer Friendly | Permalink |  | Top
Duer 157099 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:40 PM
Response to Original message
1. LOL, and only in Washington state
Methinks M$ wants to train a local workforce who are hungry for work, specific to M$. Now why might they want to go and do something like that?

Sheeeet, if I worked at M$ in WA, I'd be pissed about this.
Printer Friendly | Permalink |  | Top
 
drm604 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:46 PM
Response to Original message
2. Can't you block them at the firewall?
Edited on Mon Apr-13-09 08:48 PM by drm604
It's probably also a good idea to report them. There have been some concerns recently about apparent Chinese attacks on U.S. servers.
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:53 PM
Response to Reply #2
3. Yeah, I'm looking into blocking by country now...
Looks like I can also block them by modifying Apache's .htaccess file.
Printer Friendly | Permalink |  | Top
 
drm604 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:59 PM
Response to Reply #3
5. I think the firewall would be more efficient.
Using .htaccess would probably put more load on the server than using the firewall.

This website will generate code you can put in .htaccess to block by country.
http://www.blockacountry.com/
You can use it in .htaccess or you could copy the IP addresses from it to put in the firewall.
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:25 PM
Response to Reply #5
8. Excellent and bookmarked!
Thanks very much for this!
Printer Friendly | Permalink |  | Top
 
drm604 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:29 PM
Response to Reply #8
9. Come to think of it
you definitely want to block it at the firewall.

.htaccess will only keep them out of the web server.
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:40 PM
Response to Reply #9
12. Yeah, that thought crossed my mind after I found out I could go that route...
Downthread it's mentioned that the partner's pc may be a problem and I agree. All the more reason to block it at the connection.
Printer Friendly | Permalink |  | Top
 
Statistical Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:48 PM
Response to Reply #9
16. +1
Three reasons:
1) Blocking them at the web server leaves the entire rest of the network vulnerable. If they are aware of a vulnerability you are not well you already let the intruder into your house.

2) Load could be substantial on your server. They may attempt to break it by ramping up load.

3) IP addresses can be spoofed. They also can be proxied. Any well equiped organization has proxies in multiple countries. If server doesn't respond to direct attack a proxy attack is coming next.

Improve your firewall security. You may need to get a better grade hardware firewall (or build your own there are many linux based firewall distros that can run on <600mhz computer as long as it has 2 LAN cards (LAN & WAN).

Once the enemy is past your firewall your system is already 90% of the way to compromised. Defense in layers is good strategy but don't give up
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:00 PM
Response to Reply #16
19. I've actually got a couple of old pc's lying around...
Edited on Mon Apr-13-09 10:08 PM by JeffreyWilliamson
And have been looking for a project. I've known for a while that I could put together a nice linux firewall, but haven't ever been motivated. Looks like the motivation may have found me...

Thinking about it it's obvious that blocking them on the server won't fix the problem. The firewall really is the only option. I've got an old 950 MHz Athlon Duron processor, motherboard, case, powersupply, and I think about 256 MB in RAM that's compatible with the board. The board has built in ethernet and I have an extra wireless card.

If I take some time this week to put one together, does anyone have any idea if an older computer serving as a firewall will in any way slow down the internet speed of each computer on the network.

And strangely, I have a lot of computers networked here. One in just about every room of the house--8 in all counting the 3 I have in my home office.
Printer Friendly | Permalink |  | Top
 
City of Mills Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:05 PM
Response to Reply #19
21. The internet will slow down to the speed
of the slowest network card, as long as they're 100MB NIC cards you shouldn't see much if any performance impact, a 950MHz PC acting as a firewall is more than sufficient for the size of your application, I say go for it!
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:14 PM
Response to Reply #21
25. I think I will...
Sounds like this is just the thing I have been looking to put together now that I think it over. And since I love playing around with Linux it'll probably make for a very satisfying day off.

Thanks!
Printer Friendly | Permalink |  | Top
 
Statistical Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:09 PM
Response to Reply #19
22. It won't slow it down.
The "cpu" in most consumer routers has about has much processing power as a late generation 486.

There are a couple of custom distros to turn a late model computer into a firewall or firewall/router.

http://www.ipcop.org/

AND

http://m0n0.ch/wall/ (mono wall)

are the two most common.

Here are some more:
http://en.wikipedia.org/wiki/List_of_Linux_router_or_firewall_distributions

Most will run perfectly fine on old hardware. Wireless can be a little more tricky as some chipsets don't have open source drivers. Now they aren't plug & play like a linksys/netgear/dlink router (toaster) but they are much more powerful.

I used monowall & iproute2 to link up 36 soldiers to a sat internet connection when we were in Iraq. We bought our own dish and leased capacity from French bird. monowall helped me keep bandwidth under control (one person trying to make VOIP calls or using p2p can bring a sat connection to it's knees).
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:24 PM
Response to Reply #22
28. Good deal...
And it makes sense now that I think about it, since I really wouldn't think that my router would have the processing power of that Duron. I will look into IPCop and Monowall. I've heard of Monowall before, and I've read up a little bit on ClarkConnect at DistroWatch, but admittedly haven't ever REALLY read up on putting together a firewall. For someone like me it should be fun.

Any by the way, thanks for your work over there.
Printer Friendly | Permalink |  | Top
 
dysfunctional press Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:47 PM
Response to Reply #5
15. i just clicked on that link and it woke up my avast! virus protection...
is it safe?
Printer Friendly | Permalink |  | Top
 
drm604 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:57 PM
Response to Reply #15
17. For real?
What did it say? :scared:
Printer Friendly | Permalink |  | Top
 
dysfunctional press Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:11 PM
Response to Reply #17
24. here's what it said in the flashing danger pop-up:
malware name: HTML:Iframe-inf
malware type: Virus/Worm
vps version: 090413-0, 04/13/2009

maybe it's nothing? :shrug:
Printer Friendly | Permalink |  | Top
 
drm604 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:21 PM
Response to Reply #24
27. That doesn't sound like nothing.
Here's a thread on the avast forum about a similar error.

http://forum.avast.com/index.php?topic=43764.0
Printer Friendly | Permalink |  | Top
 
geckosfeet Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 08:56 PM
Response to Original message
4. They can use it as a spam relay or remote server if they can get control.
They do nasty things from your server, you get blamed, they stay in business.
Printer Friendly | Permalink |  | Top
 
benld74 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:16 PM
Response to Original message
6. I work for the Feds and,,,
you can see the Chinese IP addresses hitting firewalls trying to get in 24x7 if you would want to do such a thing. It really is laughable. They're like water, they take the paths of least resistance. So invest in some GOOD protection, because if the CHinese don't get you, the Russians, Serbs, Saudis, French, or the 10 year old down the block will!
I mean you don't leave your doors and windows wide open do you??????
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:30 PM
Response to Reply #6
10. Nah, it's pretty locked down...
I haven't seen any evidence that they've actually gotten any further than trying to get in. The problem seems to come when they eat up all my bandwidth trying. I've got great software, and I keep all the computers on the network, (with the exception of the partner's) very well updated and scanned. And having said that about the partner's computer, I'll respond to post #7...
Printer Friendly | Permalink |  | Top
 
City of Mills Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:23 PM
Response to Original message
7. Rootkit or virus calling home?
Do you have access to the WOW addict's PC? Maybe he has a nasty virus running as a service, announcing it's availability for hackers to exploit? You can check your own PC too but you seem to know what you're doing...
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:37 PM
Response to Reply #7
11. As a matter of privacy, I don't have access to his pc...
As a matter of security, that's going to change. It won't be easy getting him to scale it back to 65 hours a week so that I can work in a little scan/update time, but I'm sure he can find something else to do, say, like, go outside and retrain his eyes to function in daylight, maybe go over go over to a friend's mom's house and hang out in their basement, etc. We'll see...

In all seriousness I've been bugging him to let me update it and give it a good once over for a few months now. The requests have been met with endless refusals. And now that I think about it, I wonder if that means there's anything else on there that I'm not supposed to be finding. Like maybe a nice healthy collection of pron...
Printer Friendly | Permalink |  | Top
 
City of Mills Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:42 PM
Response to Reply #11
13. Block a port
World of Warcraft uses the TCP protocol on port 3724, that would be a good way to get him off for awhile! Beware, he may become insanely cranky if he's deprived of his fix.
Printer Friendly | Permalink |  | Top
 
AnnieBW Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 09:47 PM
Response to Original message
14. When you've been hacked by the Chinese
You feel like you have to get hacked again an hour later!
Printer Friendly | Permalink |  | Top
 
Toucano Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:00 PM
Response to Original message
18. Are you sure you're being attacked by the Chinese
and not just viruses and worms on computers in China?
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:03 PM
Response to Reply #18
20. Actually I guess I really don't...
Other than an indication that they attempts are all coming from the same general area/province, as opposed to coming from all over the place, which is what I would expect if the attacks were coming from pc's infected with some kind of spreading virus.
Printer Friendly | Permalink |  | Top
 
Canuckistanian Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:10 PM
Response to Original message
23. Maybe you should tell them you're buying all their crap at Walmart
Edited on Mon Apr-13-09 10:10 PM by Canuckistanian
Maybe they'll cut you some slack.
Printer Friendly | Permalink |  | Top
 
HughMoran Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:21 PM
Response to Original message
26.  My router is constantly being barraged by Chinese IPs
I did some research and it appeared that they are constantly doing this probing, but there is little damage they can do.
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:30 PM
Response to Reply #26
29. Yep, "probing"....
Definitely how I'd classify it, although it's reached the level of attack on occasions. The logs show that most of the time the server will get a dozen or so hits a day, and then other times, like tonight, it will get huge numbers in a short time frame--right around the time our internet speed slows down.

But the strange thing is, they don't appear to be doing anything specific other than trying to access it half-heartedly. I'm sure if they really wanted to get into it they could, but they aren't. That sure doesn't stop them from showing up at the gate in huge numbers though...
Printer Friendly | Permalink |  | Top
 
HughMoran Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:34 PM
Response to Reply #29
31. I wish I could send back a virus to anybody that probed my router
I'll call it the "ass probe" virus.
Printer Friendly | Permalink |  | Top
 
JeffreyWilliamson Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:39 PM
Response to Reply #31
32. Same here...
I'd like to see how much they'd like getting a "package" through their "back door", so to speak.
Printer Friendly | Permalink |  | Top
 
HughMoran Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Apr-13-09 10:31 PM
Response to Original message
30. Last 3 IP incoming IP addresses: Iran, China, China
What the fuck is all this traffic doing on my router?
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed Apr 24th 2024, 01:35 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Archives » General Discussion (1/22-2007 thru 12/14/2010) Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC