Professional Documents
Culture Documents
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
• Create a project in Visual Studio and give it a unique name (this will be your virus name)
• Open the RUN key and write your own EXE file path into it: Week 10 – Section 7.
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
The steps to create your own anti-virus for the coursework are:
• 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.