Skip to content

Infecção por malware, ransomware e spyware: contenção, erradicação e recuperação

Uma infecção por malware, ransomware ou spyware em um computador pessoal, estação de trabalho de escritório doméstico, telefone celular ou dispositivo de armazenamento em rede é uma emergência digital aguda. O software malicioso moderno raramente é um script incômodo e inofensivo. O atual ecossistema de crimes cibernéticos implanta cargas industriais automatizadas: ransomware que criptografa documentos e arquivos de fotos em minutos, trojans infostealer que extraem silenciosamente senhas salvas de navegadores da web e cookies de sessão ao vivo em três segundos, stalkerware/spyware comercial que transmite seu microfone, webcam e localização GPS para um agressor e rootkits de kernel que se escondem dentro do firmware da placa-mãe.

Se você observar extensões de arquivo mudando rapidamente em sua área de trabalho, a luz indicadora de sua webcam acendendo sozinha, transações não autorizadas saindo de suas contas bancárias ou criptografadas ou uma nota de resgate exigindo criptomoeda, suas ações durante os primeiros 120 segundos determinarão se você salvará seus dados e identidade ou sofrerá perda permanente.

Faça isso agora

  1. Corte todas as conexões de rede imediatamente (air-gap físico): Retire o cabo Ethernet físico do computador, desligue o Wi-Fi e o Bluetooth no hardware ou no modo avião e desconecte o cabo de alimentação do roteador Wi-Fi doméstico se você suspeitar que o ransomware está se espalhando para outros computadores domésticos ou unidades de armazenamento conectado à rede (NAS).
  2. Retire todas as unidades USB externas e cartões SD conectados imediatamente: Desconecte fisicamente todos os discos rígidos de backup externos, unidades flash USB e cartões de memória sem clicar em "Remover hardware com segurança".
  3. Execute um corte de energia instantâneo se os arquivos estiverem sendo criptografados ativamente no momento: se você vir ícones da área de trabalho piscando em páginas em branco ou extensões de arquivo mudando para .locked, .enc, ou letras aleatórias em tempo real, não clique em "Desligar" no menu Iniciar (o Windows espera 30 segundos liberando caches enquanto o ransomware continua criptografando). Retire o cabo de alimentação CA do desktop da parede ou pressione e segure o botão liga/desliga físico do laptop por 10 segundos até que a tela fique preta.
  4. Pare de digitar senhas no dispositivo infectado e mude para um telefone limpo com dados celulares: suponha que um keylogger e um ladrão de cookies de sessão estejam observando cada pressionamento de tecla no computador infectado. Pegue um smartphone não infectado com dados de celular 4G/5G (com Wi-Fi desligado), faça login em suas contas principais de e-mail, banco, armazenamento em nuvem e gerenciador de senhas, clique em "Sair de todas as sessões/dispositivos ativos" e altere suas senhas.
  5. Não limpe um dispositivo PRIMEIRO se você for vítima de stalkerware doméstico: Se você suspeitar que um parceiro, cônjuge ou perseguidor abusivo instalou spyware/stalkerware comercial em seu telefone ou laptop, a exclusão repentina do spyware alerta imediatamente o painel do perseguidor, o que pode aumentar o perigo físico doméstico. Mantenha o telefone infectado ligado em seu local normal e use um telefone seguro separado ou um computador de biblioteca para planejar primeiro sua segurança física.
  6. Resgate arquivos não criptografados por meio de um Live Linux USB somente leitura antes de limpar a unidade: Nunca inicialize uma unidade atingida por ransomware de volta no Windows ou macOS para copiar arquivos. Inicialize a partir de um Ubuntu Live USB limpo criado em outro computador, monte a unidade infectada como Somente leitura, copie os arquivos limpos restantes para uma unidade externa totalmente nova, verifique nomoreransom.org para descriptografadores gratuitos e, em seguida, limpe a tabela de partição completamente (diskpart clean) para uma nova instalação do sistema operacional.

Danger

