WPH Posted September 15, 2023 ID:1589226 Share Posted September 15, 2023 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.txt Link to post Share on other sites More sharing options...
Solution Porthos Posted September 15, 2023 Solution ID:1589247 Share Posted September 15, 2023 (edited) 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 September 15, 2023 by Porthos Link to post Share on other sites More sharing options...
WPH Posted September 15, 2023 Author ID:1589249 Share Posted September 15, 2023 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. 1 Link to post Share on other sites More sharing options...
Porthos Posted September 28, 2023 ID:1592073 Share Posted September 28, 2023 The beta that was released today has the anti-exploit fix included. You may get the beta by enabling BETA updates and checking for updates. This is the version with the fix. Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now