flare-vm icon indicating copy to clipboard operation
flare-vm copied to clipboard

Remote File does not exist: X86 Debuggers And Tools-x86_en-us.msi

Open R0b1ns opened this issue 5 years ago • 3 comments

Downloading windbg.flare from 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi' ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." The upgrade of windbg.flare was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\windbg.flare\tools\chocolateyInstall.ps1'. See log for details.

R0b1ns avatar Jan 24 '21 15:01 R0b1ns

I am also having this issue. This is a tail from chocolately.log

2021-02-06 19:02:41,960 5672 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-02-06 19:02:41,960 5672 [DEBUG] - Request Headers:
2021-02-06 19:02:41,976 5672 [DEBUG] -   'Accept':'*/*'
2021-02-06 19:02:41,976 5672 [DEBUG] -   'User-Agent':'chocolatey command line'
2021-02-06 19:02:43,210 5672 [INFO ] - Attempt to get headers for https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2021-02-06 19:02:43,210 5672 [INFO ] - Downloading windbg.fireeye
  from 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi'
2021-02-06 19:02:43,241 5672 [DEBUG] - Running Get-WebFile -url 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi' -fileName 'C:\Users\commando\AppData\Local\Temp\windbg.installerx86.msi' -options 'System.Collections.Hashtable'
2021-02-06 19:02:43,241 5672 [DEBUG] - Setting request timeout to  30000
2021-02-06 19:02:43,241 5672 [DEBUG] - Setting read/write timeout to  2700000
2021-02-06 19:02:43,241 5672 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-02-06 19:02:45,385 5672 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://codemachine.com/downloads/win10rs1/X86%20Debuggers%20And%20Tools-x86_en-us.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2021-02-06 19:02:45,398 5672 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\windbg.fireeye\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2021-02-06 19:02:45,398 5672 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2021-02-06 19:02:45,430 5672 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2021-02-06 19:02:45,758 5672 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\windbg.fireeye'
2021-02-06 19:02:45,758 5672 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\windbg.fireeye\windbg.fireeye.nupkg'
  with checksum '2061B40F698B3FAC9013A21ED3092151'
2021-02-06 19:02:45,758 5672 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\windbg.fireeye\windbg.fireeye.nuspec'
  with checksum 'A11A763505CC55ECF412BEADA8D60ACB'
2021-02-06 19:02:45,758 5672 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\windbg.fireeye\tools\chocolateyInstall.ps1'
  with checksum '8AFD6FBBE52DF06E526097CD8B726ED2'
2021-02-06 19:02:45,758 5672 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\windbg.fireeye\tools\chocolateyuninstall.ps1'
  with checksum 'F1069A11FD6F51FA621F155CA1FB5CD6'
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to replace "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files"
 with "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files.5672.update".
 Backup placed at "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files.backup".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files.5672.update"
 to "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.files.5672.update".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.arguments".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.extra".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.version".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.sxs".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\windbg.fireeye.10.0.10586.21\.pin".
2021-02-06 19:02:45,773 5672 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\windbg.fireeye".
2021-02-06 19:02:45,773 5672 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2021-02-06 19:02:45,773 5672 [ERROR] - The install of windbg.fireeye was NOT successful.
2021-02-06 19:02:45,773 5672 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\windbg.fireeye\tools\chocolateyInstall.ps1'.
 See log for details.
2021-02-06 19:02:45,773 5672 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\windbg.fireeye'
 to 'C:\ProgramData\chocolatey\lib-bad\windbg.fireeye'
2021-02-06 19:02:47,791 5672 [DEBUG] - Attempting to delete file "C:\Users\commando\AppData\Local\NuGet\Cache\windbg.fireeye.10.0.10586.21.nupkg".
2021-02-06 19:02:47,791 5672 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-02-06 19:02:47,791 5672 [INFO ] -
2021-02-06 19:02:47,791 5672 [ERROR] - Failures
2021-02-06 19:02:47,791 5672 [ERROR] -  - windbg.fireeye (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\windbg.fireeye\tools\chocolateyInstall.ps1'.
 See log for details.
2021-02-06 19:02:47,804 5672 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-02-06 19:02:47,804 5672 [DEBUG] - Exiting with 404
PS C:\Users\commando\Downloads\commando-vm-master\commando-vm-master>

djjoa avatar Feb 07 '21 00:02 djjoa

Seems like this was removed from their website and is not longer on the server, fix on the chocolatey that was published is to change the urls from the third-party website to microsoft website

this is what i did

$url = "https://download.microsoft.com/download/1/c/3/1c3d5161-d9e9-4e4b-9b43-b70fe8be268c/windowssdk/Installers/X86%20Debuggers%20And%20Tools-x86_en-us.msi"
$checksum = "16C950D658C1549E9BA6BBDCE67D666966AA9CD9CE68965C4C9B8C63864FAC5C"
$url64 = "https://download.microsoft.com/download/1/c/3/1c3d5161-d9e9-4e4b-9b43-b70fe8be268c/windowssdk/Installers/X64%20Debuggers%20And%20Tools-x64_en-us.msi"
$checksum64 = "83FE373998005D8B0DD908BBB0EB28B35FCA12DA94ECDAADA8982CFEB46E479F"

in file: C:\ProgramData\chocolatey\lib-bad\windbg.flare\tools\chocolateyInstall.ps1

therefore i would guess thats an internal issue and needs to be fixed(updated) by chocolatey. For now we would be able to download from those links and install or update the chocolatey script as shown above

this is the same issue as #344

MasterDomino avatar Feb 16 '21 15:02 MasterDomino

Hi Folks,

I'm sorry for the delay. We have updated windbg.flare. Please give it another try and let us know if you still have issues.

htnhan

htnhan avatar Mar 10 '21 19:03 htnhan

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year. The now revamped FLARE VM has just been released and will make the project more open and maintainable. Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.

If this problem still persists with the new installation, please report:

  • new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
  • ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.

vm-packages avatar Dec 05 '22 15:12 vm-packages