Sunday, 12 September 2021

Building a Common Language - CVSS (Common Vulnerability Scoring System)

As our complex societies, business environments and economies work together to exchange and secure data, build ideas and solve problems so that we may protect and improve quality of life, our human workflows are often thwarted by not using a common industry language.   Sometimes we do not even have a common language to use. 

When we think of risk, vulnerability management and threat intelligence, the standard frameworks in active development come to mind.  

In Vulnerability Management, the Common Vulnerability Scoring System (CVSS) has become the widely adopted standard, solidified in 2005 (now almost 17 years ago) by the National Infrastructure Advisory Council (NIAC). Initially, the NIAC passed ownership of the CVSS standard to the Forum of Incident Response and Security Teams (FIRST), a non-profit organization established in 1990 in response to the cyber risk exposed by the Wank Worm just a few years earlier.

Now FIRST Maintains and grows this standard and encourages feedback from the information security community. 

A link to the final report by the NIAC can be accessed from the Cybersecurity & Infrastructure Security agency (CISA):  https://www.cisa.gov/publication/niac-common-vulnerability-scoring-final-report 

Since 2007, Europe has, year over year has taken the lead in FIRST membership growth.  Asia and the United States membership grow have both been increasing but at different rate.  As of this year Asia has caught up with the United States in membership numbers.  South America has also dramatically increased its regional membership numbers year after year.  Asia and Europe have had the most impressive increased since 2015.  

FIRST Membership growth by year:  https://www.first.org/about/history

CVSS Industry Use Cases 

To onlookers outside of the industry, there is much needed translation.  Use cases are often the best ways to help in our understanding something that initially seems so abstract.
  • National Vulnerability Database Analysts: These analysts use the CVSS to attribute scores to newly disclosed and discovered vulnerabilities.  The vulnerabilities and their assigned CVSS score can be found in the National Vulnerability Database (NVD).
  • Security Analysts, Security Researchers, Auditors, Pen-testers, Threat Actors:  Red-teamers, blue-teamers, and threat actors alike have access to rely on CVSS scoring in order to understand system vulnerability, plan attacks and implement countermeasures.  (choose the light)
  • Makers and providers of vulnerability scanning, and  Endpoint Detection and Response Platforms:  They can leverage the NVD feed to provide CVSS scoring for host and device scans.
  • Makers, providers, users of SIEM and Log Collection platforms:  They can attempt to detect CVEs being actively exploited and apply a severity score that correlates to a perceived vulnerability to address countermeasures during and after attack.
A link to resources to detailed information can be found here:

CVSS Versions and Release Dates 

Like some people say, "Nothing is perfect".  I think we all know by now, how right that is.  It definitely goes without saying, but I'll say it anyway!

Historically CVSSv1-3 however, seem to lack the ability to describe, in sufficient detail, vulnerabilities related to Internet-of-Things (IoT) like medical devices, grid, automobile, aircraft, drone and generally -  embedded systems.  In CVSSv3.1 released in 2019 contains a framework for extending CVSS.

The CVSS does not have specialized scoring for industry verticals, thus does not have the language or the scope to accurately measure risk, only severity ratings of software vulnerabilities.

CVSS VersionYear ReleasedLimitations
CVSSv12005Had not been peer reviewed when released.
CVSSv22007Questions of accuracy due to lack of granularity in several metrics, weak definitions that resulted in less accurate scoring. Slow to accommodate the changing landscape of modern risk. Of a scoring range that had levels 0-10, only had 3 levels of severity - Low/Medium/High.
CVSSv3.02015Accounted for the physical attack layer, but still did not address major issues with scoring for confidentiality of data amongst other unresolved issues. Levels of severity increased from 3 to 5 levels of a 0-10 scoring range - None/Low/Medium/High/Critical.
CVSSv3.12019Includes updates to the user guide, a framework for extending the CVSSv3 to provide flexibility for industry verticals including healthcare, automotive and industrial sectors. Formulation and scoring improvements.

Mapping CVSS to MITRE ATT&CK

The intertwining of  Vulnerability Management and Cyber Threat Intel is uncontestable.  It is natural when thinking about security weaknesses that we should easily imagine that lurking in the obfuscated digital shadows is a threat actor, an attacker, waiting to exploit those weaknesses. 

The great work that MITRE has accomplished in describing the tactics, techniques and procedures (TTPs) of real-world attacks, and then being able to corelate those with attack groups (nation state attackers, cybercriminals and hacktivists) builds a dossier that allows us, the security community,  to threat map based on victim-profile (Industry Segment) to anticipate the anticipated modus operandi of attack groups that typically target a given industry.

