Skip to content
ImagineWorld

Classify Your Data and Assets

node_idnode-book_a-ciso-guide-to-cyber-resilience_chapter-13-classify-your-data-and-assets
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num13
chapter_titleClassify Your Data and Assets
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 13 — Classify Your Data and Assets

Section titled “Chapter 13 — Classify Your Data and Assets”

This chapter is about classifying your data and assets. We covered classifying data according to the impact level of its loss in Chapter 10. A fully developed mature advanced information security program has an asset inventory and has classified those assets as critical. If you have a large-scale environment, this task can be daunting.

You should start with the assets that have critical data on them. Think about the critical data your company needs to protect and any device, server, or host on which information is processed, transferred, and stored. No problem, right?

In this chapter, we’re going to cover the following main topics:

  • Start with your data
  • Classifying your assets
  • Training
  • Monitoring
  • Subnetting
  • Segmentation

I covered how to classify the risk of loss of data and its impact in Chapter 10. When you are thinking about classifying your data, you need to consider the impact of the loss of the data. As a quick refresher, let’s review impact:

  • Low impact is considered a minor inconvenience if the data is released. It could be names and telephone numbers that are already public in a telephone book or white pages.
  • Moderate impact can be more substantial, such as financial losses due to identity theft, denial of benefits, or public humiliation.
  • High impact could be catastrophic, with serious financial losses and even loss of life. High impact typically has to do with law enforcement.

Defining data classification should not fall on the Chief Information Security Officer (CISO). Rather, it is the responsibility of the data privacy officer, compliance, or legal teams to establish data classification levels and data protection strategies. The CISO’s role is to draft policies that enact these strategies. If your business has not yet established data classification, I strongly recommend doing so with the assistance of the legal or compliance department. Write the data classification policy by defining clear, comprehensive policies that align with the organization’s data governance framework. These policies should address aspects such as access control, encryption standards, retention periods, and data-sharing guidelines.

When you are classifying your data, take into account your company’s industry and what is important at your company. For example, if your company develops software, then the source code is critical. Table 13.1 lists some sensitive data per industry.

IndustryCritical Data
TechnologySource code
HealthcareProtected Health Information (PHI)
LegalPrivileged attorney-client information
US federal governmentControlled Unclassified Information (CUI)
CommerceCredit card payment information
EducationExport controlled research
FinanceBanking information

Table 13.1 ‒ Examples of sensitive data by industry

Every company has customer information, including their names, addresses, and phone numbers. This information is typically stored in Customer Relationship Management (CRM) software. As long as you use Salesforce or HubSpot, then you are relying on them to process and store the data. You are the data owner, so it’s your responsibility to ensure the proper access controls are configured to protect the data. You must configure the user and administrator roles, Role Based Access Controls (RBAC) based on the principle of least privilege. You need to enforce strong passwords and Multi-Factor Authentication (MFA) as described in chapter 2. In addition to the first form of authentication, a password, you use another form of authentication. This additional form of authentication may be:

  • something you know (password or pin code)
  • something you are (fingerprint, iris scan, face scan, palm scan)
  • something you have (X.509 certificate, digital token, passkey, smart card, mobile device).

The industry is moving away from passwords, referred to as passwordless, but this still is another form of multi-factor authentication.

This is another reason that you will investigate your third-party vendors as part of your compliance and risk management program. If this information was stored in a database locally, then you need to ensure all of the proper safeguards.

Similar to customer data, all companies have employee data. Your human resources data and servers are critical. They are a treasure trove of PII data. You may use a SaaS such as ADP for payroll and Human Resources management and then the data is stored in the cloud. Again, it’s your responsibility to ensure the proper access controls are configured to protect the data. You must configure the user and administrator roles based on the principle of least privilege. You need to enforce strong passwords and MFA. Also, ensure the data is encrypted in transit and when stored.

SaaS, PaaS, and IaaS

