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

    Automatic Update?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    32 Posts 7 Posters 4.3k 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.
    • B
      blueart
      last edited by

      Yes SSH and as I just found out the webpage is reachable over one of my public IPs. VPN is running over OpenVPN.

      So I guess this means. Reinstalling the BOX and disable SSH and the WebPage on the public interface….
      At the moment I'm checking all the logs, user and so on but I cannot find anything strange by now, but I don't trust this box anymore.

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        I'm guessing someone got into something you are running exposed to the internet or maybe the machine you use for admin is compromised?

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          SSH is pretty durable if you use a long/complex password.  You can also move it to a high numbered port for a little obscurity.  VPN also - use difficult passwords and also certificates for user authentication.

          Don't expose your gui though.

          Yeah - wipe the box and reinstall by hand.  Don't use your config backup.

          At least thats what I would do.

          If its a windows admin machine thats compromised, they have your keystrokes.  This is the easiest way for someone to "hack" your box BTW.

          1 Reply Last reply Reply Quote 0
          • B
            blueart
            last edited by

            SSH Password is 20+ char. with different numbers and all that stuff so that should be good to go.
            OpenVPN is access able via Certificate.

            The only thing unsafe, was that the GUI was exposed at a PublicIP for everyone reachable.

            The Admin PC should be secured. I will check that before I will reinstall the box.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              If I was doing anything for a business, I'd use a non-windows computer to admin the pfsense and would make it a no-personal-bs box.

              1 Reply Last reply Reply Quote 0
              • B
                blueart
                last edited by

                Yeah normally I use my Linux Laptop to administrate the box but sometimes it has to windows.

                I was going through the logs of the box and it really was an attack over the webGUI.

                Mar 16 08:15:06 hostname php: /index.php: Successful login for user 'admin' from: 18.239.0.140
                Mar 16 08:15:06 hostname php: /index.php: Successful login for user 'admin' from: 18.239.0.140
                Mar 16 08:17:18 hostname shutdown: reboot by root:
                Mar 16 08:17:18 hostname shutdown: reboot by root:

                edit:
                I can tell from which IP's I will access this box. Since they are all static and only 3 diffrent. And I don't have access to any Server in the MIT network.

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

                  Yikes.  :o
                  You never want to see that.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    Hackers out of MIT?  haha…

                    Go figure...

                    Yeah - wipe and reinstall by hand.

                    1 Reply Last reply Reply Quote 0
                    • B
                      blueart
                      last edited by

                      I will try to export only the Firewall Rules and OpenVPN Server config and check them, because the rules are too much to do them by hand and also the VPNServer configs. But I need to change the keys since they are no longer save.

                      Thanks for your help!!!

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        Good deal.

                        BTW - Nice of your hacker friends to maintain your network for you.  I've only ever known one set of hackers to do such a thing.  Interesting.

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate
                          last edited by

                          Yuk.  I have to know.  Was it still admin/pfsense?

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • K
                            kejianshi
                            last edited by

                            haha - I'd assumed no, but thats actually a great question.

                            1 Reply Last reply Reply Quote 0
                            • B
                              blueart
                              last edited by

                              no :) it was admin with a 26 char password containing letters,numbers and special characters.

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                Umm.  Ok.  Were you sniffed somewhere?  Was http/80 available?  Was that what you used when outside?

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • BBcan177B
                                  BBcan177 Moderator
                                  last edited by

                                  Pretty bad Rep on that IP.

                                  https://www.projecthoneypot.org/ip_18.239.0.140

                                  https://www.senderbase.org/lookup/ip/?search_string=18.239.0.140

                                  That IP is listed in the Snort BL that I use for pfBlockerNG:

                                  https://labs.snort.org/feeds/ip-filter.blf

                                  grep "^18.239.0." /var/db/pfblockerng/deny/*

                                  /var/db/pfblockerng/deny/BadIPs.txt:18.239.0.126
                                    /var/db/pfblockerng/deny/Snort_BL.txt:18.239.0.140
                                    /var/db/pfblockerng/deny/Snort_BL.txt:18.239.0.155

                                  "Experience is something you don't get until just after you need it."

                                  Website: http://pfBlockerNG.com
                                  Twitter: @BBcan177  #pfBlockerNG
                                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kejianshi
                                    last edited by

                                    I'm pretty sure its a proxy address used by lots of people.  Thats not the biggest deal.  Whats on the other side of that pfsense?  Anything important?

                                    1 Reply Last reply Reply Quote 0
                                    • BBcan177B
                                      BBcan177 Moderator
                                      last edited by

                                      Also listed in the Spamhaus XBL list.
                                        http://www.spamhaus.org/query/bl?ip=18.239.0.140

                                      It is also listed in MaxMind Inc. Anonymous Proxy list:
                                        https://www.maxmind.com/en/proxy/18.239.0.140

                                      Stop Forum Spam - appears in our database 402 times. Current country of … 14-Mar-15 13:54
                                      www.stopforumspam.com/ipcheck/18.239.0.140

                                      "Experience is something you don't get until just after you need it."

                                      Website: http://pfBlockerNG.com
                                      Twitter: @BBcan177  #pfBlockerNG
                                      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        cmb
                                        last edited by

                                        Was that 2.1-RELEASE, not 2.1.2 or newer? If so, that was Heartbleed vulnerable. Definitely could be compromised through either OpenVPN (if a server is listening and not using TLS auth) and the web interface since it was open to the world. That's my best guess as to what happened. Given it was upgraded, sounds like maybe someone hacking Heartbleed vulnerable devices to patch them.

                                        That IP is clearly a compromised machine of some sort, given the spam and other abuse coming out of it. Though it's odd that someone into spamming would be going around fixing people's security vulnerabilities. I'd expect them to want to be silent, to keep access to the system without you being aware. It's not uncommon for attackers to patch a system after they compromise it, because they don't want others to hack "their" systems, but usually done more quietly so the system's owner is unaware.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cmb
                                          last edited by

                                          Actually that's a Tor exit node, which changes things a bit. It's potentially anyone in the world, not just a machine controlled by some spammers/hackers. More likely to have "altruistic" possibilities in that case.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            blueart
                                            last edited by

                                            Yes it was still 2.1 since I never got the downtime to patch it :( Which I did now….

                                            the WebGUI of the PFsense was available via HTTPs on the OPT1 Interface which is the DMZ.
                                            In the DMZ thare are a  couple of WebServer, Lync Frontend and the usual stuff.
                                            The PFsense is also holding a couple of VPN Tunnels to remote Sites and Remote Access for VPN Clients.
                                            And all the Clients have been using OpenVPN without TLS!!!

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