Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

CVSS for Penetration Test Results (Part II: Attack Sequences)

CVSS needs to be extended to accommodate combinations of vulnerabilities. The current documentation explicitly states: "Vulnerability scoring should not take into account any interaction with other vulnerabilities." But interaction among vulnerabilities is crucial for understanding the implication of particular vulnerabilities existing in an organization's environment.

Without rehashing Part I of this post, here's a simple, but real-world example. The use of Telnet receives a CVSS score of X, and a network's vulnerability to ARP cache poisoning receives a CVSS score of Y. The risk of these vulnerabilities occurring together should be significantly higher than the risk of these vulnerabilities occurring independently. A network where these two vulnerabilities are present is equivalent to a network where unencrypted usernames and passwords are broadcast to every node on the network.

When I made these points in the context of a talk I gave at Shmoocon this year, a member of the audience brought up CAPEC as a potential solution. CAPEC is a distant relative of CVE, a Mitre-sponsored program for "Common Attack Pattern Enumeration and Classification." But CAPEC is out to solve a different set of problems for a different audience. The "attack patterns" that CAPEC enumerates are not multiple distinct exploits chained together during a multi-phased attack, but instead are common patterns used by attackers in exploiting code. The audience is the software development community, and the patterns describe what is in my terminology a single exploit, such as "SQL Injection".

So what are we to do? One potential solution may be to introduce anew environmental score that can be used in a generic way to take compounded vulnerabilities into account. Call the new metric "Coexistent Vulnerability", which takes "High", "Medium" and "Low" values depending on how severely a neighboring vulnerability impacts a vulnerability's risk. In my example above, the Telnet and ARP spoofing vulnerabilities might receive a mid-level score, but when occurring together, the "Coexistent Vulnerability: High" metric would push them each to high-risk scores.

But I suspect a real solution will have to introduce a new metric that is applied to tuples or sets of vulnerabilities. One possibility would be to use "Attack Sequences." Trustwave has recently added Attack Sequences to PenTest Manager, our web portal for penetration test results. Attack Sequences are somewhat like attack trees. An attack tree is built on a root node that represents the ultimate target, and then displays branching nodes depicting the possible avenues that could be pursued by an attacker to reach the root node. (For more on attack trees see Bruce Shneier's classic articlefrom Dr. Dobbs Journal.)

An Attack Sequence, on the other hand, is rooted on a particular event -- such as the acquisition of target data or the exploitation of a vulnerability -- that occurred during a penetration test, and displays branching nodes depicting the vulnerabilities exploited by the penetration tester that were part of the sequence. Attack Sequences are flexible with regard to temporal relations. For example, the root node could be the exploitation of a relatively low-risk vulnerability, say verbose error messages from a web server, which led to the discovery of several additional vulnerabilities, including one that led to the compromise of target data. In the Attack Sequence pictured below, the arrows represent a relation like "led to the discovery of".

8423_288dd896-a942-49d8-99ca-e95e8c74c5d2 Alternatively, the root node could represent the acquisition of target data with child nodes representing the vulnerabilities that came together to make the compromise possible. This is depicted in the Attack Sequence below, where the arrows represent a relation like "was dependent upon".

11251_b079321e-eea2-4c93-b9d8-23b438960b40

Merely possible or incidental paths are not displayed, but only those nodes on the "critical path" -- the nodes that played a direct role in the ultimate compromise of target data. This means that the severity of risk attached to each vulnerability in the sequence should be directly related to the other vulnerabilities in the sequence and the risk associated with the ultimate compromise.

Vulnerabilities arranged in an Attack Sequence could receive an additional CVSS score that takes into account the overall risk presented by this particular sequence of vulnerabilities. Perhaps this could take the form of a fourth optional CVSS scoring group: Base, Environmental, Temporal and Sequence.

Development is already well underway for CVSS Version 3, but it's too early to tell whether this issue will receive any attention from the CVSS authors. Stay tuned.

Latest SpiderLabs Blogs

Trustwave SpiderLabs: Insights and Solutions to Defend Educational Institutions Against Cyber Threats

Security teams responsible for defending educational institutions at higher education and primary school levels often find themselves facing harsh lessons from threat actors who exploit the numerous...

Read More

Breakdown of Tycoon Phishing-as-a-Service System

Just weeks after Trustwave SpiderLabs reported on the Greatness phishing-as-a-service (PaaS) framework, SpiderLabs’ Email Security team is tracking another PaaS called Tycoon Group.

Read More

Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising

During an Advanced Continual Threat Hunt (ACTH) investigation that took place in early December 2023, Trustwave SpiderLabs discovered Ov3r_Stealer, an infostealer distributed using Facebook...

Read More