Prior to completing this assignment, review Chapters 4, 5, 6, and 7 in the textbook, read the following articles, Geek School: Writing your First Full PowerShell Script (Links to an external site.) and How to Use Windows PowerShell: A Beginnerâ€™s Guide (Links to an external site.), and review the following web pages, Table of Basic PowerShell Commands (Links to an external site.) and Command-Line Reference (Links to an external site.). For additional assistance, you may find useful articles on the Microsoft blog, PowerShell (Links to an external site.).
Note: Since this assignment requires the Windows tool, PowerShell, you should complete the assignment using a Windows computer. If you cannot use a Windows computer, please review the following two resources in addition to the above resources to ensure you can complete the assignment:
- iPowerShell for iOS, Mac, and Android (Links to an external site.)
- Install and Use Windows PowerShell Web Access (Links to an external site.)
You will be part of the IT team for a fictitious organization who will write a script that would be beneficial to detect malicious activities, or would be used as a means of protecting the network. For example, you might write a script that lists all the files in a directory [dir]. (Note: you may use the examples provided if you wish).
In your paper,
- Write two PowerShell scripts:
- The first script is one that a hacker might write.
- The second script is one that might be used to detect malicious activities or to protect the system from them.
- Explain what each script does and how it might benefit a hacker (first script) or an IT professional (second script) in a Word document.
- Include the code for both scripts and the screenshots of the two powershell scripts within the attached Word file.
Note: the final project will consist of two parts:
- A Word doc for the paper itself
- A Word doc with the scripts and the screenshots of the two powershell scripts