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

    My Box hacked from cryptocurrency miner

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 8 Posters 1.7k 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.
    • A
      A.Atef
      last edited by

      ![after last Update my Box increase CPU usage from 5% to 65% ,
      when i searched about the reason I found cryptocurrency miner is caused this >

      A 1 Reply Last reply Reply Quote 0
      • H
        Harvy66
        last edited by

        Not "caused" but "can cause". And it's very unlikely that your pfSense box got hacked and a crypto-miner installed. Instead of reading why your CPU might be high, just look at what's using your CPU. Why spend time guessing what temperature it is outside when you can just step outside?

        A 1 Reply Last reply Reply Quote 0
        • A
          A.Atef @Harvy66
          last edited by

          @harvy66
          i stopped all service and no client connected , the same error .i using 32 CPUs whith HP server Proliant 930 Gen9

          1 Reply Last reply Reply Quote 0
          • ivorI
            ivor
            last edited by

            Where did you search for it? Did you find any process running on your pfSense box indicating an issue?

            Need help fast? Our support is available 24/7 https://www.netgate.com/support/

            1 Reply Last reply Reply Quote 0
            • G
              gzorn
              last edited by

              https://doc.pfsense.org/index.php/High_Load_Troubleshooting

              As on that page, use 'top' to identify the process or processes that are responsible for the high load. That will give at least some idea of the next step. Also, a miner would be making weird network connections to its pool, which you could examine in pftop, presumably.

              G 1 Reply Last reply Reply Quote 0
              • G
                gsmornot @gzorn
                last edited by

                @gzorn
                You said CPU so you want to look in System Activity.

                1 Reply Last reply Reply Quote 0
                • A
                  AndyC @A.Atef
                  last edited by

                  @a-atef said in My Box hacked from cryptocurrency miner:

                  ![after last Update my Box increase CPU usage from 5% to 65% ,
                  when i searched about the reason I found cryptocurrency miner is caused this >

                  I saw the screenshot posted on facebook, and indeed there was a 'minerd' running.
                  Have you tried to kill the process? Does it start again?

                  1 Reply Last reply Reply Quote 0
                  • ivorI
                    ivor
                    last edited by ivor

                    I've seen that screenshot on Facebook, however there's no information provided from Mr. Atef about his configuration, not here or on Facebook.

                    • How did you configure your pfSense appliance? What packages and services are you running?
                    • Did you allow remote access to everyone?
                    • Did you enable ssh and how complex password did you use? How many people have access to your pfSense device?

                    We need more details. In fact, if you would be willing to send us your config file, we could examine it. You could also send us your whole status, simply add /status.php to your router IP and download it.

                    Thanks.

                    Need help fast? Our support is available 24/7 https://www.netgate.com/support/

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

                      In the spirit of making sure people get the whole story.

                      Ahmed asked about initially about high CPU load on the pfsense official facebook group and was asked to check top from the CLI - a screenshot was posted showing a minerd instance consuming the lion's share of the CPU cycles. So we know for sure it's a cryptominer at work.

                      He was advised to rebuild the box, he replied that he had done so and that the problem persisted. I have asked him to confirm that he actually did rebuild the box as I suspect a language issue that 'reboot' (shutdown then restart) may have been mixed up with 'rebuild' (wipe then reinstall).

                      1 Reply Last reply Reply Quote 2
                      • A
                        A.Atef
                        last edited by

                        alt text

                        1 Reply Last reply Reply Quote 0
                        • chrismacmahonC
                          chrismacmahon
                          last edited by

                          Hello, I'm from the Global Support team at Netgate, can you open a ticket at https://go.netgate.com/support/login we would like to take a look at your issue.

                          Need help fast? Our support is available 24/7 https://www.netgate.com/support/

                          Do Not PM For Help!

                          1 Reply Last reply Reply Quote 1
                          • chrismacmahonC
                            chrismacmahon
                            last edited by

                            We looked over the config and there were some design issues that allowed the attacker to gain access and install minerd, we have made some suggestions on a redesign.

                            This was NOT a flaw in our software, but human error.

                            Need help fast? Our support is available 24/7 https://www.netgate.com/support/

                            Do Not PM For Help!

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