LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-26-2008, 01:07 PM   #1
alwayslearning
Member
 
Registered: Feb 2003
Location: mountains of Western North Carolina and Daytona Beach
Distribution: Redhat 8.0/mozilla
Posts: 60

Rep: Reputation: 15
Arrow Hacked! - My boss is PO'd!


I manage a small windows network behind a Centos firewall.

After a recent intrusion, I was asked by my boss to mask our wan ip.

Any help would be very appreciated.

Michelle in Daytona...

 
Old 06-26-2008, 01:42 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by alwayslearning View Post
I manage a small windows network behind a Centos firewall.

After a recent intrusion, I was asked by my boss to mask our wan ip.

Any help would be very appreciated.
But what exactly do you need help with? You haven't provided any information regrading neither the security breach nor what it is you want to do now.
 
Old 06-26-2008, 02:00 PM   #3
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Rep: Reputation: 41
Bahhaha I love it. Do you know what ports you allow through, what IPs or ranges any remote users use(if any), is there any boxes on a dmz.. etc...
 
Old 06-26-2008, 02:03 PM   #4
alwayslearning
Member
 
Registered: Feb 2003
Location: mountains of Western North Carolina and Daytona Beach
Distribution: Redhat 8.0/mozilla
Posts: 60

Original Poster
Rep: Reputation: 15
Clarification

I was asked by my boss to mask our wan ip.
 
Old 06-26-2008, 02:56 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by alwayslearning View Post
I was asked by my boss to mask our wan ip.
I assume that means you want to set up a NAT/masquerading firewall? If not, please clarify what you mean by "mask our WAN IP". The reason I'm asking this is because you've stated you are running a CentOS-based firewall, which sort of implies that you might already be doing NAT/masquerading. Also, if possible, please provide at least a basic overview of the intrusion you experienced, why "masking your WAN IP" would prevent if from happening again, and what your current network setup looks like.
 
Old 06-26-2008, 03:29 PM   #6
calraith
Member
 
Registered: Apr 2008
Location: Gray, TN, USA
Distribution: UbuntuStudio, Linux Mint
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by alwayslearning View Post
I was asked by my boss to mask our wan ip.
Allow an East Tennessee hillbilly to attempt to translate into Western North Carolina hillbilly

There are several reasons we are asking about the nature of the attack, network layout, and so forth. Your goal of "masking the WAN IP" is terribly ambiguous, and sounds more like an excuse to use buzz words rather than an actual request. Your boss might as well ask you to reboot the Internet. Besides, when asking for help, it's usually better to describe the symptoms than to speculate wildly about a solution. The solution you seek may not be appropriate for the vulnerability that was exploited.

For instance, if the attack was a website defacement, then no amount of tweaking your firewall will plug the hole that allowed the SQL injection. If, on the other hand, the Windows machines behind your firewall got infected by a zombie botnet, that's a different solution as well (although blocking outbound IRC and P2P using a traffic shaper of some sort couldn't hurt).

If I were to interpret your boss's request literally (and it hurts my head to do so), I would say he's asking you to put a firewall in front of your firewall.
 
Old 06-26-2008, 03:41 PM   #7
javaroast
Member
 
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
In the companies that I've worked with the term WAN usually applies to a network that connects multiple sites or locations. The vast majority of these would be connected via routers using seperate subnets.

If you are discussing an internet security on a firewall, that is another matter. The other posters are asking for more specifics so that they can help you with your issue. They aren't just giving you a hard time. To help we would need at the very least, what current firewall you are using, what the nature of the breach was, and a basic overview of your network.
 
Old 06-26-2008, 04:45 PM   #8
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Just to make something clear;Internet is WAN.
 
