You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

How hackers break in: the most common attacks on people, websites and apps

Attack surface: why hackers go after small websites too

Your new website may meet its first attacker before its first customer. This can happen even if nobody in the world has heard of it. Who attacks a new website first? And what is the attack surface of your website?

  1. 1 Miva makes candles, and today her small shop opens online, at candleshop.example. Who would bother to attack a shop this small? Nobody in the world knows it exists yet.Mivacandleshop.exampleWe are open!

    Miva makes candles, and today her small shop opens online, at candleshop.example. Who would bother to attack a shop this small? Nobody in the world knows it exists yet.

  2. 2 Before the first customer arrives, the first visitors knock on the shop's server, the computer that runs it. They are not people but programs, and each one tries one easy trick: the password the software came with, a page left open, an old version with a known flaw.candleshop.examplecustomersso far: 0the passwordit came with?a pageleft open?an oldversion?

    Before the first customer arrives, the first visitors knock on the shop's server, the computer that runs it. They are not people but programs, and each one tries one easy trick: the password the software came with, a page left open, an old version with a known flaw.

  3. 3 Nobody picked Miva. Rono wrote his program once, and it tries the same trick on millions of addresses, one after another, day and night. A program that works alone like this is called a bot.RonoRono's botcandleshop.example

    Nobody picked Miva. Rono wrote his program once, and it tries the same trick on millions of addresses, one after another, day and night. A program that works alone like this is called a bot.

  4. 4 This is not a scare story. In 2021, researchers put 320 servers online with easy passwords, on purpose. Within a day, attack programs had broken into 80% of them, and into every one within a week.320 servers, easy passwordsafter one day:80% broken into

    This is not a scare story. In 2021, researchers put 320 servers online with easy passwords, on purpose. Within a day, attack programs had broken into 80% of them, and into every one within a week.

  5. 5 So the real question for Miva is not "Who wants me?" but "How many ways in do I have?". Each one is a door a bot can try. All of them together are called the attack surface.Mivathe shopadmin pageemailphonelaptopthe attack surface

    So the real question for Miva is not "Who wants me?" but "How many ways in do I have?". Each one is a door a bot can try. All of them together are called the attack surface.

  6. 6 The bot does not need to be clever. A locked way costs it nothing: it just moves on. One way left open is enough, and the bot finds one at Miva's: her admin page, where she runs the shop, still takes the password it came with. The bot is in.Rono's botthe shopadmin pageemailphone

    The bot does not need to be clever. A locked way costs it nothing: it just moves on. One way left open is enough, and the bot finds one at Miva's: her admin page, where she runs the shop, still takes the password it came with. The bot is in.

  7. 7 Miva spots the stranger in her admin page that evening and changes that password. The next knock finds every way shut. The bot moves on to another shop. Rono does not. He reads the "About me" page of the shop, and picks up the phone.Rono's botanother shopRonoAbout meHi, I'm Miva!I make everycandle myself.

    Miva spots the stranger in her admin page that evening and changes that password. The next knock finds every way shut. The bot moves on to another shop. Rono does not. He reads the "About me" page of the shop, and picks up the phone.

  8. Quick check

    Quick check.A friend runs a tiny blogthat nobody reads, and itspassword is still "admin".Is it safe, since nobodyknows it is there?

    Quick check.

    Show the answer

    No. Nobody has to know it is there: a bot that tries "admin" on millions of websites finds it anyway.

  9. Go further

    A few names behind the story.default passwordthe password a device or appcomes with: the first one abot tries, like Miva's admin pagescanningtrying one trick on a longlist of addresses, the wayRono's bot didhoneypota server put online as bait,to watch attacks: the 320servers of 2021credential stuffingone trick, many doors, withpasswords leaked by anotherwebsite: told in full in "Howpasswords and logins work"

    A few names behind the story.

Next episode Social engineering: why the easiest system to hack is a person

Share this comic

More comics