54 points · by goranmoomin · 2y ago · 50 comments
So they introduced AZ IDs https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-re... which create a per-account randomized mapping of region to actual availability zone.
And it's logical that we do so. We clean up, we put things in corners, we sort things. So I suppose many people set static IPv6 addresses at the bottom of their /64?
ISP gives me /64 and I configure my router at ::1: in WarCraft I orcs voice We are under attack!
There is really no difference between setting anything on "::3, ::5, ::7, ::a, ::b, ::c, ::f" for IPv6 and for .1, .2, .3, .10, .11 on IPv4. Using these addresses do not lower you security in any way compared to IPv4.
The real difference is what with IPv4 you can just scan the whole /24 in seconds, while with IPv6... it's not seconds at least.
And my takeaway here is that "Security through Obscurity" isn't actually that secure is it?
> Certainly one should have firewalls and so on
Just because every device has a public IP doesn't mean every device is available publicly. Your public little IPv6 network still goes through a router and that device can control the flow of traffic, through routing and firewalling.
This whole read really just feels like someone discovering IPv6 for the first time and fundamentally not understanding basic networking.
Now if you pin a ::1/64 to a machine or lets say some low addresses that you did because you remember them easily (or even if you pin any address lets say thats /64) you are now no longer using the obscurity part. This means your IPv6 /64 is basically just IPv4 now for that one machine.
The whole problem here is that you got a public IP (because now thats hard for home networks with ipv4). It's going to behave like any public IP, get targeted by attackers to see if some port is open or if there are any issues with security. IPv6 doesn't bring any advantage here unless you actually use its features like SLAAC and rotating IPs.
This is fundamentally not a part of IPv6. It was an extension added later for privacy, but doesn't really accomplish too much in that regard except for the simplest of detection. My home address space is a /48. And when do some really simple subnet math on my IPs, you can easily identify my addresses.
And again, the point is, just because you live out in the country, doesn't mean you shouldn't lock your doors.
Even though right now it's impossible to feasibly to even really scan a /64, that may not be true in a week.
Not quite true. The original braindead design embedded your MAC address into your public IPv6. So that all those nice companies can uniquely identify you _everywhere_.
By any stretch of the imagination.
Very purposeful
Whether IPv4 or IPv6, it's trivially easy to grab a new one. And unless you are willing to start blocking huge swathes of the world and ultimately legitimate traffic, you do other things.
If you have an IPv4-only network, you still have firewall and routing. This is what protects your router, allows ports to be forwarded, etc.
Literally nothing changes. You still need routing, just not the NAT/PAT part of it. You still need a firewall.
And you can't setup neither routing nor firewalling because of random ip addresses.
There are two types of people: 1) excited about ipv6 2) actually managing networks
Just like people advertising not broadcasting SSID, or changing the SSH port, this is just a false sense of security.
Obscurity isn't security, but hiding still makes you harder to find. In other words the lock is just as good or bad as it always was but a lot less people are going to jiggle the handle.
Changing default service ports is a good thing and is one of the reasons everyone should be in favor of software supporting SRV/SVCB records so services can be hosted on arbitrary ports while still being accessible with a plain DNS name everyone's used to using.
That shouldn't be lumped in with pure idiocy like disabling SSID broadcast or believing that IPv6 inherently exposes your network to the world.
Ironically disabling SSID beaconing on wireless APs actually results in clients configured to use those networks broadcasting looking for them wherever they go, for those who want to hide a network it's the literal opposite of their desired result.
As you said, only the low effort bots scan the standard ports.
But venture anywhere off the beaten path, and a place like shodan is the most benevolent of those kind of places, and it still takes about an hour for your IP and newly opened SSH port to be indexed.
He's posting his learning and realizations as he goes.
He often has posts of style "I thought X, but then I noticed certain things (in the logs), and after more digging it's actually Y." Or "Last time I checked things were A, but at some point things changed and now they're B, and going into the release notes it appears to be about at about C."
Now your logs will show only deliberate attacks on you, not the mass probing spam.
Or you can be smart and "easily" address such probing attacks in your FW rules... https://nvd.nist.gov/vuln/detail/CVE-2024-50252
The same technique can be used for IPv4. Disable both and become invulnerable to probing!