Skip to content

Malware, ransomware, and spyware infection: containment, eradication, and recovery

A malware, ransomware, or spyware infection on a personal computer, home office workstation, mobile phone, or networked storage device is an acute digital emergency. Modern malicious software is rarely a harmless nuisance script. Today's cybercrime ecosystem deploys automated industrial payloads: ransomware that encrypts documents and photo archives in minutes, infostealer trojans that silently extract saved web browser passwords and live session cookies in three seconds, commercial stalkerware/spyware that streams your microphone, webcam, and GPS location to an abuser, and kernel rootkits that hide inside motherboard firmware.

If you see file extensions changing rapidly across your desktop, your webcam indicator light turning on by itself, unauthorized transactions leaving your bank or crypto accounts, or a ransom note demanding cryptocurrency, your actions during the first 120 seconds determine whether you salvage your data and identity or suffer permanent loss.

ทำเช่นนี้ตอนนี้

  1. Sever all network connections immediately (Physical Air-Gap): Pull the physical Ethernet cable out of the computer, switch off Wi-Fi and Bluetooth in hardware or Airplane Mode, and unplug the power cord from your home Wi-Fi router if you suspect ransomware is spreading to other household computers or Network Attached Storage (NAS) drives.
  2. Yank all attached external USB drives and SD cards immediately: Physically unplug every external backup hard drive, USB flash drive, and memory card without clicking "Safely Remove Hardware."
  3. Execute an instant hard power cut if files are actively encrypting right now: If you see desktop icons flickering into blank white pages or file extensions changing to .locked, .enc, or random letters in real time, do not click "Shut Down" in the Start Menu (Windows waits 30 seconds flushing caches while the ransomware keeps encrypting). Rip the desktop AC power cord out of the wall, or press and hold the laptop physical Power Button for 10 full seconds until the screen goes black.
  4. Stop typing passwords on the infected device and move to a clean phone on cellular data: Assume a keylogger and session-cookie stealer are watching every keystroke on the infected computer. Pick up an uninfected smartphone on 4G/5G cellular data (with Wi-Fi turned off), log into your primary email, banking, cloud storage, and password manager accounts, click "Sign out of all active sessions / devices," and change your passwords.
  5. Do not wipe a device FIRST if you are a victim of domestic stalkerware: If you suspect an abusive partner, spouse, or stalker installed commercial spyware/stalkerware on your phone or laptop, suddenly deleting the spyware alerts the stalker's dashboard immediately, which can escalate physical domestic danger. Keep the infected phone turned on in its normal spot and use a separate safe phone or library computer to plan your physical safety first.
  6. Rescue unencrypted files via a Read-Only Live Linux USB before wiping the drive clean: Never boot a ransomware-hit drive back into Windows or macOS to copy files off. Boot from a clean Ubuntu Live USB created on another computer, mount the infected drive as Read-Only, copy your remaining clean files to a brand-new external drive, check nomoreransom.org for free decryptors, and then wipe the partition table completely (diskpart clean) for a fresh OS install.

Danger

Never call a "1-800 Microsoft / Apple Security Support" phone number displayed on a loud, flashing, talking fullscreen browser pop-up. One of the most common emergencies panicked computer users face is a fake fullscreen browser lock (Tech Support Scareware) that blares a robotic siren voice claiming "Windows Defender has detected Trojan.Spyware on your computer, Do not turn off your PC or your hard drive will be deleted, Call Microsoft Support immediately." This is 100 percent a browser scam, not real malware. Legitimate Windows, macOS, and antivirus programs never display a phone number on a crash screen. If you call that number and install their remote screen-sharing tool (AnyDesk, TeamViewer, ScreenConnect, or UltraViewer), the scammers will manually steal your online banking savings and install real ransomware. Simply hold down Alt + F4 (or Ctrl + Shift + Esc to open Task Manager and click End Task on your web browser) to close the fake web page instantly.

Malware, ransomware, and spyware triage workflow

