惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
V
V2EX - 技术
S
Secure Thoughts
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
S
Securelist
S
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
GRAHAM CLULEY
H
Hacker News: Front Page
Microsoft Azure Blog
Microsoft Azure Blog
I
Intezer
Google Online Security Blog
Google Online Security Blog
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Webroot Blog
Webroot Blog
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
P
Proofpoint News Feed
The Cloudflare Blog
I
InfoQ
L
LangChain Blog
U
Unit 42
P
Proofpoint News Feed
S
Schneier on Security
S
Security Affairs
Y
Y Combinator Blog
T
Tenable Blog
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
量子位
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
D
Darknet – Hacking Tools, Hacker News & Cyber Security
GbyAI
GbyAI
AWS News Blog
AWS News Blog

RapidFort Blog

RapidFort Test Blog Blog 4 Test Test Blog 3 Test 2 Mythos Vulnerability Assessment: Eliminate Real Risk, Not Just CVEs Securing Modern AI Workloads for National Security RBOM vs SBOM: The Critical Difference Between Software Inventory and Runtime Reality The Remediation Gap: When AI-Powered Discovery Outpaces Human Defense You Only Control 15% of Your Software. Here's How to Secure the Rest. Free ATO Readiness Cohort: Shorten Your Path to Federal Market US Cyber Strategy & Software Supply Chain Security EU CRA for Containers & Kubernetes: Scope, Deadlines & Steps PyPI, npm, and the New Frontline of Software Supply Chain Attacks GitHub Actions Security Audit: CI/CD Risk & Shell Injection What Is RBOM™? Runtime Bill of Materials vs SBOM Explained EU Cyber Resilience Act & Open Source Risk RapidFort Raises $42M Series A for Software Supply Chain Security Fintech Container Security 2026: SASM & RBOM™ RF Analyzer: Precision Container CVE Intelligence Kimia: Secure Kaniko Alternative for Kubernetes Builds AI-Powered Cyberattacks: How Defenders Must Adapt RapidFort Pioneered DoD Container Hardening | Industry Standard Turn Scanner Output into Verified CVE Elimination RapidFort's Giant Washing Machine: Cleaning Open Source at Scale Why SBOMs Fail: RBOM™ & Near-Zero CVE Images Fix the Gap Defeat NPM Supply Chain Worms: Near-Zero CVE Defense Bitnami & Chainguard Alternatives: Free Near-Zero CVE Images Runtime Profiling: Eliminate up to 99.9% of Container CVEs Flow Defending: AI-Speed Container Hardening & Runtime Visibility AI in Software Supply Chain Security: Defense vs Attackers SBOM vs RBOM™: Why Runtime Bill of Materials Wins AI-Powered Container Stack: Built, Hardened & Defended AI-Generated Code Vulnerabilities: Runtime Defense for Containers Container Vulnerability Management Reimagined | RBOM™ 35,000+ Near-Zero CVE Images: FIPS, STIG & AI-Era Standard RBOM™ Runtime Intelligence: Cut CVE Noise & Improve Accuracy EU Vulnerability Database (EUVD): Impact on CVE Management Critical Infrastructure Cyber Resilience: Near-Zero CVE DoD Software Procurement: SWIFT, cATO & Container Security Stop Fixing CVEs One by One: Eliminate up to 99.9% Before Production Break the Patch-and-Pray Cycle: Proactive CVE Management Beyond FedRAMP Checklists: Continuous CVE Elimination Why RapidFort Outperforms the Competition: The Future of Secure Containers FedRAMP Fast-Track: Near-Zero CVE Images & Zero Patching Hidden Costs of Manual CVE Elimination | Automate with RapidFort PCI DSS, SOC 2, FedRAMP & HIPAA Compliance via CVE Elimination Emerging Cyber Threats 2024: Protect Containers with RapidFort Container Supply Chain Security: From Source to Deployment Build a Robust Security Stack with RapidFort's SASM Platform Securing Containerized Environments: Best Practices Identify & Eliminate Common App Vulnerabilities in 3 Steps Near-Zero CVE Blueprint: Securing Your Software Supply Chain Eliminate up to 99.9% of Container CVEs in 3 Steps | No Code Changes DoD Innovation: SpaceWERX, AFWERX & Defense Tech Firsthand Developer Security Training Do's & Don'ts Top 5 Software Security Myths Debunked AI-Generated Code Security Risks: CEO Insights Using AI in Software Development: Security Tips & Considerations RapidFort Wins Intellyx Digital Innovator Award | Runtime Security 3 Tips to Conquer CVE Alert Fatigue Mature DevSecOps Teams: Key Traits & Security Best Practices Top 3 Software Security Trends 2024: AI, Compliance & SASM Software Security Budgeting 2024: Eliminate CVEs by up to 99.9% & Measure ROI RapidFort 2023 Year in Review: Milestones & Container Security Wins OSS Vulnerability Scanning & Container Hardening RapidFort Joins Microsoft Pegasus Program | Container Security Runtime Container Protection: 90% Attack Surface Reduction Black Hat USA 2023: AI, CISO Trends & Cybersecurity Insights SOC 2 Type 2 Compliance for Container Security RapidFort Achieves SOC 2 Type 2 | Enterprise Security Validated Common Container Security Risks & How to Fix Them 6 Steps to Securing Your Software Supply Chain Harden Containers with Coverage Scripts & RBOM™ Profiling Container Vulnerability Management Best Practices Minimize Software Attack Surface | RBOM™-Powered SASM Docker Container Security Best Practices 2023 | Harden & Scan Securing Popular Docker Containers: Up to 80% Attack Surface Cut How RapidFort Secures Its Own Containers | Dogfooding DevSecOps Why Container Security Tools Fail: Scan vs Eliminate Hidden OSS Trade-Offs: Container Bloat, CVEs & Security Debt OSS Patch Management: Eliminate Container Bloat & CVEs OpenSSL Vulnerability: Scan, Harden & Reduce Risk in Containers Harden Hundreds of Containers Today for Free Customs Bridge Automates CVE Elimination with RapidFort SAST vs DAST vs IAST: Limitations for Container OSS Security Delete 78% of Your Redis Container - It Still Works 100% Free Tool: Copy AMIs to AWS GovCloud Fast | Open-Source Script Stop Chasing CVEs: Smarter Container Test Cycles Why CVSS Severity Alone Fails: Use Exploit Probability The Limits of Shift Left: How Software Optimization Fills the Gap Software Supply Chain Security with SCA Scanning What Is Software Supply Chain Risk? Causes & How to Mitigate It Reduce Container Bloat: Remove Unused Components & Cut CVEs What Is Software Optimization? RBOM™ vs SBOM Explained Log4j Response: Harden Containers Now Before the Next Patch
What Is Container Hardening? Reduce CVEs & Meet Compliance | Guide
Saty Sundarram · 2023-03-06 · via RapidFort Blog

