代做CS 4293 Topics on Cybersecurity 2021/22 Semester B代做Statistics统计

CS 4293 Topics on Cybersecurity

2021/22 Semester B

Environment Setup

In this course, most of our hands-on assignments will be adapted from the project collections on the SEED (Developing Instructional Laboratories for Computer SEcurity EDucation) website (http://www.cis.syr.edu/~wedu/seed/index.html). You are strongly suggested to follow the guidelines to setup your own hands-on environment before doing your assignments. The environment includes the virtual machine software, e.g., VirtualBox and Linux, with which you can work on the assignments using your own personal computers. Getting familiar with them is critical.

Preliminaries:


Above is an illustration figure for cloud hosted virtual machines. In our labs and assignments, we also need to use a Hypervisor Software (VirtualBox) and an OS 1 image which is pre-configured. Within this OS 1 image, we can exploit the vulnerabilities without worrying affecting the hosted OS, achieving sandbox isolation.

1. Prepare the Virtual Machine Software: 

VirtualBox is recommended for the assignment in this course, which is open-source and completely free. We recommend Version 6.1.16 (please stay away from the newer versions, as they may still have some issues with our VM).  If you are working on your own computer, it can be downloaded here. We note that other virtual machine software like VMware Player and Parallels Desktop are also compatible to use.

Go to the download page shown as below and choose the appropriate installation package according to your host operating system:

For instance, students who prefer to work on their MAC laptops should select VirtualBox for OS X hosts.

NOTE:

To make Virtualbox work on all platforms, you need to enable x86 virtualization technology. On x86-based Mac, it is enabled by default. On windows, you need to enable Intel VT-x option in the BIOS settings (similarly SVM on AMD platform).

2. Prepare the Pre-built Ubuntu Virtual Hard Disk File (Optional):

To use the pre-built Ubuntu image, we basically need to create a guest OS image (Ubuntu 64 bit) that is stored on the hosted computer and load the pre-built virtual hard disk file.

In CS Lab Room 2450, the pre-built Ubuntu virtual hard disk files are already prepared.

You can find them in the directory “C:\VirtualBoxVM\CS4293\SEEDUbuntu-20.04-64bit”. The virtual hard disk files are ended with the extension “.vdi”. You can also find 32-bit version but you do not need them in this course.

If you are working on your own computer, a pre-built Ubuntu 16.04 virtual machine image (SEEDUbuntu 20.04.zip) can be downloaded from Google Drive (4 GB).

3. Install Pre-built Ubuntu 20.04 VM image on VirtualBox:

A detailed document from SEED regarding the configuration of the pre-built VM is available at the SEED site (Manual). It gives a more detailed overview of all the installation procedures. Note that some of them might not be necessary for this course (e.g.,  Step 5.d: Network).

Open VirtualBox:

1. Find the shortcut to VirtualBox using CS Lab Menu (if you are in CS Lab Room 2450) or Install VirtualBox Manager using the downloaded installer (if you are working on your own computer).

2. Launch VirtualBox.

3. Launch the Ubuntu image from VirtualBox by clicking “New”:

You should see a screen similar to the following:

Our prebuilt Ubuntu 20.04 VM is 64-bit, so pick Ubuntu (64-bit). Name the VM, select the type as Linux and then continue: 

We need to allocate dedicated memory for the VM. 1024 MB should be sufficient, but we recommend 2GB. If your computer has more RAM, you can increase accordingly. The more memory you give to the VM, the better the performance you will get.

Click the folder image. On the popup window, use the Add button to select the .vdi file provided in C:\VirtualBoxVM\CS4293...

Note: If you get an error message saying that the UUID already exists, this is because the UUID in the selected vdi file is the same as the one used by an existing VM. You can either remove the other VM or change the UUID in the vdi file.

After the previous step, your VM will be created, and you will see it on VirtualBox's VM panel. We need to do some further configuration. Click the Settings option, and we will see the Settings window.

Go to the General category, and select the Advanced tab. Select Bidirectional for both items. The first item allows users to copy and paste between the VM and the host computer The second item allows users to transfer files between the VM and the host computer using Drag'n Drop (this feature is not always reliable).

The copy-and-paste feature is very useful. If you can't do copy and paste, chances are that you forgot to do this step. You can always do it later by selecting the Devices menu item, and you will see the Shared Clipboard submenu.

Note: For some reason, on particular platforms like Windows, some bugs do exist such that you cannot successfully enabled bidirectional support. But you can still use the network within the guest SEEDUbuntu image, e.g., download materials from canvas and transfer files to the host through Whatsapp. 

Go to the System category, and select the Processor tab. Assign number of CPUs to this VM if you prefer. Although may be sufficient, if the performance seems to be an issue, increase the number.

Go to the Display category, and select the Screen tab. If the display does not seem to work properly, try to increase the amount of video memory. In our testing, 28 MB seems to be sufficient.

Note 1: Make sure to select VMSVGA, as choosing other graphic controllers may lead to the crash of the VM.

Note 2: If your computer's screen resolution is too high, the VM may not be able to match the high resolution. As results, your VM will be very small on your screen. To make it bigger, adjust the Scale Factor in this setting.


We can now start the VM. You can also use the Take button to take a snapshot of your VM. This way, if something goes wrong, you can roll back the state of your VM using the saved snapshots.

There are many ways to stop the VM. The best way is to use the Save State. This is different from shutting down the VM. It saves the current VM state, so next time when you restart the VM, the state will be recovered. Moreover, the speed is also faster than booting up a VM.

Sometimes, we need to copy files between the host machine and the VM.

Step A. First you need to create a folder on your local computer (or using an existing folder). We will let the VirtualBox know that this folder should be shared with the VM. Go to the following menus:

Once you see a Add Share popup window, select the folder that you want to share, click OK, and you will see that the folder is now made available for sharing.

Step B. Inside the VM, we need to mount the shared folder somewhere. Let's mount it to the home directory as a folder Share. We will create a folder called Share in the home directory, and then mount the shared folder VM_Shared to this Share folder using the following command. After that, you can access the shared folder from ~/Share.

$ mkdir -p ~/Share

$ sudo mount -t vboxsf VM_Shared ~/Share

Important Note. Please only use the shared folder to copy files between the VM and the host machine, and never use it as your working folder!!! Working from the shared folder has caused many problems, especially on the permissions of the files created inside the shared folder. For example, if we unzip the Labsetup.zip file inside the shared folder, the permissions of the unzipped files will be different from those on the original files. Some labs and containers are very sensitive to those permissions.



热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图