KS48525 3.6 30 min read 10 question quiz 15 exam marks

Cyber Security

Social engineering and malware named threat by threat, plus every detection and prevention method in the specification, with the reason each one works.

What cyber security is, and social engineering

Cyber security is the processes, practices and technologies used to protect networks, computers, programs and data from attack, damage and unauthorised access.

Social engineering

Social engineering means manipulating a person into giving away information or access, rather than attacking the technology. It works because people are helpful, busy and reluctant to challenge someone who sounds authoritative.

ThreatWhat it is
BlaggingInventing a scenario to persuade someone to hand over information, for example pretending to be from IT and needing the password to fix an urgent fault
PhishingSending a message that appears to come from a legitimate organisation, to trick the recipient into revealing details or clicking a malicious link
PharmingRedirecting a user to a fake website even though they typed the correct address, by altering DNS or the host file
ShoulderingWatching someone enter a PIN or password over their shoulder, at a cash machine or on a train
Why social engineering works

It bypasses every technical control. Encryption, firewalls and strong passwords all protect data from an attacker who does not have the password. None of them help once somebody has been persuaded to give it away.

A phishing email with its six warning signs markedA fake email pretending to be from a bank, with its six warning signs numbered. One: the sender address, support at bank secure login dot example, does not match the real bank. Two: the subject is urgent, saying your account will be closed, which pressures you to act without thinking. Three: the greeting is generic, Dear Customer, instead of your name. Four: there are spelling mistakes, unusal and acount. Five: the button says Verify my account now but when you hover over it the address it really goes to is a different website. Six: there is an unexpected attachment called invoice dot exe, and a file ending in dot exe can run malware.InboxFrom:Bank Support <support@bank-secure-login.example>Subject:URGENT: your account will be closedDear Customer,You must verify your details within 24 hoursor your account will be closed.We have noticed unusal activity on your acount.Verify my account nowhttp://bank-secure-login.example/verifyinvoice.exeThe Security Team123456Six red flags1Strange sender addressdoes not match the real bank2Urgent threatpressure to act without thinking3Generic greeting"Dear Customer", not your name4Spelling mistakesunusal, acount5Link does not matchhover to see where it goes6Unexpected attachment.exe files can run malware
  1. The sender's address does not match the real organisation.
  2. The message is urgent and threatens you, to stop you thinking.
  3. It says Dear Customer instead of using your name.
  4. Spelling and grammar mistakes.
  5. The link goes somewhere different to what it says, which you can see by hovering over it.
  6. An attachment you were not expecting, here a program file.
Phishing works on trust and panic. Stop, check the sender and the link, and never open an unexpected attachment.

Malicious code and other threats

Malware is any software written with the intention of causing harm.

TypeBehaviour
VirusAttaches itself to a file and spreads when that file is opened or shared
WormSpreads by itself across a network without needing a user to do anything
TrojanPretends to be legitimate software so the user installs it willingly
RansomwareEncrypts the victim's files and demands payment for the key
SpywareRecords activity such as keystrokes and sends it to the attacker

Other weaknesses AQA names

Weak and default passwords. A password that is short, common or left as the manufacturer set it can be guessed or brute forced in seconds.

Misconfigured access rights. Giving users more permission than their job needs means a single compromised account exposes far more than it should.

Removable media. A USB stick can carry malware straight past the firewall, because it never touches the network at all.

Unpatched or outdated software. Most successful attacks exploit weaknesses that were fixed months earlier in an update the victim never installed.

Name the threat precisely

A question describing a fake email asking a user to confirm bank details is phishing. One describing a phone call from a supposed colleague is blagging. Using the general word "hacking" throws away the mark.

