Scam report Scam Alerts

OctoRAT Removal: How a Fake Prettier Extension Put Windows PCs at Risk

A code formatter usually disappears into a developer’s routine. Once it is installed, there may be little reason to think about its publisher again.

The OctoRAT case makes that small detail important. Appearance and function can look familiar even when an extension belongs to somebody else.

Illustration of an editor extension details pane with publisher information.

Overview

The documented extension wasn’t the legitimate Prettier tool

Hunt.io traced an OctoRAT delivery chain to an extension that imitated Prettier in the VS Code Marketplace. The legitimate formatter was not identified as the malicious extension.

The researchers name the imitation as prettier-vscode-plus. That historical listing is useful for comparing an installed extension, not a reason to search for a copy to install.

OctoRAT is Windows remote access malware. Independent analysis from ANY.RUN describes capabilities including control over an affected desktop and collection of sensitive information.

A marketplace listing and an editor install are different evidence

Viewing an extension listing isn’t equivalent to installing it. Download and install counts also don’t establish how many computers executed a separate payload.

The reported imitation was removed shortly after it appeared. Its removal from the store doesn’t tell you whether a copy remained in a developer’s extension profile.

If you did install a lookalike, note the publisher as well as the name. Similar titles can lead to different listings with substantially different contents.

  • Verify the identifier in the installed extension’s own details.
  • Check each profile you used in the editor.
  • Tell security whether the developer machine had access to repositories, cloud services, or release credentials.

The project and account questions go beyond the editor

The extension was one part of the reported path. Removing it doesn’t establish that a later Windows component never ran or that the rest of the machine is clean.

For a work laptop, report what the machine could access without sending tokens, passwords, or key files. Your team can review the relevant services using established administrative access.

Don’t assume that code changed or a repository was copied just because it was reachable. Look for evidence in audit logs, release history, and account activity.

How the OctoRAT Extension Chain Reached Windows

Step 1: An imitation appears beside familiar developer tools

People looking for a common formatter may recognize its purpose before checking the publisher. An imitation can borrow a familiar description without belonging to the genuine project.

Open the project’s own documentation to verify the publisher and installation route. Don’t rely only on the first search result or a similar-looking extension title.

Avoid installing a duplicate merely to compare interfaces. You can inspect existing extension details and compare them against information from the developer.

Step 2: An extension can be the start of a wider incident

The documented extension was associated with a separate loader and remote access payload. A program working as expected on the surface would not rule out unrelated activity on the system.

If your editor shows the imitation was installed, preserve the details and record when you used it. Check whether your security tool saw any related Windows activity.

Work with the owner of the device before removing files or restarting it. They may need to compare local events with records from other developer systems.

Step 3: Keep the editor, Windows, and account decisions separate

Uninstalling the imitation can stop it from being loaded again by that editor profile. It does not by itself clean a trojan already running elsewhere.

If the payload ran, think about access that developer work requires. An authenticated browser, a terminal session, or a release credential may need its own review.

Don’t replace secrets on the computer under investigation. Use an unaffected device and follow the relevant account owner’s plan for rotation and verification.

How to Remove OctoRAT and Check the VS Code Extension

Remove a confirmed imitation on your own computer

Open Extensions in VS Code and inspect the installed extension’s publisher and identifier. Record the details before changing anything if you need to preserve an incident record.

Select the confirmed unwanted extension and choose Uninstall. Reload the editor if it asks you to, then verify that the entry no longer appears.

If you use multiple profiles, check each applicable profile. On a managed system, ask your administrator what to do before changing settings, sync, or a remote editor environment.

The official VS Code extension guide explains the controls. Don’t remove the genuine formatter solely because a separate listing used its name.

Investigate the Windows endpoint when the extension ran

If you suspect the payload ran on a personal Windows PC, disconnect it and preserve any alerts. The Advanced Trojan procedure below is for personal computers.

Some links may earn MalwareTips a commission. Avoid an optional utility such as RKill if the developer hasn’t listed support for your Windows version.

STEP 1: Use Rkill to terminate malicious processes

In this first step, we will download and run Rkill to terminate malicious processes that may be running on your computer.

