Jump to content
kingzee

malwarebytes blocks vscode?

Recommended Posts

i'm a developer, i use visual studio code.

I don't know what changed, I think malwarebytes auto-updated.

It no longer lets visual studio code open its integrated terminal. It fails and automatically closes. I tried adding the vscode .exe to the exclusion list but it still didn't work.

Share this post


Link to post
Share on other sites

***This is an automated reply***

Hi,

Thanks for posting in the Malwarebytes for Windows Help forum.

 

If you are having technical issues with our Windows product, please do the following: 

Spoiler

If you haven’t already done so, please run the Malwarebytes Support Tool and then attach the logs in your next reply:

NOTE: The tools and the information obtained is safe and not harmful to your privacy or your computer, please allow the programs to run if blocked by your system.

  1. Download Malwarebytes Support Tool
  2. Once the file is downloaded, open your Downloads folder/location of the downloaded file
  3. Double-click mb-support-X.X.X.XXXX.exe to run the program
    • You may be prompted by User Account Control (UAC) to allow changes to be made to your computer. Click Yes to consent.
  4. Place a checkmark next to Accept License Agreement and click Next
  5. You will be presented with a page stating, "Get Started!"
  6. Click the Advanced tab on the left column

    mbst_get_started.jpg
     
  7. Click the Gather Logs button

    mbst_advanced_gather_logs.jpg
     
  8. A progress bar will appear and the program will proceed with getting logs from your computer

    mbst_getting_logs.jpg
     
  9. Upon completion, a file named mbst-grab-results.zip will be found on your Desktop. Click OK

    mbst_log_saved_desktop.jpg
     
  10. Please attach the file in your next reply. Before submitting your reply, be sure to enable "Notify me of replies" like so:

     notify me.jpeg  

Click "Reveal Hidden Contents" below for details on how to attach a file:
 

Spoiler

To save attachments, please click the link as shown below. You can click and drag the files to this bar or you can click the choose files, then browse to where your files are located, select them and click the Open button.

mb_attach.jpg.220985d559e943927cbe3c078b
 

One of our experts will be able to assist you shortly.

 

If you are having licensing issues, please do the following: 

Spoiler

For any of these issues:

  • Renewals
  • Refunds (including double billing)
  • Cancellations
  • Update Billing Info
  • Multiple Transactions
  • Consumer Purchases
  • Transaction Receipt

Please contact our support team at https://support.malwarebytes.com/community/consumer/pages/contact-us to get help

If you need help looking up your license details, please head here: https://support.malwarebytes.com/docs/DOC-1264 

 

Thanks in advance for your patience.

-The Malwarebytes Forum Team

 

Share this post


Link to post
Share on other sites
3 minutes ago, kingzee said:

It no longer lets visual studio code open its integrated terminal. It fails and automatically closes. I tried adding the vscode .exe to the exclusion list but it still didn't work.

What happens wen you disable just the ransomware protection?

Also,

We need to get information from this machine in order to have the proper detail to help you forward.
 NOTE: The tools and the information obtained is safe and not harmful to your privacy or your computer, please allow the programs to run if blocked by your system.

    Download Malwarebytes Support Tool
    
    
    Once the file is downloaded, open your Downloads folder/location of the downloaded file
    Double-click mb-support xxx.xx.exe to run the report
        You may be prompted by User Account Control (UAC) to allow changes to be made to your computer. Click Yes to consent.
        
    Place a checkmark next to Accept License Agreement and click Next
    You will be presented with a page stating, "Get Started!"

    Do NOT use the button “Start repair” !
    Click the Advanced tab on the left column
    
    Click the Gather Logs button
    
    A progress bar will appear and the program will proceed with getting logs from your computer
   
    Upon completion, click a file named mbst-grab-results.zip will be saved to your Desktop. Click OK
    Please attach the ZIP file in your next reply

Share this post


Link to post
Share on other sites

thanks, disabling just the ransomware protection worked, i'll use the tool and upload it soon

Share this post


Link to post
Share on other sites
1 hour ago, kingzee said:

