Agent skill

Conducting Malware Incident Response

by mukul975 in mukul975/Anthropic-Cybersecurity-Skills

Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and…

Apache-2.0Auto-check passedDevOps & Cloud

Install Conducting Malware Incident Response

skills CLI
$ npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-malware-incident-response -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mukul975/Anthropic-Cybersecurity-Skills conducting-malware-incident-response --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/conducting-malware-incident-response .claude/skills/conducting-malware-incident-response && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
conducting-malware-incident-response
GitHub stars
34k
Token cost
~2.5k tokens
SKILL.md length
872 words
Files
4 (incl. scripts, references)
Skills in repo
644
Repo updated
First seen
Licence
Apache-2.0

At a glance

Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and…

  • Works in 6 steps: Detect and Confirm Malware Presence → Scope the Infection → Contain Infected Systems → …
  • Responding to a confirmed
  • SKILL.md covers When to Use, Prerequisites, Workflow and Key Concepts, plus 3 more sections
  • Runs Python scripts from its folder

What it does

Conducting Malware Incident Response is an agent skill from mukul975/Anthropic-Cybersecurity-Skills. 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.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/api-reference.md` and `scripts/agent.py`).

It sits in DevOps & Cloud, covering Incident response. The repository describes itself as: 817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io…. The licence is Apache-2.0.

When your agent uses it

  • Responding to a confirmed
  • Suspected malware infection
  • Including trojan/worm/ransomware outbreaks
  • Infected endpoint remediation

Example prompts

  • “/conducting-malware-incident-response”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Detect and Confirm Malware Presence
  2. Scope the Infection
  3. Contain Infected Systems
  4. Analyze the Malware
  5. Eradicate the Malware
  6. Recover and Validate

What it can do on your machine

Read from SKILL.md and the folder at commit 54a7988. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Conducting Malware Incident Response loads about 2.5k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 872 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from mukul975/Anthropic-Cybersecurity-Skills at commit 54a7988, republished under its Apache-2.0 licence (© mukul975). 872 words, ~2,492 tokens.

Download SKILL.mdSave it as .claude/skills/conducting-malware-incident-response/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
conducting-malware-incident-response
description
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.
domain
cybersecurity
subdomain
incident-response
tags
malware-response, malware-analysis, eradication, endpoint-remediation, MITRE-ATT&CK
mitre_attack
T1204, T1027, T1055, T1059, T1486
version
1.0.0
author
mahipal
license
Apache-2.0
d3fend_techniques
File Metadata Consistency Validation, Application Protocol Command Analysis, Identifier Analysis, Content Format Conversion, Message Analysis
nist_csf
RS.MA-01, RS.MA-02, RS.AN-03, RC.RP-01

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)
  • Clear browser credential stores if credential harvesting was confirmed
  • Run a full EDR scan to verify no artifacts remain
  • If eradication confidence is low, reimage the system from a known-clean gold image
Step 6: Recover and Validate

Restore systems to production and verify clean status:

  • Reconnect contained systems to the network in stages
  • Monitor for 72 hours for any recurrence of malware indicators
  • Force password resets for all users on infected endpoints
  • Verify that C2 traffic has completely ceased across the environment
  • Update detection rules based on newly discovered IOCs from the investigation
  • Distribute IOCs to threat intelligence sharing partners (ISAC, MISP)
Show full SKILL.md (342 more words)Show less

Key Concepts

TermDefinition
Malware FamilyClassification of malware variants sharing code, infrastructure, or behavior patterns (e.g., Qakbot, Emotet, Cobalt Strike)
Process HollowingTechnique where malware creates a legitimate process in a suspended state, replaces its memory with malicious code, then resumes execution
BeaconPeriodic network communication from malware to its C2 server, typically with a set interval and jitter for detection evasion
DropperInitial malware component that downloads or unpacks the primary payload; often delivered via phishing
Persistence MechanismMethod used by malware to survive system reboots (registry run keys, scheduled tasks, services, WMI event subscriptions)
IOC (Indicator of Compromise)Observable artifact such as file hash, IP address, domain, or registry key that indicates malware presence

Tools & Systems

  • CrowdStrike Falcon / Microsoft Defender for Endpoint: EDR platforms for detection, containment, and threat hunting
  • ANY.RUN / Joe Sandbox: Interactive malware sandboxes for dynamic behavioral analysis
  • VirusTotal / MalwareBazaar: Malware intelligence platforms for sample identification and IOC enrichment
  • KAPE (Kroll Artifact Parser and Extractor): Forensic triage tool for rapid artifact collection from infected endpoints
  • YARA: Pattern-matching engine for creating custom malware detection rules based on observed indicators

Common Scenarios

Scenario: Emotet Loader Leading to Cobalt Strike Deployment

Context: EDR detects a macro-enabled document that spawns PowerShell, downloads an Emotet DLL, which subsequently loads a Cobalt Strike beacon. Three hosts are infected within 45 minutes.

Approach:

  1. Immediately isolate all three hosts and block C2 IPs at the perimeter
  2. Search email gateway for all recipients of the original phishing email and quarantine it
  3. Sweep all endpoints for the Emotet DLL hash and Cobalt Strike beacon indicators
  4. Analyze the Cobalt Strike beacon configuration to extract watermark, C2 profile, and staging URLs
  5. Check for credential harvesting (Mimikatz/LSASS dump) and lateral movement artifacts
  6. Eradicate all malware artifacts and reset credentials for affected users

Pitfalls:

  • Focusing only on Emotet and missing the Cobalt Strike second-stage payload
  • Failing to extract and block the Cobalt Strike Malleable C2 profile indicators
  • Not checking for additional persistence beyond the initial detection (Emotet often installs multiple backup persistence mechanisms)

Output Format

MALWARE INCIDENT RESPONSE REPORT
=================================
Incident:         INC-2025-1547
Malware Family:   Qakbot (variant: Obama265)
Delivery Vector:  Spearphishing attachment (Invoice-Nov2025.docm)
First Detection:  2025-11-15T14:23:17Z
Scope:            4 endpoints confirmed infected

INFECTION TIMELINE
14:18 UTC - Phishing email received by jsmith@corp.example.com
14:19 UTC - Macro executed in WINWORD.EXE
14:20 UTC - PowerShell downloads update.exe from staging server
14:21 UTC - update.exe establishes persistence (Scheduled Task)
14:23 UTC - C2 beacon initiated to 185.220.101[.]42
14:35 UTC - Lateral spread to WKSTN-087 via stolen credentials
14:42 UTC - EDR detection fires, SOC alerted

IOCs EXTRACTED
File Hashes:  [SHA-256 list]
C2 Domains:   [domain list]
C2 IPs:       [IP list]
File Paths:   [artifact paths]

ERADICATION STATUS
[x] All malware artifacts removed from 4 hosts
[x] Persistence mechanisms deleted
[x] C2 infrastructure blocked
[x] Compromised credentials reset
[x] Email quarantined from all mailboxes

RECOMMENDATIONS
1. Deploy YARA rule for Qakbot variant detection
2. Block macro execution in documents from external senders
3. Implement application whitelisting on finance workstations

© mukul975, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/conducting-malware-incident-response of mukul975/Anthropic-Cybersecurity-Skills.

  • SKILL.md
  • LICENSE
  • references/api-reference.md
  • scripts/agent.py

Open the folder on GitHubat commit 54a7988

Compare with similar skills

Conducting Malware Incident Response next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Conducting Malware Incident Response compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Conducting Malware Incident Response this skillmukul975/Anthropic-Cybersecurity-Skills34k—~2.5kAutomated safety check: PassApache-2.0
Incident Responsealirezarezvani/claude-skills28k—~3.8kAutomated safety check: PassMIT
Soc Operationsbriiirussell/cybersecurity-skills413—~2.9kAutomated safety check: PassMIT
Triaging Security Alertstrilwu/secskills157—~2.5kAutomated safety check: PassMIT
Ise Incident Responseautomateyournetwork/netclaw676—~3.4kAutomated safety check: PassApache-2.0
Responding To Incidentstrilwu/secskills157—~3.9kAutomated safety check: NotesMIT

Similar skills

  • Incident Response

    alirezarezvani/claude-skills

    A skill your agent uses when a security incident has been detected or declared and needs classification, triage, escalation path determination, and forensic evidence collection.

    28k GitHub stars~3.8k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Soc Operations

    briiirussell/cybersecurity-skills

    Build, run, and improve a Security Operations Center — alert prioritization, runbook authoring, escalation criteria, on-call structure, alert tuning workflow, MTTD / MTTR / fidelity KPIs, analyst…

    413 GitHub stars~2.9k tokensUpdated 4 mo ago
    DevOps & CloudAuto-check passed
  • Triaging Security Alerts

    trilwu/secskills

    Work a security alert queue to a defensible disposition — separating true positives from false positives and benign true positives, reasoning about base rates before escalating, ordering enrichment…

    157 GitHub stars~2.5k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Ise Incident Response

    automateyournetwork/netclaw

    Rapid ISE endpoint investigation and quarantine workflow - endpoint lookup, auth history, posture review, human-authorized quarantine, ServiceNow Security Incident.

    676 GitHub stars~3.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Responding To Incidents

    trilwu/secskills

    Run digital forensics and incident response — triage, evidence acquisition with chain of custody, host and cloud artifact analysis, timeline reconstruction, scoping, containment, eradication, and…

    157 GitHub stars~3.9k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Investigates past Kubernetes incidents from Kubeshark traffic snapshots: takes captures, dissects API calls, extracts PCAPs and compares traffic over time.

    12k GitHub stars~5.3k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from mukul975/Anthropic-Cybersecurity-Skills

All 644 skills in this repo
  • Campaign Attribution Evidence Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Weighs infrastructure, TTP, malware code and timing evidence with the Diamond Model and competing hypotheses to reach a confidence-rated attribution.

    34k GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Go Malware Analysis in Ghidra

    mukul975/Anthropic-Cybersecurity-Skills

    Walks through reverse engineering Go-compiled malware in Ghidra: parsing buildinfo and pclntab, recovering stripped function names and extracting dependencies.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • LNK and Jump List Forensics

    mukul975/Anthropic-Cybersecurity-Skills

    Guides forensic analysis of Windows LNK shortcut files and Jump Lists with LECmd, JLECmd and manual parsing to show file access and program execution.

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Malware Persistence Analysis with Autoruns

    mukul975/Anthropic-Cybersecurity-Skills

    Hunts Windows malware persistence with Sysinternals Autoruns, covering run keys, services, scheduled tasks and drivers, with baseline comparison.

    34k GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • NTFS MFT Deleted File Recovery

    mukul975/Anthropic-Cybersecurity-Skills

    Guides a Windows forensic examination of the NTFS Master File Table to recover deleted-file evidence, build timelines and spot timestomping.

    34k GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Network Covert Channel Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Detects DNS tunneling, ICMP exfiltration and HTTP-based covert channels in packet captures and DNS logs when hunting for hidden command-and-control traffic.

    34k GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Conducting Malware Incident Response

What does Conducting Malware Incident Response do?

Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and…. Conducting Malware Incident Response is an agent skill from mukul975/Anthropic-Cybersecurity-Skills. 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.

When should I use Conducting Malware Incident Response?

Conducting Malware Incident Response fits situations like: responding to a confirmed; suspected malware infection; including trojan/worm/ransomware outbreaks; infected endpoint remediation.

How do I install Conducting Malware Incident Response in Claude Code?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-malware-incident-response -a claude-code`. Or copy the skill folder (skills/conducting-malware-incident-response in mukul975/Anthropic-Cybersecurity-Skills) into .claude/skills/conducting-malware-incident-response in your project. Claude Code loads it when a task matches its description.