RKill is a program that was developed at BleepingComputer.com that attempts to terminate known malware processes so that your normal security software can then run and clean your computer of infections. When RKill runs it will kill malware processes and then removes incorrect executable associations and fixes policies that stop us from using certain tools.

  1. Download Rkill.

    You can download RKill to your computer from the below link. When at the download page, click on the Download Now button labeled iExplore.exe. We are downloading a renamed version of Rkill (iExplore.exe) because some malware will not allow processes to run unless they have a certain filename.

    RKillStops malware processes so other tools can run
    Download RKillOpens the BleepingComputer download page in a new tab.
  2. Run RKill.

    After downloading, double-click the iExplore.exe icon to kill malicious processes. In most cases, downloaded files are saved to the Downloads folder.
    The program may take some time to search for and end various malware programs.

    RKILL Window

    When it is finished, the black window will close automatically and a log file will open. Do not restart your computer. Proceed to the next step in this guide.

STEP 2: Uninstall malicious programs from Windows

In this second step, we will manually check if any unknown or malicious programs are installed on the computer. Sometimes adware and browser hijackers can have a usable Uninstall entry that can be used to remove them.

Use the tab for your Windows version. Windows 7 and 8 are legacy systems; some current scanners no longer support them. On Windows 10, check your Extended Security Updates enrollment after cleanup.

  1. Open the Settings app

    Press Windows + I on your keyboard to open Settings. Alternatively, right-click the Start button and select “Settings” from the menu.
    Windows 11 Open Settings

  2. Go to “Installed apps”

    In the Settings window, click “Apps” in the sidebar, then select “Installed apps“.

  3. Find and uninstall the malicious program

    Scroll through the list of installed apps and look for anything suspicious — a program you don’t remember installing, or one with a strange or generic name.
    Quick tip: click “Sort by” and choose “Install date“. Malware is usually one of the most recently installed programs, so it will appear near the top.
    When you find the malicious program, click the three dots next to it and select “Uninstall“.

    Didn’t find any suspicious programs? That’s fine — not all infections install visible apps. Just continue with the next step in this guide.
  4. Complete the uninstall

    Confirm by clicking Uninstall in the message box, then follow the remaining prompts.
    Read each prompt carefully — some malicious programs use confusing wording or pre-ticked boxes hoping you’ll click through without looking.

    Windows 11 Confirm Uninstall

Is a stubborn program refusing to uninstall? Use Revo Uninstaller to force-remove it completely, including leftover files and registry entries.

With the malicious programs removed, you’re ready for the next step in this guide.

STEP 3: Reset browsers back to default settings

In this step, we will remove spam notifications,  malicious extensions, and change to default any settings that might have been changed by malware.
Please note that this method will remove all extensions, toolbars, and other customizations but will leave your bookmarks and favorites intact. For each browser that you have installed on your computer, please click on the browsers tab below and follow the displayed steps to reset that browser.

Reset Chrome for Windows to default settings