flowchart TD
    A["Suspected Malware, Ransomware, or Spyware Detected"] --> B{"What Symptom Are You Seeing Right Now?"}
    B -->|Loud Talking Fullscreen Browser Pop-Up With Phone Number| C["Fake Tech Support Scareware: Press Ctrl+Shift+Esc & End Browser Task"]
    B -->|Files Renaming / Ransom Note on Desktop| D["Pull Ethernet & Unplug USB Drives; Hard-Cut Power If Still Encrypting"]
    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 การดำเนินการที่มีลำดับความสำคัญทันที
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 การแยกเครือข่ายจริง + การตัดไฟทันที (หากยังอยู่ระหว่างการเข้ารหัส) เพื่อบันทึกเซกเตอร์ที่ไม่ได้เข้ารหัส
โทรจัน Infostealer (Lumma Stealer, RedLine, Vidar, Stealc, Atomic macOS Stealer / AMOS) ข้อความแจ้ง PowerShell CAPTCHA "ClickFix" ปลอม, โฆษณา Google ปลอมสำหรับ OBS/Slack/Notion/Blender, เกมละเมิดลิขสิทธิ์, ลิงก์คำอธิบาย YouTube ที่เป็นอันตราย บ่อยครั้งที่อาการที่มองเห็นเป็นศูนย์บนพีซี (ทำงานใน 3 วินาทีและลบตัวเอง) ชั่วโมงต่อมา กระเป๋าเงิน Google, Microsoft, Steam, Discord, Instagram หรือ crypto ของคุณถูกแย่งชิงแม้จะเปิดใช้งาน 2FA แล้วก็ตาม ทิ้ง Chrome/Edge/Firefox Login Data ฐานข้อมูล SQLite ขโมย คุกกี้เซสชันที่ได้รับการรับรองความถูกต้องแบบสด (ข้าม MFA) และคัดลอกกระเป๋าเงินดิจิตอลเข้ารหัสบนเดสก์ท็อป .dat ไฟล์ ใช้โทรศัพท์มือถือที่สะอาดบนข้อมูลมือถือ เพื่อคลิก "ออกจากระบบเซสชันทั้งหมด" ในทุกบัญชี จากนั้นเปลี่ยนรหัสผ่านและล้างข้อมูลพีซี
โทรจันการเข้าถึงระยะไกล (RAT) และบอทเน็ต (AsyncRAT, Remcos, Warzone, QakBot, DarkGate, การละเมิด AnyDesk) ใบแจ้งหนี้ฟิชชิ่ง (.iso, .lnk, .vhd, .msiหรือป้องกันด้วยรหัสผ่าน .zip ไฟล์) นักหลอกลวงฝ่ายสนับสนุนด้านเทคนิค เคอร์เซอร์ของเมาส์เคลื่อนที่ด้วยตัวเอง ไฟเว็บแคมกะพริบ การสลับโปรแกรมป้องกันไวรัสยังคงเป็นสีเทา ("จัดการโดยองค์กรของคุณ"); ปริมาณการใช้เครือข่ายขาออกสูงในตัวจัดการงาน Gives a remote human attacker full hidden live desktop control, keylogging, webcam viewing, and socks5 proxy pivoting into your home network ถอดปลั๊กอีเธอร์เน็ต / ปิด Wi-Fi ทันที; เทปปิดเลนส์เว็บแคม ตรวจสอบบัญชีธนาคารสำหรับการโอนเงิน/ACH โดยไม่ได้รับอนุญาต ทำการล้าง OS แบบ Bare Metal
สปายแวร์และสตอล์กเกอร์แวร์เชิงพาณิชย์ (mSpy, FlexiSPY, Cocospy, Cerberus, Hoverwatch, Pegasus) Stalkerware: ติดตั้งทางกายภาพภายใน 2 นาทีโดยพันธมิตร/คู่สมรสที่ทราบรหัสผ่านโทรศัพท์/แล็ปท็อปของคุณ
Mercenary Spyware: คลิกเป็นศูนย์ iMessage/WhatsApp หาประโยชน์โดยกำหนดเป้าหมายไปที่นักข่าว/เจ้าหน้าที่
แบตเตอรี่หมดเร็วเป็นสองเท่าและโทรศัพท์ร้อนในกระเป๋า การใช้ข้อมูลที่ผิดปกติ ไอคอนตำแหน่ง GPS ยังคงอยู่; คลิก/เสียงสะท้อนหรือหน้าจอตื่นขึ้นอย่างกะทันหัน; ผู้ทำร้ายเสนอราคาข้อความส่วนตัวแบบคำต่อคำ อัปโหลด SMS, WhatsApp/ข้อความสัญญาณ, บันทึกการโทร, รูปภาพ, การกดแป้นพิมพ์, เสียงในห้องโดยรอบ และหมุด GPS แบบสดไปยังพอร์ทัล Cloud Stalker อย่างลับๆ อย่ารีเซ็ตเป็นค่าเริ่มต้นจากโรงงานทันทีหากตกอยู่ในอันตรายทางกายภาพจากผู้ละเมิด (การสูญเสียเคล็ดลับการวัดและส่งข้อมูลทางไกลจากสตอล์กเกอร์อย่างกะทันหัน) เปิดใช้งาน โหมดล็อค iOS หรือเปลี่ยนไปใช้โทรศัพท์แบบเบิร์นเนอร์
ชุดบูท UEFI และรูทคิทเคอร์เนล (BlackLotus, CosmicStrand, MoonBounce, LoJax) การจารกรรมโดยรัฐในประเทศ ลงนามไดรเวอร์เคอร์เนลที่มีช่องโหว่ (การโจมตี BYOVD) รอดจากการรีเซ็ต Windows และการฟอร์แมตฮาร์ดไดรฟ์ตามปกติ เนื่องจากเพย์โหลดซ่อนอยู่ภายใน EFI System Partition (ESP) หรือชิปแฟลช SPI ของเมนบอร์ด เชื่อมต่อเคอร์เนลระบบปฏิบัติการขณะบู๊ตก่อนที่ Windows Defender จะโหลด ปิดการใช้งานการบังคับใช้ลายเซ็นไดรเวอร์ แฟลชเมนบอร์ดอีกครั้ง เฟิร์มแวร์ BIOS/UEFI จากพอร์ต USB แฟลชแบ็คของฮาร์ดแวร์และรัน diskpart clean เพื่อล้างพาร์ติชันระบบ EFI ที่ซ่อนอยู่

