Ir al contenido
Londres, Reino Unido · Fundado en 1994
Español

Unit 4: Security Operations, Incident Response and Ethical Hacking

How organisations detect attacks, respond to incidents in a structured way, and find weaknesses before attackers do through vulnerability management and authorised testing.

Unit 4 of 5 · about 54 minutes

4.1 Monitoring, detection and the security operations centre

Preventive controls reduce the chance of an attack succeeding, but none are perfect. Organisations therefore need ways to notice when something has gone wrong, ideally early enough to stop serious harm. This is the work of security operations: collecting information about what is happening across systems, spotting signs of trouble and responding quickly.

Logs: the raw material

Most systems can record events in logs. Examples include successful and failed logins, changes to user permissions, files being accessed or deleted, firewall decisions and alerts from endpoint protection tools. Logs allow investigators to reconstruct what happened during an incident and allow monitoring tools to detect suspicious patterns as they occur.

Useful logging requires some planning:

  • decide which events matter most, starting with authentication, administrator activity and internet-facing systems;
  • make sure clocks on all systems are synchronised, so events can be placed in the correct order;
  • keep logs for long enough to support investigations, since some intrusions are discovered months later;
  • protect logs from tampering, because attackers often try to delete evidence of their activity.

Bringing information together

A medium-sized organisation may generate millions of log entries a day. A security information and event management (SIEM) system collects logs from many sources into one place, correlates them and raises alerts when it detects patterns that may indicate an attack. For example, it might flag a user logging in from two distant countries within an hour, or a large number of failed logins followed by a success.

Some organisations add automation tools that carry out routine response steps, such as disabling an account or isolating a device, once an alert meets certain conditions. Automation speeds up response but needs careful design to avoid disrupting legitimate work.

The security operations centre

A security operations centre (SOC) is the team, whether in-house or provided by a specialist company, that monitors alerts, investigates them and coordinates response. Analysts typically work in tiers: first-line analysts triage incoming alerts, while more experienced staff handle complex investigations and proactively search for hidden threats, an activity known as threat hunting. Smaller organisations often use a managed detection and response service rather than building their own SOC.

The challenge of alert fatigue

A common problem is that monitoring tools generate too many alerts, many of them false positives: alerts about activity that turns out to be harmless. When analysts are overwhelmed, they may miss the real attack hidden among them. Good security operations continually tune detection rules, prioritise alerts by severity and business importance, and record the outcome of each investigation so that patterns can be improved.

Remember: people are a vital source of detection. A colleague who reports an odd email, an unexpected MFA prompt or a missing file may provide the first sign of an attack that no tool has noticed.

Useful indicators

Analysts look for signs such as:

  • logins at unusual times or from unexpected locations or devices;
  • new administrator accounts or sudden changes to permissions;
  • security tools being disabled;
  • large volumes of data leaving the network, especially to unfamiliar destinations;
  • many files being renamed or modified in a short period, which can indicate ransomware;
  • mailbox rules that automatically forward or delete messages, a common sign of email compromise.

No single indicator proves that an attack is under way. A senior manager may genuinely be travelling, and an administrator may legitimately create a new account. Analysts therefore combine several signals with knowledge of the business, and check with the people involved before drawing conclusions. This is why a short, accurate record of normal activity, such as planned changes and staff travel, makes investigations much faster.

Common mistakes

  • Collecting logs but never reviewing them.
  • Monitoring only office hours, when many attacks are timed for nights and weekends.
  • Failing to include cloud services in monitoring.
  • Making it difficult or embarrassing for staff to report concerns.

In practice

Find out how security monitoring works in your organisation. Who reviews alerts, and outside working hours? Are cloud email and file services included? How do staff report suspicious activity, and what happens to those reports? If you manage a small business without dedicated staff, consider whether built-in alerting in your email and cloud services is switched on and who receives the alerts. Simply making sure that critical alerts reach a named person who will act on them is a significant improvement.

4.2 Responding to incidents

A security incident is an event that actually or potentially compromises the confidentiality, integrity or availability of information or systems. Incidents range from a single misdirected email to an organisation-wide ransomware attack. How an organisation responds often determines whether an incident becomes a minor episode or a crisis. A calm, rehearsed and structured approach consistently produces better outcomes than improvisation.

The incident response lifecycle