Six cyber security threats: malware, social engineering, brute force, denial of service, SQL injection and interceptionSix common cyber security threats, one card each. Malware is software written to cause harm: a virus needs a host file, a worm spreads by itself, a trojan looks harmless, ransomware locks your files and spyware watches you. Social engineering tricks people instead of computers, for example a caller who says they are from IT and asks for a password; phishing, blagging and shouldering are all social engineering. A brute force attack tries every possible combination, for example every code from 0000 upwards, until one works. A denial of service attack floods a server with requests from many machines so that a real user cannot get through. SQL injection types database code such as ' OR '1'='1 into a form so that the database hands over names, passwords and card numbers. Data interception reads data while it travels, for example from an unencrypted wireless connection.Malware1virus: needs a host fileworm: spreads by itselftrojan: looks harmlessransomware: locks your filesspyware: watches youSocial engineering2"I'm from IT. What'syour password?"phishingblaggingshoulderingtricks people, not computersBrute force300000001....7316tries every combinationDenial of service4BUSYyoufloods it with requestsSQL injection5username' OR '1'='1namespasswordscardscode typed into a formData interception6reads data in transit
  1. Malware: virus, worm, trojan, ransomware and spyware.
  2. Social engineering: phishing, blagging and shouldering trick people instead of computers.
  3. Brute force: try every combination until one works.
  4. Denial of service: flood a server so real users cannot get in.
  5. SQL injection: database code typed into an input box.
  6. Interception: reading data as it travels, for example on public Wi-Fi.
Every threat has a matching defence. Learn them as pairs: the picture on the next page of defences shows which goes with which.

Detecting and preventing attacks

MethodHow it helps
Biometric measuresUses a physical characteristic such as a fingerprint, which cannot be guessed or easily shared
Password systemsRequiring length, mixed character types and a limit on failed attempts makes guessing and brute force impractical
CAPTCHADistinguishes a human from an automated script, blocking bulk automated attacks
Email confirmationsConfirms that the person requesting an account or a change controls that address
Automatic software updatesCloses known weaknesses promptly, without relying on anyone remembering
Penetration testingAuthorised simulated attacks that find weaknesses before an attacker does
Anti-malware softwareScans files against known threats and removes them before they run
FirewallsInspect traffic entering and leaving the network and block anything not permitted
User access levelsGive each user only the permissions their role requires, limiting the damage one compromised account can do
EncryptionScrambles data so it is unreadable without the key, even if it is stolen
Physical securityLocks, alarms and controlled access stop somebody simply walking in and taking a machine

Two ideas that carry most of the marks

Encryption does not stop data being stolen. It makes stolen data useless. Saying that distinguishes a strong answer from a vague one.

Penetration testing is authorised. The same actions without permission are a criminal offence under the Computer Misuse Act. Questions rely on that distinction.

Defence in depth

No single measure is sufficient. A firewall does not help against a user who installs a trojan, anti-malware does not help against a stolen laptop, and encryption does not help against a phished password. The answer to "how should this organisation protect itself" is always several measures, each covering a different route in.

Layers of defence around encrypted data, and the defence that answers each threatDefence in depth drawn as rings around the data. From the outside in the rings are physical security, a firewall, anti-malware software, user access levels, and passwords with two factor authentication, and at the centre the data itself is encrypted. An attacker has to get through every layer. On the right each threat is matched with its defence: brute force is stopped by a long password, two factor authentication and a limit on login attempts; phishing by staff training and spam filters; malware by anti-malware software that is kept up to date; SQL injection by validating every input; interception by encrypting the data; and unauthorised access by a firewall and user access levels.Physical securityFirewallAnti-malwareAccess levelsPasswords and 2FAencrypted dataDefence for each threatBrute forcelong password, 2FA, limit triesPhishingstaff training, spam filtersMalwareanti-malware, keep it updatedSQL injectionvalidate every inputInterceptionencrypt the dataUnauthorised accessfirewall, access levels12
  1. No single defence is enough, so several layers are used. An attacker has to get past all of them.
  2. Match each threat to the defence that answers it. This pairing is asked in the exam.