**Nunca ligue para um número de telefone "1-800 Microsoft / Apple Security Support" exibido em um pop-up alto, piscante e falante do navegador em tela cheia. ** Uma das emergências mais comuns que os usuários de computador em pânico enfrentam é um falso bloqueio de navegador em tela cheia (Scareware de suporte técnico) que emite uma voz de sirene robótica alegando "O Windows Defender detectou Trojan.Spyware em seu computador, não desligue seu PC ou seu disco rígido será excluído, ligue para o suporte da Microsoft imediatamente." Isso é 100% um golpe de navegador, não um malware real. Programas legítimos de Windows, macOS e antivírus nunca exibem um número de telefone em uma tela de travamento. Se você ligar para esse número e instalar a ferramenta de compartilhamento remoto de tela (AnyDesk, TeamViewer, ScreenConnect ou UltraViewer), os golpistas roubarão manualmente suas economias bancárias on-line e instalarão ransomware real. Basta segurar Alt + F4 (ou Ctrl + Shift + Esc para abrir o Gerenciador de Tarefas e clique em Finalizar Tarefa no seu navegador) para fechar a página falsa instantaneamente.

Fluxo de trabalho de triagem de malware, ransomware e spyware

flowchart TD
    A["Suspeita de malware, ransomware ou spyware detectado"] --> B{"Que sintoma você está vendo agora?"}
    B -->|Loud Talking Fullscreen Browser Pop-Up With Phone Number| C["Scareware falso de suporte técnico: pressione Ctrl + Shift + Esc e finalize a tarefa do navegador"]
    B -->|Files Renaming / Ransom Note on Desktop| D["Puxe Ethernet e desconecte unidades USB; Redução de energia se ainda estiver criptografando"]
    B -->|Email, Discord, or Crypto Accounts Hijacked With No Alerts| E["Infostealer Cookie Theft: Disconnect PC & Revoke All Sessions From Clean Phone"]
    B -->|Partner/Ex Knows Private Texts, Calls, & Exact GPS Locations| F["Stalkerware Warning: Do Not Delete App Yet (Alerts Abuser); Use Safe Secondary Device"]
    D --> G["Boot Infected PC From Clean Ubuntu Live USB in Read-Only Mode"]
    E --> G
    G --> H["Copy Remaining Unencrypted Files to Brand-New Drive & Check NoMoreRansom.org"]
    H --> I["Clone Encrypted Drive Image for Future Decryptors"]
    I --> J["Boot Official OS Installer USB, Run 'diskpart clean', and Reinstall OS From Scratch"]
    J --> K["Flash UEFI Firmware, Reset Router, and Enable FIDO2 / Authenticator MFA"]

Identifying the four major classes of malicious payloads

Different classes of malware require completely different emergency responses. Use this diagnostic matrix to identify what hit your device and what your immediate priority must be.

Malware Class & Common Strains How It Gets Onto Your Device Visible & Hidden Symptoms Primary Damage Mechanism Immediate Priority Action
Ransomware (LockBit, Akira, BlackCat, Phobos, STOP/DJVU, Magniber) Pirated software cracks/keygens, malicious email attachments, exposed Remote Desktop (RDP port 3389), vulnerable NAS firmware Desktop wallpaper changes to ransom note; README_TO_DECRYPT.txt dropped in every folder; files gain extensions like .locked, .djvu, or random characters; Shadow Copies deleted Hybrid AES-256 / ChaCha20 + RSA-4096 encryption locks local, USB, and mapped network drives; exfiltrates sensitive folders for double extortion Physical network severance + immediate hard power cut (if encryption is still in progress) to save unencrypted sectors
Infostealer Trojans (Lumma Stealer, RedLine, Vidar, Stealc, Atomic macOS Stealer / AMOS) Fake "ClickFix" PowerShell CAPTCHA prompts, fake Google Ads for OBS/Slack/Notion/Blender, pirated games, malicious YouTube description links Often ZERO visible symptoms on the PC (runs in 3 seconds and deletes itself); hours later, your Google, Microsoft, Steam, Discord, Instagram, or crypto wallet is hijacked despite having 2FA enabled Dumps Chrome/Edge/Firefox Login Data SQLite databases, steals live authenticated session cookies (bypassing MFA), and copies desktop crypto wallet .dat files Use a clean mobile phone on cellular data to click "Sign out of all sessions" on every account, then change passwords and wipe the PC
Remote Access Trojans (RATs) & Botnets (AsyncRAT, Remcos, Warzone, QakBot, DarkGate, AnyDesk abuse) Phishing invoices (.iso, .lnk, .vhd, .msi, or password-protected .zip files), tech-support scammers Mouse cursor moves by itself; webcam light flickers; antivirus toggles stay grayed out ("Managed by your organization"); high outbound network traffic in Task Manager Gives a remote human attacker full hidden live desktop control, keylogging, webcam viewing, and socks5 proxy pivoting into your home network Unplug Ethernet / turn off Wi-Fi immediately; tape over webcam lens; check bank accounts for unauthorized wire/ACH transfers; perform bare-metal OS wipe
Spyware & Commercial Stalkerware (mSpy, FlexiSPY, Cocospy, Cerberus, Hoverwatch, Pegasus) Stalkerware: Installed physically in 2 minutes by a partner/spouse who knows your phone/laptop passcode.
Mercenary Spyware: Zero-click iMessage/WhatsApp exploits targeting journalists/officials
Battery drains twice as fast and phone runs warm in pocket; unusual data usage; GPS location icon stays on; sudden clicks/echoes or screen waking up; abuser quotes private texts verbatim Secretly uploads every SMS, WhatsApp/Signal message, call recording, photo, keystroke, ambient room audio, and live GPS pin to a cloud stalker portal Do NOT factory-reset immediately if in physical danger from an abuser (sudden loss of telemetry tips off the stalker); enable iOS Lockdown Mode or transition to a burner phone
Bootkits UEFI e rootkits de kernel (BlackLotus, CosmicStrand, MoonBounce, LoJax) Nation-state espionage, signed vulnerable kernel drivers (BYOVD attacks) Survives normal Windows resets and hard drive formatting because the payload hides inside the EFI System Partition (ESP) or motherboard SPI flash chip Hooks the OS kernel at boot before Windows Defender loads, disabling driver signature enforcement Re-flash motherboard BIOS/UEFI firmware from a hardware USB flashback port and run diskpart clean to wipe the hidden EFI System Partition

