Ransomeware infected machine
-
What version of pfsense do you believe it had on it?
-
He said he thought it was 2.4.3.
-
If you have a backup of the config or had ACB configured recovering from that is not an issue.
The problem is discovcering how that happened. I would physically examine the hardware. What is it actually booting from?
Is that really the box you think it is? Was is running virtually maybe?
Steve
-
@KOM said in Ransomeware infected machine:
He said he thought it was 2.4.3.
Missed that. I saw-
running fine for a good few years. orignally setup in ~2014.
-
Thanks guys,
Ya I'm pretty sure it was 2.4.3 and it was on physical metal with a physical SSD.Disgruntled employee is a "possibility" have some peeps running CCTV stuff now but our access control to this room is shitty so 50/50. Also if this one individual was trying to be an ass there's much more serious stuff they could have done.
As for admin ports being open from other interfaces, there are/were 2 WANs and 2 LANs on this setup. One pair for regular traffic and one for PBX traffic. There was some concerns back in the day about having open ports for the PBX to work so a fully segmented network was setup but still had a single PFSense box (with 4x Ethernet ports).
I'm not 100% sure if admin was possible through the 2nd LAN/WAN (trying to sort out how to restrict access on the new install now actually). -
Can you post your config.xml Backup here so we can check for Config (Security) mistakes?
-Rico
-
Is this going to be another one of those posts where we talk among ourselves for hours without ever seeing any evidence that pfSense has anything to do with this?
-
@Rico
Would love too but don't have any from this install.
For reference to the uninitiated access to the admin section is all done via firewall rules right? -
Yes, to access the WebGUI or SSH from WAN side would require manual adding of Firewall Rules.
-Rico
-
What happens if your try to login with User root and Password toor at the slax login prompt?
I'd also try to boot some rescue disk and check what is really going on the filesystem. Some ransomware is not even encrypting anything, just telling so.-Rico
-
Even with full remote root ssh/webgui access I struggle to come up with a procedure where such a result would be possible without physical/console access.
Is there IPMI? Is that accessible? Is that secured?
-
19 hours later, still nothing...
-
Slax login? So this pfsense was running on VM?
-
I suspect this entire post is bogus:
- this is his first forum post ever
- he accuses pfSense of being vulnerable to ransomware attack despite no history whatsoever of this happening on FreeBSD
- the provided evidence is non-existent, confusing or irrelevant
- requests for follow-up information go unanswered
If this is as he claims, you would think he would be a little more proactive about reading replies and providing information. Instead, we all seem to care a lot more about his problem than he does.
However, he can feel free to prove me wrong by actually answering questions or providing more detail.
-
I think you're reading that into it. He didn't accuse pfSense of anything, he just asked if anyone had seen that before. That seems like a reasonable question given what he was seeing.
Steve
-
Yeah I think it very well could be a legit question... But I understand KOMs frustration with such a question with no follow up at all..
-
I think you're reading that into it. He didn't accuse pfSense of anything
'suspects' would have been a better choice of word.
That seems like a reasonable question given what he was seeing.
Slax Linux? Is this guy just trolling? None of this makes any sense.
-
Hey all,
Sorry for the delayed followup.For some additional background and rumor control. This is 100% legit (said every troll ever). I have been using PFSense very happily for years and have no doubts or concerns to it being insecure. Whatever this was (and I have a bit of a theory) it was most certainly 100% user error.
This was NOT a VM install, this machine is running on bare metal on a 1U supermicro box with a SATA SSD.
The drive had undergone some sort of formatting as it was not immediately mountable however I did not dig deep on what it was running (it was a work day and I had staff sitting on their thumbs). I debated rolling out a new drive and keeping the old to send to (someone?) once I ran into the problem yesterday but we didn't have any suitable drives in inventory + have deadlines to meet so I elected to just reformat the drive (knowing full well I was going to take flak for it.)Now to some updates:
As previously mentioned we have 2 LANs and 2 WANs here. One LAN/WAN pair is for general internet and the second is for PBX/Telco.
The PBX was running Asterisk with some exposed ports. The Pf sense admin panel was accessible from the PBX LAN.
The PBX was running an old install, and appears to have been compromised (and is now also being rebuilt)
Not 100% sure if the PBX was the point of entry or not but everything is now being hardened substantially as a result of this. -
So your saying someone compromised your pfsense box and put slax linux on it? From your internal pbx lan.. Via the web gui?
-
@Derelict said in Ransomeware infected machine:
Even with full remote root ssh/webgui access I struggle to come up with a procedure where such a result would be possible without physical/console access.
Is there IPMI? Is that accessible? Is that secured????