brainax

What is malware?

Short answer: malware is any program built to harm you or steal from you: it grabs passwords and wallets, encrypts files for ransom or quietly uses your device to attack others. Ordinary people are rarely targeted personally. Malware spreads in bulk, hidden in cracked games and programs, email attachments, fake "test tasks" and APK files from chat links. Almost every infection needs you to launch something yourself. Below: the main types, how infections happen and a one-evening setup that closes most holes.

Free course on this topicCybersecurity from Scratch: free courseStart the course →

How computers actually get infected

The common ways are well known:

Every one of these needs you to launch something yourself.

Attacks on ordinary people work like a net, not a sniper: databases of old leaked passwords, bots that try them on hundreds of services, millions of phishing texts and malware inside cracked software. Whoever has a hole gets caught.

More in the lessons: Your computer: don't repeat Binance's mistake, Who hunts you and why

Types of malware you should know

Infostealers. They grab saved passwords, wallet files and session cookies in seconds. A session cookie is the "pass" a site gives you after login. With it, an attacker enters your account as you, and 2FA isn't even asked. The logs are sold on underground markets. Most often a stealer hides in cracked software and cheats.

Ransomware. On 12 May 2017 WannaCry encrypted files and demanded a ransom in bitcoin: more than 200,000 computers in 150 countries, including UK hospitals. It used a hole that a Windows patch had closed two months earlier. Whoever clicked "Update" instead of "Remind me tomorrow" was fine.

Mobile malware. An APK file from a chat link is a common way to slip malware onto Android. Accessibility access is especially dangerous: with it a program sees your screen and taps buttons for you.

More in the lessons: Your computer, Updates: the boring superpower, Your phone: lock, theft and apps

New tricks: fake CAPTCHA and malicious test tasks

The fake CAPTCHA. A site shows "verify you are human" and asks you to press Win+R, then Ctrl+V and Enter. While you were reading, it put a malicious command in your clipboard, and you run it yourself. On a Mac they ask you to paste a line into Terminal. No real CAPTCHA asks you to press anything in your system.

The test task. In May 2024 the Japanese exchange DMM Bitcoin lost $308 million after an employee of its wallet provider ran a "pre-employment test" Python script from a fake recruiter, according to the FBI. Researchers track a whole campaign of fake "interviews" that hand developers projects with a stealer inside. Run strangers' code only where there's nothing to steal: a cloud dev environment or a virtual machine without your accounts. Even npm install or pip install runs the author's scripts.

More in the lessons: Your computer, Fake jobs and test tasks

How to protect your computer in one evening

More in the lessons: Updates, Your computer: don't repeat Binance's mistake

FAQ

Can an iPhone get malware?

The course's point is broader: phishing needs no virus at all, because you type the password into a fake page yourself. On any phone, install apps only from the App Store or Google Play, check permissions and delete apps you don't use.

What should I do if my computer is infected?

Don't fix everything from the same infected device. Take a clean one, like your phone, lock your exchange account, change your email password and log out of all devices. If you have your own wallet, move what's left to a new wallet created on a clean device. Ignore "crypto recovery experts" who ask for upfront fees.

Does antivirus protect against infostealers?

The course doesn't rely on antivirus. Its protection is about not launching the malware in the first place: no cracked software, no commands from strangers, strangers' code only in a sandbox, plus updates, a standard account and disk encryption.

More in the lessons: Who hunts you and why, Your plan if you get hacked

Close your holes step by step

The free Brainax course «Cybersecurity from Scratch» has 16 short lessons: passwords and a password manager, 2FA and passkeys, your phone and computer, phishing, fake support and jobs, crypto wallets and a plan if you get hacked. Start the lesson

Free course on this topicCybersecurity from Scratch: free courseStart the course →