Reverse engineering .NET malware with dnspy
Reverse engineers.NET malware samples using the dnSpy decompiler and debugger to read C#/VB.NET source.
In detail
Reverse engineers .NET malware samples using the dnSpy decompiler and debugger to read C#/VB.NET source, deobfuscate code protected by tools like ConfuserEx or SmartAssembly, and extract hardcoded C2 configurations, keys, and credentials. Use when a sample is identified as a .NET assembly (e.g. AgentTesla, AsyncRAT, RedLine Stealer, Quasar RAT) and needs decompilation, deobfuscation, or config extraction.
Safety check
- Script runs other programs or code: scripts/agent.py line 2
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: reverse-engineering-dotnet-malware-with-dnspy
description: 'Reverse engineers .NET malware samples using the dnSpy decompiler and
debugger to read C#/VB.NET source, deobfuscate code protected by tools like ConfuserEx
or SmartAssembly, and extract hardcoded C2 configurations, keys, and credentials.
Use when a sample is identified as a .NET assembly (e.g. AgentTesla, AsyncRAT, RedLine
Stealer, Quasar RAT) and needs decompilation, deobfuscation, or config extraction.
'
domain: cybersecurity
subdomain: malware-analysis
tags:
- malware
- dotnet
- reverse-engineering
- dnSpy
- decompilation
version: 1.0.0
author: mahipal
license: Apache-2.0
nist_csf:
- DE.AE-02
- RS.AN-03
- ID.RA-01
- DE.CM-01
mitre_attack:
- T1027
- T1055
- T1140
- T1497
---
# Reverse Engineering .NET Malware with dnSpy
## When to Use
- A malware sample is identified as a .NET assembly (C#, VB.NET, F#) requiring decompilation
- Analyzing .NET-based malware families (AgentTesla, AsyncRAT, RedLine Stealer, Quasar RAT)
- Deobfuscating .NET code protected by ConfuserEx, SmartAssembly, or custom obfuscators
- Extracting hardcoded C2 configurations, encryption keys, and credentials from managed assemblies
...From mukul975's repository, Apache-2.0 licence.