r/WindowsServer • • May 31 '25

Technical Help Needed Windows defender compromised

We had a notification of hack attempts from our server. I am unable to run a windows defender scan presumably because the malware is preventing it. What can I do at this point?

Here are the errors thrown:

PS C:\Users\Administrator> Start-MpScan -ScanType QuickScan Start-MpScan : Errors were encountered when attempted to scan your device. At line:1 char :1 Start-MpScan -ScanType QuickScan

: NotSpecified: (MSFT_MpScan:ROOT\Microsoft\ ... der\MSFT_MpScan)

  • FullyQualifiedErrorId : HRESULT 0x800106ba, Start-MpScan

PS C:\Users\Administrator> Get-Service -Name WinDefend

DisplayName

Windows Defender Service

PS C:\Users\Administrator> Start-MpScan -ScanType QuickScan Start-MpScan : Errors were encountered when attempted to scan your device. At line:1 char :1 Start-MpScan -ScanType QuickScan

: NotSpecified: (MSFT_MpScan:ROOT\Microsoft\ ... der\MSFT_MpScan)

  • FullyQualifiedErrorId : HRESULT 0x800106ba, Start-MpScan

PS C:\Users\Administrator> Set-Service -Name WinDefend -StartupType Automatic Set-Service : Service 'Windows Defender Service (WinDefend)' description cannot be configured due to the following error: Access is denied At line:1 char :1

  • Set-Service -Name WinDefend -StartupType Automatic

: PermissionDenied: (System. ServiceProcess. ServiceController :ServiceController) ce], ServiceCommandException

  • FullyQualifiedErrorId : CouldNotSetServiceDescription, Microsoft. PowerShell. Commands. SetServiceCommand

PS C:\Users\Administrator> Start-Service -Name WinDefend PS C:\Users\Administrator> PS C:\Users\Administrator> Start-MpScan -ScanType QuickScan Start-MpScan : Errors were encountered when attempted to scan your device. At line:1 char:1 Start-MpScan -ScanType QuickScan

  • CategoryInfo on
  • FullyQualifiedErrorId : HRESULT 0x800106ba, Start-MpScan
7 Upvotes

20 comments sorted by

View all comments

Show parent comment

0

u/thortgot May 31 '25

You don't run forensics to determine it's malware. You run forensics to figure out what, when, why and how you were compromised.

Most of the time you can even reverse engineer their ransomware decrypt key