Widely used frameworks, including guidance published by the US National Institute of Standards and Technology (NIST), describe incident response as a cycle. A practical version has the following phases.

  1. Preparation: creating an incident response plan, defining roles, setting up contact lists, arranging specialist support in advance and practising.
  2. Detection and analysis: recognising that an incident may be happening, confirming it, judging its scope and severity, and starting a record of actions and decisions.
  3. Containment: limiting the damage, for example by disconnecting affected devices, disabling compromised accounts or blocking malicious addresses.
  4. Eradication: removing the cause, such as malware, attacker accounts or the exploited weakness.
  5. Recovery: restoring systems and data safely, monitoring closely for any return of the attacker, and returning to normal operations.
  6. Post-incident review: learning lessons and improving controls, plans and training.

In practice phases overlap, and teams may cycle back as they discover more about the incident.

Roles and communication

An incident response plan should name who does what. Typical roles include an incident lead who coordinates the response, technical responders, a communications lead, a link to senior management, and access to legal, data protection and HR advice. Clear communication matters as much as technical work. Staff need to know what to do and what not to say; customers, regulators, insurers and partners may need to be informed. Plans should include ways to communicate if email or other normal systems are unavailable.

Tip: keep a simple, time-stamped log of every action and decision from the moment an incident is suspected. It supports investigation, regulatory reporting and insurance claims, and it is very hard to reconstruct accurately afterwards.

Preserving evidence

The instinct when something goes wrong is to wipe and rebuild affected systems immediately. This may destroy evidence needed to understand how the attacker got in and whether they are still present. Where possible, isolate systems rather than switching them off or wiping them, and take advice before destroying data. Specialist incident response providers can help with forensic investigation.

Legal and regulatory obligations

In many countries, incidents involving personal data must be reported to a regulator and sometimes to affected individuals within set time limits. Under the EU General Data Protection Regulation (GDPR), for example, a reportable personal data breach must generally be notified to the supervisory authority within 72 hours of the organisation becoming aware of it. Sector rules may impose additional duties. The incident plan should identify who decides whether notification is required.

Paying ransoms

Ransomware incidents raise the question of whether to pay. Law enforcement and government agencies in many countries advise against payment, because it funds criminal activity and does not guarantee that data will be restored or that stolen data will be deleted. Payments may also be illegal in some circumstances, for example where sanctions apply. Any such decision needs senior, legal and specialist input and should never be made by an individual under pressure.

Practising: tabletop exercises

A tabletop exercise is a discussion-based rehearsal in which a team works through a realistic scenario, such as "the finance system is encrypted at 4pm on a Friday". Exercises reveal gaps in plans, contact lists and decision-making before a real incident does. They are inexpensive and valuable for organisations of any size.

Common mistakes

  • Having a plan that nobody has read or tested.
  • Delaying escalation in the hope that the problem will go away.
  • Restoring from backups before closing the route the attacker used, leading to reinfection.
  • Skipping the post-incident review once systems are working again.

In practice

Find your organisation's incident response plan, or the nearest equivalent. Check that you know how to report a suspected incident, outside normal hours as well as during them. If you are a manager, suggest a short tabletop exercise based on a likely scenario for your area, such as a lost laptop containing customer data. Afterwards, list three things the exercise revealed and agree who will fix each one.

4.3 Vulnerability management and ethical hacking

Attackers look for weaknesses. Defenders can gain an advantage by finding and fixing those weaknesses first. This lesson introduces vulnerability management, the continuous process of identifying and addressing weaknesses, and ethical hacking, in which authorised specialists use attackers' techniques to test defences.

Vulnerabilities and how they are tracked

A vulnerability is a weakness that could be exploited, such as a flaw in software, an insecure configuration or a missing control. Publicly known software vulnerabilities are usually given an identifier in the Common Vulnerabilities and Exposures (CVE) system, which allows everyone to refer to the same issue consistently. Many are also given a severity score using the Common Vulnerability Scoring System (CVSS), on a scale from 0 to 10.

Severity scores are useful but not sufficient for prioritising work. A medium-severity flaw on an internet-facing system that attackers are actively exploiting may be more urgent than a critical flaw on an isolated test machine. Some government agencies publish lists of vulnerabilities known to be exploited in real attacks, which help organisations decide what to fix first.

The vulnerability management cycle

  1. Discover: maintain an inventory of assets and scan them regularly with vulnerability scanning tools.
  2. Assess: judge each finding by severity, exposure, whether it is being exploited, and the importance of the affected system.
  3. Prioritise: decide what to fix first, setting target timescales for each priority level.
  4. Remediate: apply patches or configuration changes, or put temporary mitigations in place where a fix is not yet possible.
  5. Verify: rescan to confirm the weakness has been resolved, and track metrics over time.