การโจมตีแบบ "ClickFix" และ Session-Hijacking สมัยใหม่ทำงานอย่างไร

ในช่วงสองปีที่ผ่านมา หน่วยงานรักษาความปลอดภัยทางไซเบอร์ รวมถึง U.S. Cybersecurity and Infrastructure Security Agency (CISA), UK National Cyber ​​Security Centre (NCSC) และ Australian Cyber ​​Security Centre (ACSC) ได้เตือนเกี่ยวกับวิธีติดไวรัสหลอกลวงสองวิธีที่จะข้ามโปรแกรมแอนตี้ไวรัสแบบเดิมๆ ทุกโปรแกรม:

1. The "Fake CAPTCHA / ClickFix" clipboard attack

เมื่อเรียกดูเว็บหรือคลิกผลการค้นหา เว็บไซต์จะแสดงป๊อปอัปปลอมที่น่าเชื่ออย่าง Cloudflare, Google Chrome หรือ Microsoft Word โดยบอกว่า "ยืนยันว่าคุณเป็นมนุษย์" หรือ "ข้อผิดพลาดแบบอักษรของ Chrome: คลิกเพื่อแก้ไข" ป๊อปอัปจะแนะนำให้คุณกด 1 Windows Key + R (to open the Windows Run box) → 2. Ctrl + V (Paste) → 3. Enter.

  • สิ่งที่เกิดขึ้นจริง: เมื่อคุณคลิกปุ่ม "ยืนยัน" บนหน้าเว็บ JavaScript บนหน้าเว็บจะคัดลอกไฟล์ที่เป็นอันตรายที่ซ่อนอยู่ PowerShell หรือ mshta.exe command ลงในคลิปบอร์ด Windows ของคุณ เมื่อคุณกด Win + R และ Ctrl + Vคุณสั่งให้ Windows ดาวน์โหลดและเรียกใช้โทรจัน infostealer ด้วยตนเองโดยได้รับอนุญาตจากผู้ใช้ของคุณเอง โดยข้ามเครื่องสแกนดาวน์โหลดเบราว์เซอร์โดยสิ้นเชิง
  • หากท่านเคยวางคำสั่งลงไป Win + R หรือ macOS Terminal จากหน้าเว็บ: สมมติว่า Infostealer ได้อัปโหลดรหัสผ่านและคุกกี้เซสชันที่บันทึกไว้ทั้งหมดจากเว็บเบราว์เซอร์ของคุณภายใน 5 วินาทีหลังจากกด Enter ตัดการเชื่อมต่อจากอินเทอร์เน็ตทันทีและดำเนินการ โปรโตคอลการเพิกถอนคุกกี้เซสชัน ด้านล่าง

