Find the answer to your Linux question:
Results 1 to 6 of 6
Hey Guys, This is the deal, a linux box got compromised and the networking was alarmed. I looked through all logs and didnt find a thing. I said it looks ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2006
    Posts
    106

    Exclamation how to find whats on a box

    Hey Guys,

    This is the deal, a linux box got compromised and the networking was alarmed.

    I looked through all logs and didnt find a thing.

    I said it looks secure.

    However the guy who built the box was called on and he said some guy exploited phpmyadmin that was loaded on the box. Obviously he looked into phpmyadmin logs to find that out.

    I had no idea phpmyadmin was loaded on to it. I was told to find a discovery method where I know what all is loaded on a box.

    How do I do that?

    Please assist, I know I can find out rpm and look for packages but i dont want to scan the whole server as it may result in 100's of results.

    Please assist

    Thanks
    RJ

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    For starters, you could look at the list of installed packages. One way is to do
    Code:
    rpm -qa >> installedpkgs.txt
    installedpkgs.txt will then have a list of all installed packages.

  3. #3
    Linux Newbie
    Join Date
    Jul 2006
    Posts
    106
    What about complied packages, thanks but I had known of rpm -qa

    RJ

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    For compiled packages, you could keep a manual log of what you installed, when you installed it and the versions as well.

  5. #5
    Linux Newbie
    Join Date
    Jul 2006
    Posts
    106
    so there is no command to find out?

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by ranjitcool View Post
    so there is no command to find out?
    Not that I am aware of. Its usually very difficult to track stuff thats compiled from source unless a log is kept somewhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...