Encryption does not stop data being intercepted. It makes intercepted data useless.
Three passwords compared by how many guesses an attacker needsThree passwords, each with the number of possibilities an attacker must search and how long that takes at a billion guesses a second. The first, sunny, is a common word, so it is found from a word list in under a second. The second, k7$Rm2!x, is eight random characters chosen from 95 symbols, which is about 6.6 quadrillion possibilities and takes about 77 days. The third, river-dust-lamp-oak-fern, is five random words from a list of 7776 words, which is about 2.8 times 10 to the 19, and takes about 900 years. Length matters more than cleverness, because every extra character multiplies the number of possibilities, and a password should never be reused.At a billion guesses a second1sunnya common word12 million possibilities26 letters, 5 placescracked inunder a second2k7$Rm2!x8 random characters6.6 quadrillion possibilities95 symbols, 8 placescracked inabout 77 days3river-dust-lamp-oak-fern5 random words2.8 × 10^19 possibilitiesa 7776 word list, 5 wordscracked inabout 900 yearsLonger beats clever: every extra character multiplies the work.Never reuse a password, and add two factor authentication so that a stolen password is not enough.Bar length shows how many digits the number of possibilities has.
  1. A common word is cracked at once, however long it feels to type.
  2. Eight random characters from 95 symbols: about 6.6 quadrillion possibilities.
  3. Five random words from a list: far more possibilities, and easier to remember.
A strong password is long, random and used once. Add two factor authentication for anything that matters.

Key terms you must be able to define

Cyber security
The processes and technologies used to protect networks, computers, programs and data from attack and unauthorised access.
Social engineering
Manipulating people into giving away information or access rather than attacking technology.
Blagging
Inventing a scenario to persuade someone to give away information.
Phishing
Sending messages that appear legitimate in order to trick the recipient into revealing details.
Pharming
Redirecting a user to a fake website even when they type the correct address.
Shouldering
Observing someone entering a password or PIN in order to steal it.
Malware
Software written with the intention of causing harm.
Ransomware
Malware that encrypts the victim's files and demands payment for the key.
Penetration testing
Authorised simulated attacks carried out to find weaknesses before an attacker does.
Firewall
A system that inspects traffic entering and leaving a network and blocks anything not permitted.
User access level
The set of permissions granted to a user, limiting what they may see and do.
Encryption
Scrambling data so that it cannot be read without the correct key.

Flashcards

Say the definition out loud before you flip the card. Retrieving it from memory is what builds recall, reading it again is not.

DefineCyber security
AnswerThe processes and technologies used to protect networks, computers, programs and data from attack and unauthorised access.
DefineSocial engineering
AnswerManipulating people into giving away information or access rather than attacking technology.
DefineBlagging
AnswerInventing a scenario to persuade someone to give away information.
DefinePhishing
AnswerSending messages that appear legitimate in order to trick the recipient into revealing details.
DefinePharming
AnswerRedirecting a user to a fake website even when they type the correct address.
DefineShouldering
AnswerObserving someone entering a password or PIN in order to steal it.
DefineMalware
AnswerSoftware written with the intention of causing harm.
DefineRansomware
AnswerMalware that encrypts the victim's files and demands payment for the key.

Reach the top grade on this topic

Three things lift an answer on this topic.

Name the specific threat. Blagging, phishing, pharming and shouldering are separate named threats, and the exam expects the right word for the scenario described.

Say what a measure actually achieves. Encryption does not prevent theft, it makes theft useless. A firewall does not remove malware, it blocks traffic. Access levels do not stop an account being compromised, they limit what a compromised account can reach.

Match the measure to the threat in the question. A question about a stolen laptop wants encryption and physical security. One about staff clicking links wants training and email filtering. Listing every measure you know earns fewer marks than choosing two and justifying them.

Mistakes that cost marks here

Avoid these
  • Calling every attack 'hacking'. The specification names the individual threats and expects them.
  • Saying anti-malware prevents all attacks. It detects known threats, so a brand new one may get through.
  • Saying encryption stops data being stolen. It stops stolen data being read.
  • Describing penetration testing as illegal hacking. It is carried out with permission, which is precisely the difference.
  • Offering only one measure when a question asks how an organisation should protect itself. Different routes in need different defences.
Fun fact

The single most common way into an organisation is not a technical flaw. Year after year, the attack that succeeds most often is somebody being persuaded to hand over a password, which is why social engineering is a specification topic in its own right.