There are three types of services that you can purchase from your cloud provider. Depending on the level of control you want in your cloud, you can select Software-as-a-Service (SaaS), Platform-as-a-Service (PaaS), or Infrastructure-as-a-Service (IaaS). You are probably familiar with SaaS offerings, such as Google Workspace or Salesforce. PaaS gives you more control over your cloud environment. By the book, PaaS is considered best for developers. The Operating System (OS) is managed by the Cloud Service Provider (CSP), so all the developer has to worry about is the applications they are developing. IaaS gives you the most control over your cloud service. You control the OS and up. What this means is you have control over the Operating System used and the applications installed on the OS. This may sound appealing, but now you are also responsible for ensuring the OS is configured securely and patched. Suddenly all that extra control will lead to more patching and configuration responsibilities. Remember you want your OS to be configured according to CIS and you need to ensure the OS is patched regularly for vulnerabilities. If you have a small company, PaaS may be a better solution for you, so your developers can focus on writing code and not securely configuring the OS.

Figure 13.1 ‒ Cloud services: SaaS, PaaS, and IaaS

I have some vCISO clients that uses AWS Lambda. Yes, PaaS is more expensive than IaaS and you have vendor lock-in, but all you have to worry about is safeguarding your applications. Everything from the OS and below is managed by AWS. What this means is that the Operating System and all supporting hardware and software i.e cloud infrastructure is managed by AWS. Let me tell you, they do a lot. AWS patches all vulnerabilities – critical, high, medium, and low – on the OS and below. If a customer carries out a vulnerability scan, there will be zero vulnerabilities; only Info is reported, which isn’t actionable. The only thing that will come up is a certificate issue for which the customer is responsible. In addition, AWS does its own red teaming and penetration testing annually on the Lamda environment. If your company needs to be compliant with SOC2, ISO, or NIST, you will be responsible for having one annual penetration test performed. Even with AWS doing the vulnerability scanning and patching, your company is still responsible to vulnerability scan its environment to stay compliant. Instead of having to patch hundreds if not thousands of vulnerabilities, AWS does it for you. All of the major cloud providers AWS, Azure, and GCP provide a PaaS solution. I highly recommend using PaaS. It will save you time and money in the long run as well as make your cloud environment more secure. Lambda executes your code on a highly reliable and fault-tolerant infrastructure that spans several Availability Zones within a single Region. It handles code deployment and manages all aspects of infrastructure maintenance, including updates and patches. AWS X-Ray automatically encrypts data and offers the option to configure encryption using a customer-managed key. Lambda offers integrated logging and monitoring features, including compatibility with Amazon CloudWatch, CloudWatch Logs, and AWS CloudTrail. Lamba also ensures that all API traffic is secured using TLSv1.2+.1 Now, you as a customer are still responsible for monitoring your controls and ensuring there is no unintended exposure to the internet. Also, ensure all your stored data is encrypted (AES-128+). In addition, you have to implement Infrastructure as Code (IaC) and scan your code for vulnerabilities and weaknesses (SAST, DAST, OWASP ZAP, etc.). Ideally, you should continuously monitor your cloud environment, ensuring proper configuration and providing threat monitoring (CSPM/CNAPP/CIEM).

One aspect of the cloud that can be confusing is the shared responsibility model. Some things are the responsibility of the CSP and some are the responsibility of the customer. CISO Magazine ran a survey and found that “76.36% believe that CSP is responsible for security.” 2 When you couple this with the fact that 99% of cloud breaches are due to misconfigurations, you can see there is a lot of confusion when it comes to the cloud. One thing that is always the customer’s responsibility is securing the data that is stored in the cloud. This is true even if it is a SaaS product. You can see in Figure 13*.2* the responsibilities of the CSP and the cloud customer.

Figure 13.2 ‒ Shared Responsibility Model

Once you understand the critical data your company stores, you have to figure out where it resides. To do this, you may need to collaborate with the information technology department to figure out where the human resources data is stored and the development teams if you are a software development company to figure out where the source code is stored. You may already know if your company uses Salesforce or HubSpot, so you only need to review the access controls around those programs.