thanks, disabling just the ransomware protection worked, i'll use the tool and upload it soon

If you not already, I would enable the beta updates and do a manual check for updates and once installed restart the computer.

Share this post


Link to post
Share on other sites
7 hours ago, Porthos said:

If you not already, I would enable the beta updates and do a manual check for updates and once installed restart the computer.

I did update and unfortunately it didn't fix the problem, i think it may have to do with vscode updating, even though honestly i'm not sure.

I have went through some of the logs made by the tool and these are the relevant parts I found :

01/23/20    " 19:32:06.406"    698419018    082c    2d30    ERROR    MBAMChameleon    VerifyFile    "fileverify.cpp"    525    "****  File is too large!! - 100047224 \??\C:\Users\KingZee\AppData\Local\Programs\Microsoft VS Code\Code.exe"
01/23/20    " 19:32:06.683"    698419295    082c    2d30    WARNING    MBAMChameleon    VerifyFile    "fileverify.cpp"    605    "\??\C:\Program Files\Git\cmd\git.exe failed verification - c000000d"
01/23/20    " 19:32:07.186"    698419798    2dbc    2f98    WARNING    MBAMChameleon    VerifyFile    "fileverify.cpp"    605    "\??\C:\Program Files\Git\mingw64\bin\git.exe failed verification - c000000d"
 

I unfortunately won't be uploading the whole log results as they have way too much information and I am not comfortable with that.

 

Share this post


Link to post
Share on other sites

Those errors/warnings are from the Chameleon self-protection driver that Malwarebytes uses.  You can disable this component without losing any of your actual protection so it might be worth a try as it would be better than disabling Ransomware Protection assuming it actually helps to do so.  You can disable self-protection under settings in the Security tab.  Locate the Windows startup section there and click where it says Advanced just below that section and it will expand to reveal a few additional settings.  Disable the option for the self-protection module and restart Windows, then test to see if you are able to run your application with Ransomware Protection enabled.  It may not work though, so disabling Ransomware Protection or finding the right exclusions may still be necessary.

Share this post


Link to post
Share on other sites
27 minutes ago, exile360 said:

Those errors/warnings are from the Chameleon self-protection driver that Malwarebytes uses.  You can disable this component without losing any of your actual protection so it might be worth a try as it would be better than disabling Ransomware Protection assuming it actually helps to do so.  You can disable self-protection under settings in the Security tab.  Locate the Windows startup section there and click where it says Advanced just below that section and it will expand to reveal a few additional settings.  Disable the option for the self-protection module and restart Windows, then test to see if you are able to run your application with Ransomware Protection enabled.  It may not work though, so disabling Ransomware Protection or finding the right exclusions may still be necessary.

Thanks a lot for your help! Unfortunately that didn't work, so I re-enabled it and will work with ransomware off while I code now.

I should also mention that I can open git bash, powershell, cmd, just fine on their own. It's only when they are started by vscode that they fail to start.

Share this post


Link to post
Share on other sites

extra : I previously excluded code.exe and it didn't work, but excluding the whole folder now prevents the problem, I should have thought about doing that earlier. Thanks both of you, this is probably the best solution so far.

Share this post


Link to post
Share on other sites

Excellent, I'm glad that you were at least able to find a working exclusion.  I will be sure to inform the Product team about this issue so that they can hopefully get it fixed in a future update.

Please let us know if you encounter any further issues.

Thanks

Share this post


Link to post
Share on other sites

Hi @kingzee,

Thank you for the report. We have a defect currently for this issue and are still in the process of investigating it.

If you would prefer not to post the logs in public, you are welcome to send me a private message with the logs attached.

We have found the issue is not reliably reproducible, so environmental information will assist our efforts here.

  • VS Code version? Are you using stable or insiders?
  • Installed VS Code extensions?
  • OS information?
  • Malwarebytes component version (found in Settings -> About)?
  • Are you running VS Code in a virtual machine or live machine?

Share this post


Link to post
Share on other sites

Hello,

With the latest Malwarebytes version, are you still experiencing an issue with VS Code and Ransomware Protection?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.