This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Runing Sophos UTM virtualized or on dedicated hardware?

Hi!
I have a computer with a Core I7 2600K, 32GB ram, 4 Intel nics, and I'm planning to run Sophos UTM on this as my primary firewall (home use with some internal and some public servers behind).

I think it is quite a waste to use the hardware as a firewall only, I don't think Sophos need an I7 with 32GB ram, or am I wrong?

I have a little thought to run ESXI on the machine to have some more vm:s running on it in parallell with Sophos UTM.

I think the hardware can handle a one or two vm:s alongside a Sophos install..?

 

My biggest concern are the security, how secure is it to run the firewall virtualized? For some reason my heart screams a little when I'm thinking to run it virtualized, because
a dedicated approach should be more secure, because you don't expose a virtualization platform to the net as you do with a virtualized approach.

But is it common that hackers find holes on the virtualization platform and can gain access to the internal lans? How safe are virtualization platforms nowadays?

I don't think it is an uncommon approach on companies to run it virtualized, but maybe I'm wrong. This is for personal use in a home environment, but I still want secure networks.

I may run it virtualized if you say that it is safe.. :P

 

For your information: I have a 250/100Mbps fiber connection to my house.

 

Thanks in advance!



This thread was automatically locked due to age.
Parents
  • widdde said:

    Hi!
    I have a computer with a Core I7 2600K, 32GB ram, 4 Intel nics, and I'm planning to run Sophos UTM on this as my primary firewall (home use with some internal and some public servers behind).

    I think it is quite a waste to use the hardware as a firewall only, I don't think Sophos need an I7 with 32GB ram, or am I wrong?

    I have a little thought to run ESXI on the machine to have some more vm:s running on it in parallell with Sophos UTM.

    I think the hardware can handle a one or two vm:s alongside a Sophos install..?

    My biggest concern are the security, how secure is it to run the firewall virtualized? For some reason my heart screams a little when I'm thinking to run it virtualized, because
    a dedicated approach should be more secure, because you don't expose a virtualization platform to the net as you do with a virtualized approach.

    But is it common that hackers find holes on the virtualization platform and can gain access to the internal lans? How safe are virtualization platforms nowadays?

    I don't think it is an uncommon approach on companies to run it virtualized, but maybe I'm wrong. This is for personal use in a home environment, but I still want secure networks.

    I may run it virtualized if you say that it is safe.. :P

    For your information: I have a 250/100Mbps fiber connection to my house.

    Thanks in advance! 

    Widde,

    You can run Sophos SG UTM and XG Firewall virtualized, but in your situation. To do this, you would have to allow the unfiltered traffic onto your network in order to filter it in a virtualized environment.  This is complicated and expensive for most home environments as it requires managed switches for VLANs and robust servers for virtualization.

    For most home settings, all you need to do is deploy the UTM/Firewall on a small firewall appliance in between your fiber gateway and your internal network.  The device required is very simple computer with two or more ethernet ports.  You can purchase a firewall computer with RAM and SSD installed, or you can purchase a barebones systems and add your own RAM/storage.  In most cases, you don't need a more than 8GBs of RAM or 64GB of storage.  If you have an old computer laying around, you can use that too, but be warned that UTM and XG installers wipe the hard drive during installation.

    On your fiber connection, I would recommend a Protectli Vault.  It includes multiple ports for organizing your LAN, virtualization, Wi-Fi, and other networks.  Each port will become an interface.  Each interface can have a default LAN on which you can add layers of VLANs.  In the default Gateway mode, your UTM will be the network router, and through it, you can create, manage, and combine all the interfaces, LANs, or VLANs.  You can do a lot of other things too.  If you prefer to use your existing router as the network manager, you can set the UTM in a Bridge mode.

    I moved from the Sophos SG UTM to the Sophos XG Firewall.  It was easy because they use the same appliances.  My XG Firewall is in a ZBOX CI325 Nano with 4GB RAM and a 32GB SSD connected to an Arris SurfBoard SB6190 cable modem to a on a 350Mbps cable connection.  The Zbox only has two ports WAN and LAN.  The only thing on the LAN is an Apple Time Machine in bridge mode.  This gives me two networks, the default LAN for my internal wired/wireless/backup network and Guest Wi-Fi on a separate VLAN.

  • Hi David and thanks for your response!

    Well, I'm not an ordinary home user, I already have 2x 24 ports managed switches and 4 x 8 ports managed switches.

    I currently run Sophos UTM on hardware where I can't get full speed on my 250/100 Mbps connection with IPS enabled.

    The speed drops about 100Mbps to 150Mbps, this is because snort is single threaded and therefor I planned to beef upp
    the cpu to a Core I7 (but run it in a virtualized environment). 

    I'm already running a couple of vlans in my home and will continue to do this after the change to other hardware.

     

    From my fiber connection I will connect ESXI on a dedicated network card that only the firewall will use and all other network will reside on
    another network card, the lan side, in the virtualized firewall.

    My concern is if ESXI will be a security issue because the firewall isn't the first physical box, but if ESXI doesn't listen on the interface where I plug internet in

    maybe it is a secure solution?

  • darrellr said:

    I do not feel this thread is going to help the OP any more and we are simply more likely to confuse the issue.  You and I will not come to an agreement on this.  I will consider this conversation done.

    Darrel,

    No, of course not.  We're not going to agree.   These recent replies of yours tell me that you're just trying create an argument and win it.  You're not trying to help make sure Widde or anyone else viewing this issue can learn about options and the pros/cons/issues associated with them.

    Widde understands the difference of running the UTM/Firewall in a physical firewall appliance vs virtualized.  Don't put him down or anyone else by confusing that fact with your argument.   Widde is asking to hear the advantages and disadvantages of both, so are some of the other people coming to view this issue.

    You're stuck on claiming a virus isn't going to escape the VM and get out while being protected by a virtualized UTM.  I'm trying to discuss this with you to understand how the virus got on the VM in the first place while being protected by your virtual UTM, but you're avoiding that explanation.  Is it because that explanation would negate your point of a virtual UTM?

    Im not here just to debate of how viruses got past your virtual UTM the first time but won't "escape" a second time in your design.  Im here discussing overall cost and maintenance over time.  Im discussing how complicated the setup and troubleshooting will be for both.  Im addressing how many products one would need in both setups.  Im also addressing what issues each stops will create or solve.

    I still stand by my recommendation, and Widde understands why:  For less than $500, Sophos SG UTM or XG Firewall can be deployed in Protecli 6-port Vault firewall appliance or something similar at the "head" of the network.  The internet gateway would be connected to the default WAN port, and the internal network on the default LAN port.  If you wanted to scan everything coming in and out of servers too, they can be placed on any of the other ports.  There would be no need to purchase or maintain software and licenses for virtualization as all of the security and virtualization software can be free: Sophos SG UTM, Sophos XG Firewall, Sophos Home, Oracle VM VirtualBox.

  • Yes I understand both of you.

    One question here: You are linking to virtualbox that runs on Windows or Mac, I am talking about VMWare ESXi that is a dedicated virtualization platform.. I would never run UTM in Virtual box in Windows.. That I see as a big security risk because all traffic will go through Windows first..

    As said, I am talking about ESXi which also is free for personal use and the question regarded running UTM on Esxi.

  • Without wading into this too much, you will be fine on ESXi.

    Think along the lines of Ip addressing and routable/non routable ip addresses.

    The only entry from outside is via a router or UTM, not ESXi etc. If they compromise your UTM/router eg via poor configuration etc, effectively they could get on your internal protected resources at which time it doesn't matter whether it's virtual or not.

    You will be fine with vlans or seperate nic's and virtulised. Heck, all my internet/internal traffic runs down the same port channel cable separated by vlans/ACL's. I don't use separate nic's for internet/lan etc.
    Traffic coming from the internet on 8.x.x.x simply ain't going to cross over into 10.1.1.0/24 etc unless I allow it to. Now, if the UTM became compromised eg weak encrypted password for admin etc, then I may have an issue but that lies with the UTM, not the hypervisor, nic's etc

    Been running like this since the dawn of ESXi 4. It's not a problem although I would advise that you do use proper seperation eg your vm's aren't on the same network as your hypervisor.

    Use the usual stuff, eg strong encrypted passwords, UTM admin interface not accessible from internet, lockouts and all the functions the UTM offers etc and you will be fine.

     

    Larger, corporate networks have their own issues eg attacks from within etc and as such need further levels of separation, resilience, monitoring etc
    As mentioned, take a cost/risk based approach to it and for a SOHO, SMB, it's fine. Everybody values their data but there does come a time when the effort/cost may not be worth it.

  • Thank you for your involvement in this hot topic! :D

     

    Of course I will separate utm admin on a separate vlan (my managing vlan) and never ever expose utm admin on the net side.

    I have separated servers from clients as well as IOT-devices, they all have their own vlans and are routed in the UTM.
    Servers can not access clients, some clients can access some servers and so on. :)

    But right now the UTM is on a separate, pretty slow, box and will maybe move it to a virtualized one. Have not decided how to do yet.

  • I think that is what David was missing, that there is no underlying user OS like VirtualBox running under windows or linux with ESXi.  It is, and only is, the hypervisor.

    On another note, though, do keep a watch on the KAISER issue with Intel CPUs.  The more I look at the code the more concerned I am getting about the possibility of vm escape.  I believe patches will be available for platforms like ESXi before public exploits are available, but if that comes to pass, be prepared to patch.  At this time, it appears that reading from ring3 (user space) to ring0 (privileged kernel space) may be possible in some scenarios.  Combined with other attacks, though could be dangerous.  NOT because you are running in a virtualized environment, though, but because of local privilege escalation.  In your case, they would need to compromise some VM on your hypervisor, then read privileged memory long enough to get meaningful information, then potentially use that information to escalate privileges (potentially up to the hypervisor).  Again, though, this is not a malware spreading issue or botnet, this is a hands on keyboard security issue that would require you to be specifically targeted and have other exploitable vulnerabilities exposed (which is kind of what a next gen UTM helps to protect).

    For review:  hxxps://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/ and other sites, shouldn't be too hard to find info.

  • The link you posted was very interesting! I have missed this issue during the weekends. Sounds VERY serious.

    I have just ordered an AMD Ryzen 7, thank god for that ;)

    But the UTM is running on a pretty old J1900 celeron and will probably be affected..?  Myabe it is better to switch to my Ubiquiti Edgerouter until this hole is fixed.?

  • I am not making any or even plan on making any changes in my environment at this time.  I would not hesitate to deploy due to the bug, only pointing out that a potentially serious issue is looming.  This is sort of similar to the heartbleed issue, but requires local system access and may be able to get more sensitive information from the system kernel itself.  Build away, IMHO.

  • Well, if it requires local access I'm not worried at all. No one that enteres my house has any kmowledge or interest to touch my servers anyway :)

    I'm only worried about intruders from the net. I don't have any sensitive data, but still I don't want unwanted visitors in my lans.

  • widdde said:

    Yes I understand both of you.

    One question here: You are linking to virtualbox that runs on Windows or Mac, I am talking about VMWare ESXi that is a dedicated virtualization platform.. I would never run UTM in Virtual box in Windows.. That I see as a big security risk because all traffic will go through Windows first..

    As said, I am talking about ESXi which also is free for personal use and the question regarded running UTM on Esxi.

    Widde,

    No worries.  I know you understand all of us.

    I have all kinds of clients with all kinds of setups, so I must use all kinds of virtualization: bare-metal, OS-based, NAS/SAN-based, etc.  In my previous reply, I was simply giving an example of a really simple, cheap, effective option for deployment for a SG UTM or XG Firewall (other than using an old computer you already have laying around) as part of an overall basic solution that fits many use-cases in home and businesses.  The software listed after that setup were options on what one could use if they wanted to operate on free software.  As you are already aware, other free options exist.   Before that, I have been suggesting solutions for your VMWare ESXi setup.  The VMWare NSX I suggested earlier only works on VMWare.  

    What many people don't realize is that the UTM/Firewall doesn't decrypt and scan HTTPS by default.  All your social media, email, text messaging, peer-to-peer, online banking, and many other sites are now encrypted.  In many cases, your VMs will have encrypted communication with the internet also.  All these avenues are ports into virtualization and devices.  This is how malware gets into and "escapes" from VMs and devices.  ESXi has some built-in security that will stop certain malware that corrupts key parts of VMWare virtualization, but it won't find or stop other kinds of malware.

    Social media, email, P2P, and malicious sites are some of the most common avenues in which malware enter and infect networks and devices.   Many of these sites and services run on virtualization. Virtualization operates in most of the data centers and content delivery networks around the world.  These virtualized systems provide many of the sites and services we all use every day.  I find malware infected emails all the time in virtual Microsoft Exchange servers at both Azure and in on-premesis virtualization environments.  I find the same things in Gmail and G Suite.  When working with clients on their VDI, I find all kinds of infected downloads, infected emails, and URLs to malicious web sites hosted on virtual services at AWS, Google, RackSpace, Azure, etc.  When 

    Clients communicate with virtualization and other devices through encryption.  Sure, it's all going through the virtual firewall/UTM, but the UTM/Firewall is NOT going to be able to scan any encrypted packet data coming in or going out - unless you work on on certificates and settings in order to allow HTTPS scanning to work for all your devices.  Most home owners and business administrators aren't going to take the time to do this.  The only thing the UTM/Firewall will do then is scan the header of encrypted packet and report or drop any coming from or going to a suspicious address.  but how many suspicious addressed do you have on your network?

    UTMs and Firewalls don't scan computers or devices, nor can a UTM/Firewall remove malware from a computer or device.  You won't find any websites or services that remotely scan and clean malware from devices because the only way to reliable do it is on the device itself.  The most effective way to protect a computers or other device is to have anti-malware on it.  This is why I suggested Sophos Server Protection and VMWare NSX for your VMWare in an early reply.  If you haven't already, you may also want to consider adding Sophos Home to your computers and Sophos Mobile Security for your Android and iOS devices.  *before Darell freaks out again, know that the Sophos Mobile Security for iOS does not search nor remove malware from iOS devices, it merely ensures you are using the most current version of iOS.  Other features are included such as a QR Code scanner to protect your device from QR Code malware.

    Im not discounting a virtualized UTM or Firewall.  It fits certain needs.  I know from experience that the virtual UTM/Firewall option is not going to protect your VMWare host and other network devices in the way Darell and others claim it will.  I've seen many cases where ransomware and other malware got into host servers and virtual networks with virtualized UTM/Firewalls and took down a large business or a celebrity estate by smartly taking control of the host/hypervisor and shutting down key ports/services or deployed a small amount of encryption in the right place.  If you or others feel a virtual UTM/Firewall setup fits your needs go ahead, have at it.  I can't stop you.

    *There is no reason why one couldn't run a UTM/Firewall in VirtualBox, depending your needs and security considerations.   Most people running a UTM/Firewall in a VirtualBox, VMWare Fusion, or Parallels Desktop environment are doing it for a demonstration or a test.  I do it all the time to show people what products and services look like and how one might use it.

    *Your server doesn't have to be touched in order for you to be hit.  One of your other computers or devices can be used to mess with your network.  If that computer or device has Wi-Fi capability and you have a close enough neighbor with a not-so-great Wi-Fi system, there's another way out.  Phones and cellular tablets are great for this type of "escape" because they are not moving around much, they are usually on both Wi-Fi and Cellular at the same time - and sometimes USB or Bluetooth too.  They can also carry a payload or stolen data to be released on another network at your work, friend/relative's location, or any other network you connect to.  This depends on the device you have, the security you have on them, and how you use them.

Reply Children
No Data