Model Basic Security Threats (Activity)
(→Suggestions for the Open Source Project)
|(One intermediate revision by one user not shown)|
|Line 105:||Line 105:|
[[Category:Privacy and Security]]
[[Category:Privacy and Security]]
Latest revision as of 17:53, 8 March 2017
Basic Security Threat Modeling
Provides a starting place to access the security of any system on the Internet.
Basic Linux Command line knowledge. If you need this knowledge, please complete the Linux Basic Command line activity.
|Learning Objectives||After successfully completing this activity, the learner should be able to:
|Process Skills Practiced|
Making an open source deployment secure may seem like a daunting task. Where do you begin to look for vulnerabilities and threats in a system? This activity gives a starting place.
Think about where you live and the surrounding areas around your home. For example, your home has doors and windows. Are they all locked? It may have dark outside areas where someone could hide. If you were looking to break in, what would you do? When you think about making your home safer where you feel more secure, you are creating a threat model.
Building a threat model for an online system is very similar. Computers have places of entry just like a home. Are all the ports closed? Is there any data open and exposed without protection? Do any of your users have weak passwords?
To find out more information about the threat modeling process in general, visit The following website: https://www.owasp.org/index.php/Threat_Risk_Modeling
To help you start to analyze your system, below are three steps to get your started.
1. Network Security: What do others see about my system?
To start analyzing your system, you first need to know the IP address. If it has a domain name you can use that. Start with the Host command and see what you can find out. If you don't know this command, type man host on the command line.
Once you know where the system lives, you can find out many things about the system.
Here are many other tools to deepen your level of understanding about the system.
- Dig - a DNS recon tool - http://www.thegeekstuff.com/2012/02/dig-command-examples/
- Dirb – a webserver directory enumeration tool - http://tools.kali.org/web-applications/dirb
- Host – a DNS client - just type man host on any linux command line
- Nmap – a network scanning tool - type man nmap on any linux command line
- Telnet – a network service client - type man Telnet on any linux command line
- Whois – a domain registry client - http://www.computerhope.com/unix/uwhois.htm
- Wireshark – a packet capture and analysis tool - https://www.wireshark.org
- WPScan – a wordPress vulnerability scanner - https://www.randomstorm.com/resources/free-tools/wpscan/
2. Password Cracking: A major weakness to any system are the passwords chosen by the people who have access to your system. How secure are the passwords? There are several tools you can use to try and crack your passwords.
- Hydra – a password enumeration tool - http://tools.kali.org/password-attacks/hydra
- John the Ripper – a password cracking tool - http://en.wikipedia.org/wiki/John_the_Ripper
3. Writing Secure Code: To make your system less vulnerable, it is important to write code securely. The following workshop provides 2.5 hours of training in writing secure code.
Now that you have a basic overview of some tools that will help you, you can dive deeper into each one. Find and fix your vulnerabilities yourself, before someone else takes advantage of them.
- A list of vulnerabilities found on your system
- A list of next steps
Disclaimer. The tools used in this assessment are to be used responsibly. lawfully and ethically.
| ACM Body of Knowledge
Area & Unit(s)
SP: Security and Privacy
4 hours (including the Towson Secure Code activity)
|Environment / Materials||
Access to a web browser/Internet. Access to the LINUX command line. This activity also works on the iOS command line.
This is an original activity. The secure coding activity was developed by Towson University.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Suggestions for the Open Source Project
This activity can be used to begin to access the open source project vulnerabilities.