Re: [SLE] Hacked?

From: expatriate (lbox_at_nellgc.plus.com)
Date: 04/29/04

  • Next message: Jim Sabatke: "[SLE] autocompletion question"
    Date: Thu, 29 Apr 2004 00:14:29 +0100
    To: "[SLE]" <suse-linux-e@suse.com>
    
    

    Lucky Leavell wrote:

    >OS: SuSE 9.0
    >
    >This is a new FTP installation updated via YOU. During the install, one
    >non-root user was created and used successfully for about a week. First
    >sign of trouble: we couldn't login with error indicating an incorrect
    >password. AS root we reset the password and can now login on a character
    >screen but when logging in under KDE, receive the following error:
    >
    > There was an error setting up inter-process communications with
    > KDE. The message returned by the system was:
    >
    > Could not read network connection list
    > /home/<user>/.DCOPserver_HBADMIN_0
    >
    > Please check that the dcopserver program is running.
    >
    >A quick check of running processes shows no such process.
    >
    >The KDE login fails and returns to a login screen. All other users can
    >login just fine.
    >
    >Further, we tried removing this use and his home directory along with all
    >files/subdirectories but were unable to even list the following
    >dirctories:
    >
    > cannot access /home/<user>/.qt (permission denied)
    > cannot access /home/<user>/.kde (permission denied)
    > cannot access /home/<user>/.wine (permission denied)
    > cannot access /home/<user>/Desktop (permission denied)
    >
    >even as root.
    >
    >Could this system have been hacked or compromised in some way? (How would
    >I go about checking this?) If so, what should we do about it?
    >
    >(I did enable SuSEfirewall2 closing all ports to the outside world.)
    >
    >Thank you,
    >Lucky Leavell
    >
    >

    I'm not sure if this is related of not but maybe someone else can use
    this information to create a better picture.

    I use rsync nightly (cron job) to backup my entire home directory into a
    DVDRAM drive. ($HOME is part of /dev/hda2, DVDRAM drive = /dev/hdb
    [whole disk!] )
    Last night, I got funny messages that indicated that the backup failed.
    When I tried to rsync manually, I got messages that showed that some of
    my subdirectories could not be read.
    I cdeed to those directories and performed an "ls -ltra". I got error
    messages similar to the ones you describe (.DCOPserveretc., cannot
    access .kdewhatever, etc etc)
    I could not remove the subdirectories manually even after chmod and
    becoming root.

    I booted (after trying a couple of things which I forget) off the rescue
    disk to run fsck on my hard disk where I keep my home directory.
    fsck showed no errors.

    I rebooted normally and ran rsync again, same problems. (DVDRAM drive is
    mounted as per /etc/fstab) Could not read some of my own subdirectories.

    I tried to fsck the dvdram drive (/dev/hdb). This failed. In other
    words, pass after pass showed the same errors.

    I reformatted the dvdram drive. No problems.

    I ran rsync. No problems.

    The system is now happy.

    So, what does it mean? I haven't a clue. I can conjecture endlessly
    though. One of them: Something wrong with the DVDRAM caused the /dev/hdb
    driver to bugger up the OS which manifests itself as problems reading
    the /dev/hda2 partition.

    I accept any other possible explanation. My humility knows no boundaries.

    Cheers

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Jim Sabatke: "[SLE] autocompletion question"

    Relevant Pages

    • Re: Time for some backups
      ... > I just want to back put the home directory and sub directories from one ... I use rsync to basically make a copy / mirror of /home directory from one ... Make sure 'user' has permission to read /home, so you may want it to login as ... you have to actively try to destroy ...
      (RedHat)
    • user login error on CDE
      ... The DT messaging system could not be started ... Select Failsafe Session from the login screen's option menu and login ... Check to see any magic cookie related error messages in these locations: ... -F on home directory, so I shutdown nfs server, unshared the home directory. ...
      (SunManagers)
    • Re: Changing account home directory in Solaris 10
      ... the account home directory stated: ... There is no problem when the acc login. ... # At present there isn't a 'files' backend for netgroup; ...
      (comp.unix.solaris)
    • RE: ssh login error
      ... I think that your problem is described in the first error message - sshd ... Is there a root's home directory /home/root in that server at the login ...
      (RedHat)
    • Re: ssh help, I want user to be able to access only specified folders
      ... Make a new in you home directory and give it restricted permissions ... First make a list of the reasons that a user might login. ... Make a list of the actions the user is to take on the files you permit access to. ...
      (Fedora)