What ethical hacking is

Ethical hacking means using the tools and techniques of attackers, with explicit permission, to find weaknesses so they can be fixed. Its most common form is the penetration test, a time-limited exercise in which testers attempt to break into specified systems and report what they achieved and how. Related activities include:

  • Vulnerability assessments, which identify and list weaknesses without necessarily attempting to exploit them;
  • Red team exercises, which simulate a realistic, goal-driven attack over a longer period to test detection and response as well as prevention;
  • Social engineering tests, such as authorised phishing simulations or attempts to gain physical entry;
  • Bug bounty programmes, in which organisations invite independent researchers to report vulnerabilities in exchange for recognition or payment, under published rules.

Authorisation is what makes it ethical

The technical activities of an ethical hacker and a criminal can look identical. The difference is permission. In many countries, accessing computer systems without authorisation is a criminal offence, regardless of intentions. Legitimate testing therefore always rests on written agreement from someone with the authority to grant it, and on clear rules of engagement covering:

  • which systems are in scope and which are excluded;
  • when testing may take place;
  • which techniques are permitted, for example whether denial of service is allowed;
  • how sensitive data encountered during testing will be handled;
  • emergency contacts if something unexpected happens.

Remember: curiosity is not authorisation. Never test the security of a system, website or network that you do not own or have written permission to test, even if you mean well.

Responsible disclosure

When independent researchers find vulnerabilities, the accepted approach is coordinated or responsible disclosure: privately informing the organisation, allowing reasonable time for a fix, and only then publishing details. Organisations can support this by publishing a vulnerability disclosure policy explaining how to report issues safely.

Getting value from a test

A penetration test is only useful if its findings lead to action. Before commissioning one, be clear about its purpose and scope. Afterwards, prioritise the findings, assign owners, fix the underlying causes rather than only the specific symptoms, and retest.

In practice

Ask whether your organisation scans its systems for vulnerabilities, how quickly critical issues on internet-facing systems are fixed, and whether a penetration test has been carried out recently. Check whether there is a published way for outsiders to report security issues. If you are interested in developing ethical hacking skills yourself, use deliberately vulnerable practice environments and legal training platforms designed for that purpose.

Case study: A tabletop exercise exposes a gap at a housing association

Riverside Homes Trust, a fictional housing association, ran its first tabletop exercise. The scenario: a tenant reports that their personal details have appeared on a public website, and the IT team then finds unusual logins to the tenant records system.

The exercise quickly exposed problems. The incident plan listed a head of IT who had left a year earlier. Nobody was sure who should decide whether to notify the data protection regulator, or how quickly. The communications lead assumed she would use email, but the scenario suggested email accounts might be compromised.

A recent vulnerability scan also came up in discussion. It had flagged an unpatched web portal months before, but the report had been sent to a shared mailbox and never assigned to anyone.

The trust updated its contact list, named the data protection officer as responsible for notification decisions, and set up an alternative messaging group for incident communications. It agreed that every critical scan finding would be assigned to a named owner with a fixed deadline, and scheduled a follow-up exercise for six months later.

Activity

Write a one-page outline incident response plan for a likely scenario in your workplace, such as a phishing attack that compromises a manager's email account. Cover each phase of the lifecycle with two or three concrete actions. Name the roles involved and how you would communicate if email were unavailable.

Compare with a model answer

A good outline is short, specific and organised by phase. Preparation might include an up-to-date contact list, an agreement with an incident response provider and staff training on reporting. Detection covers the trigger, such as a colleague reporting a strange payment request, and initial checks of sign-in logs and mailbox forwarding rules.

Containment includes resetting the password, revoking active sessions and removing malicious forwarding rules. Eradication and recovery cover checking for further compromised accounts and confirming MFA is in place. The answer names an incident lead, a technical responder, a data protection contact and a communications lead, and identifies an alternative channel such as a pre-agreed telephone list. It ends with a post-incident review date and a note on assessing whether notification is required.

Key takeaways

  • Logs, monitoring tools and reports from alert staff are how organisations detect attacks that get past preventive controls.
  • Incident response follows a cycle of preparation, detection and analysis, containment, eradication, recovery and post-incident review.
  • A time-stamped record of actions, preserved evidence and clear communication roles greatly improve the outcome of an incident.
  • Vulnerabilities should be prioritised by real-world risk, including exposure and active exploitation, not by severity score alone.
  • Ethical hacking is distinguished from crime by explicit, written authorisation and agreed rules of engagement.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 3 Unit 5 →
WhatsApp