We will now reset your Chrome browser settings to their original defaults. This will reset your startup page, new tab page, search engine, and pinned tabs. It will also disable all extensions and clear temporary data like cookies. Your favorites, history, and saved passwords will not be cleared.

  1. Open the Chrome menu

    Open Google Chrome and click the three-dot (⋮) icon in the top-right corner.

    Click the three-dot menu icon in Chrome
  2. Open Chrome Settings

    Select Settings from the Chrome menu.

    Select Settings from the Chrome menu
  3. Select “Reset settings”

    Look at the menu on the left side of the Settings page. Scroll down and click Reset settings.

    Click Reset settings in the Chrome sidebar
  4. Restore Chrome’s original settings

    Click Restore settings to their original defaults.

    Choose Restore settings to their original defaults


  5. Confirm the Chrome reset

    A confirmation window will appear. Click Reset settings.

    This will:

    • Restore the default search engine, homepage, and new tab page
    • Reset startup pages and pinned tabs
    • Reset site permissions, such as notifications and pop-ups
    • Disable installed extensions
    • Clear temporary cookies and website data

    Don’t worry: Chrome will not delete your bookmarks, browsing history, or saved passwords. If you’re signed in to Chrome, the reset applies on all devices where you’re signed in.

    Restart Chrome and perform a test search. If your searches now open normally in Google, you can stop here.

    If searches are still redirected through shady domains complete the additional step below.

    Confirm the Chrome reset
  6. Remove persistent search hijacker data

    Only complete this step if the redirect continues after resetting Chrome.

    Show the cleanup steps

    Some browser hijackers hide inside Chrome’s local search-engine database. A standard Chrome reset may not remove this database, which is why searches can continue to pass through shady sites.

    The following procedure creates a backup of the affected database and allows Chrome to build a new, clean version. This is safer and less disruptive than deleting the entire Chrome profile.

    First, prevent Chrome Sync from restoring the hijacked settings:

    1. Open a new Chrome tab.
    2. Copy the following address, paste it into Chrome’s address bar, and press Enter:
      chrome://settings/syncSetup/advanced

    3. Under Manage what you sync, select Customize sync.
    4. Turn off Settings and Extensions.
    5. You can leave Bookmarks and Passwords enabled so your important data remains synchronized.

    Note: Some newer Chrome versions may automatically redirect this address to the Google Account settings page. If that happens, locate the list of synchronized Chrome data and turn off Settings and Extensions there.

    Chrome Manage what you sync page at chrome://settings/syncSetup/advanced, with Customize sync selected and arrows pointing to the Settings and Extensions switches

    Now save anything you are working on and close every Chrome window.

    Run the cleanup command:

    1. Press the Windows key on your keyboard.
    2. Type PowerShell.
    3. Open Windows PowerShell. Administrator access is not required.
    4. Copy the entire command shown below.
    5. Right-click inside the PowerShell window to paste the command, then press Enter.
    6. If Windows warns you about pasting multiple lines, select the option to continue.

    $stamp = Get-Date -Format "yyyyMMdd-HHmmss"

    Get-Process chrome -ErrorAction SilentlyContinue |
    Stop-Process -Force

    $root = "$env:LOCALAPPDATA\Google\Chrome\User Data"

    if (Test-Path $root) {
    $profiles = Get-ChildItem $root -Directory |
    Where-Object {
    $_.Name -eq "Default" -or
    $_.Name -match "^Profile \d+$"
    }

    foreach ($profile in $profiles) {
    foreach ($name in @(
    "Web Data",
    "Web Data-journal",
    "Web Data-wal",
    "Web Data-shm"
    )) {
    $file = Join-Path $profile.FullName $name

    if (Test-Path $file) {
    $backup = "$file.search-hijacker-backup-$stamp"
    Move-Item -LiteralPath $file -Destination $backup
    Write-Host "Backup created: $backup"
    }
    }
    }
    }

    Write-Host ""
    Write-Host "Chrome search data has been cleaned."
    Write-Host "You can now reopen Chrome."

    Wait until PowerShell displays the following message:

    Chrome search data has been cleaned.
    You can now reopen Chrome.
    Windows PowerShell window after the cleanup command ran, showing the backup file names and the message Chrome search data has been cleaned

    Close PowerShell and reopen Google Chrome. Chrome will automatically create a clean search database for every local profile.

    Next, copy the following address, paste it into Chrome’s address bar, and press Enter:

    chrome://settings/searchEngines
    Chrome Manage search engines and site search page with Google (Default) highlighted (1) in the Search engines list

    Make sure Google is selected as the default search engine. Test several searches from the address bar and confirm that they no longer pass through shady search engines.

    Your important Chrome data is protected: the PowerShell cleanup does not remove bookmarks, saved passwords, browsing history, cookies, or installed extensions. However, it may reset locally stored Autofill addresses, payment cards saved only on this computer, and form suggestions.

    The original search database is not deleted. PowerShell renames it and adds search-hijacker-backup to its filename so it can be recovered if necessary.

    Keep Settings and Extensions synchronization disabled while testing Chrome. Do not enable every extension at once. Enable only the extensions you recognize, one at a time, and test Chrome after each one.

    Chrome Extensions page with the demo extension Example Coupon Helper switched off: its on/off switch (1), its Remove button (2) and the Safety Check card Review 1 extension that may be unsafe (3)

    If the redirect returns after enabling a particular extension, remove that extension immediately.

STEP 4: Use Malwarebytes to remove Trojans and Unwanted Programs

In this next step, we will install Malwarebytes to scan and remove any infections, adware, or potentially unwanted programs that may be present on your computer.

