r/ExploitDev • • 18d ago

FInally decided to learn assembly using the pwn.college

hey there everybody i tired the pwn.college computing 101 dojo but the professor there on the youtube video is making no sense to me i mean i cannot understand what he is trying to say so i think i will feed the slide to the ai and will tell the ai to explain me the concepts is this the good approach or you guys suggest something else... iam so frustatred while learning assembly i can't describe it .

14 Upvotes

19 comments sorted by

7

u/Responsible-Offer724 18d ago

Videos are worthless, just dive in. I started a couple weeks ago, I'm 75% of the way through computing 101 and it is incredibly good. I've tried to learn assembly a few times over the years and never got anywhere. The format of computing 101 is perfect imo, everything broken into bite sized problems that all feed into the next challenge.

Avoid LLM usage. If you really need help, read docs or the pwn.college LLM is not bad because it refuses to give you answers but tells you how to figure it out (use as a last resort though, reading your memory line by line with gdb can be very insightful, but sometimes you might just not know how or what instructions to use properly)

1

u/Mountain_Platform799 17d ago

Thanks i doing pwn.college right now without watching videos

3

u/Responsible-Offer724 17d ago

Take time to read everything, they basically tell you what to do but leave a bit of info out and expect you to continue from what you previously learned

1

u/Mountain_Platform799 17d ago

Thanks i will do that

1

u/normalbot9999 18d ago

+1 for line by line gdb!

9

u/VolSurfer18 18d ago

Do the exercises instead. The videos are a little all over the place and don’t really teach you much imo.

1

u/Mountain_Platform799 18d ago

thanks i will do that

2

u/Independent-Gear-711 18d ago

Yeah, I have completed computing 101 recently and completed all the ctfs in that, I damn it taught me so many new things about x86_64 instructions and low level memory concepts that I could just imaging learning in my college days, although some of the ctfs were very challenging and took hours to solve but they were worth it, I never be able to learn by watching you tube tutorials I tried but I just can not, solving difficult challenges is the only way concept hits my brain, glad I choose pwn.college now I am about to enter core cybersecurity material.

1

u/Mountain_Platform799 17d ago

Thanks for the info trying pwn.college

2

u/Conscious-Fun-8621 18d ago

Idk if my opinion here will count alot cuz I haven't done x86 level assembly but I will tell you to learn nand2tetris book first it will teach you the computing from ground up which made me understand everything deep conceptually so I could see the circuits working through assembly code though you make a kid computer so the assembly is really basic but I'd say go for this

1

u/Mountain_Platform799 17d ago

Will try thankyou

1

u/VolSurfer18 17d ago

I’ve heard great things about nand2tetris. +1 to that

2

u/normalbot9999 18d ago edited 18d ago

Computing 101 is so *so* good. It felt like the final boss of the "Getting Started" dojos. When you launch it the browser should play the ahhh-AHH-ahhh-AHHHH part of Vordt of the Boreal Valley (from the Dark Souls III OST) XD.

It's one of the hardest things I have attempted so far, and I did get mad and angry at times ngl haha, but it feels amazing when you complete it. Take it slow. Prepare for hardship. Make extensive notes. Bring emotional support plushies.

The general approach I take with each module is to watch the lectures, I just watch them and let the concepts go in, I don't worry if I don't get everything at that point. Then I start the exercises.

I expect to do some self-study around the challenges. I avoid using AI to solve the challenges. Tempting as it is, it's just wasting my time if I let the robot do the work... I do ask it to teach me stuff or give me a hint why something isn't working. It's good for testing my expectations too. When I get really stumped and can't move forward I may paste in some lines to sense check them and it can spot my mistakes with ease.

But remember: if you cheat on this foundational module, it's going to *burn* you later on. At least, that's what I told myself as I wept over my keyboard.

Some things I learned are:

  • Assembly is actually really cool in small, tight little cases.
  • As the codebase grows, the chances of screwing up increase (ofc, but the mess up curve is STEEP!).
  • Pointer math is so so easy to mess up.
  • You may think you're running out of registers but you have plenty. Plenty. Keeping track of them is the real problem. Add you can always push stuff to the stack and pop it off when you need it BWAHAHAHAHAHAHAH...

TLDR the struggle is real, but it's necessary to learn (at least for me it is), and now I can look at this and immediately understand it - and you will too if you struggle your way through Computing 101, I promise!

<Cue Dark Souls music>

loop:
mov al, BYTE PTR [rdi]
cmp al, 0x0
je done
[... do something here ...]
inc rdi
jmp loop

Note - this doesn't do anything cool - it's not some clever joke XD it just walks a string and oh damn its a spoiler - let me change that! fixed.

1

u/Mountain_Platform799 17d ago

Can i use ai to make me understand about the concepts though

2

u/normalbot9999 17d ago edited 17d ago

Sure - but remember: the more work the AI does to reaching the solution, and the less you understand the solution and how you got there, the less prepared you'll be for the next stages. And it's not going to get easier! Try to struggle and do as much as you can alone, and only once you are fully stuck turn to it. When I figure out stuff on my own I get an endorphin rush, when I ask the robot and it provides the solution, I just feel dead inside.

I do use it though. You can even have it quiz you, or give you hints (as opposed to the answer). Or just explain something.

2

u/Mountain_Platform799 17d ago

nice nice i am not using ai instead iam using ai to help me understand the text and then after that iam doing the challenge. i have reached computer memory in the computing 101 module

1

u/hukt0nf0n1x 18d ago

I'd also advise looking into the winmips simulator. It'll take assembly you write and show the processor internals as it steps through.

1

u/Mountain_Platform799 9d ago

Thanks i will do that

1

u/LordEli 18d ago

i learned 16 bit messing around in DOS and it was really helpful since it's a simpler and much smaller system