Deciding to learn Assembley

Hi I haven’t been blogging / working 😉 so much as I’ve been quite busy and in the process of relocating – but have decided to do this post and due my interest  in networking and security I have decided to learn the basics of assembly.  I decided to learn more about Assembly as I think it will be very useful to learn considering my interests.


So during this video I learnt some fundamental concepts of Assembly however this blog post I want to write about working with memory mapping in Linux based on another Youtube tutorial seen below, this tutorial is very good and it’s what this blog post is based around:


It is important to know the basics of program memory and how it is used which can be seen in the diagram below, in this post I mainly want to talk about the address of the stack and how this can be manipulated by changing the randomize_va_space in Linux.


The .text file deals with the executable file however during this post I want to focus mainly on the stack and the address of the stack in the maps file and how we can go about viewing and changing the memory address of the stack by changing the randomize_va_space file found in proc/sys/kernel/randomize_va_space . We do this by modifying the contents of the file. By inserting a 0 into this file, then the stack memory address will never change. This is really insecure and can allow vulnerabilities to happen but it is useful to change it for demonstration and learning purposes.

tay tuned and thanks for reading! 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s