Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Seg Fault Help

Posted on 2005-03-21
Medium Priority
Last Modified: 2013-12-16
One of my associates came into his office today to find pages of defunct cron processes on his fedora linux box.  He attempted to reboot the machine but got a seg fault error.  From what I can gather, the error message is a long one and mentions line 70 of  etc/rc.d/rc.sysinit and error 35 seg fault.

Over the weekend, he also received a report from a firm who had received attempts from that IP and a SBC DSL modem out of Chicago, IL to ssh into one of their servers without success so before he even got to the office today, we were wondering if the box had been compromised.

Anyone have any helpful suggestions or any idea what these errors most likely mean?
Question by:source2k3
LVL 38

Accepted Solution

wesly_chen earned 1500 total points
ID: 13594110
> mentions line 70 of  etc/rc.d/rc.sysinit and error 35 seg fault.
   Please provide the exact error message of that line.

   There are a couple of reasons cause rc.sysinit segmentation fault. Yes, some intruders put root kit (bask door software) might
cause it.

1. Bring that machine off network first.
2. Use Fedora first CD to boot into "rescue" mode. ( type "linux rescue" at boot: prompt).
3. Check the disks
    Run fsck /dev/hda1 (or /dev/sda1 if it is SCSI disk)
    fsck /dev/hda2
    fsck /dev/hda3
4. Backup rc.sysinit and replace the one on CD
    mv /mnt/sysimage/etc/rc.d/rc.sysinit /mnt/sysimage/etc/rc.d/rc.sysinit.bak
    cp -p /etc/rc.d/rc.sysinit  /mnt/sysimage/etc/rc.d
5. Boot it up (still off network).

If this machine is compromised, then you need to backup your data and do a fresh reinstallation.
Then go to Bastille-Linux and download Bastille to harden your Fedora box to avoid further attack.


LVL 12

Expert Comment

ID: 13649177
Get a copy of all your logs too, and the error, and the report.  It would be nice to catch the little boy who's trying to break in.

Every thing you need to trace it should already be there.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question