Model Basic Security Threats (Activity)

From Foss2Serve
Revision as of 19:56, 21 January 2017 by Clif.kussmaul (Talk | contribs)
Jump to: navigation, search
Title Basic Security Threat Modeling Activity
Overview Provides a starting place to access the security of any system on the Internet.
Author Suzanne Mello-Stark
Prerequisite Knowledge Basic Linux Command line knowledge. If you need this knowledge, please complete the Linux Basic Command line activity.
Learning Objectives

Learners will gain a basic understanding of how to start to analyze the vulnerabilities in an open source deployment. Learners will be able to explain the purpose of a threat model. Learners will have basic knowledge of several tools that exist to look for vulnerabilities in an open source deployment.



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:

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 - Dirb – a webserver directory enumeration tool - 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 - Wireshark – a packet capture and analysis tool - WPScan – a wordPress vulnerability scanner -

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 - John the Ripper – a password cracking tool -

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 TBD




Disclaimer. The tools used in this assessment are to be used responsibly. lawfully and ethically.

Additional Information:

Knowledge Area/Knowledge Unit Security and Privacy
Level of Difficulty Medium
Estimated Time to Completion 4 hours (Including the Towson Secure Code activity)
Materials/Environment Access to a web browser/Internet. Access to the LINUX command line. This activity also works on the iOS command line.
Author Suzanne Mello-Stark
Source This is an original activity. The secure coding activity was developed by Towson University
License Licensed CC BY-SA

Suggestions for the Open Source Project:

This activity can be used to begin to access the open source project vulnerabilities.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png

Personal tools
Learning Resources
HFOSS Projects