0:00 intro 0:13 storytime 1:18 important to learn this 1:47 setting up 2:26 decompiling 3:14 breaking down code 5:23 used on me 6:07 how it works 7:35 outro
Most malware is written in C/C++ reverse engineering the assembly back is much harder than a simple .NET MSIL executable… That’s why writing malware in interpreted languages makes them weak So this is not that useful to be honest
Notes: 3:07 for Forms/WPF apps, yes it does start in the Program class, but I rather suggest looking in the MainForm class as most of the code is located in there 5:00 don't recommend obfuscating! There's a much easier way to ensure that people attempting to reverse engineer your code go through a lot of pain: compiling it into native code. Nick Chapsas has an excellent video on that topic
this literary need 0 RE skills. Default c# compiled files are too easy to decompiled perfectly. You not have to do anything. RE skills need when the executable is compiled with c/c++ for example, where you cannot see function and variable names, compiler optimaze (eg: convert 2 or more functions to 1) and so many times decompilers fail to analyze specific parts or they decompile them wrong and ofc a big challenge is when excutable is protected/packed/obfuscated or virtualized
also if the program is written not in C# but in C for example its much much harder to reverse engineer also there are tools that obfuscate those C# assemblies
dnSpy can only decompile .NET executables. It's also wrong to say it gets the original source code because it doesn't necessarily. Addtionally, the managed entrypoint method doesn't have to be named Main inside a class named Program. A lot of unmanaged and managed code can execute before reaching the managed entrypoint. 1. Unmanaged entrypoint (for .NET executables you usually have a single call to _CorExeMain here that kicks off the execution of a .NET program) 2. Managed (.NET) module constructor 3. Static constructor of the class containing the managed entrypoint method 4. Managed entrypoint
It's important to note that this is for .NET only. Pretty cool to start, but not very useful for reverse engineering, most malware and secured applications are written in C++ or C. For these languages you need to learn assembly and work with IDA or x64dbg. :)
I managed to grab a payload that confuses the decompilers available on dogbolt. Binary ninja worked the best, but only gave a somewhat correct decompilation after making a change to the payload. I've done assembly for simpler processors, so I have some clue, but x86 and x64 are much more complicated beasts.
its not "C# Assembly". dotNet framework and dotNet core don't actually compile code directly into assembly or any type of actual machine code. its "compiled" into IL which is intermediate language that is a step up from assembly that is still very readable and doesnt share many similarities with asm. .Net core and framework runtime libraries are essentially interpreters for IL and thats why it needs to be on your computer to run it. MSIL is the reason .net can be cross platform because it isnt actually being compiled and is just interpreted during run time kinda like python (massive overstatement but the basis is there).
Remember guys, this is ONLY for c#. this isnt considered as reverse engineering just deompiling. You cant decompile to easy readable code for C++ .exe/.dll files. To "decompile" c++ applications/libraries you will need to do reverse engineering.
There is also a tool called ghidra that was developed by the NSA. Not as clean cut as what home boy has for dnspy but it can decompile almost any source code.
Man, no matter how well you explain, if you move the cursor on the screen at crazy speed NO ONE will want you to appreciate the work. It is very disturbing chosen chaos of the cursor.
The sys32 file on your computer actually trys to stop your computer from revealing source code to keep copyrighted code from being distributed, so if you delete that, then go to settings > advanced > debug mode and turn debug on, you can reveal source code by just right clicking and pressing decompile in the context menu.
One weird thing I've seen with C# is if you make a private async void in visual studio, compile it, then open the source code using DnSpy. The stuff inside the void/function looks odd, it almost looks like it obf itself. If you dont know what I'm talking about try the steps I said above, and if you could please tell me why it does that. Thanks (:
C# and all other languages .NET compile source into something called Intermediate Language (IL) this is meant to be code that is platform independent, and .NET runtimes/interpreters interpret the IL code, except that runtime was only released on windows. . .
the nature of .net c# makes it really easy to do this, writing malware in c# is very counterintuitive because of this most of the time malware is written in languages like c or c++ which is many times harder to actually decompile after it is disassembled, full decompilation projects for software written in these common languages have historically had many contributers and can take years to complete
btw i got from moom an rat he said it was an rat setup ( the discord server is down bc someone did smth ) ( hes one of my friends the one who takethe server down)
Okay everyone that is reading huge explanations for everything so c# is very easy to decompile so his title is nice but not all executables are easy to just put into DNSpy or the other one. Obfuscation: usually used in programming languages that are high level like c#, python, java, visual base all of these can be decompiled or already are readable but besides that obfuscation is used for making reverse engineers harder because a file could be 100 mg but only 4 lines of code. How does obfuscation look like usually opening one of these files you might see the alphabet or just AAAAAAAA = thrbfbdjgwhaoshdj which is weird but that is the hold point it needs to be messy and unreadable. Decompile: basically taking the compiled application and restoring almost or all the way to readable code IDA, x64dbg, ghidra: great reverse engineering application but IDA and ghidra are for not running applications called statice and x64dbg is a great tool for debugging usually used for a running application to see what is does called dynamic test honestly get good at all of them Have fun with what ever you do
nah fr, it only works on .NET executables though. if you have a native executable you're gonna need a disassembler (like IDA or dbg64) or smth and reverse ingeneering the hard way with assembly which is hard and painful, after that you can *understand* (and not decompile) the code. Because native code symbols is often mangled or unexposed (labels are not exported), you can't get them back.
really nice video! personally I'd be interested in reversing/cracking simple software, like just bypassing a simple "password:" input in a python .exe file. Have a great day!
Sadly C# has been used less and less for malware, making dnSpy basically unrelevant nowadays. (Still good for game cheating) To reverse engineer Malware nowadays you'll probably have to use IDA or alternative decompilers such as Binja. Another thing is that "good" obfuscators have been cracked (e.g VMP also I know that VMP aint that good but you aint gonna do shit on a VMP protected binary with newbie knowledge) Also im pretty certain that stuff like Oreans Code Virtualizer is free now so thats another pretty good option.
the title makes no sense because it would just send like 3k requests to the server or webhook (if your a discord skid) summary: its a while loop that sends alot of the same message since it loops forever
"C# Assembly" is called IL and it's much more verbose than any assembly instruction set. Which is why it's trivial for programs, like DNSpy, to reconstruct the source, but it's by no means literally 1:1. This can vary depending on compiler settings, and typically in unpacked/unobfuscated binaries, it's pretty close. That is to say the assertion "DNSpy shows you the original source code" is disingenuous. Do more research. If you're to be an educator that has reach, you 'ought to be a good one.
Whats funny that they have their entire webhook open meaning you can just spam the hell out of their webhook with that url, if you run the exe through triage you can get their bot token and login through a bot client and screw with them that way too
hi ebola man, great vid but i have a suggestion, can you do a video on how hackers crack passwords in kali linux .(Tools like hydra or john the ripper).PLS
i thought you were going to use apps like x64dbg and view the assembly code. u cant do anything with dnspy to app that has been fully converted to machine language
0:00 intro
0:13 storytime
1:18 important to learn this
1:47 setting up
2:26 decompiling
3:14 breaking down code
5:23 used on me
6:07 how it works
7:35 outro
paste this in the description thanks
I mistakenly exited the discord channel, please could you share the link?
ebola whats your discord server?
try oding this with a crypted file 💀
@ebolaman_ pls make video on how FUD a exe file
Most malware is written in C/C++ reverse engineering the assembly back is much harder than a simple .NET MSIL executable…
That’s why writing malware in interpreted languages makes them weak
So this is not that useful to be honest
Yeah especially if its packed and you cant just throw it in ida or ghidra or w/e
and even if they are written in C# hacker can just use C# Assembly obfuscators but i havent tried them
@@GoldbergToastyBredc# obfuscators are pretty much useless
@@hahahaha-hi3wt not much you can do except spend hours reading the assembly figuring out what happens step by step
that's another sitty youtuber trying to get kids attention pretending to know anything, don't worry
you never fail to spread our cheeks and fill us with your goodness 😊
huh
what
soooo original
Ayo?!
Ayo WTF?!
Notes:
3:07 for Forms/WPF apps, yes it does start in the Program class, but I rather suggest looking in the MainForm class as most of the code is located in there
5:00 don't recommend obfuscating! There's a much easier way to ensure that people attempting to reverse engineer your code go through a lot of pain: compiling it into native code. Nick Chapsas has an excellent video on that topic
I totally have zero experiences about this, but it's cool to know!
Thanks for the amazing video!
this literary need 0 RE skills. Default c# compiled files are too easy to decompiled perfectly. You not have to do anything. RE skills need when the executable is compiled with c/c++ for example, where you cannot see function and variable names, compiler optimaze (eg: convert 2 or more functions to 1) and so many times decompilers fail to analyze specific parts or they decompile them wrong and ofc a big challenge is when excutable is protected/packed/obfuscated or virtualized
also if the program is written not in C# but in C for example its much much harder to reverse engineer also there are tools that obfuscate those C# assemblies
know any to use?
@@dhheisterYT what do you mean? programs that obfuscate?
@@GoldbergToastyBred yes
@@dhheisterYT I think i commented the program name but it got removed..
@@GoldbergToastyBred perhaps you can commented it on one of my youtube videos
dnSpy can only decompile .NET executables. It's also wrong to say it gets the original source code because it doesn't necessarily. Addtionally, the managed entrypoint method doesn't have to be named Main inside a class named Program.
A lot of unmanaged and managed code can execute before reaching the managed entrypoint.
1. Unmanaged entrypoint (for .NET executables you usually have a single call to _CorExeMain here that kicks off the execution of a .NET program)
2. Managed (.NET) module constructor
3. Static constructor of the class containing the managed entrypoint method
4. Managed entrypoint
Can you make a video on "how games get hacked"
Yessir
But how do they get hacked?
Fr
Fr
THANK YOU, VERY MUCH! edit: i literally inspect malware with notepad by searching for "crypto", "discord", or "token"
how do you do that?
@@kamoliddintrade
Drag the file and drop in an empty opened notepad
4:01 theres no mozilla in here 💀
The skids are gonna love this
As a skid i love this 🤫
It's important to note that this is for .NET only. Pretty cool to start, but not very useful for reverse engineering, most malware and secured applications are written in C++ or C. For these languages you need to learn assembly and work with IDA or x64dbg. :)
And visual basic
I managed to grab a payload that confuses the decompilers available on dogbolt. Binary ninja worked the best, but only gave a somewhat correct decompilation after making a change to the payload. I've done assembly for simpler processors, so I have some clue, but x86 and x64 are much more complicated beasts.
its not "C# Assembly". dotNet framework and dotNet core don't actually compile code directly into assembly or any type of actual machine code. its "compiled" into IL which is intermediate language that is a step up from assembly that is still very readable and doesnt share many similarities with asm. .Net core and framework runtime libraries are essentially interpreters for IL and thats why it needs to be on your computer to run it. MSIL is the reason .net can be cross platform because it isnt actually being compiled and is just interpreted during run time kinda like python (massive overstatement but the basis is there).
thanks, that was a useful one. absolutely need more videos about reverse engineering, maybe different methods and tools
Remember guys, this is ONLY for c#. this isnt considered as reverse engineering just deompiling. You cant decompile to easy readable code for C++ .exe/.dll files. To "decompile" c++ applications/libraries you will need to do reverse engineering.
Your content is very informative. Better than all other youtubers I have seen so far
bros a malware himself......cuz he be stealing my heart bro😭
😂😂
99.99% of malware is obfuscated in one way or another... btw bro looks majestic asf for some reason
he mogged us
yea true but most people just use x64dbg a free program for reverse engineering
good vid and finally you are back
It's really impressive the things you teach. I was wondering, how did you go about learning all of this?
bro looking magestic
egg.
🥚
egg.
egg.
Egg.
egg.
There is also a tool called ghidra that was developed by the NSA. Not as clean cut as what home boy has for dnspy but it can decompile almost any source code.
Compiling this using AOT Native will probably make it much harder to reverse it
finnaly a "non skid" video
Man, no matter how well you explain, if you move the cursor on the screen at crazy speed NO ONE will want you to appreciate the work. It is very disturbing chosen chaos of the cursor.
😭😭
Thank you for your videos, they are very interesting, keep them like that ❤
what if its encrypted
The sys32 file on your computer actually trys to stop your computer from revealing source code to keep copyrighted code from being distributed, so if you delete that, then go to settings > advanced > debug mode and turn debug on, you can reveal source code by just right clicking and pressing decompile in the context menu.
@@omerahmed4066 you got discord?????
If the file is encrypted you do nothing
@@mrbeltrattore uhh ok
@@omerahmed4066 nice one so original
All of your videos are so interesting thanks for showing me how to do this, it's so cool
This is only for .NET compiled executables. Not for C/c++ compiled malware..
IIRC It also wont work with languages such as rust.
i love you ebola man
Yes, I'd like to learn more about reverse engineering and decompiling. Where do I begin? 🙂
One weird thing I've seen with C# is if you make a private async void in visual studio, compile it, then open the source code using DnSpy. The stuff inside the void/function looks odd, it almost looks like it obf itself. If you dont know what I'm talking about try the steps I said above, and if you could please tell me why it does that. Thanks (:
Reel GorillaTaggingKid???
yes@@Riskeee.
@@Riskeee. yep. HEY MOM, I'M FAMOUS.
@@GorillaTaggingKid_YT I’m in ur dc lol
@@Riskeee. bruh
W Ebola!
C# and all other languages .NET compile source into something called Intermediate Language (IL) this is meant to be code that is platform independent, and .NET runtimes/interpreters interpret the IL code, except that runtime was only released on windows. . .
wow your vids are really interesting are informative keep it up
IDK but bro is glowing
the nature of .net c# makes it really easy to do this, writing malware in c# is very counterintuitive because of this
most of the time malware is written in languages like c or c++ which is many times harder to actually decompile after it is disassembled, full decompilation projects for software written in these common languages have historically had many contributers and can take years to complete
Seeing the source code makes my portable Firefox sleep better lol
btw i got from moom an rat he said it was an rat setup ( the discord server is down bc someone did smth ) ( hes one of my friends the one who takethe server down)
Okay everyone that is reading huge explanations for everything so c# is very easy to decompile so his title is nice but not all executables are easy to just put into DNSpy or the other one.
Obfuscation: usually used in programming languages that are high level like c#, python, java, visual base all of these can be decompiled or already are readable but besides that obfuscation is used for making reverse engineers harder because a file could be 100 mg but only 4 lines of code. How does obfuscation look like usually opening one of these files you might see the alphabet or just AAAAAAAA = thrbfbdjgwhaoshdj which is weird but that is the hold point it needs to be messy and unreadable.
Decompile: basically taking the compiled application and restoring almost or all the way to readable code
IDA, x64dbg, ghidra: great reverse engineering application but IDA and ghidra are for not running applications called statice and x64dbg is a great tool for debugging usually used for a running application to see what is does called dynamic test honestly get good at all of them
Have fun with what ever you do
This guy is the master of clickbait, he didnt even use Ghidra
video banner : c++/c
irl : non obfuscated c#
he send you a free grabber you just need to change the weebhook lmao haha
This is only for programs that are written in the language C# for NET, NET FRAMEWORK
egypt is on fire with your content
bruh chill on the mouse movements.
No
Finally, the secret method.
Moral of the story: Use a C2 server
can you make tutorials on reverse engineering C++ game applications?
it might also be able to open files made with cython
bro is the master at hacker clickbait 😭, this method only works for c# programs
Opinions on hello kitty?
Great as always...keep it u dude...
token first is that base 64 user id next is when it was created by time and next is random
This content got me screaming
nah fr, it only works on .NET executables though. if you have a native executable you're gonna need a disassembler (like IDA or dbg64) or smth and reverse ingeneering the hard way with assembly which is hard and painful, after that you can *understand* (and not decompile) the code. Because native code symbols is often mangled or unexposed (labels are not exported), you can't get them back.
maybe i could reverse engineer windows apps and recompile them for linux so it works on my machine
I love your video :)
*Laughs in Applocker 😂😂
bro says his "T's" very aggressively
hi
hey
really nice video!
personally I'd be interested in reversing/cracking simple software, like just bypassing a simple "password:" input in a python .exe file.
Have a great day!
Yo this is void, what happened to the discord serv, my account was disabled.
u got banned so did i, msg me on insta ebolamayne
bro shit can be obfuscated yk
Sadly C# has been used less and less for malware, making dnSpy basically unrelevant nowadays. (Still good for game cheating)
To reverse engineer Malware nowadays you'll probably have to use IDA or alternative decompilers such as Binja.
Another thing is that "good" obfuscators have been cracked (e.g VMP also I know that VMP aint that good but you aint gonna do shit on a VMP protected binary with newbie knowledge)
Also im pretty certain that stuff like Oreans Code Virtualizer is free now so thats another pretty good option.
native aot
obfs
I fucking LOVE EBOLA MAN
how do you make to prevent tokens/sessions browser hijacking?
The video: convert. Exe to source code
What my brain heard: heres how to skid and steal any app you want.
Stop swinging the mouse around! Feels like the person is panicking and not feeling well.
Amazing job! Can you teach us how to create pixel trigger bot? (educational purposes only)
im gonna listen to it all first but im at 2min07 and question popped in my head, are you sure i should trust that .exe?
the title makes no sense because it would just send like 3k requests to the server or webhook (if your a discord skid)
summary: its a while loop that sends alot of the same message since it loops forever
bro looks so majestic
"C# Assembly" is called IL and it's much more verbose than any assembly instruction set.
Which is why it's trivial for programs, like DNSpy, to reconstruct the source, but it's by no means literally 1:1. This can vary depending on compiler settings, and typically in unpacked/unobfuscated binaries, it's pretty close.
That is to say the assertion "DNSpy shows you the original source code" is disingenuous.
Do more research. If you're to be an educator that has reach, you 'ought to be a good one.
I clicked thinking there’s a new tool that converts asm instructions from an exe to somewhat readable and formatted c.
And if there is just PE?
you just earn a new subscriber
If i drag in an exe it only shows PE
Is that if its a shortcut?
No, its most likely because the exe is not a .NET exe. Shortcuts are not PE. PE files are exe, dll, etc.
as someone who codes malware in python, I see this as an absoloute win
pyinstaller files are even easier to decompile 💀
you are looking into my soul
Whats funny that they have their entire webhook open meaning you can just spam the hell out of their webhook with that url, if you run the exe through triage you can get their bot token and login through a bot client and screw with them that way too
when i get the file it doest show code only "PE"
You grew kinda fast
ur the beeest ytber EVER thanks for the cmd hacks respect
good luck decompiling rust compiled exe
what if i only have the pe header and nothing else
appreciate tecca in background
bro doesn't know that a batch file is plain text LMAO
Ayoo New video 🔥🔥🤙
hi ebola man, great vid
but i have a suggestion,
can you do a video on how hackers crack passwords
in kali linux .(Tools like hydra or john the ripper).PLS
Not working for every single exe
i thought you were going to use apps like x64dbg and view the assembly code. u cant do anything with dnspy to app that has been fully converted to machine language
x64dbg is a debugger for native. ida pro would prob be the best for static analysis
does it works for cubase pro tools mairlist thank you so much
This is C# not C,C++. and compiler optimizing source code while compile time so you cannot never get the original code
mine doesnt open code. only // location and // timestamp with only PE tab
as he said only works with .net c# compiled executables
6:09 bro this music is distracting it doesn't work in BG,
otherwise great video.
i've used dnspy before to modify games, but holy shit i didn't realize how powerful this tool is.
really helpfull no more viruses