Assembly Language - Basic Malware Reverse Engineering (Part 17 – How To Install Linux)

Assembly Language - Basic Malware Reverse Engineering (Part 17 – How To Install Linux)

For a complete table of contents of all the lessons please click below as it will give you a brief of each lesson in addition to the topics it will cover. https://github.com/mytechnotalent/Reverse-Engineering-Tutorial

If you do not have Linux installed on a computer within your household, I would suggest installing Virtual Box which is an open-source free virtual environment which you can install on your existing computer to have a version of Linux you can program with. Below is a link to download and install Virtual Box as there are versions for both Windows and Mac.

https://www.virtualbox.org/wiki/Downloads  

No alt text provided for this image

In addition, you will need a copy of Linux to which I will be working with Ubuntu. Below is a link to download the .iso file to which you will install once you have Virtual Box installed.

https://www.ubuntu.com/download/desktop 

No alt text provided for this image

After you download the above .iso, go to your Download directory and first execute and run the VirtualBox-5.0.24-108355-Win.exe or whatever version of VirtualBox that is currently available. If you are running a Mac, you will download the .dmg file. Simply double-click on the file to execute and run it.

After you install VirtualBox-5.0.24-108355-Win.exe or the Mac .dmg file and you will see this screen:

No alt text provided for this image

Click on the New button above which is located in the top-left corner of the screen as it is a big blue cog-looking circle.

No alt text provided for this image

In the name field above, type Ubuntu and click the next button.

No alt text provided for this image

It is important to click on the blue slider bar above and select an amount of ram that points to an area in green so that it does not overwhelm your computer resources. After moving the blue slider, click next.

No alt text provided for this image

Then click create.

No alt text provided for this image

Then click next.

No alt text provided for this image

Then click next.

No alt text provided for this image

Please move the dial up to 16.00 GB rather than 8.00 GB shown above then click create.

No alt text provided for this image

The next step is to click on the green start button.

No alt text provided for this image

The next step is to click on the yellow folder just above the cancel button.

No alt text provided for this image

The next step is to click on the .iso file that should be in your Download directory and click open.

No alt text provided for this image

The next step is to click start.

No alt text provided for this image

The next step is to let the install begin and click Install Ubuntu.

No alt text provided for this image

The next step is to check each of the boxes to Download updates while installing Ubuntu and click continue.

No alt text provided for this image

The next step is to select Erase disk and install Ubuntu and click install now.

No alt text provided for this image

The next step is to click continue and progress forward to the screen where you will select your timezone to which you will select continue.

No alt text provided for this image

The next step is to select your keyboard layout and click continue.

No alt text provided for this image

The next step is to create a name for your account. I chose noroot and did the same for the username. In addition, create a password and re-type it for verification and click continue.

No alt text provided for this image

At this point it will take some time to install the operating system. When the process is finished, click restart now. If the window locks up, click Power Off The Machine and click close or next.

No alt text provided for this image

At this point, click on the green start button.

No alt text provided for this image

Enter in your password that you created earlier and click enter on your keyboard. You can click on the blue x buttons in the top right corner as they are just some information you can close out.

No alt text provided for this image

Congratulations! You have a working version of Linux! 

No alt text provided for this image

Click on the top left icon and type terminal and double-click on the first Terminal icon with the >_ in the window.

No alt text provided for this image

You will see a Terminal icon at the bottom left of your screen. Right-click on it and select Lock to Launcher so that it will be available for you once you close the window.

No alt text provided for this image

In the terminal window type cd Desktop and press Enter. Then type mkdir Code and press enter. The first command moves you into the Desktop directory and the mkdir command creates a folder on the Desktop called Code so that we have a place to store our software applications that we create.

No alt text provided for this image

It is important you keep your version of Linux up to date. Every time you login, you should type the following commands. First, sudo apt-get update and press enter.

No alt text provided for this image

Next you should then type sudo apt-get upgrade and press enter.

No alt text provided for this image

In order to work with 32-bit Assembly examination, we need to install the gcc multilib package so that we can compile 32-bit versions of C code for examination. Type sudo apt-get install gcc-multilib and press enter.

No alt text provided for this image

 

 

 

 

Finally click on Devices and click Insert Guest Additions CD Image… in order to get a better working functionality out of your VM.

This has been a very long tutorial however necessary to get you a working copy of Linux so that we can continue with our future tutorials.

I look forward to seeing you all next week when we learn how to use the vim text editor to begin coding!

Yuri Gama

IT support technician

2 年

My Ubuntu doesn't use virtual box or any virtual machine, actually I've instaled it using a bootable USB drive, is that a problem?

回复
Kevin Thomas

Author of the world’s most popular Reverse Engineering Tutorial

8 年

Thank you Krystin Gibbons I appreciate you sharing. My hope is that this tutorial provides an easy step-by-step tutorial so that everyone can have a working FREE version of Linux.

回复

要查看或添加评论,请登录

Kevin Thomas的更多文章

社区洞察

其他会员也浏览了