How do I install Conducting Malware Incident Response in Codex?

Run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-malware-incident-response -a codex`. Or copy the skill folder (skills/conducting-malware-incident-response in mukul975/Anthropic-Cybersecurity-Skills) into .agents/skills/conducting-malware-incident-response in your project. Codex loads it when a task matches its description.

Can I use Conducting Malware Incident Response in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill conducting-malware-incident-response -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/conducting-malware-incident-response, .gemini/skills/conducting-malware-incident-response, .github/skills/conducting-malware-incident-response and .opencode/skills/conducting-malware-incident-response in your project.

What does Conducting Malware Incident Response need to run?

Going by SKILL.md and its folder, Conducting Malware Incident Response needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Conducting Malware Incident Response access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Conducting Malware Incident Response safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Conducting Malware Incident Response use?

Conducting Malware Incident Response is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Conducting Malware Incident Response use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 441 tokens, read only when the agent opens those files.

What are the alternatives to Conducting Malware Incident Response?

Skills that share tags, products or a category with Conducting Malware Incident Response: Incident Response (alirezarezvani/claude-skills, 28k stars), Soc Operations (briiirussell/cybersecurity-skills, 413 stars), Triaging Security Alerts (trilwu/secskills, 157 stars) and Ise Incident Response (automateyournetwork/netclaw, 676 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Conducting Malware Incident Response?

mukul975 (a GitHub user) maintains it in mukul975/Anthropic-Cybersecurity-Skills, which has 34,116 GitHub stars. The repository holds 644 skills in this directory. The repository was last updated on August 31, 2026.

Source: mukul975/Anthropic-Cybersecurity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.