I have installed Powershell 7.1.0 from Github (https://github.com/PowerShell/PowerShell/releases/latest) as instructed by Microsft Documentation (https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7.1). I checked the SHA256 hash value provided at the download site and they match with my downloaded file, so download and installation is genuine.
However, everytime I execute a help command with the -online parameter to get the full help malwarebytes treats it as an exploite and shuts powershell terminal. the logfile says "Exploit: 1
Malware.Exploit.Agent - T1055 - Defense Evasion" I even put "C:\Program Files\PowerShell\7\pwsh.exe" into the Allowed list but it still does the same.
Full logfile attached.
Powershell Help -Online Malwarebytes.txt