Information Technology Topic

Software Measures for Data Security

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. Software measures protect data without locks or guards: a password proves who you are, encryption scrambles data so it cannot be read without the key, antivirus software looks for malicious code, and a firewall controls what traffic may pass
  2. A strong password is long, hard to guess and kept private: avoid personal details, dictionary words and reuse, and think of a long phrase such as three random words
  3. No single measure is enough, so they are layered: antivirus must be kept up to date, a firewall does not remove malware already on a computer, and encryption does not protect a computer that is switched on and unlocked

Section 1Why data needs protecting

Data security means keeping data safe from people who should not read it, change it or take it. A school's marks, a clinic's patient list and a shop's customer accounts all need this protection. Closely linked is data integrity. Data has integrity when it has not been altered, destroyed or lost in an unauthorised or accidental way since it was created, sent or stored. Good security protects integrity as well as secrecy. The syllabus splits the protection into software restrictions and physical restrictions. This topic covers the four software ones it names: passwords, encryption, virus protection and firewalls. Locks, guards and backups are in the next topic.

Section 2Passwords

A password is a string of characters used to prove who you are or to check what you are allowed to open. A passphrase, which is a short run of words, counts as a password too. A password only protects you if it is hard to guess and kept private. A weak or easily guessed password is an easy way in for an attacker. Here's the trick: the login screen asks 'who are you?' and the password is your answer. If someone else knows the answer, the system cannot tell the two of you apart.

Section 3Choosing a strong password

Good habits: do not build a password from personal details such as your name, birthday or pet's name; avoid dictionary words, even with simple letter swaps (changing a to @ in a common word fools nobody who is trying); use a long phrase; never reuse one password on different accounts; never share it; and consider a password manager. A neat method is three random words, such as mango kettle ridge. Together they are long and unpredictable, yet you can still remember them. Longer and less predictable means harder to crack. Avoid dates, team names and the names of family or pets. Why never reuse? If one website is breached and your password leaks, every other account with the same password is open too. Watch out: the word 'random' matters. Three words that make a famous saying, or three words about yourself, are easy to guess.

Section 4Encryption

Encryption changes readable data, called plaintext, into unreadable data, called ciphertext. It uses a method and a key, so only the intended recipient, who has the key, can turn it back into something readable. You do not need to know how the scrambling works for CSEC. You need to know what it is for and where it is used. It protects data while it travels, with encrypted connections. It protects devices that could be stolen, such as laptops and removable media like USB drives, through disk encryption. A Wi-Fi router should also use the strongest encryption it offers, and backups should be encrypted too. Easy to mix up: disk encryption protects a device that is lost or stolen. It does not protect a computer that is switched on and logged in, because the system is running and the data is open to whoever is using it. A laptop forgotten on a JUTC bus is the classic case. With the disk encrypted, the finder gets a machine full of ciphertext.

Section 5Virus protection

A virus is malicious software that spreads by changing other programs so they carry a copy of it. It cannot run without its host program being run. Viruses, worms and trojan horses are common kinds of malicious code, which is called malware. Antivirus software monitors a computer or network to identify the major types of malware and to prevent or contain incidents. It scans files and memory for known patterns of malicious code. That means its detection data must be kept up to date, or new malware slips past. Because it relies on known patterns, antivirus cannot fully stop brand-new, advanced threats. It is a strong layer, not a complete shield. Good habits that work alongside it: install updates and patches, be careful with email attachments and links, keep the firewall switched on, and back up regularly.

Section 6Firewalls

A firewall limits or blocks traffic between networks, such as a private network and the Internet, according to security rules, while letting wanted traffic through. Think of a gate that checks every visitor against a list. It can block traffic by address, by application or by port. A firewall can be hardware, a device sitting between the computer and the Internet and often built into a home router, or software running on the computer itself. Check that it is switched on, because some features are off by default. Watch out: a firewall mainly blocks harmful traffic. It does not reliably remove malware that is already on a device. Finding and containing that is the antivirus job.

Section 7Choosing the right measure

Ask what the danger is. Someone pretending to be you: password. A stolen laptop or data crossing a network where it could be seen: encryption. A harmful file already on, or trying to reach, the computer: antivirus. Unwanted traffic from outside: firewall. The measures are layered so that when one fails, another still helps. A strong password does not stop a virus. Antivirus does not decide which traffic may enter. Encryption does not help a logged-in laptop. For example, a clinic in Kingston might use staff passwords, an encrypted disk on its laptops, antivirus on every machine and a firewall on its router. Each answers a different danger.

Examples

A student in Portmore uses the password Shanice2009 for her email, her school portal and her photo-sharing account. Her name is Shanice and she was born in 2009. (a) Identify two weaknesses in this password habit. (b) Suggest a better password and explain why it is better. (c) Explain what could happen to the other two accounts if the photo-sharing site is breached.

(a) Weakness 1: the password is built from personal details (her name and birth year), which other people may know or guess. Weakness 2: the same password is reused on three accounts, so one leak exposes all three. (It is also built around a name, which is easy to guess.) (b) Use a long phrase of random words, for example mango kettle ridge, and give each account its own. It is better because it is long, unpredictable and not tied to her, yet she can still remember it. A password manager can help her keep a different one for each account. (c) If the photo site is breached and the password leaks, anyone who has it can try it on her email and school portal. Because the same password works there, those accounts are open as well. Using a different password for each account keeps the damage to one account.

A small business in Mandeville keeps customer accounts on one laptop. The owner worries about three things: (1) the laptop being left on a bus, (2) staff opening an email attachment that carries a virus, and (3) unwanted traffic from the Internet trying to reach the office network. (a) Match each worry to the best software measure. (b) State one limit of each measure you chose. (c) Justify using all three together and not just one.

(a) Worry 1: encrypt the laptop's disk, so a finder gets unreadable ciphertext. Worry 2: antivirus software, which scans for known malicious code and helps prevent or contain it, together with care about attachments. Worry 3: a firewall, which blocks traffic that breaks its security rules. (b) Encryption: disk encryption does not protect a laptop that is switched on and logged in. Antivirus: it works from known patterns, so it must be updated and cannot fully stop brand-new threats. Firewall: it mainly blocks traffic and does not reliably remove malware already on a device. (c) Each measure answers a different danger, and each has a gap that another covers. The firewall cannot clean a laptop that already has a virus, antivirus cannot stop a thief reading an unencrypted disk, and encryption cannot stop a staff member opening a bad attachment. Together, if one layer fails, another still gives protection. Strong passwords on top of all this stop strangers from simply logging in.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from