SOT

SOT

SOAR
Security Orchestration, Automation and Response

Automation of response to information security incidents using dynamic playbooks and information security tools, building an attack chain and with an object-oriented approach

NG SOAR
Next Generation SOAR

Automation of response to information security incidents with built-in basic correlation (SIEM), vulnerability Scanner (VS), collection of raw events directly from information security tools, dynamic playbooks, building an attack chain and an object-oriented approach. AM and VM are included

AM
Asset Management

Description of the IT landscape, detection of new objects on the network, categorization of assets, inventory, life cycle management of equipment and software on automated workstations and servers of organizations

VS
Vulnerability Scanner

Scanning information assets with enrichment from any external services (additional scanners, The Data Security Threats Database and other analytical databases) to analyze the security of the infrastructure.

VM
Vulnerability Management

Building a process for detecting and eliminating technical vulnerabilities, collecting information from existing security scanners, update management platforms, expert external services and other solutions

FinCERT
Financial Computer Emergency Response Team

Bilateral interaction with the Central Bank, namely the transfer of information about incidents and receipt of prompt notifications/bulletins from the regulator

GovCERT
Government Computer Emergency Response Team

Bilateral interaction with the state coordination center for computer incidents, namely the transfer of information about incidents and receipt of prompt notifications/bulletins from the regulator

Mail us to sales@securityvision.ru or get demo presentation

Container security at a new level: diving into Trivy

Container security at a new level: diving into Trivy
08.08.2024

Ekaterina Gainullina, Security Vision


Introduction


With the growing popularity of containers, many advantages have emerged. Containers are the backbone of microservices architecture that allow cloud applications of any size to be built. However, because of their popularity, containers are also a prime target for ransomware, hackers, and other threats.


As a result, enterprises that value robust security must be able to address common container security issues. While there is no one-size-fits-all solution, taking a comprehensive approach and using the right tools can make a big difference.


What security challenges do enterprises face?


First and foremost, in the context of using containers, enterprises face the challenge of identifying and remediating vulnerabilities in container images. Despite the isolating effect that containers provide to applications, outdated or misconfigured images can become vulnerable to attack. Such vulnerabilities create potential entry points for cyberattacks and can lead to the leakage of sensitive information. In 2023, more than 80% of data breaches involved data stored in the cloud.


An additional challenge for enterprises using containers is the potential threat of a supply chain attack. In the context of containerisation, a supply chain attack can occur as a result of malware compromising or injecting malicious code into container images or dependencies during build or deployment.


This form of attack can be particularly dangerous because malicious code can be distributed through official repositories of container images, making it difficult to detect. When an organisation uses such images, it not only puts its own systems at risk, but also spreads the threat to other organisations that may be using the same images.


Vulnerable docker hosts for mining


Researchers at Cado Security Labs have spotted a new campaign targeting vulnerable Docker services. This is the first documented case of malware using the 9hits app as a payload.


Attackers install the 9hits app on compromised Docker hosts to use the resources of these systems to generate traffic within the 9hits system and generate credits for themselves. The XMRig container mines cryptocurrency using a private mining pool associated with the attacker's dynamic DNS domain.


The result of compromised hosts is resource depletion as the XMRig miner consumes available CPU resources and the 9hits application uses significant bandwidth, memory, and any remaining CPU resources. This can prevent infected servers from operating normally and potentially lead to more serious breaches.


According to Cado security researcher Nate Bill, the discovery highlights the continuous evolution of attackers' strategies to profit from compromised hosts. It also highlights the ongoing vulnerability of insecure Docker hosts as an entry point.


How can Trivy help in this context?


Trivy is an open source vulnerability scanner designed for containerised environments. It addresses several security issues related to identifying and managing vulnerabilities in container images. Here are some of the problems that Trivy helps solve:


- Container image security: Trivy specialises in scanning container images for vulnerabilities. This helps identify security issues in the image such as outdated packages, known vulnerabilities, and misconfigurations.


