Risk
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
Risk is how likely a harmful event is and how bad its impact would be. Watch one small firm rate three risks (phishing, a stolen laptop and a flood) from 1 to 5 for likelihood and impact, score them with a three-line Python function, place them on a risk matrix and in a risk register, then choose a response for each: mitigate, share or accept. MFA moves phishing from high to medium, and what is left is residual risk.
What risk is
Risk is the chance that a threat causes harm, and how bad that harm would be. NIST describes it with two parts: likelihood (how probable) and impact (how much damage). This grid crosses the two.
risk how likely a harmful event is,
and how bad its impact would be
likelihood 1 rare ... 5 almost certain (left → right)
impact 1 minor ... 5 severe (front → back)
the grid every pair of the two ratings has a squareاقرأ الدرس خطوة بخطوة
What risk is
Risk is the chance that a threat causes harm, and how bad that harm would be. NIST describes it with two parts: likelihood (how probable) and impact (how much damage). This grid crosses the two.
risk how likely a harmful event is, and how bad its impact would be likelihood 1 rare ... 5 almost certain (left → right) impact 1 minor ... 5 severe (front → back) the grid every pair of the two ratings has a squareRate it, then multiply
To compare risks, rate each one twice from 1 (low) to 5 (high): how likely, and how bad. Multiplying the two gives a score from 1 to 25. This small Python function, risk(), does exactly that.
def risk(likelihood, impact): return likelihood * impact risk(1, 1) = 1 the lowest score risk(5, 5) = 25 the highest score bands 10-25 high · 5-9 medium · 1-4 lowRisk 1: phishing
First risk: a phishing email steals a staff password. It happens often, so likelihood 4. The harm to email and files is moderate: impact 3. risk(4, 3) gives 12, in the red, high corner.
print(risk(4, 3)) # phishing → 12 likelihood 4 phishing emails arrive all the time impact 3 one account: email and shared files band high (10 or more)Risk 2: a stolen laptop
Second: a staff laptop is stolen. Likelihood 3. Its disk is encrypted, so a thief cannot read the files, and the impact is lower: 2. risk(3, 2) gives 6, a medium risk.
print(risk(3, 2)) # laptop → 6 likelihood 3 laptops travel and get left behind impact 2 encrypted disk: lose the device, not the data band mediumRisk 3: a flood
Third: a flood in the server room. Rare, so likelihood 1, but severe: impact 5. Score 5, the same band as the laptop with a very different shape. Rare but terrible risks still need a plan.
print(risk(1, 5)) # flood → 5 likelihood 1 it has never happened here impact 5 servers and records ruined band medium, like the laptop (6)The risk register
A risk register lists every risk with its scores and an owner. Ranking it shows what to fix first. This firm's appetite, the risk it will live with: anything 10 or above is treated now. Phishing is.
risk register (ranked) Phishing 4 × 3 = 12 High Laptop theft 3 × 2 = 6 Medium Flood 1 × 5 = 5 Medium appetite below 10 may be accepted 10 or above: treat nowFour ways to respond
NIST lists four responses. Avoid: stop the risky activity. Mitigate: add controls that lower likelihood or impact. Share or transfer: let someone else carry part of it, like insurance. Accept: knowingly live with it.
risk responses (NIST SP 800-39) Avoid stop doing the risky thing Mitigate add controls that lower likelihood or impact Share let someone else carry part of it (share or transfer), like insurance Accept knowingly live with it, written down, with an ownerMitigate phishing with MFA
Phishing is mitigated with MFA, a second proof at sign-in. A stolen password alone no longer opens the account, so likelihood drops from 4 to 2. risk(2, 3) gives 6: down to medium.
MFA multi-factor authentication: password plus a second proof (a code or a security key) print(risk(2, 3)) # MFA → 6 was 12 likelihood 4 → 2 impact stays 3Share one, accept one
For the flood the firm buys insurance, which shares the cost of repairs. It shares the money, not the harm, so the score stays 5. Laptop theft, at 6, is within appetite: accepted, written down, with an owner.
flood share: insurance pays for repairs the flood can still happen: score 5 laptop accept: 6 is below 10 owner named, reviewed every year avoid not used here (it means stopping the activity)Residual risk
What remains after controls is residual risk. It is never zero: phishing is still 6. Risks also change, for example when CISA lists a flaw in software you use as exploited. So review the register regularly.
residual risk what is left after the response Phishing 6 Medium Laptop theft 6 Medium Flood 5 Medium review new threats, new flaws (CISA KEV), new systems: rate again
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01A risk is rated likelihood 2 and impact 4 on 1-5 scales. Using risk = likelihood × impact, what is its score?
2 × 4 = 8. In Python, risk(2, 4) returns 8. On the firm's bands (high 10 or more, medium 5-9) that is a medium risk.
02The firm adds MFA so a stolen password alone no longer opens an account. Which part of the phishing risk does that change?
MFA makes a successful break-in less likely, so likelihood drops from 4 to 2. The harm if it did happen is the same, and the risk is never zero: what is left is residual risk.
03A firm buys insurance against flood damage to its server room. Which NIST risk response is that?
Insurance shares the cost with someone else. It does not stop the flood or its harm, so the firm still needs a plan, such as off-site backups.
04What is residual risk?
NIST defines residual risk as the portion of risk remaining after security measures have been applied. Phishing still scores 6 after MFA.
05Laptop theft scores 6, below the firm's appetite line of 10. What does accepting it involve?
Accepting is a decision, not neglect: the risk stays in the register with an owner and is reviewed again later. Banning laptops would be avoiding the risk.
المسرد
- Risk
- How likely a harmful event is, combined with how bad its impact would be. NIST describes it as a function of likelihood and adverse impact.
- Likelihood and impact
- Likelihood is how probable an event is; impact is how much damage it would do. Each is often rated on a small scale, such as 1 (low) to 5 (high).
- Risk matrix
- A grid with likelihood on one axis and impact on the other. Each square is coloured by how serious that pair is, so risks can be compared at a glance.
- Risk register
- A list of an organisation's risks with their ratings, chosen response and an owner for each, ranked so the most serious are handled first.
- Risk appetite
- The amount of risk an organisation is willing to accept. Risks above it must be treated; those below it may be accepted.
- Risk response
- What an organisation does about a risk. NIST lists accept, avoid, mitigate, and share or transfer.
- Residual risk
- The risk that remains after controls and other responses have been applied. It is never zero.
- Multi-factor authentication (MFA)
- Signing in with a second proof as well as the password, such as a code or a security key, so a stolen password alone is not enough.
الملاحظات والمصادر
- The ratings belong to one made-up small firm, to show the method. Another firm, with other systems and people, would rate the same risks differently.
- Multiplying two 1-5 ratings is a common shortcut (OWASP writes Risk = Likelihood × Impact). NIST SP 800-30 combines likelihood and impact levels in a table instead. Either way, the ratings are careful judgements, not measurements.
- The bands (high 10 or more, medium 5-9, low 1-4) and the appetite line at 10 are this firm's choices. Each organisation sets its own.
- NIST lists sharing and transferring together. Insurance moves part of the financial cost; it does not stop the harm, and the firm is still responsible for its data.
- This course is about defence. It explains attacks only at the level needed to rate and reduce them, never how to carry one out.
- NIST SP 800-30 Rev. 1: Guide for Conducting Risk Assessments
- NIST SP 800-39: Managing Information Security Risk
- NIST CSRC Glossary: risk
- NIST CSRC Glossary: risk response
- NIST CSRC Glossary: residual risk
- NIST IR 8286: Integrating Cybersecurity and Enterprise Risk Management (ERM)
- NIST IR 8286A: Identifying and Estimating Cybersecurity Risk for ERM
- OWASP Risk Rating Methodology
- CISA: More than a Password (multi-factor authentication)
- CISA: Known Exploited Vulnerabilities Catalog
- Python Tutorial: Defining Functions
اختبار يتاح بعد الخطوة الأخيرة.