The anatomy of a cyber attack

Christian B. Cantrell

When most people hear “cyber attack”, they picture a huge attack on a large corporation, involving some kind of malware. That does happen, but attacks take many forms. Today I’ll walk you through three real ones that debunk a few common myths.

The myths

  1. Some organizations are too small to be attacked.
  2. Malware is attackers’ main way in.
  3. Antivirus will protect you from every attack.

A few terms first

  • Antivirus: software that prevents, detects and removes malware. It was first built to remove computer viruses, hence the name. (Wikipedia)
  • Ransomware: malware that threatens to publish the victim’s data, or blocks access to it, until a ransom is paid. (Wikipedia)
  • Phishing: trying to obtain usernames, passwords, card numbers or other sensitive details by posing as someone trustworthy in an email or message. (Wikipedia)
  • Threat actor: a person or group responsible for an incident that affects, or could affect, another organization’s safety or security. (Wikipedia)

Attack 1: a small store held to ransom

A few years ago, I got a call from a small retail business that had lost access to all of its files. I knew nothing about their setup; apart from one phone call a few days earlier, we’d never worked together. When I arrived, they walked me through it: two computers used as point-of-sale systems, and a server, connected to both, that ran their accounting software. A short investigation showed their systems had been compromised and every file encrypted by ransomware. Here’s how it happened:

  1. The attacker emailed an employee a spreadsheet carrying malware.
  2. The malware surveyed the network and found nothing to stop it moving around: no passwords and no network security.
  3. When it had finished looking around, it spread to every system in the store.
  4. Once it was everywhere, it dropped a second payload that encrypted all of the business’s files.
  5. Their backups had never been tested, and they couldn’t be restored. The business lost more than a decade of financial records and its complete warehouse inventory.

I was able to help them rebuild the lost data from outside sources, but it took 18 months to recover everything and re-count the warehouse. Myth 1 is busted: this business had only three computers, and the attack still cost thousands of dollars to recover from.

Attack 2: a trusted vendor’s email

This one happened in April 2021, the week this post was written. One of our clients was targeted by a phishing campaign sent from a vendor they knew and trusted:

  1. The week before, the vendor had been attacked, and the attackers had taken over its email system.
  2. The attackers used what they found there to target key people at our client, emailing them from the vendor’s real address.
  3. The email said files for a current project with the vendor were ready to download. Most of our client’s people spotted it as suspicious and deleted it. One manager, in a hurry, forwarded it to an assistant without opening it.
  4. Because it came from the manager’s internal address, the assistant opened the link. It led to a sign-in page that looked almost exactly like Microsoft’s.
  5. That page captured the assistant’s Microsoft 365 username and password.

The attackers got no further. The security practices we put in place for our clients blocked the stolen password from being used to sign in. Myths 2 and 3 are busted: the attackers used nothing but an email and a fake website. Neither is malware, and antivirus wouldn’t have caught either one.

Not every organization in that vendor’s contact list will have stopped it. Attackers like this often move from victim to victim, working their way toward larger organizations.

Attack 3: a city’s network

This story comes from one of our cybersecurity partners, whose team stopped the attack. Here’s what the threat actor did to a municipality:

  1. A phishing email led a city employee to run a malicious file, and the threat actor stole the employee’s login.
  2. Using that login, they opened remote connections to other systems on the network through Remote Desktop Protocol (RDP).
  3. Through those connections, they replaced standard system tools with malicious copies under the same names, so the city’s antivirus didn’t notice them.
  4. They then used Cobalt Strike, an attack toolkit commonly used to set up ransomware. Attacks like this one have caused roughly $20 million in damages elsewhere. Our partner’s team stopped it.
  5. The attacker tried to spread through the city’s servers and computers with malicious scripts. Our partner’s security operations center stopped those too.
  6. The attempts continued every day for three months as new systems came online. By the time the city had updated its systems against the attack, it had cost roughly $272,000.

Myths 2 and 3 again: the attackers used tools already on the city’s systems, which kept them hidden from the antivirus the city had installed.

How to stay safe

  • Email security: all three attacks started with an email. Email isn’t the only way in, but it’s the most common one. We recommend our clients use both spam filtering and an AI-based anti-phishing tool, to stop threats before they reach anyone’s inbox.
  • Layers of protection: no single product stops everything, so security works in layers, from the cloud to each device. In attack 2, a password was stolen, and the next layer still stopped the attacker.
  • A password manager: for small and medium businesses, a password manager is one of the most cost-effective protections there is. When a password is stolen, as in attack 2, it can be changed quickly, and the new one isn’t a password reused elsewhere. We provide one as BizOS Vault.

Want to talk this through for your business?