The hard truth is that many businesses do not know the location of their data. While they typically understand where the majority of their data resides, they are often unaware of the number of copies hidden within various laptops and servers. Hopefully, some products will help you automatically discover where your critical data resides. Products such as Varonis, Securiti, and Cloudwize.io. Data Security Posture Management (DSPM) products will provide the following features:

  • Data discovery: Discover and identify sensitive data stored in your network
  • Data classification: Classify the data as high, medium, or low based on sensitivity and impact of loss (PII and Intellectual Property (IP))
  • Risk assessment and prioritization: Evaluate the security status of the data and the surrounding controls
  • Remediation and prevention: Provide auto-remediation of controls and monitoring to ensure your controls remain in compliance with the regulations your company must follow

Once you find the sensitive data, you know the critical assets. You must document the following (if you have a data privacy officer, this task is for them) for each asset:

  • Location
  • Identified owner
  • Retention status
  • Protection status (is it in line with the policy you have defined?)

For PCI, every server where sensitive credit card data is stored and every network device (router and firewall) it traverses is considered part of the Cardholder Data Environment (CDE). When you are protecting sensitive data, you need to think similarly. The data needs to be protected on every server it is processed or stored on and while in transit. Remember, when stored, it needs to be encrypted using AES-128+, and while in transit, TLS v1.2+. MFA, Role-Based Access Control (RBAC), and the principle of least privilege need to be applied to all critical assets to ensure the securing of your sensitive data. These assets also need to be tracked and vulnerabilities scanned and patched.

Training

Conduct regular training sessions and awareness programs to educate employees about the data classification policies, the importance of data security, and their roles in safeguarding data.

Emphasize the consequences of policy violations to reinforce the importance of compliance.

Implement monitoring tools and procedures to continuously track compliance with data classification policies. This includes regular audits of data access, handling, and storage practices.

Use the insights gained from monitoring and auditing to identify areas for improvement and adjust policies as necessary to address new threats or changes in the regulatory landscape.

If you have Microsoft 365 with the proper license, you can activate Microsoft Purview. Microsoft Purview will allow you to trigger alerts if confidential information is manipulated unencrypted. Data Security Posture Management (DSPM) tools can also scan your storage repositories in the cloud and report if sensitive PII data is unencrypted or unintentionally exposed to the internet. CloudWize.io provides this feature. Its better to scan your cloud to understand the misconfigurations and fix these issues versus a hacker finding them.

Before we get into segmentation, let’s discuss subnetting. It is easy to confuse subnetting and segmentation. Yes, most likely your network has multiple subnets, but this is not segmentation. Subnets ensure the broadcast domain of devices on the network is smaller. A broadcast domain is essentially the set of all devices on a network subnet that can reach each other by broadcasts at the data link layer (Layer 2 of the OSI model). When your computer connects to the network, your network interface card typically performs certain network discovery operations that involve broadcasting or multicasting. For example, it might use Address Resolution Protocol (ARP) broadcasts to resolve IP addresses to MAC addresses within its subnet. When a network is divided into subnets, each subnet forms its broadcast domain. This means broadcasts sent by a device in one subnet are not propagated to devices in other subnets. If a network has large subnets, then potential network congestion can arise, known as a broadcast storm. Subnetting confines these broadcasts to smaller network segments, thus reducing their impact on the entire network.

Subnetting alone means your network is flat. This can cause disastrous results if ransomware is deployed on your network. Advanced ransomware can self-propagate over commonly used ports that can easily move throughout your network if you are only using subnetting. Another security risk is that if an attacker gets access to your network, they can easily move throughout your network to find your critical assets and data. An attacker wants to steal your critical data so that they can ransom it. We’ve talked about this previously, where attackers will breach your network and steal your data before they launch a ransomware attack on your network. This way, even if you have good backups, you may pay the ransom to ensure that your critical data is not released on the dark web.

In summary, subnetting is a useful network design strategy that not only organizes network addressing more efficiently but also confines broadcast traffic to smaller segments of the overall network, enhancing network performance and security.