Developers around the world adore software containers thanks to their portability, scalability, and efficiency. They are the backbone of today’s microservices-driven architecture. According to a recent survey by Dell, more than 50% of enterprise applications are in containerized environments.

Because containers are built on open source, container registries like Docker Hub offer free downloads of hundreds of thousands of software packages. But is it wise to download a free container image and run it in production? Probably not.

Just because a container image is popular or distributed by a trusted source doesn’t mean it’s safe or secure to run in your infrastructure. In fact, it’s highly likely that any container you download online comes riddled with security vulnerabilities and risks. This is why you need container hardening.

Container hardening is a two-step process:

  1. Scan a container for vulnerabilities, and
  2. Remediate as many of the vulnerabilities as possible

Software Component Analysis (SCA) scanners detect security issues such as Common Vulnerabilities and Exposures (CVEs). Scanners are important security tools and check against vulnerability databases like cve.mitre.org.

A container can never be perfectly safe. Even small containers can have vulnerabilities, and even hardened containers can have undiscovered vulnerabilities. Open source builds upon open source, using dozens (if not hundreds or thousands) of software dependencies. Software is written by humans - and humans write buggy software.

Hardening a container minimizes its attack surface, which makes it more secure. It does not eliminate the attack surface. Hardened containers are still likely to have vulnerabilities, but the risk of a breach due to known vulnerabilities is as low as possible.

Why is container hardening important?

