# Day 9

## GRC Day 9: Nine o'clock, make GRC fun, tell no one. <a href="#e69d" id="e69d"></a>

**Introduction to GRC**

Governance, Risk, and Compliance (GRC) plays a crucial role in any organisation to ensure that their security practices align with their personal, regulatory, and legal obligations. Although in general good security practices help protect a business from suffering a breach, depending on the sector in which an organisation operates, there may be external security regulations that it needs to adhere to.

Let's take a look at some examples in the financial sector:

* **Reserve Bank Regulations:** In most countries, banks have to adhere to the security regulations set forth by the country's reserve bank. This ensures that each bank adheres to a minimum security level to protect the funds and information of their customers.
* **SWIFT CSP:** Banks use the SWIFT network to communicate with each other and send funds. After a [massive bank breach resulted in a $81 million fraudulent SWIFT transfer](https://www.wired.com/2016/05/insane-81m-bangladesh-bank-heist-heres-know/), SWIFT created the Customer Security Programme (CSP), which sets the standard of security for banks to connect to the SWIFT network.
* **Data Protection:** As banks hold sensitive information about their customers, they have to adhere to the security standards created by their data regulator (usually the reserve bank in most countries).

When you run a large organisation with multiple different teams, how do you stay on top of all these regulations and ensure that good security is applied by all teams? This is where GRC comes in. They play a crucial role in understanding external security standards, translating them into internal standards, and then ensuring that they are applied by all teams to help reduce the organisation's risk to an acceptable level. Let's take a quick look at the three functions of GRC.

**Governance**

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*C6_IfFdj_SHEJT8S.png" alt=""><figcaption></figcaption></figure>

Governance is the function that creates the framework that an organisation uses to make decisions regarding information security. Governance is the creation of an organisation's security strategy, policies, standards, and practices in alignment with the organisation's overall goal. Governance also defines the roles and responsibilities that everyone in the organisation has to play to help ensure these security standards are met.

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*QF8yGG-jlljdA9WT.png" alt=""><figcaption></figcaption></figure>

**Risk**

Risk is the function that helps to identify, assess, quantify, and mitigate risk to the organisation's IT assets. Risk helps the organisation understand potential threats and vulnerabilities and the impact that they could have if a threat actor were to execute or exploit them. By simply turning on a computer, an organisation has some level of risk of a cyber attack. The risk function is important to help reduce the overall risk to an acceptable level and develop contingency plans in the event of a cyber attack where a risk is realised.

**Compliance**

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*WVR17gvw54KEV-nm.png" alt=""><figcaption></figcaption></figure>

Compliance is the function that ensures that the organisation adheres to all external legal, regulatory, and industry standards. For example, adhering to the [GDPR law](https://gdpr-info.eu/) or aligning the organisation's security to an industry standard such as NIST or ISO 27001.

#### **Identification of Risks** <a href="#id-1427" id="id-1427"></a>

To assess risk, we must first identify the factors that can cause revenue or reputation loss resulting from cyber threats. This exercise requires carefully assessing the attack surface of the organisation and identifying areas which might be used to harm the organisation. Examples of identified risks can be:

* An unpatched web server.
* A high-privileged user account without proper security controls.
* A third-party vendor who might be infected by a malware connecting to the organisation's network.
* A system for which support has ended by the vendor and it is still in production.

An organisation might identify several other risks in addition to these examples. However, in addition to just identifying risks, these risks also need to be quantified. After all, the likelihood of materialising a risk on a cordoned-off and isolated server differs greatly from that of a public-facing server hosting a web frontend. Similarly, the impact of a risk materializing on a crown jewel, such as a main database server containing confidential information, differs greatly from that of a development server with dummy data.

**Assigning Likelihood to Each Risk**

To quantify risk, we need to identify how likely or probable it is that the risk will materialise.

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*Bmyixkk3mu48YJi8.png" alt=""><figcaption></figcaption></figure>

We can then assign a number to quantify this likelihood. This number is often on a scale of 1 to 5. The exact scale differs from organisation to organisation and from framework to framework. Likelihood can also be called the probability of materialisation of a risk. An example scale for likelihood can be:

1. **Improbable:** So unlikely that it might never happen.
2. **Remote:** Very unlikely to happen, but still, there is a possibility.
3. **Occasional:** Likely to happen once/sometime.
4. **Probable:** Likely to happen several times.
5. **Frequent:** Likely to happen often and regularly.

It might be noticed that while we are trying to quantify the risk, we still don't define exact quantities of what constitutes several times and what constitutes regularly, etc. The reason is that the likelihood for a server which has very high uptime requirements will be different from a server that is used infrequently. Therefore, the likelihood scale will differ from case to case and from asset to asset. On the flip side, we can see that this scale provides us with a very usable scale of differentiating between different probabilities of occurrence of a certain event.

**Assigning Impact to Each Risk**

Once we have identified the risks and the likelihood of a risk, the next step is to quantify the impact this risk's materialisation might have on the organisation. For example, if there is a public-facing web server that is unpatched and gets breached, what will be the impact on the organisation?

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*U07QEthHDDq-tODk.png" alt=""><figcaption></figcaption></figure>

Different organisations calculate impact in different ways. Some organisations might use the CVSS scoring to calculate the impact of a risk; others might use their own rating derived from the Confidentiality, Integrity, and Availability of a certain asset, and others might base it on the severity categorisation of the incidents. Similar to likelihood, we also quantify impact, often on a scale of 1 to 5. An example scale of impact can be based on the following definitions.

1. **Informational:** Very low impact, almost non-existent.
2. **Low:** Impacting a limited part of one area of the organisation's operations, with little to no revenue loss.
3. **Medium:** Impacting one part of the organisation's operations completely, with major revenue loss.
4. **High:** Impacting several parts of the organisation's operations, causing significant revenue loss
5. **Critical:** Posing an existential threat to the organisation.

**Risk Ownership**

The last step to performing a risk assessment is to decide what to do with the risks that were found. We can start by performing some calculations on the risk itself. The simplest calculation takes the likelihood of the risk and multiplies it with the impact of the risk to get a score.

<figure><img src="https://miro.medium.com/v2/resize:fit:700/0*1A-lIQ_zo9Sr2hom.png" alt=""><figcaption></figcaption></figure>

Some risk registers make use of more advanced rating systems such as DREAD. Assigning scores to the risks helps organisations prioritise which risks should be remediated first.

While you may think the simplest answer is to secure the system so there is no risk, in real life, it isn't that simple. Implementing more security costs more money, and it doesn't help if we spend more money on security than what we risk losing if we leave open the risk.

In this last step, we decide who owns the risks that were identified. These team members are then responsible for performing an additional investigation into what the cost would be to close the risk vs what we could lose if the risk is realised. In cases where the cost of security is lower, we can **mitigate** the risk with more security controls. However, were it is higher, we can **accept** the risk. Accepted risks should always be documented and reviewed periodically to ensure that the cost has not changed.

**1. What does GRC stand for?**

```java
CopyAns: Governance, Risk, and Compliance (GRC)
```

**2. What is the flag you receive after performing the risk assessment?**

```markdown
Copy
# Vendor 1 


1. Data in transit and data at rest needs to be encrypted with AES encryption as a requirement for this project. What type of AES encryption does your company use for data in transit and data at rest

Vendor's Response:
AES-256 for data in transit and none for data at rest

Impact     - Critical 
Likelihood - Very Likely

2. What kind of access controls do you have to ensure data is accessed only by authorized people?

Vendor's Response:
Data can be accessed by all people in the organisation

Impact     - Critical 
Likelihood - Very Likely


3. How long do you keep client data after the case is closed?

Vendor's Response:
2 weeks to 1 month

Impact     - Critical 
Likelihood - Likely





# Vendor 2


1. Data in transit and data at rest needs to be encrypted with AES encryption as a requirement for this project. What type of AES encryption does your company use for data in transit and data at rest?

Vendor's Response:
None for data at rest and none for data in transit

Impact     - High
Likelihood - Very Likely

2. What kind of access controls do you have to ensure data is accessed only by authorized people?

Vendor's Response:
Data can be accessed only on a need-to-know-basis

Impact     - Critical 
Likelihood - UnLikely

3. How long do you keep client data after the case is closed?

Vendor's Response:
1 week to 2 weeks

Impact     - Critical 
Likelihood - Possible





# Vendor 3


1. Data in transit and data at rest needs to be encrypted with AES encryption as a requirement for this project. What type of AES encryption does your company use for data in transit and data at rest?

Vendor's Response:
None for data at rest and none for data in transit

Impact     - High
Likelihood - Very Likely

2. What kind of access controls do you have to ensure data is accessed only by authorized people?

Vendor's Response:
Data can be accessed only on a need-to-know-basis

Impact     - Critical
Likelihood - UnLikely

3. How long do you keep client data after the case is closed?

Vendor's Response:
More than 1 month


Impact     - Critical
Likelihood - Very Likely
```

1. Understand and perform the assessment based on impact and likelihood, and add a relevant description.
2. Review the risk scores and select the vendor with the lowest risk.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://foothold.gitbook.io/blog/advent-of-cyber-2024/day-9.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