2. เหตุใดการเปลี่ยนรหัสผ่านของคุณเพียงอย่างเดียวจึงไม่หยุดการขโมยคุกกี้เซสชัน

เมื่อคุณเข้าสู่ระบบ Gmail, Microsoft 365, Facebook, Amazon หรือธนาคารของคุณ และทำเครื่องหมายที่ช่อง "จดจำอุปกรณ์นี้เป็นเวลา 30 วัน" เว็บไซต์จะบันทึก คุกกี้เซสชันการรับรองความถูกต้อง ที่เข้ารหัสไว้บนฮาร์ดไดรฟ์ของคอมพิวเตอร์ของคุณ เมื่อ infostealer ติดพีซีของคุณ มันจะขโมยสำเนาของไฟล์นั้นและนำเข้าไปยังเบราว์เซอร์ป้องกันการตรวจจับของแฮ็กเกอร์เอง

เนื่องจากคุกกี้แจ้งเซิร์ฟเวอร์ว่า "เบราว์เซอร์นี้ผ่านการตรวจสอบสิทธิ์แบบสองปัจจัยแล้ว" ผู้โจมตีจึงเดินตรงไปยังกล่องจดหมายและไดรฟ์คลาวด์ของคุณ โดยไม่ต้องใช้รหัสผ่านและไม่ต้องเรียกใช้รหัส 2FA บนโทรศัพท์ของคุณ ที่แย่กว่านั้นในหลาย ๆ แพลตฟอร์ม หากคุณรีเซ็ตรหัสผ่านโดยไม่เพิกถอนเซสชัน คุกกี้เซสชันที่ถูกขโมยจะยังคงใช้งานได้เป็นเวลาหลายวัน