Now that you know what subnetting is, let’s discuss segmentation. PCI-DSS specifically requires that the CDE is segmented from the rest of the network. Segmentation is enforced with firewall rules. Firewalls are used to control the traffic that is allowed to enter or leave each segment, based on defined firewall rules. Segmentation is an advanced way to ensure that simply because a hacker is on your network, they won’t be able to gain access to a critical asset or, even more importantly, critical data on a segmented subnet. You can segment a subnet from the regular network using a firewall. It’s not a simple task because you have to evaluate all of the traffic traversing your firewall to ensure you segment only specific subnets. Segmentation is not only an important safeguard for critical assets but will also protect your network from easily hacked Internet of Things (IoT) devices. Segmenting your IoT devices ensures they are separated from your regular network.

Some products are available that will easily segment your network, such as Illumio, Tufin, and VMware NSX. Some of these also provide Zero Trust capabilities, which provides even more control over your critical assets. Once your network is segmented, you need to ensure that it remains that way. Some products will monitor your firewall configurations and ensure they maintain segmentation, such as RedSeal. Micro-segmentation is also a way to segment individual assets from the network. For this, you definitely need a product for implementation.

In summary, while subnetting is used to divide a network into smaller parts for efficient routing and management, segmentation, often enforced by firewalls, is used to divide the network for security purposes, providing granular control over the traffic between different segments of the network. Both are important in network design and serve complementary roles in managing and securing a network.

The Sony hack of 2014 is one of the best examples of why you don’t want a flat network. Hackers spear-phished targeted employees and were able to gain access to the Sony network. The hackers were thought to be backed by North Korea as Sony produced a movie called The Interview that depicted the assassination of Kim Jong Un.

When employees returned from Thanksgiving break in November 2014, their computers were locked with a message from the hackers displayed on their computer screens. The attackers absconded with terabytes of confidential data, systematically erasing the original files from Sony’s computer systems. In a brazen move, they delivered ominous messages, leveraging the stolen information to demand Sony follow their ultimatums. The Sony network was down for days. Employees were forced to work using pen and paper and whiteboards.

In the treasure trove of data stolen, there were four unreleased movies and private emails that embarrassed the Sony executives. The hackers disseminated five Sony films, among them four yet-to-be-released titles, via file-sharing networks. Additionally, they exposed an extensive cache of confidential documents encompassing a wide spectrum, ranging from discreet correspondence among Sony’s top brass to sensitive salary and performance records of Sony staff.3

3 Lee, Timothy B. “ The Sony Hack: How It Happened, Who Is Responsible, and What We’ve Learned.” Vox, 14 Dec. 2014, http://www.vox.com/2014/12/14/7387945/sony-hack-explained

The attackers employed several targeted tactics in the 2014 Sony hack. One key strategy was the use of spoofed spear-phishing emails that seemingly originated from the Facebook accounts of Sony employees. These deceptive emails contained malware-infected attachments, designed to infiltrate and compromise the recipients’ computer systems. Additionally, similar emails with malware attachments were sent to personnel at AMC Theaters, where The Interview was scheduled to be screened during its Christmas opening. However, these attempts to breach AMC’s network were not successful. These tactics highlight the sophistication and targeted nature of the cyber-attack, emphasizing the importance of vigilance and robust cybersecurity measures in protecting against such threats.4

The malware installed on the employees’ computers was Wannacry ransomware. Once the ransomware was deployed, it was able to self-propagate using Server Message Block (SMB) version 1, which uses ports 139 (SMB over NetBIOS) and 445 (SMB over TCP/IP).

Note

At the time of the Sony hack, SMB v1 was commonly used in Windows networking. If your device is still using SMB v1, you should disable it and enable SMB v2 and v3. SMB v1 is not installed on Windows Pro 10 (except Home edition), Windows Pro 11, and Windows Server 2019+. If your server requires SMB v1, it’s recommended to upgrade your server to use SMB v2 or v3.

Since the Sony network was not segmented, also known as a flat network, the ransomware was able to easily self-propagate across their network, crippling their operations. Every computer and server was infected, bringing Sony’s operations to a halt. The attackers were on the Sony network for months before launching the ransomware attack. This gave them time to traverse the network and find the critical assets and data to steal. If Sony had used the safeguards we have discussed in this book, they would have been able to defend their network from the attack. Segmentation is an incredible tool that stops ransomware from self-propagating onto these critical subnets where your critical assets and data reside.