How the modern "ClickFix" and Session-Hijacking attacks work

Over the past two years, cybersecurity agencies including the U.S. Cybersecurity and Infrastructure Security Agency (CISA), the UK National Cyber Security Centre (NCSC), and the Australian Cyber Security Centre (ACSC) have warned about two deceptive infection methods that bypass every traditional antivirus program:

1. The "Fake CAPTCHA / ClickFix" clipboard attack

When browsing the web or clicking a search result, a website displays a convincing fake Cloudflare, Google Chrome, or Microsoft Word popup saying "Verify you are human" or "Chrome Font Error: Click to Fix." The popup instructs you to press 1. Windows Key + R (to open the Windows Run box) → 2. Ctrl + V (Paste) → 3. Enter.

  • What actually happened: When you clicked the "Verify" button on the webpage, JavaScript on the page silently copied a hidden malicious PowerShell or mshta.exe command into your Windows clipboard. When you pressed Win + R e Ctrl + V, you manually ordered Windows to download and execute an infostealer trojan with your own user permissions, completely bypassing browser download scanners.
  • If you ever pasted a command into Win + R or macOS Terminal from a webpage: Assume an Infostealer has already uploaded every saved password and session cookie from your web browser within 5 seconds of pressing Enter. Disconnect from the internet immediately and execute the Session Cookie Revocation Protocol below.

When you log into Gmail, Microsoft 365, Facebook, Amazon, or your bank and check the box for "Remember this device for 30 days," the website saves an encrypted Authentication Session Cookie on your computer hard drive. When an infostealer infects your PC, it steals a copy of that file and imports it into the hacker's own anti-detect browser.

Because the cookie tells the server "This browser already passed two-factor authentication," the attacker walks straight into your inbox and cloud drive without needing your password and without triggering a 2FA code on your phone. Worse yet, on many platforms, if you only reset your password without revoking sessions, the stolen session cookie stays valid for days.

How to kill stolen session cookies across your core accounts (from a clean phone):

  1. Google / Gmail (myaccount.google.com): Go to Security > Your devices > Manage all devices, click on every desktop computer session, and click Sign out. Then go to Security > Third-party apps & services and remove any suspicious connected apps.
  2. Microsoft / Outlook / OneDrive (account.microsoft.com): Go to Security > Advanced security options, scroll down, and click Sign me out (which forces a global sign-out across all browsers, apps, Xbox, and OneDrive sessions worldwide within 24 hours).
  3. Check your Email "Auto-Forwarding" and "Inbox Rules / Filters": The very first thing an attacker does after hijacking your Gmail or Outlook session is create a hidden Inbox Filter / Rule that automatically forwards copies of your incoming bank reset emails to an attacker address and sends security warnings straight to your Trash or RSS Feeds folder so you never see them. Open your email settings on a desktop web view (Settings > Filters and Blocked Addresses in Gmail, or Settings > Mail > Rules & Forwarding in Outlook) and delete any unfamiliar rules or forwarding addresses immediately.

