ILSpy review: a .NET decompiler
#1
Information 
ILSpy homepage: https://github.com/icsharpcode/ILSpy

ILSpy is a freeware and simple .NET decompiler which can be used also for example for static malware analysis of .NET malware samples, because we can see the source code of loaded .NET assemblies.

When we open ILSpy we can see the main window:


[Image: leNoajk.png]


To load a .NET assembly simply click to "File" menu and we can also save code and reload the decompiler:

[Image: EArvhz8.png]

If we click on "View" we can sort assembly list by name and we can search in the source code.

[Image: d0iHXuZ.png]

If we click on "Help" menu we can check for new updates or look at "About" window.

[Image: bT3bfzc.png]

We can decompile C#, VB and IL assemblies:

[Image: 5MbLGsA.png]

In the options we can set decompile settings, like "Decompile anonymous methods", "Decompile async methods", etc.

An interesting option we can see is that we can also show/hide XML documentation of the source code.

[Image: PuC8Ivw.png]

We can also set text style of the source code:

[Image: xsLwwWb.png]

You can set text size, show line numbers in the source code, show metadata tokens, enable word wrap and choose the font.

ILSpy latest release: https://github.com/icsharpcode/ILSpy/releases
[-] The following 4 users say Thank You to Deep900 for this post:
  • dhruv2193, harlan4096, jasonX, silversurfer
Reply
#2
Very nice there! Thanks for the review and info. There are tons of tools in GitHub and some really need more exposure!
[-] The following 3 users say Thank You to jasonX for this post:
  • Deep900, dhruv2193, harlan4096
Reply
#3
(11 January 19, 20:52)jasonX Wrote: Very nice there! Thanks for the review and info. There are tons of tools in GitHub and some really need more exposure!

Yes, that's a very good tool to view source code of .NET malware samples!
[-] The following 1 user says Thank You to Deep900 for this post:
  • harlan4096
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
GFYI [Official] FastestVPN New Year 202...
"Share feedback...damien76 — 05:29
GFYI [Official] Ashampoo New Year 2025 ...
"Share feedback...damien76 — 05:26
How to install or update Kaspersky apps ...
Our Android apps a...harlan4096 — 12:12
A look at Firefox's improved Profiles Ma...
Firefox has suppor...harlan4096 — 10:25
EaseUS Data Recovery Wizard Professiona...
  EaseUS Data Recov...jasonX — 09:06

[-]
Birthdays
Today's Birthdays
avatar (50)Josepharelf
avatar (39)kholukrefar
Upcoming Birthdays
avatar (49)theoldevext
avatar (44)algratCep
avatar (39)zetssToomy
avatar (46)GornOr
avatar (49)Jamesmog
avatar (37)opeqyrav
avatar (40)uxegihor

[-]
Online Staff
damien76's profile damien76

>