As we’ve learned in this book, the following measures would have prevented an attack such as this:

  • EDR installed on your computers and servers with ransomware rollback:
    • SentinelOne
      • Malwarebytes ThreatDown
      • Windows Defender
      • CrowdStrike
  • Secure configuration:
    • Configure SMB v3.0
      • Disable SMB v1.0
  • Offline backups:
    • Test your backups:
      • Annually - Quarterly recommended
  • Email security scanners:
    • Mimecast
      • Windows Defender add-on
      • Proofpoint
  • Security awareness training:
    • Annual security training for all employees
      • Run quarterly email phishing campaigns
  • Use an Intrusion Detection System (IDS) and/or Intrusion Prevention System (IPS):
    • On-premises:
      • Trellix IPS software - Trend Micro TippingPoint - Palo Alto Threat Prevention
      • Cloud:
      • Trellix IPS software - Amazon GuardDuty - Amazon Inspector - Azure Defender - GCP Security Command Center - CloudWize.io - Wiz.io

Quick reference for securing critical assets

Section titled “Quick reference for securing critical assets”

Based on company size, your company’s critical assets may consist of the following:

  • Basic:
    • MFA
      • RBAC
      • Principle of least privilege
      • Encryption of data in transit:
      • Enable TLS v1.2+ - Disable TLS v1.1 and below
      • Encryption of stored data:
      • Use AES 128+
      • EDR
      • CIS IG1:
      • Enable SMB v3.0 - Disable SMB v1.0
      • Use an IDS and/or IPS:
      • Cloud - Amazon GuardDuty - Amazon Inspector - Azure Defender - GCP Security Command Center - CloudWize.io - Wiz.io
  • Medium:
    • MFA
      • RBAC
      • Principle of least privilege
      • Encryption of data in transit:
      • Enable TLS v1.2+ - Disable TLS v1.1 and below
      • Encryption of stored data:
      • Use AES 128+
      • CIS IG2:
      • Enable SMB v3.0 - Disable SMB 1.0
      • Segmentation using a firewall:
      • Critical assets - IoT/OT
      • Use an IDS and/or IPS:
      1. On-premises:
        • Trellix IPS software - Trend Micro TippingPoint 2. Cloud:
      • Trellix IPS software - Amazon GuardDuty - Amazon Inspector - Azure Defender - GCP Security Command Center - CloudWize.io - Wiz.io
  • Advanced:
    • MFA
      • RBAC
      • Encryption of data in transit:
      • Enable TLS v1.2+ - Disable TLS v1.1 and below
      • Encryption of stored data:
      • Use AES 128+
      • IG2:
      • Enable SMB v3.0 - Disable SMB 1.0
      • IG3 for high-risk environments; STIGS for FedRAMP and Gov
      • Segmentation using product:
      • Critical assets - IoT/OT
      • Security Information and Event Management (SIEM)
      • Cloud Information and Event Management (CIEM)
      • Use an IDS and/or IPS
      1. On-premises:
        • Trellix IPS software - Trend Micro TippingPoint - Palo Alto Threat Prevention 2. Cloud:
      • Trellix IPS software - Amazon GuardDuty - Amazon Inspector - Azure Defender - GCP Security Command Center - CloudWize.io - Wiz.io
      • Zero Trust

In summary, taking your security program to the next level includes categorizing your critical data and assets. As the saying goes, you can’t protect what you don’t know about. As part of your asset management and inventory, you should categorize your critical assets and data. Once you know where your critical data resides, you need to also categorize the assets, whether on-premises or in the cloud, as critical and understand how data flows. Once you know what your critical assets are, you can then implement controls to secure the data.

In the next chapter, we will be covering Artificial Intelligence (AI) and cybersecurity. With AI being the next big thing and the huge move toward it, we need to consider security measures around AI and how it can be used both by hackers and for defense.