r/Assembly_language • u/Adorable_Crazy_7281 • 9d ago
Sources for good assembly tutorials/begginers?
I am looking specifically for something like Geekforgeeks or Sololearning. Obviously for assembly it would be a more niche one but you get the idea. If its a book it would be okay too. Also can assembly be useful for cyber security/ red teaming since its attacking the base code of it all?
4
u/cyberbemon 8d ago edited 8d ago
I highly recommend "x86 Assembly language step by step 3rd edition by Jeff Duntemann". The book is old, but the way the language is taught is, imo one of the best, the first 6 chapters do a great job in nailing the fundamentals before you start writing any code. The only downside is the debuggers mentioned in the book are no longer in use, but that's not a big issue, just use gdb or any of it's variants with GUI.
3
u/MokausiLietuviu 9d ago
OST2 do decent courses that a number of people have recommended
A whole load of cyber research relies on understanding assembly, so yes to your last question.
2
u/ExitEnough4941 9d ago
pwn college has a free assembly module that’s hands on and super beginner friendly, way better than just reading about it
1
1
u/VadumSemantics 2d ago
Check out https://nandgame.com/.
Starts from the very lowest level with building a bit & progresses from there. Nandgame is superbly done. I made it to the bitmap graphics part, then it started getting bogged down for me. If you like it, do look for the book "From Nand to Tetris", and/or a class of the same name.
Also can assembly be useful for cyber security/ red teaming since its attacking the base code of it all?
I don't know that you'll be writing many security tools in assembly.
But, what you learn about assembly will help you understand and ask better questions (what a cpu really does, how memory really works, what "data" actually is). Knowing is more than half the battle. Stuff like IP addresses & lots of networking stuff comes to mind. Also understanding buffer exploits & other attacks.
I spend most of my time doing Python & SQL these days. Knowing how memory works though, and how networking works, helps me make informed decisions about how to approach problems.
6
u/mykesx 9d ago
https://github.com/mschwartz/assembly-tutorial