How to rescue unencrypted files safely using a Live Linux USB

If your Windows PC or Mac was hit by malware or partial ransomware and you have critical unbacked-up tax records, family photos, or thesis files sitting on the internal drive, never boot the infected Windows or macOS operating system normally to rescue them. Booting the infected OS allows dormant ransomware threads to finish encrypting the rest of your drive and infects any USB stick you plug in.

Instead, use the forensic Offline Live Linux USB Method, which keeps the Windows operating system 100 percent frozen and dormant:

  1. Step 1: Build an Ubuntu Live USB on a completely separate, clean computer:
    • On a friend's or family member's uninfected computer, download the free official Ubuntu Desktop ISO (ubuntu.com/download/desktop) and use a free USB flasher tool like BalenaEtcher or Rufus to write it onto an empty 8 GB or 16 GB USB flash drive.
  2. Step 2: Boot the infected computer into the Live USB (RAM-Only Mode):
    • With the infected computer unplugged from Ethernet and Wi-Fi, insert the Ubuntu USB stick, turn the computer on, and immediately tap your motherboard's Boot Menu key (F12, F11, F2, Esc, ou Del on PC; hold the Power button or Option key on Mac).
    • Select the USB flash drive and click "Try Ubuntu" (do not click "Install Ubuntu"). The entire Linux operating system loads solely inside your computer's clean RAM without running a single file from your infected Windows hard drive.
  3. Step 3: Mount the infected Windows drive as strictly READ-ONLY:
    • Because Windows .exe e .dll viruses cannot execute inside Linux, you can now safely browse the folders on your internal SSD/hard drive.
    • For maximum forensic safety, open the Linux Terminal (Ctrl + Alt + T), identify your internal drive partition with lsblk, and mount it with the read-only (ro) flag (sudo mount -o ro /dev/nvme0n1p3 /mnt).
  4. Step 4: Copy clean documents ONLY (never copy .exe, .bat, .ps1, ou .scr files):
    • Plug in a brand-new, empty external USB hard drive.
    • Copy over only your unencrypted data files (.jpg, .png, .mp4, .pdf, .txt, .docx, .xlsx). Never copy over program installers, .exe executables, .msi packages, browser AppData profile folders, or script files, or you will carry the dormant malware file right onto your rebuilt computer.

Warning

What if your files ARE already encrypted by ransomware? Before wiping your internal SSD or hard drive to reinstall Windows, use your Live Linux USB (or Clonezilla) to copy your encrypted personal folders, along with a copy of the attacker's ransom note (README.txt), onto an inexpensive external storage drive and put it in a safe drawer. Next, upload one sample encrypted file and the ransom note from a clean computer to nomoreransom.org (operated by Europol and the Netherlands National Police) and id-ransomware.malwarehunterteam.com. Over 150 ransomware families (including many offline variants of STOP/DJVU, LockBit, GandCrab, and Phobos) already have free official decryption tools available, and when police seize a new syndicate's servers a year later, having your encrypted files saved in a drawer lets you unlock them for free.

Smartphone spyware and domestic stalkerware: inspection and triage

What if the infected device is not a desktop computer, but an iPhone or Android smartphone? First, distinguish between adware/calendar spam (annoying pop-ups caused by accidentally subscribing to a spammy web calendar or notification site, which cannot read your private messages) and true Spyware / Stalkerware.

1. Warning signs of commercial Stalkerware on a phone

