Skip to content
Skillpedia
General coding35k · #5578

conducting-malware-incident-response

Lets your agent respond to malware infections. It identifies the malware type, how it entered, if it spread, and helps remove it and recover systems.

What it does

This tool helps respond to malware infections on computers. It identifies the malware type, how it got in, if it spread, and how to remove it and recover systems.

When to use it

  • ✓When your antivirus or EDR detects malware.
  • ✓If a user reports their computer is acting strangely.
  • ✓If there's news of malware attacks targeting your industry.

Example of what to ask your AI

“My antivirus detected 'Qakbot' malware on my computer. What should I do?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-malware-incident-response/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-malware-incident-response/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first confirms if the alert is real, then checks how many computers are affected. It then isolates infected computers and analyzes the malware to understand how it works and how to remove it completely.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-malware-incident-response

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/conducting-malware-incident-response/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Conducting Malware Incident Response

When to Use

  • EDR or antivirus detects malware execution on one or more endpoints
  • A user reports suspicious system behavior indicative of malware infection
  • Threat intelligence indicates a malware campaign targeting the organization's industry
  • Network monitoring detects beaconing traffic consistent with known malware C2 patterns
  • A file detonation in a sandbox returns a malicious verdict

Do not use for analyzing malware samples in a research context; use dedicated malware analysis procedures for reverse engineering.

Prerequisites

  • EDR platform with process tree visibility and host isolation capability
  • Malware sandbox environment (Cuckoo, ANY.RUN, Joe Sandbox, Hybrid Analysis)
  • Access to threat intelligence platforms for malware family identification (VirusTotal, MalwareBazaar)
  • Forensic imaging tools for evidence preservation (FTK Imager, KAPE)
  • Clean system images or gold images for endpoint rebuild
  • MITRE ATT&CK framework reference for technique mapping

Workflow

Step 1: Detect and Confirm Malware Presence

Validate the malware alert and gather initial indicators:

  • Review EDR alert details: detection name, file path, hash (SHA-256), process tree
  • Check if the detection is a known malware family or generic heuristic detection
  • Query the file hash against VirusTotal, MalwareBazaar, and internal threat intelligence
  • Examine the process execution chain to determine how the malware was delivered
Detection Summary:
File:        C:\Users\jsmith\AppData\Local\Temp\update.exe
SHA-256:     a1b2c3d4e5f6...
Detection:   CrowdStrike: Malware/Qakbot | VirusTotal: 58/72 engines
Parent:      WINWORD.EXE → cmd.exe → powershell.exe → update.exe
Delivery:    Email attachment (Invoice-Nov2025.docm)
Network:     HTTPS POST to 185.220.101[.]42:443 every 60s
Persistence: Scheduled Task "WindowsUpdate" → update.exe

Step 2: Scope the Infection

Determine how many systems are affected and the malware's propagation method:

  • Use EDR to search for the malware hash, filename, and behavioral indicators across all endpoints
  • Check for network-based spreading (SMB, WMI, PsExec, exploitation)
  • Query email gateway logs for all recipients of the delivery email
  • Search for C2 communications to the identified infrastructure from other internal hosts
  • Check for persistence mechanisms on all identified infected hosts

Step 3: Contain Infected Systems

Execute containment per the active breach containment procedures:

  • Network-isolate infected endpoints via EDR containment
  • Block malware C2 infrastructure at firewall and DNS
  • Block the malware hash in EDR prevention policy organization-wide
  • Quarantine the delivery email from all mailboxes (if email-delivered)
  • Disable compromised user accounts if credential theft is suspected

Step 4: Analyze the Malware

Perform sufficient analysis to support complete eradication:

  • Submit the sample to a sandbox for dynamic analysis (behavioral report, dropped files, network IOCs)
  • Identify all persistence mechanisms: registry keys, scheduled tasks, services, WMI subscriptions, startup folders
  • Document all file system artifacts: dropped files, modified files, created directories
  • Extract network IOCs: C2 domains, IPs, URLs, user agents, JA3/JA3S hashes
  • Map observed behaviors to MITRE ATT&CK techniques
Malware Analysis Summary - Qakbot Variant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Initial Access:   T1566.001 - Spearphishing Attachment (.docm)
Execution:        T1059.001 - PowerShell (encoded downloader)
Persistence:      T1053.005 - Scheduled Task
Defense Evasion:  T1055.012 - Process Hollowing (explorer.exe)
C2:               T1071.001 - HTTPS with custom headers
Collection:       T1005 - Data from Local System (browser credentials)
Exfiltration:     T1041 - Exfiltration Over C2 Channel

Artifacts:
- C:\Users\*\AppData\Local\Temp\update.exe (dropper)
- C:\ProgramData\Microsoft\{GUID}\config.dll (payload)
- HKCU\Software\Microsoft\Windows\CurrentVersion\Run\{random} (backup persistence)
- Scheduled Task: "WindowsUpdate" (primary persistence)

Step 5: Eradicate the Malware

Remove all malware artifacts from every infected system:

  • Terminate malicious processes and injected threads
  • Delete malware files from all identified paths
  • Remove persistence mechanisms (scheduled tasks, registry keys, services, WMI subscriptions)

…

FAQ

What is 'malware'?

Malware is malicious software designed to harm or access computer systems without permission.

What does 'malware infection' mean?

It means a malicious program has been installed and is running on your computer, potentially stealing data or damaging the system.

What are 'Indicators of Compromise' (IOCs)?

These are digital clues, like files or network addresses, that indicate a system has been attacked by malware.

Details

Original description by the author

Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and recovery procedures aligned to MITRE ATT&CK. Use when responding to a confirmed or suspected malware infection, including trojan/worm/ransomware outbreaks, malware triage, or infected endpoint remediation

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5578
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills