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. لومړی یو وسیله مه پاکوئ که تاسو د کورني سټکر ویئر قرباني یاست: که تاسو شک لرئ چې یو ناوړه ملګري، میرمن یا سټالکر ستاسو په تلیفون یا لیپ ټاپ کې سوداګریز سپایویر / سټالکر ویئر نصب کړی، ** ناڅاپه د سپای ویر ړنګول د سټکر ډشبورډ سمدلاسه خبرداری ورکوي**، کوم چې کولی شي کورني خطر زیات کړي. اخته تلیفون په خپل نورمال ځای کې وساتئ او یو جلا خوندي تلیفون یا کتابتون کمپیوټر وکاروئ لومړی خپل فزیکي خوندیتوب پلان کړئ.
  6. ** د ډرایو پاکولو دمخه د لوستلو یوازې ژوندی لینکس USB له لارې غیر کوډ شوي فایلونه وژغورئ**: هیڅکله د فایلونو کاپي کولو لپاره د ransomware-Hit ډرایو بیرته په وینډوز یا macOS کې بوټ مه کوئ. په بل کمپیوټر کې رامینځته شوي د پاک اوبنټو لایو USB څخه بوټ وکړئ ، اخته شوی ډرایو د یوازې لوستلو په توګه نصب کړئ ، خپل پاتې پاک فایلونه په نوي بهرني ډرایو کې کاپي کړئ ، د وړیا ډیکریپټرونو لپاره nomoreransom.org وګورئ او بیا د برخې میز په بشپړ ډول پاک کړئ (diskpart cleanد نوي OS نصبولو لپاره.

Danger

هیڅکله د "1-800 مایکروسافټ / ایپل امنیت ملاتړ" تلیفون شمیره ته زنګ وهئ چې په لوړ غږ ، چمکۍ ، خبرې کولو بشپړ سکرین براوزر پاپ اپ کې ښودل شوي. ** یو له خورا عام اضطراري حالتونو څخه چې د کمپیوټر کارونکي ورسره مخ دي د جعلي فل سکرین براوزر لاک ( ټیک سپورټ سکایر ویئر**) دی چې د روبوټیک سایرن غږ کوي * د ټروفیجن غږ په ګوته کوي. ستاسو کمپیوټر، خپل کمپیوټر مه بندوئ که ستاسو هارډ ډرایو به حذف شي، سمدلاسه د مایکروسافټ ملاتړ ته زنګ ووهئ."* **دا سل په سلو کې د براوزر درغلۍ ده، نه ریښتیني مالویر. ** مشروع وینډوز، macOS، او انټي ویروس پروګرامونه هیڅکله د تلیفون شمیره د کریش سکرین کې نه ښیې. که تاسو دې شمیرې ته زنګ ووهئ او د دوی د ریموټ سکرین شریکولو وسیله نصب کړئ (AnyDesk، TeamViewer، ScreenConnect، یا UltraViewer)، سکیمر به په لاسي ډول ستاسو د آنلاین بانکداري سپما غلا کړي او ریښتیني ransomware نصب کړي. په ساده ډول لاندې ونیسئ Alt + F4 (یا Ctrl + Shift + Esc د ټاسک مدیر خلاصولو لپاره او په خپل ویب براوزر کې د کار پای کلیک وکړئ) د جعلي ویب پا pageې سمدستي بندولو لپاره.

مالویر، ransomware، او سپایویور ټریج ورک فلو

flowchart TD
    A["شکمن مالویر، Ransomware، یا Spyware کشف شوي"] --> B{"تاسو همدا اوس کومې نښې ګورئ؟"}
    B -->|Loud Talking Fullscreen Browser Pop-Up With Phone Number| C["د جعلي ټیک سپورټ ویر ویر: Ctrl+Shift+Esc او د براوزر کار پای ته فشار ورکړئ"]
    B -->|Files Renaming / Ransom Note on Desktop| D["ایترنیټ راوباسئ او USB ډرایو انپلګ کړئ؛ د هارډ کټ بریښنا که لاهم کوډ شوی وي"]
    B -->|Email, Discord, or Crypto Accounts Hijacked With No Alerts| E["د انفوسټیلر کوکي غلا: د کمپیوټر سره وصل کړئ او د پاک تلیفون څخه ټولې ناستې لغوه کړئ"]
    B -->|Partner/Ex Knows Private Texts, Calls, & Exact GPS Locations| F["د Stalkerware خبرداری: تر اوسه اپلیکیشن مه حذف کړئ (د ناوړه ګټه اخیستونکي خبرتیا)؛ خوندي ثانوي وسیله وکاروئ"]
    D --> G["د پاک اوبنټو ژوندی USB څخه یوازې د لوستلو حالت کې اخته شوي کمپیوټر بوټ کړئ"]
    E --> G
    G --> H["پاتې نه کوډ شوي فایلونه په نوي ډرایو کې کاپي کړئ او NoMoreRansom.org چیک کړئ"]
    H --> I["د راتلونکي ډیکریپټرونو لپاره د کوډ شوي ډرایو عکس کلون کړئ"]
    I --> J["د رسمي OS انسټالر USB بوټ کړئ ، د ډیسک پارټ کلین چل کړئ ، او له سکریچ څخه OS بیا نصب کړئ"]
    J --> K["د UEFI فرم ویئر فلش کړئ، روټر بیا تنظیم کړئ، او FIDO2 / تصدیق کونکی MFA فعال کړئ"]

د ناوړه تادیاتو څلور لوی ټولګیو پیژندل

د مالویر مختلف ټولګي په بشپړ ډول مختلف بیړني غبرګونونو ته اړتیا لري. دا تشخیصی میټرکس وکاروئ ترڅو وپیژندل شي چې ستاسو وسیله څه وه او ستاسو سمدستي لومړیتوب باید څه وي.

د مالویر ټولګی او عام فشارونه دا څنګه ستاسو وسیله ته رسیږي 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
UEFI بوټکیټس او د کرنل روټکیټس (BlackLotus, CosmicStrand, MoonBounce, LoJax) د ملت-دولت جاسوسي، لاسلیک شوي زیانمنونکي کرنل چلوونکي (BYOVD بریدونه) د نورمال وینډوز ری سیٹ او هارډ ډرایو فارمیټینګ ژوندي کوي ځکه چې د تادیې بار د EFI سیسټم برخې (ESP) یا د مدر بورډ SPI فلش چپ دننه پټیږي د وینډوز مدافع بار کولو دمخه د OS کرنل په بوټ کې هک کوي ، د ډرایور لاسلیک پلي کول غیر فعال کوي موربورډ بیا فلش کړئ BIOS/UEFI فرم ویئر د هارډویر USB فلش بیک پورټ څخه او چل کړئ diskpart clean د پټ EFI سیسټم ویش پاکولو لپاره

د عصري "کلک فکس" او سیشن - هیجیک بریدونو څنګه کار کوي

په تیرو دوو کلونو کې، د سایبر امنیت ادارې په شمول د متحده ایالاتو د سایبر امنیت او زیربنا امنیت اداره (CISA)، د انګلستان ملي سایبر امنیت مرکز (NCSC)، او د آسټرالیا سایبر امنیت مرکز (ACSC) د دوه ګمراه کونکي انفیکشن میتودونو په اړه خبرداری ورکړی چې د هر دودیز انټي ویروس پروګرام څخه تیریږي:

1. د "جعلي کیپچا / کلیک فکس" کلپ بورډ برید

کله چې ویب براؤز کول یا د لټون پایلې کلیک کول، ویب پاڼه یو قانع کونکی جعلي کلاوډ فلیر، ګوګل کروم، یا د مایکروسافټ ورډ پاپ اپ ښکاره کوي چې وايي " تصدیق کړئ چې تاسو انسان یاست" یا "د کروم فونټ تېروتنه: د حل کولو لپاره کلیک وکړئ." پاپ اپ تاسو ته لارښوونه کوي چې 1 فشار ورکړئ. Windows Key + R (د وینډوز چلولو بکس خلاصولو لپاره) → 2. Ctrl + V (Paste) → 3. Enter.

  • په حقیقت کې څه پیښ شوي: کله چې تاسو په ویب پاڼه کې د "تصدیق" تڼۍ کلیک کړه، په پاڼه کې جاوا سکریپټ په خاموشۍ سره یو پټ ناوړه **PowerShell یا mshta.exe کمانډ ** ستاسو د وینډوز کلپ بورډ ته. کله چې تاسو فشار ورکړئ Win + R او Ctrl + V، تاسو په لاسي ډول وینډوز ته امر کړی چې د خپل کارونکي اجازې سره د انفوسټیلر ټروجن ډاونلوډ او اجرا کړي ، په بشپړ ډول د براوزر ډاونلوډ سکینرونو څخه تیریږي.
  • ** که تاسو کله هم په کې کمانډ پیسټ کړی وي Win + R یا د ویب پاڼې څخه macOS ټرمینل**: فرض کړئ چې Infostealer لا دمخه ستاسو د ویب براوزر څخه هر خوندي شوی پاسورډ او سیشن کوکی د Enter فشارولو څخه په 5 ثانیو کې اپلوډ کړی. سمدلاسه له انټرنیټ څخه ونښلئ او لاندې د سیشن کوکي ردولو پروتوکول اجرا کړئ.

2. ولې یوازې ستاسو د پټنوم بدلول د سیشن کوکي هیجیک کولو مخه نه نیسي

کله چې تاسو جی میل، مایکروسافټ 365، فیسبوک، ایمیزون، یا خپل بانک ته ننوځئ او د "دا وسیله د 30 ورځو لپاره په یاد ولرئ" لپاره بکس چیک کړئ، ویب پاڼه ستاسو د کمپیوټر هارډ ډرایو کې کوډ شوی د تصدیق سیشن کوکي خوندي کوي. کله چې یو انفوسټیلر ستاسو کمپیوټر اخته کوي، دا د دې فایل یوه کاپي غلا کوي او د هیکر خپل د کشف ضد براوزر ته یې واردوي.

ځکه چې کوکي سرور ته وايي "دا براوزر دمخه دوه فکتور تصدیق کړی،" برید کوونکی مستقیم ستاسو ان باکس او کلاوډ ډرایو ته ځي ** پرته له دې چې ستاسو پاسورډ ته اړتیا ولري او ستاسو په تلیفون کې د 2FA کوډ متحرک کولو پرته**. تر دې هم بدتر، په ډیری پلیټ فارمونو کې، که تاسو یوازې د غونډو لغوه کولو پرته خپل پټنوم بیا تنظیم کړئ، د غلا شوي سیشن کوکي د ورځو لپاره اعتبار لري.

** ستاسو په اصلي حسابونو کې د غلا شوي سیشن کوکیز وژلو څرنګوالی (د پاک تلیفون څخه)**:

  1. ** ګوګل / جی میل (myaccount.google.com)**: امنیت> ستاسو وسایل> ټول وسایل اداره کړئ ته لاړ شئ، د ډیسټاپ کمپیوټر په هر سیشن کې کلیک وکړئ، او سائن آوټ کلیک وکړئ. بیا امنیت> د دریمې ډلې ایپسونو او خدماتو ته لاړشئ او کوم شکمن وصل شوي ایپسونه لرې کړئ.
  2. ** مایکروسافټ / آؤټ لک / 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. ** خپل ایمیل "آټو فارورډینګ" او "ان باکس قواعد / فلټرونه" چیک کړئ : لومړی کار چې برید کونکی ستاسو د جی میل یا آؤټ لک سیشن له هک کولو وروسته ترسره کوي یو پټ ان باکس فلټر / اصول رامینځته کوي چې په اتوماتيک ډول ستاسو د راتلونکي بانک ریسیټ بریښنالیکونو کاپي برید کونکي پتې ته لیږدوي او ستاسو د امنیت خبرتیا ** په مستقیم ډول تاسو ته ** امنیتي اخطارونه TRSHRSHRSHR. هیڅکله یې نه ګورئ. خپل د بریښنالیک تنظیمات په ډیسټاپ ویب لید کې خلاص کړئ ( ترتیبات> فلټرونه او بلاک شوي پتې ** په Gmail کې ، یا ** ترتیبات> میل> قواعد او فارورډینګ په Outlook کې) او سمدلاسه کوم ناپیژندل شوي مقررات یا د لیږلو پته حذف کړئ.

د ژوندی لینکس 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 میتود ** وکاروئ، کوم چې د وینډوز عملیاتي سیسټم 100 سلنه منجمد او غیر فعال ساتي:

  1. Step 1: Build an Ubuntu Live USB on a completely separate, clean computer:
    • د یو ملګري یا د کورنۍ د غړي په نه اخته شوي کمپیوټر کې، وړیا رسمي اوبنټو ډیسټاپ ISO ډاونلوډ کړئ (ubuntu.com/download/desktop) او په خالي 8 GB یا 16 GB USB فلش ډرایو کې د لیکلو لپاره د وړیا USB فلش وسیله لکه BalenaEtcher یا Rufus وکاروئ.
  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 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 او .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، یا .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. How to audit and lock down an iPhone or Android safely

(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) 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 یا 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 and press Enter (confirm your internal drive is Disk 0 and unplug any secondary drives so you do not wipe the wrong disk).
    • Type select disk 0 and press Enter.
    • Type clean and press Enter. This command instantly destroys the entire GUID Partition Table (GPT), erasing the hidden 100 MB EFI System Partition, the hidden Recovery Partition, and the C: partition where persistent malware hides.
    • Close the Command Prompt window, proceed through the Windows Installer, select the single "Unallocated Space" drive, and let Windows create fresh partitions from scratch.
  4. Reset your home Wi-Fi router before reconnecting:
    • Malware on a desktop PC frequently logs into home routers that still use default passwords (admin / admin) and changes the router's Primary and Secondary DNS server settings to malicious IP addresses that redirect your banking traffic to phishing pages.
    • Press the recessed pinhole Factory Reset button on the back of your router for 15 seconds, set a strong new router admin password and WPA2/WPA3 Wi-Fi password, disable UPnP (Universal Plug and Play) and Remote WAN Management, update the router firmware, and set DNS to a verified secure resolver (such as Cloudflare 1.1.1.1 or Quad9 9.9.9.9 malware-blocking DNS).

Note

Discovering that your private accounts, financial savings, or personal safety have been violated by malware or stalkerware causes severe acute anxiety, insomnia, and panic. Once you have unplugged the device and secured your primary accounts, step away from screens, hydrate, and reach out to trusted support networks or official helplines if you feel overwhelmed.

په مکرر ډول پوښتل شوي پوښتنې

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.

سرچینې چک شوي

  • Cybersecurity and Infrastructure Security Agency and Federal Bureau of Investigation (CISA / FBI, United States): #StopRansomware Guide, Infostealer Malware Advisories, and Securing Home Networks.
  • National Cyber Security Centre (NCSC, United Kingdom): Guidance on Recovering an Infected Device, Mitigating Malware and Ransomware, and Defending Against Phishing/Session Hijacking.
  • Europol European Cybercrime Centre and Coalition Against Stalkerware (European Union / International): No More Ransom Project Decryption Guidelines and Survivor Safety Guidance on Commercial Stalkerware.
  • National Network to End Domestic Violence, Safety Net Project (NNEDV, United States): Technology Safety & Spyware/Stalkerware Triage without Escalating Physical Risk.
  • Australian Signals Directorate, Australian Cyber Security Centre (ASD / ACSC, Australia): Identifying and Recovering from Malicious Software, Fake Tech Support Scams, and Passkey Security.
  • Canadian Centre for Cyber Security (Cyber Centre, Canada): Preventing and Recovering from Ransomware, Spyware, and Compromised Personal Accounts.

اړونده لارښوونې