Hacker News new | ask | show | jobs
by tasssko 1871 days ago
Most of these tips are covered by ISO27001 and other similar certifications and i consider it MVP security. You will need to do more today to stay ahead especially if you manage or protect valuable assets. Some tips that come to mind are; manage ingress traffic to your web property with a web application firewall. Setup machine learning to automate blacklist detection and dynamically update blacklists. Use principle of least privilege and role based access to manage users. Protect root accounts with webauthn avoid using them. Setup conditional access control policies to ensure certain roles have more stringent constraints. Mind your dependencies many future exploits will come from dependencies. Partition your pipelines so environments are isolated. Monitor egress traffic if possible. Use VPNs to connect environments but don’t use VPNs if you don’t know how to monitor them (its a complex abstraction and ipsec can be tricky). Once all these technical considerations are in progress consider the developer onboarding process and application connectivity try to implement context segmentation to avoid creating root service and make sire all activities are logged to a monitored aggregator. Look for suspicious activity that can originate in the source. The list goes on and on and on.
2 comments

Slow down a bit ;) the author was walking about personal security.
Yes it was a bit late (past midnight). Personal security doesn’t get enough conversation.
>Setup machine learning to automate blacklist detection and dynamically update blacklists.

Is there some good plug and play tool for this or something? Id imagine implementing something like this yourself would take quite a bit of time and know how. Are there non-paid solutions out there?

Using AWS WAF; https://aws.amazon.com/solutions/implementations/aws-waf-sec...

Some bespoke WAF automation setups. You can mix in ML in this to add anomaly detection.

https://aws.amazon.com/blogs/security/automatically-updating...

ok, so you were basically just referring to a 3rd party waf... thats cool...
Sorry it was late past midnight and i did not find anything that could help with a opensource tool like nginx plus modsecurity. However I shared documentation that can help logically identify potential exploits and with nginx plus lua it’s possible this can easily be updated. The OWASP filters are similar. Yes we have done some automation like this many years ago but today we mainly use public cloud WAFs.