I doubt a 5 year old hardening is any relevant today. I would stick to a well researched article like Privsec[0] where they explain the reasoning for each step.
[0] https://privsec.dev/posts/linux/desktop-linux-hardening/
[0] https://privsec.dev/posts/linux/desktop-linux-hardening/
It's also terrible for other reasons, e.g.:
> net.ipv6.conf.all.accept_ra=0
> net.ipv6.conf.default.accept_ra=0
> Malicious IPv6 router advertisements can result in a man-in-the-middle attack, so they should be disabled.But that's the main way to configure IPv6. The IPv4 equivalent of that advice would be to disable your DHCP client, since malicious DHCP servers can result in a man-in-the-middle attack.
And it also has the same horrendous advice for PAM to require the kinds of passwords that we now know reduce security.
That is probably fine, but it makes me feel uneasy. Something has to break if you do that, right?