Course 5.3Lesson 1 of 3
Some attacks go straight at a computer system: guessing a password, listening to data on its way, flooding a web server, or breaking in. This lesson describes how each one works and what the attacker wants from it.
Try the code and the simulations beside the lesson.
A house has a door, a lock and maybe an alarm. Thieves try different ways in: they pick the lock, they watch you type the alarm code, or they trick you into opening the door. Computer systems are attacked in the same ways. Cyber security is the protection of computer systems, networks and data from these attacks.
For every threat in this course, learn two things: the process (how it is carried out) and the aim (what the attacker wants). Exam questions ask for both. This lesson covers four threats that attack a system directly.
The process. The attacker uses a program that tries every possible password, one after another, until one works. It may start with common passwords and words from a dictionary, then try every combination of characters.
The aim. To find a user's password, so the attacker can get into their account and their data.
How many tries can that take? If each character is chosen from characters and the password has characters, the number of possible passwords is
A -digit PIN has possibilities, which a computer tries in a moment. A password of characters from (small letters, capital letters and digits) has about . Each extra character multiplies the number of tries. That is why long passwords that mix kinds of character are much safer.
The process. Data is intercepted, which means captured, while it is being transmitted. The attacker may use a packet sniffer, a program that copies the packets passing through a network. On an open wireless network, anyone nearby may be able to pick up the signals. The data still reaches its destination, so the users may not notice.
The aim. To steal data, such as passwords, bank details or personal messages, and use it or sell it.
You learnt about packets in the chapter on data transmission. Encryption is the defence here: intercepted data that is encrypted cannot be understood. That is what HTTPS does for web pages.
The process. The attacker sends a huge number of requests to a web server, all at the same time. The server cannot deal with them all, so it slows down or stops. Real users cannot reach the website. A denial of service attack comes from one computer. A distributed denial of service attack comes from many computers at once, in many places. Often these are ordinary computers infected with malware and controlled by the attacker without their owners knowing. A group of such computers is called a botnet.
The aim. To stop a website or an online service from working, for example to harm a business or to demand money to stop.
Because the requests come from thousands of different addresses, it is hard to block them all.
The process. Hacking is gaining unauthorised access to a computer system: getting in without permission. A hacker may use a guessed or stolen password, or a weakness in software that has not been updated.
The aim. To steal, change or delete data, to damage the system, or to plant malware. Some companies pay ethical hackers to break into their own systems, with permission, so that they can find and fix the weaknesses first.
The program works out the time a brute-force attack needs to try every password, for three sets of characters and three lengths. It assumes the attacker tries one thousand million passwords each second.
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Every lesson is open to read. Enrolling also lets you:
Log in to join the discussion.
Loading…
This lesson is free to read. Enroll free to keep your place and take the tests.