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

    How to find spambot? Got network abuse report from my ISP

    General pfSense Questions
    10
    85
    8.5k
    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.
    • M
      MrGlasspoole
      last edited by

      Its not a VM at the moment. Its a standalone machine until we find out whats going on.

      wan1.jpg

      And as you can see in the netflow/ipfix log that IP is used when i fetch my mails.
      No MS or outlook. Mail provider is Runbox and i use Thunderbird.

      My father has a Windows Phone and i believe there is a MS account.
      I don't know if this thing is doing something in the background.
      And if yes it would show up in the firewall alerts because the ports are blocked?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Add that host IP as a filter in the packet capture and will show only packets matching that.
        Given that's not an IP on the firewall I don't expect to see any but......

        Setting the view to 'full' will show the MAC address on any packets with that IP that are captured. You can check it's the correct MAC for any NICs you have.
        You can select 'full' view after the pcap has completed, just hit 'view capture' again to see it.

        Steve

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          So how is it your IP is 176.x.x.x but when you sniffed you saw traffic from an 88.x address? Makes zero sense!!! Clearly some piece of the puzzle is missing here..

          BTW - when you posted that spam, it did show iphone as the sender if I recall... Is that link still up with the report? You could click on the details button, and pretty sure it said something about iphone??

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • M
            MrGlasspoole
            last edited by MrGlasspoole

            Capture:

            18:11:54.712622 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 30008, offset 0, flags [DF], proto TCP (6), length 52)
                88.152.35.103.53026 > 104.47.14.33.25: Flags [.], cksum 0x08c3 (correct), seq 53, ack 548, win 5840, options [nop,nop,TS val 65650188 ecr 175959191], length 0
            18:11:54.747653 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 29672, offset 0, flags [DF], proto TCP (6), length 84)
                88.152.35.103.22 > 5.188.87.57.62114: Flags [P.], cksum 0x151b (correct), seq 1:33, ack 13, win 2896, options [nop,nop,TS val 65650191 ecr 1761297416], length 32
            18:11:54.748718 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 30009, offset 0, flags [DF], proto TCP (6), length 52)
                88.152.35.103.53026 > 104.47.14.33.25: Flags [.], cksum 0x08be (correct), seq 53, ack 549, win 5840, options [nop,nop,TS val 65650192 ecr 175959191], length 0
            18:11:54.754257 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 530: (tos 0x0, ttl 64, id 14653, offset 0, flags [DF], proto TCP (6), length 516)
                88.152.35.103.22 > 185.182.193.169.34202: Flags [P.], cksum 0x0eeb (correct), seq 1588:2064, ack 749, win 3878, length 476
            18:11:54.754967 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 85: (tos 0x0, ttl 64, id 62438, offset 0, flags [DF], proto TCP (6), length 71)
                88.152.35.103.55854 > 104.47.12.33.25: Flags [P.], cksum 0x1819 (correct), seq 0:19, ack 118, win 5840, options [nop,nop,TS val 65650192 ecr 175553073], length 19: SMTP, length: 19
            	EHLO hottmail.com
            18:11:54.769614 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 29673, offset 0, flags [DF], proto TCP (6), length 52)
                88.152.35.103.22 > 5.188.87.57.62114: Flags [.], cksum 0x3e18 (correct), seq 33, ack 877, win 2896, options [nop,nop,TS val 65650194 ecr 1761297497], length 0
            18:11:54.783064 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 850: (tos 0x0, ttl 64, id 29674, offset 0, flags [DF], proto TCP (6), length 836)
                88.152.35.103.22 > 5.188.87.57.62114: Flags [P.], cksum 0x9137 (correct), seq 33:817, ack 877, win 2896, options [nop,nop,TS val 65650195 ecr 1761297497], length 784
            18:11:54.788164 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 62439, offset 0, flags [DF], proto TCP (6), length 52)
                88.152.35.103.55854 > 104.47.12.33.25: Flags [.], cksum 0x54a3 (correct), seq 19, ack 314, win 5840, options [nop,nop,TS val 65650195 ecr 175553246], length 0
            18:11:54.789740 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 60: (tos 0x0, ttl 64, id 51477, offset 0, flags [DF], proto TCP (6), length 40)
                88.152.35.103.22 > 212.8.249.191.59922: Flags [.], cksum 0xf381 (correct), seq 1946193243, ack 2318528876, win 2920, length 0
            18:11:54.790913 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 1071, offset 0, flags [DF], proto TCP (6), length 60)
                88.152.35.103.47617 > 184.30.210.217.80: Flags [S], cksum 0xcb9c (correct), seq 672643643, win 5840, options [mss 1460,sackOK,TS val 65650196 ecr 0,nop,wscale 1], length 0
            18:11:54.801843 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 298: (tos 0x0, ttl 64, id 14654, offset 0, flags [DF], proto TCP (6), length 284)
                88.152.35.103.22 > 185.182.193.169.34202: Flags [P.], cksum 0x81fe (correct), seq 2064:2308, ack 785, win 3878, length 244
            18:11:54.802527 10:c3:7b:45:b4:8c > 00:01:5c:69:ba:46, ethertype IPv4 (0x0800), length 66: (tos 0x0, ttl 64, id 1072, offset 0, flags [DF], proto TCP (6), length 52)
                88.152.35.103.47617 > 184.30.210.217.80: Flags [.], cksum 0x9a2e (correct), seq 672643644, ack 1508780897, win 2920, options [nop,nop,TS val 65650197 ecr 3260228584], length 0
            

            Where does 10:c3:7b:45:b4:8c come from?

            The board has 2 NIC's and show up in pfSense like this:
            WAN NIC 10:c3:7b:45:b4:8a
            LAN NIC 10:c3:7b:45:b4:8b

            From the DOCSIS modem:
            Cable MAC 90:5C:44:3D:1D:07
            MAC 90:5C:44:3D:1D:09

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Aha! Well the consecutive MACs there look like it's something else on the same host.

              You have IPMI on that device? Is it wide open?
              The fact it's all outgoing TCP is a bit odd. It all looks suspicious TBH.... 😬

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                @MrGlasspoole said in How to find spambot? Got network abuse report from my ISP:

                10:c3:7b:45:b4:8c

                Yeah that is ASUS - didn't they have some ipmi issues? Wasn't there a bios fix they pushed? That was years and years ago - how old is this system?

                Yeah quick google, from back in 2012
                https://pedromadias.wordpress.com/2012/06/25/all-your-asus-servers-ikvmipmi-may-belong-to-other/

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • M
                  MrGlasspoole
                  last edited by

                  What the hell is IPMI? 😐

                  Yes its a ASUS P9D-I

                  Talk to me like i never heard the word network before
                  I'm not a network god like you people ☺

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    IPMI is a management protocol - problem is that there are security issues with it... So when enabled on a nic that is connected to the public internet - it can be exploited and give control of the system..

                    this might help
                    https://www.itworld.com/article/2708437/ipmi--the-most-dangerous-protocol-you-ve-never-heard-of.html

                    Grabbing the manual
                    https://dlcdnets.asus.com/pub/ASUS/mb/socket1150/P9D-I/Manual/E8351_P9D-I.pdf

                    I would suggest you go in and disable the IPMI stuff

                    disable.jpg

                    And make sure you update bios and firmware...

                    Until you get it disabled/fixed - I would pull that hardware off the network!!!

                    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.7.2, 24.11

                    1 Reply Last reply Reply Quote 1
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      When you started this thread was it not running on a VM? Was that in this same hardware though?

                      That is a painful discovery. Better to have discovered it though...

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • M
                        MrGlasspoole
                        last edited by

                        No the Hyper-V stuff is running on a ASRock Rack board.

                        To make sure its not Hyper-V/Windows i installed pfSense on that Asus board.
                        I have this Asus board since a half year but never used it until now.
                        Bought it for a NAS build.

                        The BIOS is the latest. But i cant figure out how to disable that IPMI stuff.
                        If i go to "Intel Server Platform Services" there are no settings, only information.

                        IMG_1184.JPG

                        IMG_1187.JPG

                        Damn. Had to move around monitors because that old 1440x900 i normally use for testing does not work.
                        First time i have a BIOS that only works on 1080p.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          The BMC stuff is what you want. If you can't set it as disable you can just set it to static and put in some bogus IP that is unreachable.

                          The BMC shares LAN1 on the board according to the manual so you should use that for LAN. It must be WAN currently if it's got a public IP.

                          The fact it's sending spam though, or seems to be, is highly worrying! If you can't disable the BMC entirely I would consider if that's possible to use. the BMC has access to everything on the board.

                          As I understand it you were seeing these spam reports before you had this board connected at all though?

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • bmeeksB
                            bmeeks
                            last edited by

                            Adding to where Steve is going -- where else was this hardware that now has pfSense on it? Was this same hardware in use elsewhere on the network? Might the LAN1 port have had access to the WAN side of your network before it was re-purposed to be a pfSense platform?

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrGlasspoole
                              last edited by MrGlasspoole

                              I cant remember what pfSense (this board or Hyper-V) was running when i had the first spam report.

                              What i did is switching the NICs (WAN/LAN) and did login to that ASMB7-iKVM thing.
                              I did disable all services except "web".
                              I did create a new user, changed the admin password and disabled login for the admin.
                              I also disabled IPv6 and set IPv4 to static.

                              The last 2 hours there are only ~4 entries in the IPFIX log.
                              For example scanners.labs.rapid7. com (88.202.190.135) on port 25.
                              But i guess that's normal that some bots are trying to come in.

                              I cant believe that there are boards where something like that is on by default with a default user/password.
                              I found this: https://homeservershow.com/forums/topic/9350-asus-p9d-i/
                              Looks like there is a jumper to disable it. I need to check that with the flashlight because there is nothing in the manual.

                              I let it run now for a view hours and then i will see what happens.

                              So it means the bots did hijack the BIOS/IPMI to send spam?

                              @bmeeks, I never used that board before.

                              EDIT
                              Found it but i still can invoke that web management site
                              P9D-I.gif

                              EDIT again
                              You need to remove power when switching the jumper that it works.
                              So its off now.

                              1 Reply Last reply Reply Quote 0
                              • NollipfSenseN
                                NollipfSense
                                last edited by

                                This makes for a good case study indeed!

                                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                                M 1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan
                                  last edited by

                                  Ooooh.

                                  Not a hacked modem after all.
                                  Hacked BIOS (sort-of) motherboard ....

                                  Impressive.

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MrGlasspoole @NollipfSense
                                    last edited by MrGlasspoole

                                    @NollipfSense said in How to find spambot? Got network abuse report from my ISP:

                                    This makes for a good case study indeed!

                                    Yeah. No one is completely useless; he can always serve as a bad example. ☹

                                    Every day you learn something new.
                                    Computer since C64 and never heard of IPMI before...

                                    Thanks to everybody here. Never would i had figure that out myself.

                                    The good thing is i have PRTG now. A while back i was looking at Zappix and found it complicated.

                                    This are the softflowd entries from the last 12 hours:
                                    last.gif

                                    Not sure right now what 10.1.2.3 is. But my parents have yahoo mail. They are away since 2 hours for 3 days and it can be a phone/tablet.

                                    Any tips what you would log for a certain time (2, 3, 5 days) in a home network?
                                    At the moment I'm logging just the blocked outgoing mail firewall ports on LAN (System Logs Remote Logging) and
                                    this ports on WAN.

                                    1 Reply Last reply Reply Quote 0
                                    • GertjanG
                                      Gertjan
                                      last edited by

                                      I guess you can remove (or disable or make it log only) this LAN firewall rule that blocks mail server ports.
                                      Scarp that ASUS board - or make that IPMI brain-dead.

                                      No "help me" PM's please. Use the forum, the community will thank you.
                                      Edit : and where are the logs ??

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MrGlasspoole
                                        last edited by

                                        @Gertjan as i wrote: that jumper did deactivate IPMI.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          I would also consider reinstalling pfSense to be sure. Anyone with access to the BMC would have had full access to the system including console access. They could have installed anything really.

                                          It would be interesting to know what they did there have the controller send email. I suspect they were just relaying it somehow. It was probably entirely automated based on knowing there are a lot of misconfigured BMC devices connected directly to WAN like that. As such I doubt any real person connected to do anything specific but....

                                          Steve

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            MrGlasspoole
                                            last edited by MrGlasspoole

                                            Yes i guess there are bots scanning for that IPMI thing.

                                            But i can use my backup (settings) if i make a fresh pfSense install?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.