Malwarebytes is one of the most popular and trusted anti-malware tools for Windows — and it’s completely free for removing infections. It catches threats that many antivirus programs miss, including adware, browser hijackers, and trojans. Follow the steps below to scan and clean your PC in just a few minutes.

  1. Download Malwarebytes

    Click the button below to download the latest version of Malwarebytes for Windows from the official source. The free version is all you need — it will scan your computer and remove adware, browser hijackers, and other malicious software at no cost.

    Malwarebytes Free for WindowsScans and removes malware at no cost
    Download MalwarebytesOfficial installer for Windows 11 and 10. Your download starts right away.Want real-time protection? See Malwarebytes Premium
  2. Install Malwarebytes

    When the download finishes, open your Downloads folder and double-click the MBSetup file. If Windows shows a User Account Control pop-up, click “Yes” to allow the installation.

    MBAM1
  3. Follow the On-Screen Prompts to Install Malwarebytes

    The setup wizard will walk you through a few quick screens:

    Current installers may offer Browser Guard, a trial, or a paid plan. Read each screen; use Skip for optional offers you do not want. Manual Windows scans and quarantine remain available in the free version.

    • Choose where you’re installing the program — “Personal Computer” or “Work Computer” — then click Next.

      MBAM3 1
    • Malwarebytes will now install on your device. This usually takes under a minute.

      MBAM4
    • When installation is complete, the “Welcome to Malwarebytes” screen will open automatically.

      MBAM6 1
    • On the final screen, click Open Malwarebytes to launch the program.

      MBAM5 1
  4. Choose the scan type and optional rootkit check

    Start with the normal Threat Scan. For an additional rootkit check, click the three dots on the Scanner tile, choose Advanced Scan, then Custom Scan.

    In the Custom Scan options, enable Scan for rootkits and select the entire C:\ system drive. Click Start Custom Scan when you have reviewed the remaining options. This option is unavailable on Windows ARM devices; do not change Windows security settings to make it appear.

    Run the Custom Scan if you selected it. Otherwise, return to the Dashboard and follow the Threat Scan steps below. You do not need rootkit scanning enabled to run a normal scan.

  5. Start the Scan

    Click the blue Scan button. Malwarebytes will automatically update its virus database and start checking your computer for malware.

    MBAM10
  6. Wait for the Scan to Finish

    A Threat Scan checks memory, startup items, the registry, and common malware locations; it does not inspect every file on every drive. Allow it to finish. Use a Custom Scan if you also need to check a particular drive or folder.

    MBAM11
  7. Quarantine the Detected Threats

    When the scan finishes, review the detected items and leave the threats you want removed selected. Click Quarantine. If you are unsure about a detection, save the report and ask for help before excluding it.

    MBAM12

    Malwarebytes will now remove the malicious files and registry entries and move them safely into quarantine.

    MBAM13
  8. Restart Your Computer

    Some threats can only be fully removed after a reboot. If Malwarebytes asks you to restart, click Yes. Once you’re logged back in, Malwarebytes has finished removing the threats it found.

    MBAM14

STEP 5: Use HitmanPro to remove Rootkits and other Malware

In this fifth step, while the computer is in normal mode, we will download and run a scan with HitmanPro to remove Trojans, rootkits, and other malicious programs.

HitmanPro is a second-opinion scanner designed to check for threats your usual antivirus may have missed. It examines suspicious files and uses cloud analysis from several security labs, including SophosLabs. An internet connection is needed for that cloud check.

