Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

My linux server was just hacked, ask me anything!

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 » The DU Lounge Donate to DU
 
merwin Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:09 PM
Original message
My linux server was just hacked, ask me anything!
Here's the list of what was running on it...

Fedora Core 2
* sshd (SSH Server)
* vsftpd (FTP Server... yes, I know... insecure... but what I am doing requires FTP)
* httpd (HTTP Server)
* webmin (Web-based server admin)

And, all packages were updated to their latest versions about a week ago.

The person who hacked created a user named "Timo Thal", and installed a whole crapload of replacement services and shells that log everything and send it over IRC.

Fun stuff, huh?
Printer Friendly | Permalink |  | Top
theorist Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:11 PM
Response to Original message
1. That's cute.
Edited on Fri Feb-04-05 05:13 PM by theorist
We just go into the allowed hosts and put "none" for everything, then only allow logins from a couple secretly known ISPs. We get all kinds of attempted logins. A lot from France for some reason....

on edit: I guess I should ask a question. What processors/OS are you running?

Also, we're not hosting web pages, so that simplifies things.
Printer Friendly | Permalink |  | Top
 
merwin Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:17 PM
Response to Reply #1
5. Yes, and the hilarious thing is, my boss and I were discussing
more ways to lock down the server just yesterday.

That was one of the ideas that came up
Printer Friendly | Permalink |  | Top
 
trotsky Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:13 PM
Response to Original message
2. What tipped you off?
Gotta hand it to those guys, they're good.
Printer Friendly | Permalink |  | Top
 
merwin Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:15 PM
Response to Reply #2
4. Someone from another site told me to stop trying to log in to his server
lol.
Angry bicyclist.. http://www.worldcycling.com
Printer Friendly | Permalink |  | Top
 
no name no slogan Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:14 PM
Response to Original message
3. but...but....but.....
Damn, that really really sucks. I guess it just goes to show that just about ANY server, no matter how secure it may be, can get cracked if the cracker has enough motivation (or free time).

My sympathies.
Printer Friendly | Permalink |  | Top
 
merwin Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:18 PM
Response to Reply #3
6. Luckily, it was our backup server and really had nothing important on it..
yet
Printer Friendly | Permalink |  | Top
 
lapfog_1 Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:19 PM
Response to Original message
7. Having done this for a while

First idea, buy a small server to host your web pages and
place it in the untrusted area of the network.

Second, you have SSH, so see if you can't use scp instead of ftp
for all file transfers, both external and internal (if you HAVE to
allow random internet users download files, start thinking of a
"outside the firewall" ftp server).

Linux is a fine OS, but you might want to consider FreeBSD, as it's
a bit more secure than Linux, especially if you any of your own
OS upgrades. But no matter what, systems are destined to be hacked,
all you can do is make yours harder to hack than the vast majority,
and keep yours updated (as you did) with the latest versions of
stuff... and, finally, don't keep anything real important (like, say,
voting machine results) on any computer connected to the internet.

Printer Friendly | Permalink |  | Top
 
merwin Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:21 PM
Response to Reply #7
8. Unfortunately, FTP is a requirement
The server was only used to test FTP/HTTP connectivity from another set of devices, so those two services were a requirement.
Printer Friendly | Permalink |  | Top
 
qnr Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-04-05 05:27 PM
Response to Original message
9. Sorry to hear that. I like to keep an eye on what is going on
by running root-tail on my root window. That's just one of the things I keep track of, but it helps. It gives me color-coded info about what is going on with my servers, in real time. Here's a screenshot, it doesn't show much right now aside from routine web activity, unfortunately.


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 Thu Apr 18th 2024, 09:22 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge 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