Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/dnspyReverse engineering and fuzzing

dnspy

⁨Use dnSpyEx to decompile and debug .NET and Unity assemblies on Windows.⁩

v2026.11.13-21cd5683 installs+3 in 7 days39 StarsMITsynced 11 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/dnspy

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
1UJL+vF4He…HxSzazCw==The CLI checks the SHA-256 and the signature before it writes a file.
Package85fb6910…0c8a7877
85fb6910278c…59e90c8a78773 files · ⁦7.2 KB⁩
ScanMedium5 findings
  • command.base64_execSKILL.md:108
  • command.base64_execSKILL.md:145
  • command.base64_execreferences/deobfuscation.md:138
See the full scan
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/rev/dnspy@21cd568

.NET and Unity assembly decompiler, debugger, and editor for Windows.

Installation

text
# Current upstream release: v6.6.0
# Download from https://github.com/dnSpyEx/dnSpy/releases
# Extract and launch dnSpy.exe

# Alternative CLI decompiler (cross-platform)
dotnet tool install --global ilspycmd

The original dnSpy project by 0xd4d is archived; this skill covers the maintained dnSpyEx fork. Check the official releases for updates.

Quick Start

  1. File → Open → select .exe or .dll (.NET assembly)
  2. Assembly Explorer (left panel) → expand namespaces → click class/method
  3. Decompiled C# appears in the main panel
  4. Right-click assembly → Go to Entry Point to start at Main()
  5. To debug: Debug → Start Debugging (F5) or Attach to Process

Key Panels

Panel Purpose
Assembly Explorer Tree view of loaded assemblies, namespaces, types
Decompiler C#/VB.NET/IL decompiled source
Output Debug output and log messages
Locals / Watch Variable inspection during debugging
Call Stack Stack trace during debugging
Breakpoints Manage all breakpoints
Modules Loaded assemblies/modules in debugged process
Key Action
Ctrl+Shift+K Search assemblies (types, methods, strings)
Ctrl+G Go to token/offset
F12 Go to definition
Ctrl+Shift+F Find all references
Ctrl+D Go to metadata token
F5 Start/continue debugging
F9 Toggle breakpoint
F10 Step over
F11 Step into
Shift+F11 Step out

Malware Analysis Workflow

Step 1: Verify .NET and detect obfuscation

Before opening in dnSpy, verify the sample is .NET:

bash
# Check for CLI header in PE
python -c "
import struct, sys
data = open(sys.argv[1], 'rb').read()
lfanew = struct.unpack_from('<I', data, 0x3c)[0]
opt = lfanew + 4 + 20
magic = struct.unpack_from('<H', data, opt)[0]
dd_off = opt + (112 if magic == 0x10b else 128)  # data dir 14 = COM descriptor
rva = struct.unpack_from('<I', data, dd_off)[0]
print('.NET' if rva else 'Native')
" sample.exe

# Detect obfuscator
de4dot --detect sample.exe

Common obfuscators: ConfuserEx, .NET Reactor, SmartAssembly, Dotfuscator, Babel, Eazfuscator

Step 2: Deobfuscate with de4dot

bash
# de4dot: .NET deobfuscator (supports most common protections)
de4dot sample.exe -o sample_clean.exe
# For specific obfuscator:
de4dot --un-name "!^[a-zA-Z]{1,2}$" sample.exe -o sample_clean.exe

Step 3: Static analysis in dnSpy

  1. Open cleaned assembly → Go to Entry Point (Main)
  2. Follow execution flow from Main through initialization
  3. Search for suspicious patterns:

Search targets (Ctrl+Shift+K):

  • WebClient, HttpClient, WebRequest — network communication
  • Process.Start, ProcessStartInfo — command execution
  • Assembly.Load, Assembly.LoadFrom — dynamic code loading
  • GetManifestResourceStream — embedded resource extraction
  • CryptoStream, AesManaged, RijndaelManaged — encryption
  • Convert.FromBase64String — base64 decoding
  • Registry, RegistryKey — persistence via registry
  • DllImport, Marshal.GetDelegateForFunctionPointer — P/Invoke to native
  • Thread, Timer, Task.Run — async/background execution

Step 4: Debug to extract runtime data

  1. Set breakpoint on decryption method or config loading
  2. Debug → Start Debugging (F5)
  3. When breakpoint hits:
    • Locals window shows decrypted values
    • Right-click variable → Add to Watch for complex objects
    • Use Immediate window to evaluate expressions
  4. For encrypted C2: break after decryption, inspect the string variable

Step 5: Edit and patch

text
# Patch a method:
1. Right-click method → Edit Method (C#)
2. Modify code (e.g., add Console.WriteLine for tracing)
3. Compile (Ctrl+Shift+P)
4. File → Save Module → save patched assembly

# Patch IL directly:
1. Right-click method → Edit IL Instructions
2. Modify opcodes
3. OK → Save Module

Key .NET Analysis Patterns

Config extraction

text
# Common patterns for embedded configs:
1. Hardcoded strings in static fields → visible in decompiler
2. Base64 in static constructor (.cctor) → decode with Convert.FromBase64String
3. Encrypted resource → GetManifestResourceStream + AES/XOR decrypt
4. Settings class → Properties.Settings or custom config class
5. Embedded JSON/XML in resources → check Resources node in Assembly Explorer

Stealers (RedLine, Raccoon, etc.)

Focus areas:

  • Credentials or Passwords class — browser credential theft
  • Crypto or Wallet class — cryptocurrency wallet targeting
  • FileGrabber — file exfiltration rules
  • SystemInfo — fingerprinting methods
  • Gate or Panel or Config — C2 URL and build config

RATs (AsyncRAT, QuasarRAT, etc.)

Focus areas:

  • Settings class — C2 IP/port, mutex, install path, encryption key
  • Connection or Client class — C2 protocol implementation
  • Plugin or Commands namespace — available capabilities
  • Install method — persistence mechanism
  • AntiVM or AntiDebug — evasion checks

Loaders and droppers

Focus areas:

  • Main → resource extraction → Assembly.Load (in-memory stage 2)
  • WebClient.DownloadData → Assembly.Load (download + execute)
  • RunPE or Inject method — process hollowing/injection
  • Delay/sleep before payload execution (sandbox evasion)

Resources

File When to load
references/deobfuscation.md Deobfuscation strategies per obfuscator family
references/dotnet-malware-patterns.md Common .NET malware family patterns and IOC locations

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesYesYes
Writes filesNoNo
Runs shell commandsYesYes
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumCommand · command.base64_execSKILL.md:108
  2. MediumCommand · command.base64_execSKILL.md:145
  3. MediumCommand · command.base64_execreferences/deobfuscation.md:138
  4. MediumCommand · command.base64_execreferences/dotnet-malware-patterns.md:132
  5. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.11.13-21cd568Nov 13, 202621cd56885fb6910Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login