Scanning is free. Removing detected threats requires an eligible one-time 30-day trial or a paid license. If this computer already used its trial, do not expect another free activation; the purchase screen shows the current price.

  1. Download HitmanPro

    Click the button below to download HitmanPro. Remember — the scan is free, so you have nothing to lose by checking your PC.

    HitmanProSecond-opinion malware scanner from Sophos
    Download HitmanProFree scan. Removal requires an eligible 30-day trial or a paid license. Opens the official HitmanPro page in a new tab.
  2. Install HitmanPro

    When the download finishes, open your Downloads folder and double-click the file: “hitmanpro.exe” on 32-bit Windows, or “hitmanpro_x64.exe” on 64-bit Windows.

    Double-click on the HitmanPro file

    If a User Account Control pop-up asks whether HitmanPro can make changes to your device, click “Yes” to continue.

    Windows asking for permissions to run the HitmanPro setup
  3. Follow the On-Screen Prompts

    On the HitmanPro start screen, click “Next” to begin the system scan. No lengthy setup required — it goes straight to work.

    Click Next to install HitmanPro on your PC
    HitmanPro final installer screen
  4. Wait for the Scan to Finish

    HitmanPro will now check your computer for malicious programs. This usually takes just a few minutes thanks to its cloud-based scanning.
    HitmanPro scans your computer for any infections, adware, or potentially unwanted programs that may be present

  5. Review the Results and Click “Next”

    When the scan is done, HitmanPro will show you everything it found. Click “Next” to remove the detected threats.

    HitmanPro scan summary. Click Next to remove malware
  6. Click “Activate Free License”

    If the trial is available on this computer, click Activate free license and follow the activation prompts. If it is unavailable, use an existing paid license or keep the report for assistance; do not buy through an unexpected pop-up.
    Click on the Activate free license button

    When the removal is complete, HitmanPro will show a summary of everything it cleaned. Click Next, then click Reboot if prompted. If there’s no reboot prompt, just click Close and check whether the original symptoms have stopped. A clean scan cannot rule out every threat.

STEP 6: Use AdwCleaner to remove Malicious Browser Policies and Adware

In this next step, we will use AdwCleaner to remove malicious browser policies and unwanted browser extensions from your computer.

AdwCleaner is a free on-demand scanner that specializes in adware, browser hijackers, and unwanted toolbars — the exact threats that mainstream antivirus programs often miss. It also includes tools that repair the damage malware leaves behind, like hijacked browser settings and malicious policies. It’s a quick scan that’s well worth running.

  1. Download AdwCleaner

    Click the button below to download AdwCleaner — it’s free, portable, and requires no installation.

    Malwarebytes AdwCleanerRemoves adware and unwanted programs at no cost
    Download AdwCleanerOpens the official download page in a new tab.
  2. Run AdwCleaner

    Open your Downloads folder and double-click the file named “adwcleaner.exe“. There’s no installation — the program starts right away.
    Download AdwCleaner on your computer

    If Windows asks whether you want to allow AdwCleaner to run, click “Yes“. When the license agreement appears, click I agree to continue.

    Windows ask if you want to run AdwCleaner

  3. Check whether a Chrome policy reset is needed

    Leave policy resets off for an ordinary scan. On a personal PC with confirmed unwanted Chrome policies, open Settings and enable Reset Chrome policies only if needed. On a work or school device, ask its administrator first.

    Enable Reset Chrome policies to remove malicious browser policies

  4. Start the Scan

    Return to Dashboard and click Scan Now.

  5. Wait for the Scan to Finish

    AdwCleaner will now check your computer for adware and other malware. This usually takes only a few minutes — it’s one of the fastest scanners around.

    AdwCleaner scanning for adware and other malware

  6. Quarantine the Detected Threats

    Review the detected adware and potentially unwanted programs, select the items to remove, and click Next. If a separate preinstalled-software list appears, review it too, then click Quarantine. Leave programs you intentionally use unselected.

  7. Click “Continue” to Finish the Cleanup

    Save any open work first — AdwCleaner needs to close your open programs before it can clean. When you’re ready, click the “Continue” button.
    Click Continue to remove malicious files

    AdwCleaner quarantines the selected items. Restart when prompted, then review the cleanup log. Click Skip Basic Repair to finish; use Run Basic Repair only when a support agent has instructed you to do so.

STEP 7: Perform a final check with ESET Online Scanner

This step involves installing and running a scan with ESET Online Scanner to check for any additional malicious programs that may be installed on the computer.

