LinuxQuestions.org
Visit Jeremy's Blog.
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 11-06-2002, 01:25 PM   #1
unixpirate
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: RedHat 7.3
Posts: 44

Rep: Reputation: 15
Angry Being possibly dosd


I have installed firestarter on RH 7.1 with most of the fixes installed.
It seemed to be working great and I was watching the logs as someone came in first of all via port 138, so I blocked that port and then they came in on port 137. I blocked that and things seem to be fine.
I went about my business on the machine and while playing around my mouse locked up. I thought someone is hacking me, so disconnected it from the network.
I let it sit. I had no way to get into it. I was forced to reboot.
Here is the error message upon reboot and hoping someone can help me.
Mounting USB filesystem:
can't create lock file /etc/mntab~75: Read-only file system (use -n flag to override) - FAILED
Initializing USB controller (usb-uhci) Checking root filesystem
/ contains a file system with errors, check forced
/:
Unattached inode 1442
And error occured during the fle system check
/:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options.

I did run the fsck and the machine did come back up, but now it locked up again.
Any ideas anyone?
 
Old 11-06-2002, 02:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you think you're experiencing a DoS on a small home/small office system/network it's best to disconnect like you already did, larger setups usually try and contact their ISP and see if they can help with for example ingress filtering.

TCP 137-139 are NetBIOS ports for wintendo and have got nothing to do with Linux, unless you're running Linux equivalent services using Samba (which you don't mention).

"Crackers", if they would enter your box, don't go after mice, they're there for the root account.

The error of you being unable to mount your USBfs is consistent with std "read-only partition" behaviour due to mounting after failed error-checking is done (man tune2fs). Drop down to single mode and run fsck on the (must be read-only) partitions.

*Next time you got the urge to reboot w/o syncing and properly unmounting, make sure you have the magic keys working and learn the (proper) Linux CTRL+ALT+DEL three finger salutes: ALT+SYSREQ+S (sync), ALT+SYSREQ+U (mount all -r) then ALT+SYSREQ+B (reboot).
 
Old 11-06-2002, 02:42 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
If the system is still off the network and you are still experiencing these problems, then I doubt that you are being DoS'd. It looks more like you've got something else going on. Try looking through /var/log/messages. If you don't see anything of interest, try increasing the log level in syslog.conf and see what else shows up.
 
Old 11-06-2002, 02:48 PM   #4
unixpirate
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: RedHat 7.3
Posts: 44

Original Poster
Rep: Reputation: 15
unSpawn,
I appreciat the info and is helpful with the reboot info. Thanks alot. I'm a serious newbie as you know I'm sure. This is a single workstation I'm setting up for work. It's currently at my desk and I had it online to get the updates via RH.
I am no longer getting the USB error messages since I've ran fsck manually on most of the filesystems. I tried on /root with no luck.
My only error left which I can't run fsck on is
"Checking root filesystem / contains a file system with errors, check forced.
Unattached inode 257
Anymore ideas?
Now I did install samba. Don't know nothing about it.
 
Old 11-06-2002, 02:49 PM   #5
unixpirate
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: RedHat 7.3
Posts: 44

Original Poster
Rep: Reputation: 15
I do not have any log files to go by. Muchless nothing under /var.
 
Old 11-06-2002, 02:55 PM   #6
unixpirate
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: RedHat 7.3
Posts: 44

Original Poster
Rep: Reputation: 15
How come in Single user mode I can't edit the /etc/fstab or /etc/mtab?
Or where can I get to so I can edit these files?
Thanks all.
 
Old 11-06-2002, 04:05 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Unattached inodes usually means loss of some files, unless they're reattached to /lost+found by fsck. If you're missing files, try using "mc"'s undelete function, but before that make sure your fsck processes return w/o errors. When I'm unsure about a partition I force an fsck on the read-only partition, just to be sure.

Hmm. If you're unable to edit files it means the filesystem still is mounted read-only. You could "mount <partition> -o remount rw" to get it back to read-write state.

* If you have any other questions regarding the "fall-out" from your incident I would like to ask you to open up a new thread in any of the other forums because by now it's becoming OT and not a security issue anymore.
 
Old 11-07-2002, 01:39 PM   #8
unixpirate
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: RedHat 7.3
Posts: 44

Original Poster
Rep: Reputation: 15
What is the "mc" undelete?
 
  


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
possibly compromised - what to do? TreeHugger Linux - Security 4 02-04-2005 11:03 PM
System possibly compromised kloppster Linux - Security 7 07-12-2004 03:30 PM
winex 2.1--possibly free?? icanspellnew Linux - Software 3 07-11-2004 09:37 PM
Bill gives to charity... possibly JesseJames General 12 12-03-2003 02:47 PM
Am I being DoSd? pilot1 Linux - Security 6 11-04-2002 04:07 PM

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

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