In 95 percent of civilian phone spying cases, the culprit is not an elite international hacker; it is an intimate partner, spouse, ex-partner, or relative who knew your 4-to-6-digit lock-screen passcode, picked up your unlocked phone for 3 minutes while you were in the shower or sleeping, and installed a hidden "parental control / employee monitoring" app (stalkerware) or linked your iCloud / Google / WhatsApp account to their own computer:

  • Espelhamento no nível da conta (não requer nenhum aplicativo no seu telefone): a pessoa simplesmente fez login no seu ID Apple/iCloud em um iPad antigo em seu armário, fez login no Compartilhamento de localização/Linha do tempo da sua conta do Google ou digitalizou um código QR em seu WhatsApp > Configurações > Dispositivos vinculados (ou Google Mensagens para Web) para que cada mensagem de texto e pin de mapa que você gerar apareça ao vivo na tela do laptop.
  • APK de stalkerware Android no dispositivo: no Android, o instalador desativou o Google Play Protect, ativou Instalar aplicativos desconhecidos e instalou um pacote de rastreamento oculto que se disfarça na lista completa de aplicativos do sistema sob um nome de sistema falso e chato como "Serviço do sistema", "Saúde do dispositivo", "Configurações de Wi-Fi" ou um ícone em branco que recebeu permissões completas de Serviço de acessibilidade, microfone, câmera, SMS e localização ("Permitir o tempo todo").

2. Como auditar e bloquear um iPhone ou Android com segurança

(Lembre-se: se você estiver em perigo físico por causa de uma pessoa abusiva que verifica seu rastreador ao vivo diariamente, consulte um defensor da violência doméstica em um telefone seguro antes de cortar seu acesso, pois a revogação do acesso os alerta imediatamente de que foram descobertos.)

Quando for seguro interromper o acesso, siga esta sequência exata:

  1. No Apple iPhone/iPad (iOS 16, 17, 18+):
    • Execute a ferramenta Verificação de segurança integrada da Apple: vá para Configurações > Privacidade e segurança > Verificação de segurança e toque em Redefinição de emergência (este único botão interrompe imediatamente todo o compartilhamento do Find My location com todos, redefine as permissões de privacidade para todos os aplicativos, sai do iCloud em todos os outros dispositivos e restringe o iMessage/FaceTime estritamente ao telefone em sua mão).
    • Verifique se há perfis de configuração não autorizados ou VPNs: Vá para Configurações > Geral > VPN e gerenciamento de dispositivos; se você encontrar algum perfil ou certificado de configuração de gerenciamento de dispositivos móveis (MDM) desconhecido que você (ou seu empregador corporativo) não instalou, exclua-o imediatamente.
    • Verifique WhatsApp / Signal / Telegram > Configurações > Dispositivos vinculados e saia de qualquer navegador da web ou sessão de desktop desconhecido.
    • Se você enfrentar spyware direcionado de alto risco: ative Configurações > Privacidade e segurança > Modo de bloqueio e execute uma Restauração DFU (Atualização de firmware do dispositivo) completa usando um Mac ou PC limpo antes de alterar a senha do ID Apple e a senha da tela de bloqueio para uma frase alfanumérica longa.
  2. Em smartphones Android:
    • Ative o Google Play Protect: abra a Google Play Store > toque no ícone do seu perfil > Play Protect > Configurações (ícone de engrenagem) e ative Verificar aplicativos com o Play Protect ATIVADO (os instaladores de stalkerware sempre desativam esse botão; ligá-lo novamente detecta e sinaliza imediatamente aplicativos comerciais de stalkerware conhecidos).
    • Audit Accessibility Services and Device Admin Apps: Go to Settings > Accessibility > Installed apps and Settings > Security & privacy > More security settings > Device admin apps. No legitimate game, flashlight, or system update ever needs full Accessibility screen-reading or Device Admin rights; revoke and uninstall any unfamiliar entry immediately.
    • Check Google Maps > tap your profile icon > Location sharing to see if your live real-time location is being shared with another email address.
    • Perform a full Factory Data Reset from the bootloader recovery menu and set up the phone as a fresh device without restoring backed-up APK apps.

Performing a clean bare-metal OS rebuild (Desktop & Laptop)

Once you have rescued your clean personal files via a Live Linux USB and revoked stolen session cookies from a clean phone, never rely on a simple antivirus scan or "Windows Reset: Keep My Files" to clean an infected computer. Rootkits and infostealers corrupt the local Windows recovery image (WinRE.wim) on the hard drive so the malware re-infects your computer the moment the reset finishes.

