Hardening and infrastructure security guides
Default configuration is built to work in any environment, which is very different from holding up against an attack in yours. Hardening is the work of closing that gap.
12 guides on this topic
Most of the gain from hardening comes from a few decisions: removing what is not used, restricting who can get in, requiring strong authentication for administrative access and logging what happens. The rest is fine-tuning, and it only pays off once that foundation is in place.
The problem with a poorly applied baseline is that it breaks applications in production (a closed port that a legitimate service relied on, for example) and creates internal resistance to any future hardening. That is why the guides always point out what to check before applying a change and how to validate it afterward.
The public CIS baselines are useful as a reference, but applied like a recipe they miss the target: a control that makes sense on an edge server can be irrelevant on an internal cluster node.
Where to start
If you came here with a specific problem, start with the guide that answers it. The others are right below, grouped by subject.
Exposed Linux server with no baseline
How to reduce the attack surface, control access, keep updates current and log what happens on a Linux server.
Linux hardening in productionAdministrative access over the internet
How to harden SSH: keys, source restrictions and the options worth disabling.
SSH hardeningContainers with too much privilege
Non-root users, capabilities, base image choice and isolation in Docker.
Docker hardening
When it makes sense to bring in outside help
The hardening service defines the baseline for your context and applies the changes with validation, so nothing in production breaks. Your team gets the documentation to keep the standard in place afterward.
- Assessment of the current configuration against security baselines
- Documented hardening baseline, ready to apply
- Recommendations in priority order, weighing risk against the impact on operations
- Guide for standardizing new systems and images
Other topics
- AWS and cloud security
- Penetration testing and application security
- Vulnerability management and prioritization
- Detection, logging and response
- LGPD and privacy
- Governance and maturity
Servers and containers
Where the workload actually runs.
- Hardening
Linux hardening in production
Shrink the attack surface of Linux servers: SSH, sudo, firewall, updates, logs, and a CIS baseline.
Read about Linux hardening in production 9 min read - Hardening
Docker hardening
Safer containers: non-root users, minimal images, secrets, capabilities, image scanning, and the Docker socket.
Read about Docker hardening 9 min read - Hardening
SSH hardening
Secure administrative access: keys instead of passwords, no root login, restricted users, logs, and a bastion.
Read about SSH hardening 12 min read - Cloud security
EKS and Kubernetes security
Essential cluster controls: IAM and IRSA, RBAC, network policies, secrets, images, and service exposure.
Read about EKS and Kubernetes security 9 min read
Network, remote access and segmentation
Who can reach what, and from where.
- Networks and VPN
Remote access VPN
Secure remote access with MFA, groups, segmentation, a deliberate split-tunnel decision, logs, and fast revocation.
Read about remote access VPN 10 min read - Networks and VPN
Secure site-to-site VPN
Best practices for corporate IPsec VPNs: strong encryption, segmentation, restricted routes, logs and high availability.
Read about secure site-to-site VPN 10 min read - AWS security
Security groups on AWS
Reduce public exposure by reviewing open ports, 0.0.0.0/0, inbound and outbound rules, and drift detection.
Read about security groups on AWS 9 min read - Cloud security
Zero Trust in practice
Reduce implicit trust gradually with identity, device posture, segmentation, MFA, and contextual policies.
Read about Zero Trust in practice 11 min read
Edge and exposed applications
This layer receives traffic before it reaches the application.
- WAF and edge
AWS WAF with CloudFront
Protect web applications at the edge with AWS WAF and CloudFront: managed rules, rate limiting, tuning, and origin protection.
Read about AWS WAF with CloudFront 7 min read - Web security
Cloudflare for web security
WAF, DNS, cache, SSL/TLS, rate limiting and edge protection on Cloudflare, with the configuration precautions to take.
Read about Cloudflare for web security 10 min read - WAF and edge
Login protection with a WAF
Defend login pages against brute force and credential stuffing with rate limits, reputation and challenges, without locking out legitimate users.
Read about login protection with a WAF 11 min read - Web security
WordPress security
WordPress hardening: plugins and themes, updates, MFA, wp-admin protection, files, backups, and monitoring.
Read about WordPress security 9 min read
Need help with hardening and infrastructure?
In the first conversation we learn about your environment and tell you frankly whether we can help, and how. The proposal comes later, in writing, with scope, timeline and deliverables.
Prefer to write? Email [email protected] or reach us on GUARDIASEC's LinkedIn page. No scope defined yet? Ask for scoping guidance.
Please don't send credentials or sensitive data in your first message. See how we handle confidentiality and access