Results 1 to 9 of 9

Thread: Hacked, guessing a dhclinet vulneratbility

  1. #1
    Join Date
    Dec 2013
    Beans
    4

    Hacked, guessing a dhclinet vulneratbility

    I was recently hacked, probably due to visiting a not-so-friendly website. From reading my logs I am guessing a dhclient vulnerability was used (see http://www.kb.cert.org/vuls/id/107886 ). I am not sure it is this, but in any case I can't find any information on closing this vulnerability on Ubuntu Server.

    Any suggestions? Also, does anyone have tips on preventing other common exploits to DHCP/DNS/etc services?

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,809
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Hacked, guessing a dhclinet vulneratbility

    Thread moved to Security Discussions.

  3. #3
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Hacked, guessing a dhclinet vulneratbility

    Quote Originally Posted by e.rietmeijer View Post
    I was recently hacked, probably due to visiting a not-so-friendly website. From reading my logs I am guessing a dhclient vulnerability was used (see http://www.kb.cert.org/vuls/id/107886 ). I am not sure it is this, but in any case I can't find any information on closing this vulnerability on Ubuntu Server.

    Any suggestions? Also, does anyone have tips on preventing other common exploits to DHCP/DNS/etc services?
    These reference is not for current versions of Ubuntu. The solution was instituted in 2011. See: http://www.ubuntu.com/usn/USN-1108-1/. See the note at the bottom of the page
    Code:
    To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.
    
    In general, a standard system update will make all the necessary changes.
    Most likely this is not the reason you got hacked.

    By default Ubuntu Server doesn't have a Web Browser, in fact it doesn't have a GUI interface at all. Did you modify your server?
    Last edited by bab1; December 1st, 2013 at 09:40 PM.
    -BAB1

  4. #4
    Join Date
    Dec 2013
    Beans
    4

    Re: Hacked, guessing a dhclinet vulneratbility

    No, I use the server as both a multi-purpose server and a firewall with 2 ethernet interfaces (WAN/LAN). I know the risks of not dedicating a machine for a single purpose like fire walling, but at the moment this should be adequate for me to learn Linux on. I browse on my mac, which runs behind the firewall, and of course one of the malicious sites I visited was informed of the existence of my server (no more pirating for me). I am guessing I picked up some bad code somewhere. I was also running transmission-daemon, this is probably also a liability.
    Last edited by e.rietmeijer; December 2nd, 2013 at 11:54 AM.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Hacked, guessing a dhclinet vulneratbility

    Stupid question, but what makes you think you got hacked?

    There is no way I would put a multipurpose server as a gateway machine. That's a bit like putting all your eggs in one basket, so to speak.

    If you lack a regular router, you can pick one up, or you could try a running a virtualized copy of something like pfSense or M0n0wall.
    Last edited by CharlesA; December 2nd, 2013 at 06:54 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Nov 2013
    Location
    On the edge
    Beans
    872
    Distro
    Ubuntu

    Re: Hacked, guessing a dhclinet vulneratbility

    I've got the same stupid question.
    Also what did you see in the logs that landed you on that particular vulnerability?
    If you've been torrenting pirated media then yeah, you probably did pick up some bad code.

  7. #7
    Join Date
    Dec 2013
    Beans
    4

    Re: Hacked, guessing a dhclinet vulneratbility

    I got alot of DNS queries from loo1 . ru, and a few single ones from doc . gov, dnsscan . shadowserver .org and a few others. I have gotten 2 new dns queries today, needless to say I am somewhat paranoid as to what is going on or who is querying my server. Any BIND security tips?

  8. #8
    Join Date
    Dec 2013
    Beans
    4

    Re: Hacked, guessing a dhclinet vulneratbility

    I want to implement a pfSense firewall in the future, but have no funding at the moment.

  9. #9
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Hacked, guessing a dhclinet vulneratbility

    Are you running a public facing DNS server? How many DNS names do you need resolved? You shouldn't control who requests DNS resolution on a public facing server. No firewall will help if you are allowing public use of your DNS services.

    As far as security, I would check out the BIND forums and Google BIND DNS security
    -BAB1

Tags for this Thread

Bookmarks

Posting Permissions

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