ComputingRevision.net

1.4.1c Brute Force and Denial of Service Attacks

Brute Force Attack

Clipboard with ticks and crosses

A simple way to try to work out someone's pass-code is to try every single combination until the hacker eventually gets the right one.

This can take a very long time, but a hacker might program a computer to do it, which would be much faster than a human attempt!

A hacker would probably start with information they already know about you. So if your phone pass code is your date of birth, you should definitely change it!

Choosing a good pass code

Good passwords should be:

  • Long
  • A mix of upper-case, lower-case, number, and symbol characters
  • Not be something personal to us (e.g. our pet's name or our favourite football team)
  • Random characters, not full words

These precautions mean it takes much longer to try a brute force attack.

Distributed Denial of Service (DDoS) Attack

How Does an Attack Work?

Click through the slides to discover how a distributed denial of service attack works.

  • Client-server relationship

    A server is a powerful computer which can store lots of data and process lots of requests. More information on client-server networks.

    When you access any online resource, such as checking your email; visiting a website; or accessing your school's learning platform (like Google Classroom), your computer is accessing a server.

    When your device wants data from a server, it sends a request for it.

  • Client-server relationship

    When the server receives the request, it can either accept the request or deny it.

    If the request is accepted, the data your computer asks for is sent.

    For example, when you visited this web page, your web browser requested the files that make up the page (such as the pictures, HTML file, and other supporting files). The server accepted the request and sent the files to your browser to be displayed to you.

    This is called a client-server relationship.

  • Client-server relationship

    Servers can handle thousands of requests at a time, but there is a limit.

    In a denial of service (DoS) attack, hackers can send billions of spam requests to the server. This completely overwhelms the server! It cannot handle so many requests and becomes unable to process any of them – even legitimate ones from real users. The server stops responding and the system becomes unavailable. Nobody receives their files.

    Imagine a performer juggling three balls. They can do this without a problem. But if hundreds of people suddenly threw hundreds of balls that them, they'd drop all of them – including the ones they were supposed to be juggling.

  • Client-server relationship

    So how does an attacker send so many requests at once?

    Before launching an attack, they will spread malware onto as many devices as possible. When they're ready to attack, they send a message to the malware to all start sending spam requests at the same time.

    These malware-infected devices are known as zombies. Together, they form a botnet.

    The zombie device users probably won't even realise their device is part of a botnet, although they may notice slower performance as it is busy sending spam requests to the server.

x/x

DoS or DDoS?

DoS Attack

A DoS (Denial of Service) attack comes from one single computer or source. It sends lots of traffic or requests to a server to overload it, causing it to slow down or stop working.

DDoS Attack

A DDoS (Distributed Denial of Service) attack comes from many computers at the same time. These computers are often part of a botnet controlled by an attacker. Because the attack is spread across many machines, it is much harder to block and usually far more powerful.

Motives for a DoS / DDoS Attack

Why might someone want to perform a denial-of-service attack on a server?

  • Damage competition: if someone can’t use your competitor’s system, they may use yours instead
  • Political statement: to make others notice their cause or because they disagree with an organisation's policies
  • Blackmail: demanding payment not to perform a DoS attack
  • Malice: just to be mean or cause problems
  • Challenge / fun: to prove they can beat a system’s security