Nobody wants their production infrastructure breached by malicious cyber attacks. The after-effects of a breach are laborious, expensive, and could put a company out of business.

Hardening containers does more than protect infrastructure from attacks and breaches:

  • Meet compliance requirements: Industry-specific regulations may require security teams to secure their applications and data to specific standards. By hardening containers, teams can meet those requirements and avoid company responsibility for punitive action or fines.
  • Attack surface reduction: Hardening removes unnecessary software packages and disables commonly-exploited services or ports. These tactics make it much harder for a bad actor to have a successful attack and reduce the risk of a breach.
  • Develop a culture of proactive security: When product teams get serious about security, they develop automated workflows and implement security tools that improve their security without compromising on throughput.

Container image hardening is an important practice that every organization should take to protect their applications and data from attack; meet compliance requirements; reduce their attack surface; and develop a culture of security and trust.

What’s the difference between container hardening and VM hardening?

Containers are portable software packages that run on a Linux-based host operating system as separate processes, like an application. Virtual Machines (VMs) are entire computing environments in a single file. VMs emulate a computer system that can run its own operating system and applications as if it were a physical computer. A VM file contains its own hard drive storage and uses a share of a host computer to execute its internal processes. 

In principle, container hardening and VM hardening are practically the same thing: run a vulnerability scan, then remediate detected vulnerabilities. However, the actual work of scanning and remediating is quite different. VMs contain an entire operating system, such as Microsoft Windows Server 2022, and all of the applications that may or may not be needed to run on that virtual machine. It works and appears as a completely separate computing device on a network.

This fundamental difference between the two technologies means that VMs have a much larger attack surface than a container. Containers only include the necessary components to run the applications they contain. VMs include much more. Hardening a container is much less complex than securing a VM image.

VMs, however, are much more isolated than a container. They are self-contained, whereas a container shared resources with its host. If an attacker gains access to a VM, they are likely to have less access to the host system and the surrounding environment than a container breach.

Because containers are more scalable across the development lifecycle and better suited for dynamic provisioning, they may require more careful management to ensure security across a large number of instances.

Are there standards or best practices for hardening containers?

Container image hardening does have best practices, but there’s not really a set of standards to determine whether a container is properly or sufficiently hardened. Infrastructure and application security can be a sort of cat-and-mouse game because new vulnerabilities are discovered in existing software on a regular basis, just as we saw with Log4j in 2021.

Every organization has its own requirements and acceptable risk levels for security. Some organizations may even have varying requirements across departments or lines of business. However, the widespread proliferation and adoption of open source software has gotten attention from the federal government. For example, the U.S. Department of Defense (DoD) has its own container hardening process guide which can be a helpful indicator and the White House has issued an executive order to improve federal cybersecurity. 

Some of the emerging best practices for Docker container hardening include:

  • Container image scanning and generating software bills of materials (SBOMs)
  • Using minimal and secure base images
  • Keeping container packages and dependencies updated
  • Eliminating unnecessary and unused software packages
  • Disabling unnecessary services and ports
  • Using built-in security features of container orchestration platforms (e.g. Kubernetes, Docker Swarm)

The container image hardening process

A comprehensive set of container security best practices is illustrated in the figure above. Every step can be deployed via automation in a standard CI/CD pipeline.

  • Build your containerized app
  • Use the latest patches and package updates
  • Instrument the container for SCA scanning and SBOM generation
  • Exercise the container with coverage scripts (not QA tests, but functional usage execution)
  • Generate an inventory of known vulnerabilities
  • See what software packages are used and which can be deleted
  • Harden the container
  • Run your tests on the container
  • Deploy the container

The hardening process should:

  • Apply a set of minimally-viable configurations (enable ports and services)
  • Remove any software components that are unused by the application (discovered via coverage scripts)

A hardened Docker container should have the smallest possible attack surface based on the risk tolerance for running that container in production. This should be measured against organizational security and operations standards (e.g. “No critical vulnerabilities allowed in production”), fully documented and auditable, and - wherever possible - fully automated.

Get container security today with RapidFort

RapidFort is the world’s first Software Attack Surface Management platform, built and designed from the ground up by software developers and security professionals. You can harden containers for free on our software attack surface management platform.