Old 06-26-2008, 05:24 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by alan_ri View Post
Just to make something clear;Internet is WAN.
True, the Internet is by definition a WAN - but you don't need the Internet to have a WAN, as pointed-out by javaroast. And as mentioned by calraith (and myself), the OP's description of the problem and the plan of action is quite vague. This is evidenced by this WAN discussion itself (we don't know what kind of WAN the OP means). Let's wait for the OP to get back to us with more information so that we may be able to better understand the situation and provide any necessary assistance.
 
Old 06-26-2008, 05:51 PM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by win32sux View Post
True,the Internet is by definition a WAN - but you don't need the Internet to have a WAN
True,but we need WANs to have the Internet............and that is true but I'm just kidding.
I had to say that Internet is WAN because people often have misconceptions about that.
You're right,OP should post more infomartion.

Last edited by alan_ri; 06-26-2008 at 06:30 PM. Reason: grammar
 
Old 06-26-2008, 06:04 PM   #11
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by alwayslearning
I was asked by my boss to mask our wan ip.
.... *ring* *ring*
"Hey boss, Michelle here. What the hell did you mean by that, exactly?"
 
Old 06-26-2008, 10:01 PM   #12
alwayslearning
Member
 
Registered: Feb 2003
Location: mountains of Western North Carolina and Daytona Beach
Distribution: Redhat 8.0/mozilla
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you everyone for your posts.

here is some background:

1. the IT guy I replaced hacked into our network the weekend after he was fired and changed the time clock so his last paycheck would be increased (boss thinks he setup a backdoor)
2. I changed all passwords and searched logfiles, which he deleted after he got into our network
3. my firewall experience prior to this job was a Watchguard 700, so I need help with linux
4. a friend of my boss told him his IT person changed his ip (masquerade?) among other measures and secured his network
5. my boss has very limited knowledge of computers!

I am new at this job and they are hard to find right now, so any help would be very appreciated

michelle
 
Old 06-26-2008, 10:08 PM   #13
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Rep: Reputation: 31
Hi Michelle,

Replace that firewall IMMEDIATELY. Yank the WAN link now. There are MANY backdoors he could have put on it. The list is almost endless.

Since you are new to linux, I suggest installing one of the free simple linux-based firewalls, such as Untangle. Just download the cd and boot it to install. They are very easy to install, configure and manage.

www.untangle.com

You will have a new firewall in less than an hour.
 
Old 06-26-2008, 10:15 PM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,699
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Quote:
Originally Posted by alwayslearning View Post
Thank you everyone for your posts:
here is some background:
1. the IT guy I replaced hacked into our network the weekend after he was fired and changed the time clock so his last paycheck would be increased (boss thinks he setup a backdoor)
Since this person thereby committed fraud, call the police. He also seems to have violated state and/or federal computer-crime statutes: call the police.

Quote:
2. I changed all passwords and searched logfiles, which he deleted after he got into our network
3. my firewall experience prior to this job was a Watchguard 700, so I need help with linux
4. a friend of my boss told him his IT person changed his ip (masquerade?) among other measures and secured his network
5. my boss has very limited knowledge of computers!

I am new at this job and they are hard to find right now, so any help would be very appreciated
A firewall won't help you with someone who knew a password. If you changed all the passwords (login, database, everything) he probably can't get-in anymore.

"A friend of my boss" probably does not have accurate information in this case; in fact, I think he-or-she doesn't. You are dealing with a "jilted-lover attack," the hardest kind.

Be sure to keep careful track of time since all of this might serve as actual-damages proof that might be helpful in adding a couple more years to the time this person could spend behind bars. No, I'm not kidding.
 
Old 06-26-2008, 10:21 PM   #15
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 220

Rep: Reputation: 31
Quote:
Originally Posted by sundialsvcs View Post
If you changed all the passwords (login, database, everything) he probably can't get-in anymore.
Sure he can. For example, he can have the CentOS box have a cron job to initiate a tunnel to his home box. There are lots of ways.

I would replace the firewall completely. Set it aside. Hell, go to the store and buy a cheap Linksys router/firewall, and use it for now. They are cheap ~$50.
 
  


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
Convincing My Boss custangro Linux - Enterprise 8 02-19-2007 12:04 PM
Convincing the boss jamyskis Linux - Enterprise 8 07-06-2005 06:42 PM
How to convince your boss and his boss? mikedeatworld General 8 10-09-2004 12:04 PM
How to get my boss to listen Dewar General 4 12-28-2003 07:30 AM
Pls. help! Before my boss fires me! rhonneil Linux - Networking 1 09-18-2003 07:42 AM

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

All times are GMT -5. The time now is 08:53 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