Execute this four-step Bare-Metal Wipe and Reinstall:

  1. Build an official OS installer USB on a separate, uninfected computer:
    • Use a clean 16 GB USB flash drive on another computer to download the official Microsoft Windows 11/10 Media Creation Tool (microsoft.com/software-download) or create a clean Apple macOS bootable installer.
  2. Flash your motherboard UEFI/BIOS firmware first:
    • Download the latest official BIOS/UEFI firmware file from your laptop or motherboard manufacturer's support website onto a clean USB stick, boot into the BIOS menu (F2 ou Del at power-on), and run the built-in EZ-Flash / M-Flash utility, then enable UEFI Secure Boot and TPM 2.0.
  3. Zero out the entire partition table (diskpart clean):
    • Boot the infected PC from your Windows Installer USB.
    • At the very first setup screen ("Select language" or "Install now"), press Shift + F10 on your keyboard to pop open a root Command Prompt window.
    • Type diskpart e pressione Enter.
    • Type list disk e pressione Enter (confirme se sua unidade interna está Disk 0 e desconecte todas as unidades secundárias para não limpar o disco errado).
    • Type select disk 0 e pressione Enter.
    • Type clean e pressione Enter. Este comando destrói instantaneamente toda a tabela de partição GUID (GPT), apagando a partição de sistema EFI oculta de 100 MB, a partição de recuperação oculta e a partição C: onde o malware persistente se esconde.
    • Feche a janela do prompt de comando, prossiga com o Windows Installer, selecione a unidade única "Espaço não alocado" e deixe o Windows criar novas partições do zero.
  4. Reinicie seu roteador Wi-Fi doméstico antes de reconectar:
    • O malware em um PC desktop frequentemente faz login em roteadores domésticos que ainda usam senhas padrão (admin / admin) e altera as configurações do servidor DNS primário e secundário do roteador para endereços IP maliciosos que redirecionam seu tráfego bancário para páginas de phishing.
    • Pressione o botão Factory Reset na parte traseira do seu roteador por 15 segundos, defina uma nova senha forte de administrador do roteador e uma senha de Wi-Fi WPA2/WPA3, desative UPnP (Universal Plug and Play) e Gerenciamento remoto de WAN, atualize o firmware do roteador e defina o DNS para um resolvedor seguro verificado (como Cloudflare 1.1.1.1 ou Quad9 9.9.9.9 DNS bloqueador de malware).

Note

Descobrir que suas contas privadas, economias financeiras ou segurança pessoal foram violadas por malware ou stalkerware causa ansiedade aguda, insônia e pânico. Depois de desconectar o dispositivo e proteger suas contas principais, afaste-se das telas, hidrate-se e entre em contato com redes de suporte confiáveis ​​ou linhas de apoio oficiais se você se sentir sobrecarregado.

Perguntas frequentes

If I unplug my Wi-Fi router right away, does that stop ransomware from encrypting my hard drive?

Unplugging your Wi-Fi router or Ethernet cable **stops the ransomware from spreading laterally across your network** to encrypt other laptops and NAS drives in your house, and it blocks an attacker from uploading stolen files to the internet. However, **unplugging the internet usually does NOT stop the encryption already running on that first computer's internal hard drive**. Almost all modern ransomware generates its symmetric AES-256 or ChaCha20 encryption keys locally in your computer's RAM using an embedded public key that does not need an internet connection to lock your files. If files are actively changing extensions on your screen right now, you must both disconnect the network **and** immediately pull the computer's power plug (or hold the power button down for 10 seconds) to freeze the processor.

Why did my antivirus say "0 Threats Found" right after my accounts were hacked by an infostealer?

Modern infostealer trojans (such as Lumma, RedLine, or Vidar) are designed as "hit-and-run" memory payloads rather than permanent residents. When you accidentally run an infostealer, it injects itself directly into the memory of a legitimate signed Windows program (like `explorer.exe` or `svchost.exe`), copies your browser password database and session cookies into an encrypted zip archive, uploads that small archive to a Telegram bot or command server in **under 3 to 5 seconds**, and **executes a self-delete script that completely erases its own `.exe` file from your hard drive**. When you run a full antivirus scan two hours later after noticing your Discord or Gmail was hacked, the scan reports "0 Threats Found" because the burglar already stole the keys and left the building.

Can malware hide inside a normal JPEG photo, MP4 video, or PDF document if I copy it to my new computer?