Knowledge check

0 of 10 answered
1A user receives an email that looks like it is from their bank, asking them to confirm their login details. What is this?
2Someone telephones an employee pretending to be from the IT department and asks for their password. What is this?
3What distinguishes a worm from a virus?
4What does ransomware do?
5Why does encryption help even if data is stolen?
6What is the purpose of user access levels?
7What makes penetration testing legal when the same actions would otherwise be a crime?
8Why is unpatched software a serious weakness?
9What is the main purpose of a CAPTCHA?
10Why is a firewall not sufficient protection on its own?
Score 0 / 10

Exam-style questions

Five written questions in the style of the real paper. Write a full answer, then let the marker check it against the mark scheme.

15 marks
1State what is meant by social engineering.2 marks
State

Mark scheme0 / 2
  • LManipulating or tricking people rather than attacking technology
  • LIn order to obtain information or access
Model answer

Social engineering means manipulating people into giving away confidential information or access, rather than attacking the technology directly. It works because it bypasses technical protections entirely.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Describe two forms of social engineering.4 marks
Describe

Mark scheme0 / 4
  • LPhishing, sending a message that appears to come from a legitimate organisation
  • LThe recipient is tricked into revealing details or clicking a malicious link
  • LBlagging, inventing a scenario to persuade someone to hand over information
  • LShouldering, watching someone enter a password or PIN
Model answer

Phishing is sending a message, usually an email or text, that appears to come from a legitimate organisation such as a bank or a school. The message creates a reason to act quickly and directs the recipient to a fake site or asks them to reply with their details, so that the attacker obtains their credentials. Blagging is different in that it is targeted and interactive: the attacker invents a plausible scenario, for example telephoning an employee while pretending to be from the IT department and claiming to need their password to fix an urgent fault, and relies on the victim wanting to be helpful and not wanting to challenge someone who sounds authoritative.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3Explain why keeping software up to date is an important cyber security measure.3 marks
Explain

Mark scheme0 / 3
  • LUpdates fix known weaknesses in the software
  • LThose weaknesses become public knowledge once a fix is released
  • LSo unpatched systems are easier targets, and most successful attacks exploit weaknesses that were already fixed
Model answer

Software updates exist largely to close security weaknesses that have been discovered since the software was released. Once an update is published, the existence and often the details of the weakness it fixes become public, so attackers know precisely what to look for on systems that have not applied it. That makes an unpatched system a considerably easier target than it was before the fix existed. The great majority of successful attacks do not use previously unknown flaws at all: they exploit weaknesses for which a fix had been available for months, which is why applying updates promptly, or setting them to install automatically, is one of the most effective measures available.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4A small business stores customer records on laptops that staff take home. Recommend three security measures the business should take, justifying each.6 marks
Recommend

Mark scheme0 / 6
  • LEncrypt the data on the laptops
  • LSo that if a laptop is lost or stolen the records cannot be read
  • LUse strong passwords or biometric login on each laptop
  • LSo that an unauthorised person cannot simply switch the laptop on and use it
  • LUse user access levels so each member of staff sees only what their role needs
  • LKeep regular backups, or keep software updated, and justify it
Model answer

The first measure is to encrypt the data held on each laptop. A laptop taken home can be lost or stolen, and physical possession would otherwise give an attacker the entire customer database. Encryption does not prevent the theft, but it makes the stolen copy unreadable without the key, which turns a serious data breach into the loss of a piece of hardware. The second is strong authentication on each machine, either a long password meeting complexity rules or a biometric login. That stops somebody who picks the laptop up from simply switching it on and reading whatever is open, and it should be combined with a limit on failed attempts so the password cannot be guessed repeatedly. The third is user access levels, so that each member of staff has access only to the records their role actually requires. That limits the damage a single compromised account can do, and it also protects against honest mistakes. Alongside those, the business should keep regular backups held separately and ensure operating system and application updates install automatically, since backups are the only reliable defence against ransomware and updates close the weaknesses most attacks rely on.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 15