Everybody welcome to the next video.
So in this video we're going to be talking about assembly.
So jump in a general nutshell what is assembly.
Assembly is a low level programming language.
Now this is commonly used for interfacing with hardware or for an attacker's perspective.
We can translate assembly instructions into opt code which can then be directly integrated into memory
when attacking an application which is what is commonly used as show code inside of exploits.
Now why are we going to learn assembly in this particular course.
It's good to understand the payloads that can be done inside of exploits.
So understanding the payloads we also need to understand what an exploit is doing to a machine in memory.
So why is it doing certain things why is it jumping around.
Why is it using not sleds.
Why is it doing whatever it's doing.
We need to be able to understand that and then it also provides a good understanding on how a machine
works at a low level so you get familiar with handling memory yourself allocating memory clothes making
sure you close files that you open you're gonna have to do everything by hand.
So for example in assembly there isn't really an if statement so you kind of have to build that out
yourself.
Now you can also sniff out malicious shell code because show code on online can sometimes do things
that you're not expecting it to do.
So if you take the shell code convert it to assembly you're able to get a quick idea of what it's doing.
So that way you don't end up running some shell code that deletes the file system when you run it.
Now again most red teams will have their own set of Shell code and exploits that they have approved
and tested.
Just be wary of this that the show code there is show code out there that when used will do some adverse
and malicious things that you don't want it to do.