Comment on Tip: run continuous inbound and OUTBOUND analytics on your network
irotsoma@piefed.blahaj.zone 1 day agoYeah, but what triggered that. Likely an inbound connection that installed the malware. Again, unless they installed something locally or their poorly secured WiFi or other non internet service allowed access. Or they could be just seeding torrents which tend to access lots of less left sites. Blocking the inbound before connecting to the internet stops a lot of malware from getting installed in the first place. Of you’re monitoring is showing unexpected traffic, it’s too late.
EncryptKeeper@lemmy.world 15 hours ago
Monitoring the outbound connections is what’s relevant to identify if you’ve been compromised and in some cases prevent it. A flaw in software exposed to the internet might allow remote code execution but what that code does most of the time is connect outbound to a C&C server on the Internet to download malware. If that’s detected and blocked, you avoid the malware download in the first place.
You can also sometimes be a victim of a supply chain attack which would render all of your preventative measures like VPN only access moot.
irotsoma@piefed.blahaj.zone 12 hours ago
Point is outbound monitoring find the issue after it’s too late and it’s also hard to determine what’s malicious be expected (for example if they use tormenting it might not be malicious).
The threat is from inbound unless you are internally compromised. So paying attention and blocking the extremely common inbound threats before even connecting to the internet is more important and should be standard practice. Simple unused port blocking firewalls aren’t enough anymore which is what OP said they were relying on. There are very few exploits that target unused ports (assuming you’re using a reasonably secure operating system). You need adaptive response to inbound traffic on purposely open ports. These have become easier and easier to implement over time.
Again, monitoring is important to determine I’d you’re already compromised, but won’t help much to prevent compromise and most of that is from inbound requests. Plus most outbound traffic is actually responses to inbound requests assuming you’re using a decently secure and simple OS.
EncryptKeeper@lemmy.world 11 hours ago
It’s never too late. If you get compromised it’s kinda important that you become aware of that and take steps to remediate that. Otherwise what you’re suggesting is that once one thing on your network is exploited in some way, who cares. Let them have it all. It’s not 1999 anymore and defense in depth has been the name of the game for 20 years.
This is like saying “The threat is from inbound except for when it’s not”. You cannot guarantee that you will never be vulnerable to an exploit at your edge or a supply chain attack. And in both cases, monitoring and remediating outbound traffic can mean the difference between a minor remediation job and a catastrophe.
Bluescluestoothpaste@sh.itjust.works 11 hours ago
Okay and fire sprinklers only work after the fire already started but they’re still really helpful and important.
irotsoma@piefed.blahaj.zone 11 hours ago
Yep good analogy actually, they stop the damage from spreading by essentially destroying everything with rancid water damage. Not a good plan for protection like building with fire retardant materials, using appropriate GFCI, AFCI, and other more expensive breakers than simple thermal magnetics, etc. Sprinklers are only good for sacrificing yourself to prevent destroying your neighborhood and maybe saving a few things here and there. It’s why most single family homes don’t have them, only buildings where fire spreads fast. But if you live on a world where people are constantly throwing motlov cocktails in your windows…