วิธีกำจัดคุกกี้เซสชั่นที่ถูกขโมยในบัญชีหลักของคุณ (จากโทรศัพท์ที่สะอาด):

  1. กูเกิล/จีเมล (myaccount.google.com): ไปที่ ความปลอดภัย > อุปกรณ์ของคุณ > จัดการอุปกรณ์ทั้งหมด คลิกที่เซสชันคอมพิวเตอร์เดสก์ท็อปทุกเซสชัน และคลิก ออกจากระบบ จากนั้นไปที่ ความปลอดภัย > แอปและบริการของบุคคลที่สาม และลบแอปที่เชื่อมต่อที่น่าสงสัยออก
  2. ไมโครซอฟต์ / เอาท์ลุค / วันไดรฟ์ (account.microsoft.com): ไปที่ ความปลอดภัย > ตัวเลือกความปลอดภัยขั้นสูง เลื่อนลงแล้วคลิก ออกจากระบบ (ซึ่งจะบังคับให้ออกจากระบบทั่วโลกในทุกเบราว์เซอร์ แอป Xbox และเซสชัน OneDrive ทั่วโลกภายใน 24 ชั่วโมง)
  3. ตรวจสอบอีเมล "การส่งต่ออัตโนมัติ" และ "กฎ / ตัวกรองกล่องจดหมาย": สิ่งแรกที่ผู้โจมตีทำหลังจากไฮแจ็กเซสชัน Gmail หรือ Outlook ของคุณคือการสร้าง ตัวกรองกล่องจดหมาย / กฎ ที่ซ่อนอยู่ ซึ่งจะส่งต่อสำเนาอีเมลรีเซ็ตธนาคารขาเข้าของคุณไปยังที่อยู่ของผู้โจมตีโดยอัตโนมัติ และส่งคำเตือนด้านความปลอดภัยตรงไปยังโฟลเดอร์ ถังขยะ หรือ ฟีด RSS ของคุณ เพื่อให้คุณไม่เคยเห็นอีเมลเหล่านั้น เปิดการตั้งค่าอีเมลของคุณในมุมมองเว็บบนเดสก์ท็อป (การตั้งค่า > ตัวกรองและที่อยู่ที่ถูกบล็อก ใน Gmail หรือ การตั้งค่า > เมล > กฎและการส่งต่อ ใน Outlook) และลบกฎที่ไม่คุ้นเคยหรือที่อยู่การส่งต่อทันที

วิธีช่วยเหลือไฟล์ที่ไม่ได้เข้ารหัสอย่างปลอดภัยโดยใช้ 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.

ให้ใช้วิธีทางนิติเวช วิธี USB Live Linux แบบออฟไลน์ ซึ่งจะทำให้ระบบปฏิบัติการ Windows หยุดนิ่งและอยู่เฉยๆ 100 เปอร์เซ็นต์:

  1. ขั้นตอนที่ 1: สร้าง Ubuntu Live USB บนคอมพิวเตอร์ที่สะอาดและแยกจากกันโดยสิ้นเชิง:
    • บนคอมพิวเตอร์ของเพื่อนหรือสมาชิกในครอบครัวที่ไม่ติดเชื้อ ให้ดาวน์โหลด 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หรือ Del บนพีซี; กดปุ่ม เปิด/ปิด หรือ ** ค้างไว้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. ขั้นตอนที่ 3: ติดตั้งไดรฟ์ Windows ที่ติดไวรัสโดยอ่านอย่างเดียวอย่างเคร่งครัด:
    • เพราะว่าวินโดวส์ .exe และ .dll ไวรัสไม่สามารถทำงานภายใน Linux ได้ ตอนนี้คุณสามารถเรียกดูโฟลเดอร์บน SSD/ฮาร์ดไดรฟ์ภายในของคุณได้อย่างปลอดภัย
    • เพื่อความปลอดภัยทางนิติวิทยาศาสตร์สูงสุด ให้เปิด Linux Terminal (Ctrl + Alt + T) ระบุพาร์ติชันไดรฟ์ภายในของคุณด้วย lsblkและติดตั้งด้วยการอ่านอย่างเดียว (ro) ธง (sudo mount -o ro /dev/nvme0n1p3 /mnt).
  4. Step 4: Copy clean documents ONLY (never copy .exe, .bat, .ps1หรือ .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:

  • Account-level mirroring (Requires zero app on your phone): The person simply signed into your Apple ID / iCloud on an old iPad in their closet, signed into your Google Account Location Sharing / Timeline, or scanned a QR code in your WhatsApp > Settings > Linked Devices (or Google Messages for Web) so every text message and map pin you generate shows up live on their laptop screen.
  • On-device Android stalkerware APK: On Android, the installer disabled Google Play Protect, enabled Install Unknown Apps, and installed a hidden tracking package that disguises itself in your full system app list under a fake boring system name like "System Service," "Device Health," "Wi-Fi Settings," or a blank icon that has been granted full Accessibility Service, Microphone, Camera, SMS, and Location ("Allow all the time") permissions.

2. วิธีตรวจสอบและล็อค iPhone หรือ Android อย่างปลอดภัย

(Remember: If you are in physical danger from an abusive person who checks your live tracker daily, consult a domestic violence advocate from a safe phone before cutting off their access, as revoking access immediately alerts them that they have been discovered.)

When it is safe to sever access, follow this exact sequence:

  1. On Apple iPhone / iPad (iOS 16, 17, 18+):
    • Run Apple's built-in Safety Check tool: Go to Settings > Privacy & Security > Safety Check and tap Emergency Reset (this single button immediately stops all Find My location sharing with everyone, resets privacy permissions for all apps, signs out of iCloud on all other devices, and restricts iMessage/FaceTime strictly to the phone in your hand).
    • Check for rogue configuration profiles or VPNs: Go to Settings > General > VPN & Device Management; if you see any unfamiliar Mobile Device Management (MDM) profile or configuration certificate that you (or your corporate employer) did not install, delete it immediately.
    • Check WhatsApp / Signal / Telegram > Settings > Linked Devices and log out of any unfamiliar web browser or desktop sessions.
    • If you face high-risk targeted spyware: Turn on Settings > Privacy & Security > Lockdown Mode, and perform a full DFU (Device Firmware Update) Restore using a clean Mac or PC before changing your Apple ID password and lock-screen passcode to a long alphanumeric phrase.
  2. On Android Smartphones:
    • Turn on Google Play Protect: Open the Google Play Store > tap your profile icon > Play Protect > Settings (gear icon) and turn Scan apps with Play Protect back ON (stalkerware installers always turn this toggle off; turning it back on immediately detects and flags known commercial stalkerware apps).
    • 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) บนฮาร์ดไดรฟ์ เพื่อให้มัลแวร์ติดคอมพิวเตอร์ของคุณอีกครั้งทันทีที่การรีเซ็ตเสร็จสิ้น