ESET Online Scanner is a free second-opinion scanner for Windows. It offers a thorough check for threats other scans may have missed. Let it update before scanning, and use the final report to see what it found and whether cleanup succeeded. A clean result is useful evidence, not a guarantee that no malware remains.

  1. Download ESET Online Scanner

    Click the button below to download ESET Online Scanner.

    ESET Online ScannerFree one-time malware scan from ESET
    Download ESET Online ScannerOpens the official download page in a new tab.
  2. Run the Installer

    When the download finishes, open your Downloads folder and double-click “esetonlinescanner.exe“.
    Image - Double-click on the ESET Online Scanner setup file

  3. Install ESET Online Scanner

    On the start screen, select your language from the drop-down menu and click Get started.

    Image - Click Get Started to install ESET Online Scanner

    On the Terms of use screen, click Accept.
    Image - Accept Terms to Install ESET Online Scanner

    Choose your preferences for the Customer Experience Improvement Program and the Detection feedback system (either choice is fine), then click Continue.
    Image - Follow the on-screen prompts

  4. Start a Full Scan

    Click Full Scan — this checks your entire computer, not just the common hiding spots.

    Start a Full Scan with ESET Online Scanner

    Select Enable for Detection of Potentially Unwanted Applications — this lets ESET catch adware and bundled junk programs, not just viruses. Then click Start scan.

    Image - Enable PUA Detection and Start Scan

  5. Wait for the Scan to Finish

    ESET will now check every file on your computer. Because it’s a full scan, this can take a while — often an hour or more, depending on how much data you have. Leave it running in the background and check on it from time to time.

    Image- Wait for the ESET Online Scanner scan to finish

  6. Review the Results

    When the scan finishes, open View detailed results and check the action recorded for each detection. ESET attempts to clean detected threats, but unresolved items still need attention. Save the report if anything could not be cleaned.
    Image - ESET Online Scanner malware removal

    If ESET found nothing, restart and check whether the original problem is gone. If warnings, redirects, or other symptoms continue, keep the scan reports and ask for help in the MalwareTips removal forum.

STEP 8: Run the System File Checker (SFC) tool

In this step, we will use System File Checker (SFC) tool to detect and repair files that may have been corrupted by malware.

System File Checker checks protected Windows system files and replaces damaged copies using Windows’ component store. It repairs Windows files; it does not remove malware or repair personal documents. On Windows 10 and 11, run DISM first, then SFC as shown below.

  1. Open Command Prompt as Administrator.

    To open the Command Prompt as an administrator in Windows, type “cmd” in the search bar and then right-click on the Command Prompt result and select “Run as administrator” as shown in the image below.
    Run CMD As Administrator
    A User Account Control (UAC) prompt will appear asking for permission to allow the program to run. Click “Yes”.

    In the administrator window, enter DISM.exe /Online /Cleanup-Image /RestoreHealth and wait for it to finish. Then run sfc /scannow. If DISM fails, note its error before continuing; Windows Update or a matching repair source may be needed.

  2. Type “sfc /scannow”.

    You will now be presented with a black screen called the ‘Administrator: Command Prompt’. On this screen, type “sfc /scannow” to scan for and repair any corrupt system files.
    sfc /scannow

  3. Restart your computer.

    Restart your computer if sfc /scannow repaired files. System File Checker may or may not prompt you to restart but even if it doesn’t, you should restart anyway.

  4. Run again sfc /scannow.

    Run again sfc /scannow to check if the files were repaired.

STEP 9: Run the Disk Check tool

Use the Disk Check step if file-system errors remain after malware removal. It is a Windows repair tool, not another malware scan; you can skip this repair when the drive and Windows are working normally.

Use this repair only if Windows reports disk or file-system errors. Back up important files first. A drive making unusual noises or repeatedly disconnecting needs a recovery assessment before a repair scan; CHKDSK is not a malware scanner.

This tool checks your hard disk for errors and can fix any issues it finds. To use the Disk Check tool, you will need to open the command prompt and enter the “chkdsk” command followed by the drive letter (e.g., “chkdsk C:”). You can also add the “/f” flag to the command to instruct the tool to fix any errors it finds. By running the Disk Check tool, you can help ensure that your hard disk is functioning properly and fix any issues that may be causing high disk usage.”
  1. Open Command Prompt as Administrator.

    To open the Command Prompt as an administrator in Windows, type “cmd” in the search bar and then right-click on the Command Prompt result and select “Run as administrator” as shown in the image below. Run CMD As Administrator A User Account Control (UAC) prompt will appear asking for permission to allow the program to run. Click “Yes”.
  2. Choose the disk check you need

    On Windows 10 or 11 with an NTFS system drive, start with chkdsk C: /scan. If Windows reports errors requiring repair, use chkdsk C: /f. The /r option in the older screenshot also checks sectors and can take much longer; use it only when there is a reason to check for bad sectors. chkdsk /f /r
  3. Restart your computer

    The Disk Check tool may require you to restart your computer in order to complete the scan and repair process. Type “Y” and click on Enter, then restart the computer. A CHKDSK command can take a long time, especially when performed on larger drives. Once it’s done, however, it will present a summary of results including total disk space, byte allocation, and, most importantly, any errors that were found and corrected. CMD chkdsk f r restart