Some brilliant work from Aditya Kuppa, Lamine Aouad, Nhien-An Le-Khac that can be found on the ACM Digital Library describes in detail about how to programmatically correlate CVSS to MITRE Att&ck techniques.  

A link to their work can be found here:  https://dl.acm.org/doi/fullHtml/10.1145/3465481.3465758 

Additionally, in October 2020, MITRE released a rubric (xlsm on github)  for effectively applying CVSS to medical devices.  The U.S. Food and Drug Administration has officially qualified this rubric as one of several Medical Device Development Tools (MDDTs) on its website.   

MITRE CVSS Rubric for Medical Devices:  https://github.com/mitre/md-cvss-rubric-tools 

Common Languages Change and Evolve

As common languages like CVSS and ATT&CK continue to evolve and change to meet industry requirements they don't need to be perfect, they just need to be adaptive.  

 

Thursday, 11 March 2021

TryHackMe: Nessus Room Writeup

On TryHackMe, the Nessus room not only introduces us to vulnerability scanning but it is a reminder that even the home user, student and hobbyist can run a cybersecurity vulnerability scanner at home with Tenable Nessus Essentials.


Nessus Scanner requires about 30GB of initial disk space. That disk space requirement will grow over time because Nessus will store the results from each scan into its database. Also as Nessus plugins get released and updated, that will also cause the data storage size to increase.

The Nessus room consists of 5 tasks:

Introduction - where you learn about Nessus scanner’s basic purpose
Installation - where you learn how to install Nessus on Kali Linux
Navigation and Scans - where you learn to move about the console
Scanning! - Lab with a target machine that you can run scans against
Scanning a Web Application! - Lab where you perform a specialized web app scan