ดำเนินการสี่ขั้นตอน Bare-Metal Wipe และติดตั้งใหม่:

  1. สร้าง USB ตัวติดตั้งระบบปฏิบัติการอย่างเป็นทางการบนคอมพิวเตอร์แยกต่างหากที่ไม่ติดไวรัส:
    • 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) หรือสร้าง ตัวติดตั้งที่สามารถบูตได้ของ Apple macOS ใหม่ทั้งหมด
  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 หรือ 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 and press Enter.
    • Type list disk และกด Enter (ยืนยันไดรฟ์ภายในของคุณคือ Disk 0 และถอดปลั๊กไดรฟ์รองใด ๆ เพื่อที่คุณจะได้ไม่ล้างดิสก์ผิด)
    • Type select disk 0 and press Enter.
    • Type clean และกด Enter คำสั่งนี้จะทำลาย GUID Partition Table (GPT) ทั้งหมดทันที โดยลบพาร์ติชันระบบ EFI ขนาด 100 MB ที่ซ่อนอยู่ พาร์ติชันการกู้คืนที่ซ่อนอยู่ และพาร์ติชัน C: ที่มัลแวร์ถาวรซ่อนอยู่
    • ปิดหน้าต่างพร้อมรับคำสั่ง ดำเนินการผ่าน Windows Installer เลือกไดรฟ์ "Unallocated Space" ไดรฟ์เดียว และปล่อยให้ Windows สร้างพาร์ติชันใหม่ตั้งแต่ต้น
  4. รีเซ็ตเราเตอร์ Wi-Fi ที่บ้านก่อนเชื่อมต่อใหม่:
    • มัลแวร์บนเดสก์ท็อปพีซีมักเข้าสู่ระบบเราเตอร์ที่บ้านซึ่งยังคงใช้รหัสผ่านเริ่มต้น (admin / admin) และเปลี่ยน การตั้งค่าเซิร์ฟเวอร์ DNS หลักและรอง ของเราเตอร์เป็นที่อยู่ IP ที่เป็นอันตราย ซึ่งเปลี่ยนเส้นทางการรับส่งข้อมูลทางธนาคารของคุณไปยังหน้าฟิชชิ่ง
    • กดปุ่มรูเข็มแบบฝัง รีเซ็ตเป็นค่าจากโรงงาน ที่ด้านหลังของเราเตอร์ของคุณเป็นเวลา 15 วินาที ตั้งค่ารหัสผ่านผู้ดูแลระบบเราเตอร์ใหม่ที่รัดกุมและรหัสผ่าน Wi-Fi WPA2/WPA3 ปิดใช้งาน UPnP (Universal Plug and Play) และ การจัดการ WAN ระยะไกล อัปเดตเฟิร์มแวร์เราเตอร์ และตั้งค่า DNS เป็นตัวแก้ไขที่ปลอดภัยที่ผ่านการตรวจสอบแล้ว (เช่น Cloudflare 1.1.1.1 หรือควอด9 9.9.9.9 DNS ที่บล็อกมัลแวร์)

