conducting-malware-incident-response

mukul975/Anthropic-Cybersecurity-Skills · updated May 25, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/conducting-malware-incident-response
0 commentsdiscussion
summary

Responds to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing eradication procedures. Covers the full lifecycle from detection through containment, analysis, removal, and recovery. Activates for requests involving malware response, malware eradication, trojan removal, worm containment, malware triage, or infected endpoint remediation.

skill.md
name
conducting-malware-incident-response
description
'Responds to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing eradication procedures. Covers the full lifecycle from detection through containment, analysis, removal, and recovery. Activates for requests involving malware response, malware eradication, trojan removal, worm containment, 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)

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 [email protected]
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
how to use conducting-malware-incident-response

How to use conducting-malware-incident-response on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add conducting-malware-incident-response
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/conducting-malware-incident-response

The skills CLI fetches conducting-malware-incident-response from GitHub repository mukul975/Anthropic-Cybersecurity-Skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/conducting-malware-incident-response

Reload or restart Cursor to activate conducting-malware-incident-response. Access the skill through slash commands (e.g., /conducting-malware-incident-response) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.531 reviews
  • Arya Martinez· Dec 20, 2024

    We added conducting-malware-incident-response from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Dhruvi Jain· Dec 8, 2024

    conducting-malware-incident-response fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Arya Patel· Dec 4, 2024

    Useful defaults in conducting-malware-incident-response — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Oshnikdeep· Nov 27, 2024

    Registry listing for conducting-malware-incident-response matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Arjun Sanchez· Nov 23, 2024

    conducting-malware-incident-response is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Arjun Khanna· Nov 19, 2024

    conducting-malware-incident-response fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Camila Gill· Nov 11, 2024

    conducting-malware-incident-response reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Ganesh Mohane· Oct 18, 2024

    conducting-malware-incident-response reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Arjun Thompson· Oct 14, 2024

    Keeps context tight: conducting-malware-incident-response is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Hiroshi Nasser· Oct 2, 2024

    Registry listing for conducting-malware-incident-response matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 31

1 / 4