- Base image security: Trivy can detect vulnerabilities in base images used to create other images. This is important because vulnerabilities in base images can propagate to dependent images, affecting the security of the entire containerised application.


- Package Vulnerability Detection: Trivy analyses the software packages installed in a container image and matches them against known vulnerability databases. It provides information about the specific vulnerabilities associated with each package, allowing users to take appropriate remediation actions.


- Comprehensive vulnerability database support: Trivy supports multiple vulnerability databases, including the National Vulnerability Database (NVD), Red Hat Security Data API, and others. This broad database support increases the accuracy and coverage of vulnerability detection.


- Integration with container orchestration: Trivy integrates with container orchestration platforms such as Kubernetes and Docker. This allows users to easily embed vulnerability scanning into their CI/CD pipelines, container registries, and deployment workflows.


- CI/CD Pipeline Integration : Trivy can be integrated into Continuous Integration and Continuous Delivery (CI/CD) pipelines to automatically scan container images during build and deployment. This helps ensure that only protected images are deployed in production environments.


- Misconfiguration Detection: Trivy goes beyond package vulnerabilities and can detect common misconfiguration errors in container images. This includes issues such as overly restrictive file permissions, access to sensitive information, and insecure settings that can pose a security risk.


- Multi-level scanning: Trivy analyses vulnerabilities at all levels of the container image, including the base image, dependencies and application-specific layers. This comprehensive approach provides a holistic view of the security posture of the entire image.


- Fast Scanning: Trivy is designed for speed and provides fast vulnerability scanning. This is especially important in CI/CD environments where fast feedback on security vulnerabilities is essential to maintain a secure software development lifecycle.



In addition to the above features, it is worth noting that Trivy is also capable of creating SBOM (Software Bill of Materials) files in SPDX (Software Package Data Exchange) format. These files are a structured list of all software components, including dependencies and vulnerabilities, used in containerised images.


SBOM files play an important role in the digital software delivery process as they provide transparency and clarity about software composition and security. They help organisations comply with security and regulatory rules and standards, and simplify vulnerability analysis and management during application development and operation.


Creating SBOM files with Trivy provides transparency and trust in the digital software delivery process, which is a key aspect in today's application development and deployment environment.


Results


In the context of securing containerised environments, the Trivy project is a tool with a wide range of features and capabilities. The results of the analysis emphasise the importance of using such tools to detect and remediate vulnerabilities in container images, thus ensuring a high level of security in the digital space. However, it should be borne in mind that its use should be complemented by security recommendations and practices suggested by professional analysts and industry standards. This includes regularly updating container images, strictly controlling access to containers and network resources, and monitoring and responding to anomalous events in the container environment.


In addition, it is important to take into account the characteristics of each specific environment and application when using Trivy, and to consider industry-specific security and compliance requirements or regulatory guidelines. Only an integrated approach to container security, which includes not only the use of tools but also informed practices and strategies, will enable organisations to effectively protect their container environments from threats and attacks.

Recommended

Practical protection of personal data. What are the information protection means that have undergone the conformity assessment procedure in accordance with the established procedure
Practical protection of personal data. What are the information protection means that have undergone the conformity assessment procedure in accordance with the established procedure
IRP/SOAR by law. GIS, PDN, GOST project
IRP/SOAR by law. GIS, PDN, GOST project
Security Vision's ‘tricks’: objects and processes
Security Vision's ‘tricks’: objects and processes
Cybersecurity, cyber resilience, cyber training - what is it?
Cybersecurity, cyber resilience, cyber training - what is it?
Benefits of Pentest for the post-incident patient
Benefits of Pentest for the post-incident patient
MITRE's publication ‘11 Strategies for a World-Class SOC Centre’. Strategy #7 ‘Choose and Collect the Right Data’
MITRE's publication ‘11 Strategies for a World-Class SOC Centre’. Strategy #7 ‘Choose and Collect the Right Data’
Threat analysis and cyber intelligence: what problems the updated Security Vision TIP solves
Threat analysis and cyber intelligence: what problems the updated Security Vision TIP solves
TIP and TI (Threat Intelligence or Cyber Intelligence), what it is
TIP and TI (Threat Intelligence or Cyber Intelligence), what it is
Don't trust and check seven times: how Zero Trust works
Don't trust and check seven times: how Zero Trust works
Why and how to display information: object constructor
Why and how to display information: object constructor
Security Vision's ‘features’: general
Security Vision's ‘features’: general
The information security threat landscape of recent years. Part 2
The information security threat landscape of recent years. Part 2

