Malware
- Malware is malicious software. A virus attaches itself to files and spreads when they are shared. A worm spreads by itself across networks. A trojan pretends to be useful software.
- Spyware secretly records what a user does, such as the passwords they type. Ransomware encrypts a victim's files and demands payment to unlock them.
Social engineering
- Social engineering tricks people into giving away information or access. People are often the weakest point in a system.
- Phishing: fake emails or messages that look genuine, asking you to click a link or enter your details. Blagging (pretexting): making up a story to persuade someone to hand over information. Shouldering (shoulder surfing): watching someone type a PIN or password. Pharming: redirecting users to a fake website.
Other threats
- A brute-force attack tries every possible password until one works. A denial of service (DoS) attack floods a server with requests so it can't respond. SQL injection types SQL code into an input box to read or change a database. Data interception captures data as it travels across a network.
- Other risks: weak or default passwords, wrongly set access rights, removable media (such as USB sticks carrying malware) and unpatched (out-of-date) software.
Protection
- Strong passwords, limits on login attempts, CAPTCHA, two-factor authentication and biometrics (such as fingerprints) protect accounts.
- Anti-malware software, firewalls (which block unauthorised network traffic), automatic updates, encryption (so intercepted data can't be read), user access levels, physical security and backups protect systems and data.
- Penetration testing: authorised experts attack a system to find its weaknesses before criminals do. Input validation helps to stop SQL injection. Staff training helps people spot social engineering.
Encryption
- Encryption scrambles data with a key, so only someone with the key can read it.
- A simple example is the Caesar cipher, which shifts each letter a set number of places along the alphabet: with a shift of 3, CAT becomes FDW. It is easy to crack, so real systems use much stronger methods.
Key terms
- Malware
- Malicious software, such as viruses, worms, trojans and spyware.
- Trojan
- Malware that pretends to be useful software.
- Spyware
- Malware that secretly records what a user does.
- Phishing
- Fake messages designed to trick people into giving away their details.
- Blagging
- Making up a story to persuade someone to hand over information or access.
- Brute-force attack
- Trying every possible password until one works.
- Denial of service
- Flooding a server with requests so it can't respond to real users.
- SQL injection
- Typing SQL code into an input box to access or change a database.
- Firewall
- Hardware or software that blocks unauthorised network traffic.
- Penetration testing
- Authorised attacks on a system to find its weaknesses.
Quick questions on Cyber security
- What is phishing?
- Fake messages that trick people into giving away their details: The messages look as if they come from a real company.
- What is a trojan?
- Malware disguised as useful software: Like the wooden horse in the Greek story.
- What does ransomware do?
- Encrypts files and demands payment: Backups mean you don't need to pay.
- What is shouldering?
- Watching someone enter a password or PIN: It is also called shoulder surfing.
- What is a brute-force attack?
- Trying every possible password until one works: Long passwords and limits on attempts protect against it.
- What does a firewall do?
- Blocks unauthorised network traffic: It checks traffic against a set of rules.
- How can SQL injection be prevented?
- By validating input before it is used in a query: Unexpected characters and code are rejected.
- What is penetration testing?
- Authorised attacks on a system to find its weaknesses: Weaknesses can then be fixed before criminals find them.
Cyber security: questions and answers
- What is a denial of service attack?
- Flooding a server with requests so it can't respond. Real users can't get through.
- How does encryption protect data that is intercepted?
- The data can't be understood without the key. Only someone with the key can decrypt it.
- Why is it risky to leave software unpatched?
- Known security weaknesses aren't fixed. Updates often fix security holes.