• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

(SOLVED) Snort detecting INDICATOR-COMPROMISE suspicious .null DNS query

Scheduled Pinned Locked Moved IDS/IPS
48 Posts 5 Posters 12.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    johnpoz LAYER 8 Global Moderator
    last edited by johnpoz May 5, 2019, 3:39 PM May 5, 2019, 3:36 PM

    You can tell your resolver to log the queries, but shouldn't snort be saving the packets? And you can view them?

    We already went over all of this..

    An intelligent man is sometimes forced to be drunk to spend time with his fools
    If you get confused: Listen to the Music Play
    Please don't Chat/PM me for help, unless mod related
    SG-4860 24.11 | Lab VMs 2.8, 24.11

    1 Reply Last reply Reply Quote 0
    • N
      NogBadTheBad
      last edited by NogBadTheBad May 5, 2019, 6:33 PM May 5, 2019, 6:31 PM

      if you do what i said ages ago you’ll be able to see what is being looked up with a u2spwefoo.

      You could be looking at the logs for ages, DNS is very chatty.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      1 Reply Last reply Reply Quote 0
      • T
        tman904
        last edited by tman904 May 6, 2019, 3:19 AM May 6, 2019, 3:19 AM

        I just enabled barnyard2, once I get results I'll run that command. Problem is if it doesn't happen again while running barnyard2. How I'm I suppose to see it? The last time the query for .win happened was April 30th.

        1 Reply Last reply Reply Quote 0
        • T
          tman904
          last edited by tman904 May 28, 2019, 12:52 PM May 28, 2019, 12:51 PM

          The mail server was checking domains against spam blacklists. I've confirmed this by matching up timestamps on the server and pfsense.

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by May 28, 2019, 1:11 PM

            So you were getting mail that said it came from .win and .null domains?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • T
              tman904
              last edited by tman904 Nov 2, 2020, 12:22 AM Jun 16, 2019, 1:01 PM

              The mail server sends DNS queries since it checks the domain name against spam blacklists and If it's on one of the blacklists it rejects the email. Meaning It was the content of the DNS queries that triggered snort, to top it off I put snort on the highest security mode, That combined to create what I thought was a compromised server.

              This also explains why I got alerts on the LAN side as those email clients do the same type of checking.

              1 Reply Last reply Reply Quote 0
              • B
                bmeeks
                last edited by Jun 16, 2019, 9:35 PM

                Dialing Snort up to the "Security" policy is pretty stringent and just asking for false positives. "Connectivity" is fine the majority of the time, especially for admins new to managing an IPS. "Balanced" is the best policy overall once you get your feet wet with IPS management experience. For the vast majority of business networks, the "Balanced" IPS policy offers plenty of security without running the admin crazy checking out false positive all day long.

                1 Reply Last reply Reply Quote 0
                • T
                  tman904
                  last edited by Nov 19, 2019, 7:10 AM

                  Thank you for the advice @bmeeks. I'll keep that in mind. 😀

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received