Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
noorqureshi/reverse-eng-dotnetEngenharia reversa e fuzzing

reverse-eng-dotnet

⁨Reverse a .NET / C# assembly — decompile, deobfuscate, debug, and IL-patch managed binaries. Load when the target is a managed PE (.exe/.dll with a CLR header), a Sharp* red-team tool (Rubeus, SharpHound, Seatbelt), a ConfuserEx/SmartAssembly/Babel/.NET-Reactor-obfuscated sample, or a .NET loader/st⁩

v2026.10.14-ee0e0c53 instalações+3 em 7 dias27 EstrelasMITsincronizado há 22 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/reverse-eng-dotnet

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
Doz/+ZkrGK…CYTniaDw==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacoteb89299ea…cd2779ba
b89299eacd4f…9003cd2779ba2 arquivos · ⁦4.2 KB⁩
VarreduraBaixo1 achado
  • Links para domínios externos
Ver a varredura completa
Fontegithub.com/NoorQureshi/security-skills/tree/main/skills/reverse-engineering/reverse-eng-dotnet@ee0e0c5

Este item ainda não foi escrito no seu idioma, então aparece em English.

When it applies

The binary is a managed .NET assembly — a thick client, a Sharp* red-team tool, or a captured loader/stealer — and it is in scope (tradecraft-scope-roe, scope.txt). Pure-native PEs, IL2CPP Unity builds, and NativeAOT output carry no CLR metadata: those go to reverse-eng-binary-triage. dnSpyEx (the only GUI with an IL editor and debugger) is Windows-only; on Linux/macOS use ilspycmd + dotnet de4dot.dll and accept that interactive patching/debugging needs Windows.

Why it works

Managed assemblies keep near-complete metadata — type, method, and field names survive compilation, so decompilation recovers close-to-source C#. Obfuscators only scramble names, strings, and control flow, and de4dot automates the unscrambling for the common families. The IL instruction stream is the ground truth: the C# view loses or distorts compiler-generated code (async state machines, closures, yield), so decisive reads and every patch happen at IL level.

Method

Obfuscator identification table, de4dot options, anti-tamper bypasses, and IL patch recipes: see cheatsheet.md next to this file.

  1. Confirm managed, not native. strings target.exe | grep -iE "mscoree|_CorExeMain|mscorlib|System\." and diec target.exe (Detect It Easy reports .NET plus the obfuscator). Hard proof: PE data directory 14 (CLR header) non-zero, _CorExeMain entry, #~/#Strings metadata streams.
  2. Detect and strip obfuscation. de4dot --detect target.exe to identify the family, then de4dot target.exe -o target-clean.exe. Keep the original untouched — all further analysis runs on the clean copy.
  3. Static in dnSpyEx. C# view for fast browsing and string search (password, verify, encrypt, http, Config), IL view for anything decisive. Read order: <module> .cctor (deobfuscator/anti-tamper init runs first) → Main → the method that uses your located string (find via cross-references).
  4. Dynamic with the dnSpyEx debugger when strings or config decrypt only at runtime: break on the decryptor's return and read the plaintext from Locals/Watch. Set exception breakpoints — obfuscators hide real control flow in try/catch dispatch, and breaking the thrown exception type shows the actual path. .NET debugging exposes object values directly; prefer it over grinding static IL.
  5. Patch via Edit IL, never Edit Method (C#). Flip ldc.i4.0→ldc.i4.1, replace a check with ldc.i4.1; ret, or nop out a validation block, then File → Save Module as a new file. C# recompile fails constantly on state machines and lambdas; IL edits are instruction-exact.

Gotchas

  • IL2CPP / NativeAOT look like .NET but are native — System.Private.CoreLib strings, no CLR header. Route to reverse-eng-binary-triage.
  • New ConfuserEx anti-tamper / .NET Reactor necrobit defeat de4dot — patch the integrity check to ret first, or run the binary and dump the decrypted assembly from memory (MegaDumper / ExtremeDumper), then clean the dump with de4dot. Themida .NET is a native virtualizing wrapper — de4dot cannot touch it; dump and go native.
  • Exception-driven control flow can't be nop'd — trace the catch dispatch to find the real logic.
  • Keep artifacts on disk: original, *-clean.exe, patched copy, and the extracted config/C2/keys — the findings folder needs reproducible evidence.
  • Run unknown samples in an isolated VM — executing a managed binary runs its .cctor.

Verify success

You can name the obfuscator (or confirm none), show decrypted strings/config/C2 or a patched binary whose behavior provably changed, and the original sample is preserved for the diff.

References

dnSpyEx, de4dot, and dnlib documentation; Washi's "Misconceptions about .NET reversing" (IL over C# decompiler output).


Portions adapted from reverse-skill by zhaoxuya520, MIT License.

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosSimSim
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.10.14-ee0e0c513 de nov. de 2026ee0e0c5b89299eaAssinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login