Jump to content

Trying to add an exclusion - excel vba program


Recommended Posts

Hi 

I have an application in excel VBA. It requires users (including myself when testing) to login to my webserver to validate id as a valid user.

Everything was ok until I upgraded to office 2016 on my PC but now Malwarebytes refused to run the program flagging it as an exploit.

I've tried adding the folder containing the excel file, the file itself and even excel.exe as exclusions but the damn thing still will not run unless I turn off exploits altogether.

How can I add my own vba application as an exclusion?

Steve

Link to post
Share on other sites

  • Staff

***This is an automated reply***

Hi,

Thanks for posting in the Malwarebytes 3 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
    0. UI.png
  7. Click the Gather Logs button
    17. Advanced.png
  8. A progress bar will appear and the program will proceed with getting logs from your computer
    19. System Repair Progress.png
  9. Upon completion, click a file named mbst-grab-results.zip will be saved to your Desktop. Click OK
  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

 

Link to post
Share on other sites

No - just on my PC

I've tried adding my website address as an exclusion too.....still no luck. I've investigated further and its not the login that's the issue its the following

The offending code seems to be this:-

Code follows-----

myfile = "http://www.veloc.co.uk/velocfiles/secfiles/hello.txt"
result = URLDownloadToFile2(0, myfile, ThisWorkbook.Path & "\hello.txt", 0, 0)
'Check if the file downloaded successfully  and if it exists.
If result = 0 Then 'And Not Dir(FilePath, vbDirectory) = vbNullString Then
    'MsgBox "Success!"
    Set fshere = CreateObject("Scripting.FileSystemObject")
    Set a = fshere.openTextFile(ThisWorkbook.Path & "\hello.txt")
    teststring2 = a.readline
    a.Close
    Kill ThisWorkbook.Path & "\hello.txt"
Else
    GoTo nointernet
End If

and the report says

-Exploit Data-
Affected Application: Microsoft Office Excel
Protection Layer: Malicious Memory Protection
Protection Technique: Exploit code executing from Heap memory blocked
File Name: 
URL: http://www.veloc.co.uk/velocfiles/secfiles/hello.txt

hello.txt simply contains one line with a version number.....it reads this then closes and deletes the downloaded file. If the version number is not the same as in the local file then it prompts for the user to update.

Steve

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.
Back to top
×
×
  • 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.