You are on page 1of 2

Page 1 of 2

CO1508 Computer Systems & Security – Week 12


Coursework Help & Support

Summary
You are going to start (or continue) working on your coursework. You’ll receive help and
support from your lab tutor regarding any question you have in mind about your
coursework. Below, you’ll find the main steps and where to find functions to get your
coursework going.

NOTE: If you didn’t complete the last two lab sheets (Week 10 and Week 11), then you
MUST do that now. Otherwise, you can’t get the steps below.

Activities

1. Programme 1 – Your Virus

The steps to create your virus for the coursework are:

• Create a project in Visual Studio and give it a unique name (this will be your virus name)

• Do the crazy mouse. The code can be found in Week 10 – Section 5.

• Open the RUN key and write your own EXE file path into it: Week 10 – Section 7.

• Hide the window of your exe virus: Week 10 – Section 6.

Once you put everything together, compile and run (CTRL+F5). Check that you’ve an exe file.
Double click on that exe file to make sure your virus is running.

NOTE: Remember when the mouse goes crazy, you’ll lose control. How would you launch
your anti-virus? You can change the action of your virus or come up with a creative solution
for this issue J

CO1508 Computer Systems and Security, UCLAN – 2019-2020


Page 2 of 2

2. Programme 2 – The Anti-Virus

The steps to create your own anti-virus for the coursework are:

• Create a project in Visual Studio and name it “your virus name”-AV

• Do you want to scan the RUN key entries? The code can be found in Week 11 – Section
7.

• Find your virus by searching for the unique name you gave above. The code to help you
can be found in Week 11 – Section 8.

• Make sure you terminate the virus process: check Week 11 – Section 9 for help.

• Delete the registry value and the virus exe file: again Week 11 – Sections 8 and 9.

Once you put everything together, compile and run (CTRL+F5). Check that you’ve an exe file.
Double click on that exe file to make sure your anti-virus is running and working correctly.

To test your programmes, run the virus first and run the anti-virus next. Make sure the virus
is stopped, removed from the registry and deleted from the hard disk.

If you’re having troubles on the university machines, put both exe files on your Desktop.

If you’re stuck or unsure of anything, ask your tutor for help.

CO1508 Computer Systems and Security, UCLAN – 2019-2020

You might also like