Skip to main content

Origin of a root access

Comments

7 comments

  • ffeingol
    Try: last
    0
  • cPRex Jurassic Moderator
    As @ffeingol said, the "last" command should give you output that looks like this: root pts/0 1.2.3.4 Mon May 3 10:25 - 06:06 (2+19:40) root pts/0 1.2.3.4 Mon Apr 26 22:19 - 17:07 (1+18:47) reboot system boot 3.10.0-1160.15.2 Mon Apr 26 22:18 - 10:34 (23+12:15) root pts/2 1.2.3.4 Fri Apr 23 16:10 - down (3+06:06) root pts/1 1.2.3.4 Fri Apr 23 16:02 - 18:16 (02:13)
    Where "1.2.3.4" is the IP address of the user connecting to the server.
    0
  • cPRex Jurassic Moderator
    Although, it's important to mention that no matter what, the machine is compromised and you should get moved to a new system as soon as you can.
    0
  • Adnan RIHAN
    @ffeingol @cPRex thanks for your replies, last didn't game me more than looking at secure logs. Reinstalling is a must, but if the ghost access from nowhere comes from an unknown vulnerability or something we're installing, we might install it again and come back to square one
    0
  • cPRex Jurassic Moderator
    While technically possible, if you use the Transfer Tool that is a secure method of moving the data between servers. If the compromised files were placed in a user account, then yes, those would also be moved. If you aren't able to find more details it might be a good idea to work with a professional security administrator to do a thorough evaluation of the machine.
    0
  • Adnan RIHAN
    If you aren't able to find more details it might be a good idea to work with a professional security administrator to do a thorough evaluation of the machine.

    Do you, at cPanel, provide contacts to partners providing these type of consulting or services?
    0
  • cPRex Jurassic Moderator
    cPanel itself doesn't offer that type of service, but you can reach out to our admins that advertise their specialty with cPanel hosting here:
    0

Please sign in to leave a comment.