What to Do If the Imitation Was Installed

  1. Report the extension details and the affected profiles. Provide the publisher, name, installation window, and any scanner alert without including passwords or tokens.

    Your incident owner may need to check other developer endpoints. Avoid making an unverified claim about which team members installed it.

  2. List the important services the computer could use. Include repository access, cloud consoles, package publishing, and any authenticated release tooling that was open.

    Ask credential owners to review sessions and revoke exposed tokens from an unaffected system. Keep actual secret values out of your notes and the report.

  3. Check for changes after the suspected install. Review repository activity, newly issued credentials, and releases if those services were accessible from the machine.

    Restrict claims to what the records show. An unfamiliar activity entry may warrant investigation, but a credential simply being present doesn’t prove it was stolen.

  4. Resolve the endpoint before restoring developer access. If detections continue or you cannot tell whether a payload ran, get qualified assistance.

    A known-good rebuild may be appropriate when trust can’t otherwise be established. Confirm that you won’t reintroduce the untrusted extension through an old settings backup.

Frequently Asked Questions

Is the real Prettier formatter OctoRAT?

No, the documented campaign used a separate imitation listing. Verify the publisher before treating a working copy of the legitimate formatter as part of the incident.

Does uninstalling the extension remove the Windows malware?

Not necessarily, because the reported chain included a separate payload. Use the endpoint response if there is evidence that further code ran.

Can I tell whether I was affected from marketplace downloads?

No, the install totals don’t determine what happened on your machine. Look at your installed list, dates, and records of execution.

Does this case prove every OctoRAT sample came from VS Code?

No, the extension case is one documented delivery route. Treat a separate detection according to the evidence associated with that machine.

Should I automatically revoke every credential used by the team?

Identify the device’s actual access first and coordinate changes with owners. Unplanned rotation can interrupt recovery or break systems without showing which secrets were involved.

Is OctoRAT the same thing as the Octo Android banking trojan?

No, this article concerns a Windows remote access family. An Android detection with a similar name requires its own evidence and response.

The Bottom Line

Verify the publisher before installing a familiar-looking formatter. If you find the documented imitation, preserve the details and remove it or report it to your administrator.

If the Windows payload might have run, treat that as a wider incident. Protect developer access from a separate device and investigate the endpoint before trusting it again.

After the cleanup

Finish the cleanup. Keep protection on.

Follow the removal steps above, then consider ongoing protection against malicious software and unwanted advertising.

Malwarebytes

Scam & malware protection

Go beyond a one-time scan.

Malwarebytes can detect and remove malware and unwanted programs. Premium Security adds real-time protection against new threats.

  • Scam Guard for suspicious messages
  • Real-time malware protection with Premium

Join the discussion

0 comments

Share your experience or ask a question about this article.

Discussion

Start the conversation

Have a question or something useful to share? Add the first comment.

Written by

Lapain Epuran

Lapain Epuran investigates product scams, from supplements sold with miracle-cure claims to gadgets pushed through misleading ads. She has more than 10 years of experience in investigations and checks each product's claims, seller and refund terms before giving a verdict.

5,509 articlesWriting since 2024
More from Lapain →

MalwareTips community · since 2010

Stuck on a step? 75,000+ members can help you for free.

Post your question on the forum and our volunteer malware removal experts will walk you through it, step by step.

75K+members
999K+forum messages
100K+forum topics
15+years online

Previous

Royal Mail Missed Delivery Card Scam: What to Check Before Paying a Fee

Next

Syntrix RAT Removal: Why a Clean File Scan Does Not Clear a Windows PC