The last 3 of the above tasks are those that require responses in the room. Make sure that when you work in this lab you are using your own Kali Linux machine (or VM) and connecting to the Nessus room labs with openVPN. This is because the minimum Hardware Requirements (https://docs.tenable.com/nessus/Content/HardwareRequirements.htm) for Nessus is 30GB of disk space for Nessus itself. The AttackBox on TryHackMe has 25GB of disk space (at the time of publishing this writeup) in total which will not accommodate the Nessus installation.

Navigation and Scans


THM: What is the name of the button which is used to launch a scan?




THM: What side menu option allows us to create custom templates?




THM: What menu allows us to change plugin properties such as hiding them or changing their severity?




THM: In the 'Scan Templates' section after clicking on 'New Scan', what scan allows us to see simply what hosts are alive?




THM: One of the most useful scan types, which is considered to be 'suitable for any host'?




THM: What scan allows you to 'Authenticate to hosts and enumerate missing updates'?




THM: What scan is specifically used for scanning Web Applications?


Scanning!


THM: Create a new 'Basic Network Scan' targeting the deployed VM. What option can we set under 'BASIC' (on the left) to set a time for this scan to run? This can be very useful when network congestion is an issue.

New Scan button > Basic Network Scan > Settings > Schedule



THM: Under 'DISCOVERY' (on the left) set the 'Scan Type' to cover ports 1-65535. What is this type called?




After the scan completes, which 'Vulnerability' in the 'Port scanners' family can we view the details of to see the open ports on this host?




If you click on the above line-item, you will navigate to a detail page that shows which ports have been detected:



THM: What Apache HTTP Server Version is reported by Nessus?

To find the version of Apache HTTP Server click on the below line-item:



You will find the version in the following detail view:



Scanning a Web Application!


This scan you will set up like the Basic Network Scan but you will select the Web Application Tests as the Scan Type.
  1. New Scan button > Web Application Tests
  2. Enter the ip into the target text field
  3. Click Save
  4. Launch the scan and wait for results
THM: What is the plugin id of the plugin that determines the HTTP server type and version?


In the vulnerabilities Tab of the scan you will notice a grouping of 2 vulnerabilities:




Click on the HTTP (Multiple Issues) line-item and you will see the following:




Then click on the line item “HTTP Server Type and Version” and you will see the plugin ID as shown below:




THM: What authentication page is discovered by the scanner that transmits credentials in cleartext?


Click on the line item “Web Server (Multiple Issues)”.




Then click on the line-item “Web Server Transmits Cleartext Credentials:



Under the Output section you will see the page that transmits cleartext Credentials:



THM: What is the file extension of the config backup?


Click on the “Backup Files Disclosure” vulnerability line-item:



The extension can be found under the Output section in the vulnerability detail:




THM: Which directory contains example documents? (This will be in a php directory)




THM: What vulnerability is this application susceptible to that is associated with X-Frame-Options?

Tuesday, 9 March 2021

Passing the CompTIA PenTest+ and What Helped Me

This past January 2021, I passed the CompTIA PenTest+ after failing the test in October 2020. It had been a long time since attempting any certificates and I was determined to jump over another hurdle. I notice that the methods of learning that work best for me is to leverage a variety of materials. 

 I ended up using 4 books and 2 online training modules and I held myself to a daily schedule.  I put these videos together to tell my story in the event that this will help motivate and help others who are on that PenTest+ journey.

Pulling from a variety of study resources like online flashcards, study-guide books, practice test books with online modules, complete digital training with videos, practice test and hands on labs will help.  Understanding the test psychology was a key component of succeeding on passing the test.  The test psychology is best understood by using the practice tests from Cybex and McGraw Hill.

This is the longer version of my advice in this video: 


For those of you who want the condensed version, I did my best to package up the most important elements into this 5 minute video:

   

Good luck on your PenTest+ study journey, friends!


Sunday, 12 January 2020

How to Close the Cybersecurity Workforce Gap

In my YouTube channel introduction video I spoke briefly about the Cybersecurity workforce gap. In my second video "Filling the Cybersecurity workforce Gap" we focused on taking a deeper dive into the report by the Center for Strategic and International Studies.



In viewing the report that was released in January 2019 we learn that by 2022 a 1.8 million global shortage of cybersecurity job candidates was projected.  This means that business would be looking to fill cybersecurity jobs for which there would be no available candidates.

The report alluded to skill areas that were of most interest and value:
  1. Security Analysts and Engineers
  2. Infrastructure Cyber Defense Specialists
  3. Specialists in Intrusion Detection and Network Forensics
  4. Vulnerability Analysts and Penetration Testers 
  5. Security Software and Tool Developers
  6. Infrastructure/Network/Systems Security Architects
  7. Incident Response Analysts and Responders
  8. Security Operation Center Analysts
  9. Application Security Expertise
  10. Knowledge in cryptography, system internals, secure coding principles, low level programming languages, knowledge of both exploits and mitigation
A link to the report can be found here:  The Cybersecurity Workforce Gap

A report by the (ISC)^2 that discovered a more extreme gap can be found here:  Strategies for Building and Growing Strong Cybersecurity Teams

Please subscribe to my channel and click the bell to receive notifications when I post future videos.


The workforce gap is a way that we can understand the industry based on supply and demand of job candidates and the candidate profile that employers are requesting.

Closing the workforce gap is not a point of arrival. It isn't something that stays shut. It is a continuous effort that is more easily achieved when both government and private sector build and maintain the infrastructure and programs on which candidates are able to navigate, build (and maintain) their knowledge, experience and careers.

Friday, 27 December 2019

Happy New Year 2020 and Welcoming the Unforeseen Challenges

I thought that the New Year 2020 might be a great time to put some of my musings about security out into the digital universe. Starting a blog after almost 20 years in Information Technology and after almost 4 years in Information Security seems a bit behind schedule. I think things are getting interesting though, don't you?



Attackers have been developing their own hierarchies, their own industries and complex webs of mules and middlemen - their own CEOs.

Artificial Intelligence and big data, while beacons to a hopeful global economy also offer the deliverance of an entirely new and relentless loosely coupled e-machinery with which to pillage, plunder, hoard and exchange data-diamonds behind the invisible cloak of physics and engineering wizardry.

As security practitioners, we often catch ourselves asking "Where do we start?" and "When will this end?"



Thus we find ourselves on an infinite continuum where both the beginning and the end are not finite concepts. As one enters and works within different organizations, at times one can feel like an alchemist - sensing, measuring and intuiting the needs of the organization and balancing not just projects but perceptions, testing ideas, challenging opinions and manifesting strategy within the constraints of budget, time and attitude.

With the above said, this blog will supplement my new cyber-security YouTube Channel entitled "Paranoid Pawn" (Please subscribe to my channel and click the bell to receive notifications when I post future videos).




I hope my posts and videos will inspire thought, comments, correction, growth, input, outbursts and laughter.

In my first video of 2020 I introduce my channel focus and highlight the global cybersecurity workforce shortage.  You can find it here:


Happy New Year 2020 everyone.