Note

การค้นพบว่าบัญชีส่วนตัว การออมทางการเงิน หรือความปลอดภัยส่วนบุคคลของคุณถูกละเมิดโดยมัลแวร์หรือสตอล์กเกอร์แวร์ ทำให้เกิดความวิตกกังวล นอนไม่หลับ และตื่นตระหนกอย่างรุนแรง เมื่อคุณถอดปลั๊กอุปกรณ์และรักษาความปลอดภัยบัญชีหลักของคุณแล้ว ให้ถอยห่างจากหน้าจอ ดื่มน้ำ และติดต่อเครือข่ายสนับสนุนที่เชื่อถือได้หรือสายด่วนอย่างเป็นทางการหากคุณรู้สึกหนักใจ

คำถามที่พบบ่อย

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.

ตรวจสอบแหล่งที่มาแล้ว

  • หน่วยงานรักษาความปลอดภัยทางไซเบอร์และโครงสร้างพื้นฐานและสำนักงานสืบสวนกลางแห่งสหรัฐอเมริกา (CISA / FBI สหรัฐอเมริกา): #คู่มือ StopRansomware คำแนะนำเกี่ยวกับมัลแวร์ Infostealer และการรักษาความปลอดภัยเครือข่ายภายในบ้าน
  • National Cyber Security Centre (NCSC, United Kingdom): Guidance on Recovering an Infected Device, Mitigating Malware and Ransomware, and Defending Against Phishing/Session Hijacking.
  • ศูนย์อาชญากรรมไซเบอร์แห่งยุโรปของ Europol และแนวร่วมต่อต้านสตอล์กเกอร์แวร์ (สหภาพยุโรป / ระหว่างประเทศ): แนวทางการถอดรหัสโครงการ No More Ransom และคำแนะนำด้านความปลอดภัยของผู้รอดชีวิตเกี่ยวกับสตอล์กเกอร์แวร์เชิงพาณิชย์
  • เครือข่ายระดับชาติเพื่อยุติความรุนแรงในครอบครัว โครงการเครือข่ายความปลอดภัย (NNEDV สหรัฐอเมริกา): การตรวจสอบความปลอดภัยของเทคโนโลยีและสปายแวร์/สตอล์กเกอร์แวร์โดยไม่เพิ่มความเสี่ยงทางกายภาพ
  • Australian Signals Directorate, Australian Cyber ​​Security Center (ASD / ACSC, ออสเตรเลีย): การระบุและการกู้คืนจากซอฟต์แวร์ที่เป็นอันตราย การหลอกลวงสนับสนุนเทคโนโลยีปลอม และการรักษาความปลอดภัยรหัสผ่าน
  • ศูนย์ความปลอดภัยทางไซเบอร์ของแคนาดา (ศูนย์ไซเบอร์ แคนาดา): การป้องกันและการกู้คืนจากแรนซัมแวร์ สปายแวร์ และบัญชีส่วนบุคคลที่ถูกบุกรุก

คำแนะนำที่เกี่ยวข้อง