Recommended

Practical protection of personal data. What are the information protection means that have undergone the conformity assessment procedure in accordance with the established procedure
Practical protection of personal data. What are the information protection means that have undergone the conformity assessment procedure in accordance with the established procedure
IRP/SOAR by law. GIS, PDN, GOST project
IRP/SOAR by law. GIS, PDN, GOST project
Security Vision's ‘tricks’: objects and processes
Security Vision's ‘tricks’: objects and processes
Cybersecurity, cyber resilience, cyber training - what is it?
Cybersecurity, cyber resilience, cyber training - what is it?
Benefits of Pentest for the post-incident patient
Benefits of Pentest for the post-incident patient
MITRE's publication ‘11 Strategies for a World-Class SOC Centre’. Strategy #7 ‘Choose and Collect the Right Data’
MITRE's publication ‘11 Strategies for a World-Class SOC Centre’. Strategy #7 ‘Choose and Collect the Right Data’
Threat analysis and cyber intelligence: what problems the updated Security Vision TIP solves
Threat analysis and cyber intelligence: what problems the updated Security Vision TIP solves
TIP and TI (Threat Intelligence or Cyber Intelligence), what it is
TIP and TI (Threat Intelligence or Cyber Intelligence), what it is
Don't trust and check seven times: how Zero Trust works
Don't trust and check seven times: how Zero Trust works
Why and how to display information: object constructor
Why and how to display information: object constructor
Security Vision's ‘features’: general
Security Vision's ‘features’: general
The information security threat landscape of recent years. Part 2
The information security threat landscape of recent years. Part 2

Other articles

Information security trends. Part 2
Information security trends. Part 2
What trusted boot tools are and what they are used for
What trusted boot tools are and what they are used for
Response scenarios, or how IS/IT processes are like theatre
Response scenarios, or how IS/IT processes are like theatre
Principles of information security
Principles of information security
SSDL: ML for code and behaviour testing of opensource solutions
SSDL: ML for code and behaviour testing of opensource solutions
Review of the publication NIST SP 800-47 Rev. 1 "Managing the Security of Information Exchanges"
Review of the publication NIST SP 800-47 Rev. 1 "Managing the Security of Information Exchanges"
Review of the Bank of Russia Standards. Security of financial (banking) operations
Review of the Bank of Russia Standards. Security of financial (banking) operations
Why and how to display information: object constructor
Why and how to display information: object constructor
Review of the publication NIST SP 800-207 "Zero Trust Architecture"
Review of the publication NIST SP 800-207 "Zero Trust Architecture"

Other articles

Information security trends. Part 2
Information security trends. Part 2
What trusted boot tools are and what they are used for
What trusted boot tools are and what they are used for
Response scenarios, or how IS/IT processes are like theatre
Response scenarios, or how IS/IT processes are like theatre
Principles of information security
Principles of information security
SSDL: ML for code and behaviour testing of opensource solutions
SSDL: ML for code and behaviour testing of opensource solutions
Review of the publication NIST SP 800-47 Rev. 1 "Managing the Security of Information Exchanges"
Review of the publication NIST SP 800-47 Rev. 1 "Managing the Security of Information Exchanges"
Review of the Bank of Russia Standards. Security of financial (banking) operations
Review of the Bank of Russia Standards. Security of financial (banking) operations
Why and how to display information: object constructor
Why and how to display information: object constructor
Review of the publication NIST SP 800-207 "Zero Trust Architecture"
Review of the publication NIST SP 800-207 "Zero Trust Architecture"