Cyber Incident Response: Malware Playbook v2.6
Cyber Incident Response: Malware Playbook v2.6
Malware Playbook 1
OFFICIAL
Document Control
Title Malware Playbook
Version 2.6
Date Issued 10/11/2024
Status Final
Document owner Scottish Government
Creator name
Creator organisation name NCC Group
Subject category Cyber Incident Response Management
Access constraints OFFICIAL
Malware Playbook 2
OFFICIAL
Contents
1. Introduction........................................................................................................................................................................................................4
1.1. Overview.....................................................................................................................................................................................................4
1.2. Purpose......................................................................................................................................................................................................4
1.3. Malware Definition......................................................................................................................................................................................4
1.4. Scope..........................................................................................................................................................................................................5
1.5. Review Cycle..............................................................................................................................................................................................5
2. Preparation Phase.............................................................................................................................................................................................6
3. Detect.................................................................................................................................................................................................................9
4. Analyse............................................................................................................................................................................................................13
5. Remediation – Contain, Eradicate and Recover..............................................................................................................................................15
6. Post Incident....................................................................................................................................................................................................19
7. Annex A: Flow Diagram...................................................................................................................................................................................21
Malware Playbook 3
OFFICIAL
1. Introduction
1.1. Overview
In the event of a cyber-incident, it is important that the organisation is able to respond, mobilise and execute an appropriate level of response to
limit the impact on the brand, value, service delivery and the public, client and customer confidence. Although all cyber incidents are different in
their nature and technologies used, it is possible to group common cyber incident types and methodologies together. This is to provide an
appropriate and timely response depending on the cyber incident type. Incident specific playbooks provide incident managers and stakeholders
with a consistent approach to follow when remediating a cyber-incident.
References are made to both a Core IT Cyber Incident Response Team (CIRT) and a CIRT within this document. This is in recognition of the
fact that organisations are different and will have their own response to cyber incidents. Some may initially manage an incident with a small
response team within IT services but where there is a confirmed compromise this may be escalated to an extended level CIRT comprised of
members of the organisation outside IT services who will deal with agreed categories of compromise. The Playbook as with the Cyber Incident
Response Plan (CIRP) will require to be adjusted to reflect the organisational make up.
Playbooks describe the activities of those directly involved in managing specific cyber incidents. However, it is important to acknowledge the
speed at which cyber incidents can escalate and become a significant business disruptor requiring both business continuity and consequence
management considerations. Early consideration should be given to engaging Business Continuity, Resilience and Policy Area Leads in order
that the wider issues can be effectively managed. Business Continuity and Resilience leads within the organisation must therefore be familiar
with the CIRP and Playbooks and how they link to wider Incident response arrangements.
1.2. Purpose
The purpose of this Cyber Incident Response: Malware Playbook is to define activities that should be considered when detecting, analysing
and remediating a malware incident. The playbook also identifies the key stakeholders that may be required to undertake these specific
activities.
Malware Playbook 4
OFFICIAL
1.3. Malware Definition
Malware is any software intentionally designed to negatively impact a computer, server, client, or computer network. Malware must be
implanted or introduced in some way into a target's computer. Malware can take the form of executable code, scripts, active content, and/or
other software.
Malware includes: computer viruses, worms, trojan horses, spyware, rootkits, botnet software, keystroke loggers, ransomware, cryptominers,
adware and malicious mobile code. Some types of malware (e.g. spyware, rootkits, ransomware, cryptominers and botnet software) are often
used during sophisticated cyber-attacks against organisations. In these cases, malware can be customised to target specific systems within an
organisation’s technical infrastructure and configured to avoid detection. Malware has a malicious intent, acting against the interest of the
computer user and so does not include software that causes unintentional harm due to some deficiency, which is typically described as a
software bug.
1.4. Scope
This document has been designed for the sole use of first responders such as the Service Desk team when responding to cyber incidents. It is
not standalone and must be used alongside your CIRP.
There are similar playbooks available as part of this project including but not limited to: Phishing, Malware and Ransomware. The appropriate
playbook should be used for the appropriate incident type.
Malware Playbook 5
OFFICIAL
2. Preparation Phase
Preparation Phase
The preparation phase has the following objectives:
Phase Prepare to respond to cyber security incident in a timely and effective manner;
objectives Prepare organisational assets for malware outbreak;
Inform employees of their role in remediating a malware incident including reporting mechanisms.
Malware Playbook 6
OFFICIAL
Legal Team
Communications Team
Resilience Lead
Business Continuity Lead
Review recent cyber security incidents and the outputs. Information Security Manager
Review threat intelligence for threats to the organisation, brands and the sector, as Information Security Manager
well as common patterns and newly developing risks and vulnerabilities.
Identify and obtain the services of a 3rd party Cyber Forensic provider. Information Security Manager
Define Threat and Risk Indicators and Alerting pattern within the organisation’s Information Security Manager
security information and event management (SIEM) solution SOAR / XDR solutions.
Malware Playbook 7
OFFICIAL
Understanding wider potential political ramifications of engagement
Conduct regular awareness campaigns to highlight information security risks faced Head of IT
by employees, including: Information Security Manager
Phishing attacks and malicious emails; Resilience Lead
Ransomware; Business Continuity Lead
Inform Reporting a suspected cyber incident.
employees
Head of IT
Information Security Manager
HR
Ensure regular security training is mandated for those employees managing L&D Department
personal, confidential or high-risk data and systems. Resilience Lead
Business Continuity Lead
Malware Playbook 8
OFFICIAL
3. Detect
Detection Phase
The detection phase has the following objectives:
Detect and report a breach or compromise of the confidentiality, integrity or availability of organisational data;
Phase objectives Complete initial investigation of the malware;
Report the malware formally to the correct team as a cyber incident.
Detect and report Activities may include, but are not limited to:
the incident
Monitor detection channels, both automatic and manual, customer and staff
channels for the identification of a malware attack, including:
Anti-malware system notifications to the IT team;
User notification to the Service Desk;
Any other notification that raises suspicion of a malware incident. Information Security Manager
Core IT CIRT
*Isolated malware infections are to be expected and are ordinarily dealt with
automatically by the anti-malware technology implemented by the organisation;
only if an outbreak is impacting on services should the cyber incident response
process and this playbook be engaged.
Malware Playbook 9
OFFICIAL
Information Security Manager
Consider whether data loss or data breach has occurred and if so refer to data Information Governance Team
breach playbook. Core IT CIRT
Classify the cyber security incident, based upon available information related to Information Security Manager
the malware attack the incident types (see CIRP). Core IT CIRT
Malware Playbook 10
OFFICIAL
Server Team
Mobile Device Team
Head of IT
Information Security Manager
Identify likelihood of widespread malware infection. Core IT CIRT
CIRT
Secure artefacts, including copies of suspected malicious software and forensic Information Security Manager
copies of affected system(s) for future analysis. Core IT CIRT
Research Threat Intelligence sources and consider CiSP submission to gain Information Security Manager
further intelligence and support mitigation by others. Core IT CIRT
Review cyber incident categorisation to validate the cyber security incident type Security Manager
as a malware attack and assess the incident priority, based upon the initial Core IT CIRT
investigation. (See CIRP for Incident Severity Matrix)
Malware Playbook 11
OFFICIAL
Activities may include, but are not limited to:
Consider the Intelligence value to other organisations and share on the CiSP
Information Security Manager
For public sector organisations only: Consider whether the Incident meets the Core IT CIRT
requirements of the Scottish Public Sector Cyber Incident Co-ordination CIRT
Procedure as contained within the CIRP.
Incident reporting
Where appropriate consider reporting requirements to Information
Information Security Manager
Commissioner’s Office (ICO), relevant Regulator and or Competent Authority
Core IT CIRT
(NISD), National Cyber Security Centre (NCSC), Police Scotland and Scottish
CIRT
Cyber Coordination Centre (SC3).
Malware Playbook 12
OFFICIAL
4. Analyse
Analysis Phase
The analysis phase has the following key objectives:
Analyse the cyber incident to uncover the scope of the attack;
Phase objectives Identify and report potentially compromised data and the impact of such a compromise;
Establish the requirement for a full forensic investigation;
Develop a remediation plan based upon the scope and details of the cyber incident.
Analyse the Activities may include, but are not limited to:
extent of the
incident Service Desk Technicians
Engage technical staff from resolver groups. Core IT CIRT
Classify the malware by submission to multiple AV vendors and determine the Information Security Manager
family it belongs to. Core IT CIRT
Malware Playbook 13
OFFICIAL
known malware).
Execute the malware in a secure environment or sandbox, segregated from the Information Security Manager
business network, to determine its behaviour on a test system, including created Core IT CIRT
files, launched services, modified registry keys and network communications.
Review affected infrastructure for indicators of compromise derived from the Information Security Manager
malware analysis to identify any additional compromised system(s). Core IT CIRT
Examine threat intelligence feeds to determine if the malware attack is bespoke Information Security Manager
and targeted at specific accounts, infrastructure or systems. Core IT CIRT
Malware Playbook 14
OFFICIAL
5. Remediation – Contain, Eradicate and Recover
Remediation Phase
The remediation phase has the following objectives:
Phase objectives Contain the effects of the malware on the targeted systems;
Eradicate the malware from the network through agreed mitigation measures;
Recover affected systems and services back to a Business As Usual (BUA) state.
Monitor for any new infections suggesting the malware is spreading across the
Information Security Manager
infrastructure. Alert the CIRT to any significant changes in the scope of the
Core IT CIRT
incident (e.g. the infection of a previously unaffected business system or site).
Malware Playbook 15
OFFICIAL
Direct users whose devices are isolated to work from an alternative location;
such as another office, a Disaster Recovery facility or from home.
Where necessary the corporate disaster recovery process will be followed.
Secure copies of the malicious code, affected systems and any identified
Information Security Manager
artefacts for further investigation (engaging with forensic support if forensic
Core IT CIRT
copies are required).
Malware Playbook 16
OFFICIAL
Information Security Manager
Complete an automated or manual removal process to eradicate malware or
Core IT CIRT
compromised executables using appropriate tools.
Malware Playbook 17
OFFICIAL
Information Security Manager
Reset credentials and sessions of all involved system(s) and users implementing
Core IT CIRT
MFA where applicable.
Malware Playbook 18
OFFICIAL
6. Post Incident
Post-Incident Activities Phase
The post-incident activities phase has the following objectives:
Phase objectives Complete an incident report including all incident details and activities;
Complete the lessons identified and problem management process;
Publish appropriate internal and external communications.
Malware Playbook 19
OFFICIAL
Information Security Manager
Conduct root cause analysis to identify and remediate underlying vulnerabilities.
CIRT
Malware Playbook 20
OFFICIAL
7. Annex A: Flow Diagram
Malware Playbook 21
OFFICIAL