Jump to content

Exploit.PayloadProcessBlock When Running PowerShell Command


Go to solution Solved by Porthos,

Recommended Posts

As part of a batch script I have setup for a simple operation on my system, I get the current date/time via a powershell command.
Specifically,
for /f "tokens=1-3 delims=_ " %%a in ('powershell -Command "Get-Date -format yyyy_MM_dd"') DO (SET dt=%%a-%%b-%%c)
for /f "tokens=1-3 delims=_ " %%a in ('powershell -Command "Get-Date -format HH_mm_ss"') DO (SET tm=%%a-%%b-%%c)

Today, the Malwarebytes client (v4.6.2), gave me a warning and blocked the command from running, which caused the script to lack the date/time values needed to run normally.

Pretty sure this is a false detection, but I'm not sure how to work around it without completely disabling protection while my script runs.

I didn't find a direct support contact, so I'm posting here.
Screenshot of where this causes the disruption in script execution and exported report attached.

2023-09-15_MBAM-Issue.png

2023-09-15_MBAM-Issue.txt

Link to post
Share on other sites

  • Solution
1 hour ago, WPH said:

but I'm not sure how to work around it without completely disabling protection while my script runs.

That is what you need to do while running the script until the issue is fixed in the next few weeks if internal testing goes well.

Just the exploit portion though.

Edited by Porthos
Link to post
Share on other sites

9 minutes ago, Porthos said:

That is what you need to do while running the script until the issue is fixed in the next few weeks if internal testing goes well.

Just the exploit portion though.

Thanks, the script does appear to run normally with the exploit protection off.
I'll try working around it as such and await a general fix.

  • Like 1
Link to post
Share on other sites

  • 2 weeks later...

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.