LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-06-2004, 03:56 AM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
How to track who's helping intruder pass through firewall


My problem is this:
I am "practicing" in a company for three months - not employed, limited in what I can do. But I need to get things done to have a chance to get a real job...
The company is responsible for other companys networks, my job is to read logs etc to make sure everything is fine. Now one internal Linux-server behind a firewall is subject to several login-attempts (SSH). This is done daytime only (one exception) so I suppose intruder is "helped" by someone on the inside.
Question: How can I track intruder's way-in? I have root-access to all servers, but no access to firewall. (Well, I can get in but I'm not supposed to.) I'm not explicitly forbidden to install a program on the server, but it's the last thing I want to do.
 
Old 08-06-2004, 07:22 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Look at the source of the SSH attempts first. It could be a comprosed machine or just someone who forgot their password.
 
Old 08-06-2004, 09:04 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
There are 3 different sources logged, all are external IP's.
The usernames used are 'test' 'guest' 'user' and 'admin' - they don't exist.
Also, users shouldn't log in directly to this server, it has no user-accounts at all.
 
Old 08-06-2004, 09:30 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
If it's the same (or very similiar) simple combinations, then you're likely see this:

http://www.linuxquestions.org/questi...hreadid=213582

There is some form of malware or scanner that is going around trying to guess very simple user/passwd combos. However, it's starting to become fairly widespread.
 
Old 08-06-2004, 09:44 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
Yes, I've noticed I'm not alone...
Well, I'm not really worried, they won't get in - that server is pretty secure.
(And if they do get in I'll be there to stop them. Should raise my chances to get a job

But I do wonder how they get past that firewall and onto the server? It must be by exploiting some employee connected to internet. It would be good to find out who.
Or have they found a way through the firewall? Would be great if I could report a security-hole in that firewall - it's supposed to be very tight!
 
Old 08-06-2004, 10:04 AM   #6
barisdemiray
Member
 
Registered: Sep 2003
Location: Ankara/Turkey
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Quote:
Originally posted by pingu
Yes, I've noticed I'm not alone...
Well, I'm not really worried, they won't get in - that server is pretty secure.
(And if they do get in I'll be there to stop them. Should raise my chances to get a job

But I do wonder how they get past that firewall and onto the server? It must be by exploiting some employee connected to internet. It would be good to find out who.
Or have they found a way through the firewall? Would be great if I could report a security-hole in that firewall - it's supposed to be very tight!
To fight with a cracker, think like a cracker, be a cracker :-) Your internal server has an external IP, right? Then do the same thing.. Try to do ssh from a external IP to your internal server and then analize the logs. If it works, look at the firewall rules that let you come in.
 
Old 08-06-2004, 12:55 PM   #7
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by pingu
But I do wonder how they get past that firewall and onto the server? It must be by exploiting some employee connected to internet. It would be good to find out who.
Or have they found a way through the firewall? Would be great if I could report a security-hole in that firewall - it's supposed to be very tight!
I thought that since you were looking for a helper on the inside that the sources would be internal. Since they are external sources you might actually want to check your firewall configuration to verify that SSH to this host is not open. Have you tried starting an SSH session from the outside just to verify? Since there are you user accounts on this system, the only access to this box from the outside should be just the services that are meant to be publicly accessible (ie www). If there are no services on this system that are meant to be public, then all external traffic to this system should be blocked.
 
Old 08-10-2004, 05:16 AM   #8
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
Now I am soo ashamed...
I was so eager to find a problem that I forgot the first rule:
"Let go of the keyboard - relax - think & analyze"

You see, for the other companys I log in to one server, connect to other internally. But not this one.
I'm connecting to it directly, from outside, so anybody could.
The problem I tried to solve does not exist...

Well, thanks everybody.
I'm beginning to believe I shouldn't have a job after all....
 
Old 08-10-2004, 07:47 AM   #9
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
If possible, you may consider recommending filtering the outside SSH access to known clients only (ie your site and any other partner sites). You could point out the failed login attempts to make the justification.

Last edited by stickman; 08-10-2004 at 07:55 AM.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rkhunter --update & Helix 1.5 (intruder nabbed!) t3gah Linux - Security 0 04-14-2005 07:54 PM
Traffic still going pass Firewall extremebfn Linux - Networking 1 10-04-2004 01:43 AM
intruder into my system? What can I do? Y0jiMb0 Linux - Security 18 01-31-2004 11:10 AM
Helping us Help you to help us chingasman Linux - General 1 12-31-2002 04:22 PM
How do you kick some intruder out? hubergeek Linux - Networking 1 04-23-2002 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration