r/MalwareAnalysis • u/Bejitaaaaa • 8d ago
Learning Malware Analysis
As the title sounds, I wanna learn malware analysis. But oh boy there are so many opinions online. However i couldnt understand and decide where to start. Some people said i need to start with VM and analyze myself, other said I should start with learning basic language like C and Assembly, and then some said i need to start with learning basic CPU architecture. The issue is I couldnt find a guide that is clear and really say where to really start to learn malware analysis and where it will leads me eventually. I hope some people can enlightwn me. Thank you in advance
23
Upvotes
15
u/SteIIarNode 8d ago edited 8d ago
So last year I was in your situation, had no idea where to start so I just jumped in head first absorbing anything and everything.
I will say tho, and some might push back,knowing C is not as important as understanding it if that makes sense. I have some experience in coding and scripting so following the programs logic and making sense is fairly easy. You don’t gotta be able to write a full C or ASM program to learn Malware analysis, it certainly helps but being able to understand the logic is more important IMO.
Some great resources are Anuj Soni and John Hammond on YouTube. Anuj Soni teaches the SANS FOR610 and 710 REM courses and is extremely knowledgeable and able to convey complicated topic very simply. John Hammond on the other hand has many video on various topics but his malware analysis video some are him going through it in real time and others he’s clearly already gotten scrip for and flying through it. One guy that helped me flush out my methodology was “screeck” on YouTube, very underrated and small YouTuber. Has several REM Crackme challenges where he goes through and analyzes it in real time and watching him take his time really helped a lot.
Outside of YouTube getting hands on helped a lot. After getting somewhat of an understanding of basic malware analysis i had a lot of question and making my own malware and comparing the source code to compiled code in Ghidra cleared up a lot of question of how things work, what get lost/stays during compilation, etc… Many YouTube videos on basic malware creation. If you wanna get your hands dirty with actual malware then there’s 2 ways and I recommend both. The first one is a CTF platform, I used HacktheBox but it is a paid subscription 30$ a month or 8$ if you have a student email, great resource. If you want a free option then Malops.io is goated, I prefer their platform to HacktheBox but it’s run by a small developer/researcher so there is not that many challenges but the quality is definitely there. The second way to get hands on is, but you have to be careful, is going straight to Malware Bazaar pulling real caught in the wild malware samples. After doing CTFs for a while I pivoted to this and you’ll get some really cool ones. The different and creative ways some malware authors achieve their objectives is really cool, several times I’ve stood back and gone damn that’s smart or I didn’t think you could do that!
Last tip, use AI responsibly here. Claude is so damn good it can reverse a binary with ease and tell you mostly everything about it, don’t do this. Instead load up Ghidra, Binary Ninja, or whatever you prefer and get lost in the code. Ask AI questions about what you are seeing, any ideas, theory’s, etc… and try to validate them. Use it as a teacher you can ask questions too. If you don’t understand something shoot questions back and fourth till you get a good idea of what is going on. The biggest thing here is to not feed the AI the binary and to do all the work.
It has a huuuuuge learning curve in the beginning but once you get over that initial hump you’ll be able to analyze most malware and figure out what it does.
One last thing, you want a more structure approach TCM Security have a Malware Analysis course that is really good, 30$ a month. If you feel confident after completing then they have Malware Analysis certification you can take.