Pure passive data files like standard `.jpg` photos, `.png` images, `.mp3`/`.mp4` media files, and plain `.txt` files do not execute code on their own when opened in an up-to-date viewer. However, cybercriminals use two tricks to disguise malware as a photo or PDF: first, the **"Double Extension Trick"**, where Windows hides known file extensions by default and the attacker names an executable program `Vacation_Photo.jpg.exe` or `Invoice.pdf.scr` with a fake PDF icon (always check **View > Show > File name extensions** in Windows Explorer so you can see the real ending of every file.). Second, **Office documents with Macros (`.docm`, `.xlsm`), shortcut files (`.lnk`), disk images (`.iso`, `.vhd`), and archive files (`.zip`, `.rar`)** can contain active scripts. Only copy pure media and standard documents from an infected drive, and scan the external drive with Microsoft Defender before opening anything.

How did hackers bypass my Two-Factor Authentication (2FA) without any text message or prompt appearing on my phone?

There are two ways attackers bypass 2FA without touching your phone: (1) **Session Cookie Stealing (Infostealer Malware)**, where malware on your PC copies the `Remember this device for 30 days` authentication cookie from your Chrome or Edge browser after you already logged in with 2FA; and (2) **Adversary-in-the-Middle (AitM) Phishing Proxies** (such as Evilginx), where you clicked a fake login link on your phone or PC that proxied your real password and 2FA code to the real website in real time and captured the resulting session cookie. To protect your accounts from both, never save passwords inside your web browser's built-in password manager (use a dedicated encrypted password manager with a master password or biometrics like Bitwarden or 1Password, which locks its vault in memory when closed) and register **FIDO2 Passkeys or Hardware Security Keys (YubiKeys)**, which bind cryptographically to the true domain and cannot be phished.

Can my iPhone or Android get infected with spyware just from clicking a bad link in a text message?

For 99.9 percent of the general public whose iPhone (iOS) or Android phone has automatic security updates turned on, simply clicking a link in an SMS text message will **not** silently install spyware on your phone; instead, SMS links lead to **phishing pages** designed to trick you into typing your Apple ID, Google password, bank login, or credit card number for a fake "unpaid toll road" or "USPS/Royal Mail package delivery fee." True "zero-click" or "one-click" browser-exploit spyware (like Pegasus) costs governments millions of dollars per license and is deployed almost exclusively against high-profile journalists, dissidents, and diplomats. If you accidentally tapped a spam text link and closed the browser without typing any information or installing an APK file, your phone is not infected, just clear your browser history/website data and make sure your OS is updated.

Is it possible for malware to infect the tiny firmware chip inside a USB flash drive or mouse?

While legendary "BadUSB" attacks (where a microcontroller inside a custom USB cable or thumb drive is reprogrammed to act like a high-speed keyboard that types malicious commands the instant it is plugged in) exist in physical penetration testing and targeted espionage, **standard consumer ransomware and commodity malware on a home PC do not rewrite the hardware controller firmware of your USB flash drives**. What commodity malware *does* do to a USB flash drive is write malicious `.exe` or `.lnk` shortcut files onto the regular storage partition of the USB stick while hiding your real folders. If a USB thumb drive was plugged into an infected PC and does not hold irreplaceable data, the safest and cheapest practice is to physically destroy and discard a $8 thumb drive rather than plugging it into your clean new computer.

Fontes verificadas

  • Cybersecurity and Infrastructure Security Agency and Federal Bureau of Investigation (CISA / FBI, United States): #StopRansomware Guide, Infostealer Malware Advisories, and Securing Home Networks.
  • Centro Nacional de Segurança Cibernética (NCSC, Reino Unido): Orientações sobre recuperação de um dispositivo infectado, mitigação de malware e ransomware e defesa contra phishing/sequestro de sessão.
  • Centro Europeu de Crimes Cibernéticos da Europol e Coalizão Contra Stalkerware (União Europeia/Internacional): Diretrizes de descriptografia do projeto No More Ransom e orientações de segurança para sobreviventes em Stalkerware comercial.
  • National Network to End Domestic Violence, Safety Net Project (NNEDV, United States): Technology Safety & Spyware/Stalkerware Triage without Escalating Physical Risk.
  • Diretoria Australiana de Sinais, Centro Australiano de Segurança Cibernética (ASD / ACSC, Austrália): Identificação e recuperação de software malicioso, golpes de suporte técnico falsos e segurança de chave de acesso.
  • Canadian Centre for Cyber Security (Cyber Centre, Canada): Preventing and Recovering from Ransomware, Spyware, and Compromised Personal Accounts.

Guias relacionados