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

    Seems that hacker is inserting a foreign DNS into my computer, how to remove it?

    Scheduled Pinned Locked Moved Firewalling
    30 Posts 7 Posters 2.0k 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.
    • F
      Firewalldude89
      last edited by

      Hi all

      Got a problem with a hacker that is appearantly inserting a foreign DNS into my computer..
      How do I block him???

      RobbieTTR 1 Reply Last reply Reply Quote 0
      • RobbieTTR
        RobbieTT @Firewalldude89
        last edited by

        @Netgate1100guy
        With just a single sentence to go on, nobody can.

        You could try a little harder with your technical narrative though.

        ☕️

        F 1 Reply Last reply Reply Quote 2
        • F
          Firewalldude89 @RobbieTT
          last edited by

          @RobbieTT There is often a secondary IPv6 address, which seems to be from hacker. Can Link Local IPv6 work
          or what else? IPv6 seems necessary to be able to log into console.

          johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @Firewalldude89
            last edited by johnpoz

            @Netgate1100guy said in Seems that hacker is inserting a foreign DNS into my computer, how to remove it?:

            There is often a secondary IPv6 address

            Yeah devices love to use temp IPv6 address, and yeah all devices with IPv6 enable would have a link local address.

            Not sure where you got the idea that IPv6 is necessary to log into console/pfsense? My current pc has no IPv6 and I can log into pfsense via ssh or web. Because my IPv4 address is allowed.. Did you setup some firewall rule to block IPv4, did you disable the anti-lock out rule?

            Where exactly are you seeing this other dns set? You know browsers these days love to use doh without really any user permission.. So yeah its quite possible your browser is using some doh dns vs your local dns.

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              Firewalldude89 @johnpoz
              last edited by

              @johnpoz Okay, that may explain. You may be able to help me fix this, technology is very complicated and can be frustrating these days.
              Not very good with those firewalls and Netgate with pfSense may have almost 4-500 settings..

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

                @Netgate1100guy happy to help - what exactly are you seeing.. Is your pc a windows machine? Can you post up say your ipconfig /all from this pc?

                Example here is mine..

                $ ipconfig /all                                                                           
                                                                                                          
                Windows IP Configuration                                                                  
                                                                                                          
                   Host Name . . . . . . . . . . . . : i9-win                                             
                   Primary Dns Suffix  . . . . . . . : local.lan                                          
                   Node Type . . . . . . . . . . . . : Broadcast                                          
                   IP Routing Enabled. . . . . . . . : No                                                 
                   WINS Proxy Enabled. . . . . . . . : No                                                 
                   DNS Suffix Search List. . . . . . : local.lan                                          
                                                                                                          
                Ethernet adapter Local:                                                                   
                                                                                                          
                   Connection-specific DNS Suffix  . : local.lan                                          
                   Description . . . . . . . . . . . : Killer E2600 Gigabit Ethernet Controller           
                   Physical Address. . . . . . . . . : B0-4F-13-0B-FD-16                                  
                   DHCP Enabled. . . . . . . . . . . : Yes                                                
                   Autoconfiguration Enabled . . . . : Yes                                                
                   IPv4 Address. . . . . . . . . . . : 192.168.9.100(Preferred)                           
                   Subnet Mask . . . . . . . . . . . : 255.255.255.0                                      
                   Lease Obtained. . . . . . . . . . : Monday, July 24, 2023 2:36:06 PM                   
                   Lease Expires . . . . . . . . . . : Friday, July 28, 2023 2:36:06 PM                   
                   Default Gateway . . . . . . . . . : 192.168.9.253                                      
                   DHCP Server . . . . . . . . . . . : 192.168.9.253                                      
                   DNS Servers . . . . . . . . . . . : 192.168.9.253                                      
                   NetBIOS over Tcpip. . . . . . . . : Enabled                                            
                

                I currently do not have IPv6 enabled on this machine.. If your machine has Ipv6 enabled - it for sure can have more than just 1 gua IPv6 address and the link-local address. And if you have Ipv6, it would for sure like to use some IPv6 address as its dns..

                Happy to help you figure out what is going on - but need some specifics to understand what is actually going on.

                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

                F 1 Reply Last reply Reply Quote 0
                • F
                  Firewalldude89 @johnpoz
                  last edited by Firewalldude89

                  @johnpoz Okay good, I use Mac though so different details on ipconfig, but you may still help me?

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

                    @Netgate1100guy sure - but need some details of what exactly you are seeing, and what is happening that you think shouldn't be happening.

                    Normally with Ipv6 you will have temp IPv6 or sometimes call privacy Ips..

                    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

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      Firewalldude89 @johnpoz
                      last edited by rcoleman-netgate

                      @johnpoz

                      ifconfig
                      
                      lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
                      	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
                      	inet 127.0.0.1 netmask 0xff000000 
                      	inet6 ::1 prefixlen 128 
                      	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
                      	nd6 options=201<PERFORMNUD,DAD>
                      gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
                      stf0: flags=0<> mtu 1280
                      anpi1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether a6:bf:9d:78:5b:a2 
                      	inet6 fe80::a4bf:9dff:fe78:5ba2%anpi1 prefixlen 64 scopeid 0x4 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: none
                      	status: inactive
                      anpi0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether a6:bf:9d:78:5b:a1 
                      	inet6 fe80::a4bf:9dff:fe78:5ba1%anpi0 prefixlen 64 scopeid 0x5 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: none
                      	status: inactive
                      en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=50b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV,CHANNEL_IO>
                      	ether 4c:20:b8:a7:f2:61 
                      	inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
                      	inet6 fe80::c17:77f:669f:7409%en0 prefixlen 64 secured scopeid 0x6 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: autoselect (1000baseT <full-duplex,energy-efficient-ethernet>)
                      	status: active
                      en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether a6:bf:9d:78:5b:81 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: none
                      	status: inactive
                      en5: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether a6:bf:9d:78:5b:82 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: none
                      	status: inactive
                      en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
                      	options=460<TSO4,TSO6,CHANNEL_IO>
                      	ether 36:a0:3e:97:62:00 
                      	media: autoselect <full-duplex>
                      	status: inactive
                      en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
                      	options=460<TSO4,TSO6,CHANNEL_IO>
                      	ether 36:a0:3e:97:62:04 
                      	media: autoselect <full-duplex>
                      	status: inactive
                      bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
                      	ether 36:a0:3e:97:62:00 
                      	Configuration:
                      		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
                      		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
                      		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
                      		ipfilter disabled flags 0x0
                      	member: en2 flags=3<LEARNING,DISCOVER>
                      	        ifmaxaddr 0 port 9 priority 0 path cost 0
                      	member: en3 flags=3<LEARNING,DISCOVER>
                      	        ifmaxaddr 0 port 10 priority 0 path cost 0
                      	media: <unknown type>
                      	status: inactive
                      ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether 6e:20:b8:a8:41:a8 
                      	media: autoselect
                      en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether 4c:20:b8:a8:41:a8 
                      	media: autoselect
                      	status: inactive
                      awdl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
                      	options=6463<RXCSUM,TXCSUM,TSO4,TSO6,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
                      	ether ae:fb:7d:02:66:2a 
                      	inet6 fe80::acfb:7dff:fe02:662a%awdl0 prefixlen 64 scopeid 0xe 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: autoselect (<unknown type>)
                      	status: inactive
                      llw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
                      	options=400<CHANNEL_IO>
                      	ether ae:fb:7d:02:66:2a 
                      	inet6 fe80::acfb:7dff:fe02:662a%llw0 prefixlen 64 scopeid 0xf 
                      	nd6 options=201<PERFORMNUD,DAD>
                      	media: autoselect
                      	status: inactive
                      utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
                      	inet6 fe80::539a:143b:2cea:5964%utun0 prefixlen 64 scopeid 0x10 
                      	nd6 options=201<PERFORMNUD,DAD>
                      utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
                      	inet6 fe80::f1cd:d392:cf63:9f22%utun1 prefixlen 64 scopeid 0x11 
                      	nd6 options=201<PERFORMNUD,DAD>
                      utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1000
                      	inet6 fe80::ce81:b1c:bd2c:69e%utun2 prefixlen 64 scopeid 0x12 
                      	nd6 options=201<PERFORMNUD,DAD>
                      
                      
                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @Firewalldude89
                        last edited by

                        @Netgate1100guy There are no IPv6 addresses there, only Ipv6 link-local..

                        And your IPv4 address of 192.168.1.100

                        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

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Firewalldude89 @johnpoz
                          last edited by

                          @johnpoz Yes, I cannot log in to console

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

                            @Netgate1100guy you mean you can not access the pfsense web gui at what address? What IP does pfsense have?

                            Is this 192.168.1.x network from your above output pfsense lan network?

                            Can you ping pfsense IPv4 address? or do you mean you can not ssh to pfsense - for you to ssh to pfsense you would of had to enable ssh..

                            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

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Firewalldude89 @johnpoz
                              last edited by

                              @johnpoz I cannot log in to the admin console to configure firewall by using web

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

                                @Netgate1100guy and can you ping pfsense IP, it would default to 192.168.1.1.. Do you get any page, and your login is just failing?

                                Are you trying to access it via the actual IP or using some fqdn in your browser?

                                I think there was threads about where web page was not available after update to 2.7? Is this a clean install, did you upgrade from some previous pfsense version? Did it ever work?

                                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

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  Firewalldude89 @johnpoz
                                  last edited by

                                  @johnpoz via the actual IP.
                                  Think there was a very recent upgrade.

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

                                    @Netgate1100guy dude why does it feel like am I needing to pull teeth here?

                                    Do you get a blank page? Does it show you a login but login not working - or seems to stall after login?

                                    Can you ping pfsense IP? Had you enabled ssh, can you ssh to it? Can you console in, ie use console cable? Can you ping some public IP? say 8.8.8.8 from your PC, is internet actually still working.

                                    How does the pfsense web gui won't load via IP address have anything to do with some hacker inserting dns?

                                    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

                                    M F 2 Replies Last reply Reply Quote 0
                                    • M
                                      michmoor LAYER 8 Rebel Alliance @johnpoz
                                      last edited by

                                      @johnpoz you have the patience of a saint 😀

                                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                      Routing: Juniper, Arista, Cisco
                                      Switching: Juniper, Arista, Cisco
                                      Wireless: Unifi, Aruba IAP
                                      JNCIP,CCNP Enterprise

                                      1 Reply Last reply Reply Quote 1
                                      • JKnottJ
                                        JKnott @Firewalldude89
                                        last edited by

                                        @Netgate1100guy said in Seems that hacker is inserting a foreign DNS into my computer, how to remove it?:

                                        There is often a secondary IPv6 address, which seems to be from hacker. Can Link Local IPv6 work
                                        or what else?

                                        ????

                                        Where are you seeing the link local address? Every IPv6 capable device has one. However, given they're not routeable, they'd be pretty much useless for an attacker.

                                        PfSense running on Qotom mini PC
                                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                        UniFi AC-Lite access point

                                        I haven't lost my mind. It's around here...somewhere...

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          Firewalldude89 @johnpoz
                                          last edited by

                                          @johnpoz It shows me a login page but it stalls.

                                          M johnpozJ R 3 Replies Last reply Reply Quote 0
                                          • M
                                            michmoor LAYER 8 Rebel Alliance @Firewalldude89
                                            last edited by

                                            @Netgate1100guy turn off the firewall and keep it off for 9 days. That should solve it. Come back and let us know if that works.
                                            Also, as a last resort try turning off the cable modem just in case. You should be clear from the hacker after that. Worked for me

                                            Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                            Routing: Juniper, Arista, Cisco
                                            Switching: Juniper, Arista, Cisco
                                            Wireless: Unifi, Aruba IAP
                                            JNCIP,CCNP Enterprise

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