As the title says, I want to know the most paranoid security measures you’ve implemented in your homelab. I can think of SDN solutions with firewalls covering every interface, ACLs, locked-down/hardened OSes etc but not much beyond that. I’m wondering how deep this paranoia can go (and maybe even go down my own route too!).

Thanks!

  • MigratingtoLemmy@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    You seem to have a great setup. Since this comment touches on slightly advanced topics, I’ll ask this here:

    1. What use do you have for a WAF?
    2. How did you get your Android clients to trust your certificate? Do you use an MDM? Did you root your devices to access the trusted root store?
    3. Segmenting stuff with VLANs, subnetting and ACLs is a great idea, but do you also make sure that the firmware of the device is somewhat robust? Although I suppose you don’t have to worry about it if Sophos sends out regular updates, however I hate the idea of my switches and routers having to connect to the Internet, pass along credentials and the sort to be able to get updates.

    Your measures seem to be focussed more on security than privacy - which is great! It’s my fault for not specifying it in the post, but I’d definitely like to know if you have done anything specific to keep your network private as well as secure.

    Thanks for your wonderful comment - saved!

    • RedFox@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago
      1. Exchange on prem 😳
      2. Both mdm,.Ms intune, and just installing the root cert manually in trusted store. You don’t have to root Android for that. It presents some warnings, appropriate.
      3. My Sophos is self contained. It does radius against active directory. It wants IPS and other updates though.

      I guess the firmware is as good as possible. All network devices are just computers and can be exploited. I use a Cisco router as my actual gateway. Sophos is inline after that.

      Privacy. 🤔

      Not much. I have certain traffic go through a VPN to the Internet, but that’s split tunneled.

      I use incognito? That doesn’t really do anything, ha.

      I’m slowly killing web browser tracking and cookie stuff that group policy allows.

      • MigratingtoLemmy@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        I didn’t know MS exchange could be used as a WAF. Will need to read more about that.

        Can I host Intune completely on-prem?

        What do you mean by “My Sophos is self-contained”?

        Does your Cisco router get updates? My problem with these companies is that they build backdoors in their firmware for agencies to use. Are you monitoring the network usage of your Cisco gateway?

        Using AD/RADIUS on-prem is an intriguing idea. I didn’t consider it because if my AD server goes down I’m essentially locked out of my services. I need to think more on this. Thanks.

        • RedFox@infosec.pub
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 months ago

          Sorry for confusion. I use Sophos utm as a WAF for exchange. Basically reverse proxy that is specifically programmed for exchange attacks. It allows OWA to keep working.

          I put the exchange admin URL behind authentication, so you try to go to /ecp, it Sophos intercepts and make you authenticate to Sophos utm first, which is passing to ad with radius.

          MS got rid of intune on prem. It’s only Azure service now. I think.

          My router is my biggest vuln. Oddly the most important. It’s an enterprise ISR. It’s updated as far as possible. My paranoia ends with the US gov/NSA. I don’t care if they want back door oddly. I don’t want China using me for attack relay however.

          Loads of monitoring. You do a span/mirror port to your IDS like security Onion. Let it analyze all your traffic. Apparently there are some state sponsored exploits that allow them to owe a router at kernel level and hide their activities from you and monitoring, but that’s a level I can’t deal with.

          As far as lock out, you create a break glass on everything. Emergency account with non rememberable ridiculous password, saved in a safe place.

          • MigratingtoLemmy@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            As far as lock out, you create a break glass on everything. Emergency account with non rememberable ridiculous password, saved in a safe place.

            This is such a great and a simple idea. Thanks.

            I think I followed your setup at a high level, but because I don’t have hands-on experience with AD I didn’t quite catch the scope of it. Thanks for letting me know, I’ll get some reading done when I get the time!

        • RedFox@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          I have the older Sophos utm, which doesn’t use the Sophos cloud central manager.

          I think their new firewall utm can work disconnected, but I don’t know.

          Sophos has a home use license that’s free for non business use.

          I love companies that do community edition or free home use.

          Sophos, Veeam has nfr, Elastiflow has community edition, which is a netflow.

          • MigratingtoLemmy@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            This is the first time I’ve come across Elastiflow, thanks for mentioning it. Seems like an intriguing service to add.

            I was considering using Suricata/installing Security Onion to do IDS from the certificate from a private CA. Sophos firewall seems pretty good too.