Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metasploit installation fails on Windows 7 while extracting "Wizard ended prematurly" #19831

Open
ob45 opened this issue Jan 24, 2025 · 5 comments
Labels

Comments

@ob45
Copy link

ob45 commented Jan 24, 2025

Steps to reproduce

I've installed a fresh installation of Windows 7 to demo the "Eternal Blue" vulnerability and downloaded the latest (6.4.44) Metasploit .msi Package.
To install that .msi I've tried:

  • Starting it normally via double click
  • Starting it via admin console start metasploit.msi
  • Starting it with this command via admin console and normal console metasploitframework-latest.msi /L*v msf.log from FIX: Can't Install: Setup Wizard ended Prematurely #12600
  • Doing the installation with internet
  • Doing the installation without internet
  • Disabling Windows Defender
  • Changing the installation folder
  • Creating a .zip file with the name metasploit-framework.zip and giving all users all rights to it

It always ends the same: "Wizard ended prematurly"
I am honestly out of ideas on how to install it...

Image

Were you following a specific guide/tutorial or reading documentation?

no, only the official docs which say double klick the .msi

Expected behavior

Install it flawlessly

Current behavior

The metasploit-framework.zip .zip in C:\ gets created, the installer tells me it wants to extract it and then rolls back everything for no apparent reason.

Metasploit version

Installer for 6.4.44

Additional Information

This is the log output of the metasploitframework-latest.msi /L*v msf.log command: https://pastebin.com/4sGVzGNC

Unfortunately I could not upload the log here because it is too long for Github.

VM Info

OS: Windows 7 Home Basic 6.1.7601 Service Pack 1 Build 760
CPU: 4 CPU Cores
RAM: 4GB
Disk: 40GB free space

@bcoles
Copy link
Contributor

bcoles commented Jan 24, 2025

You don't need to install Metasploit on a host to exploit it.

You can run Metasploit on Mac, Linux or Windows; however, Metasploit is more thoroughly tested on Linux.

Also Windows 7 is no longer supported by Microsoft.

@ob45
Copy link
Author

ob45 commented Jan 24, 2025

You can run Metasploit on Mac, Linux or Windows; however, Metasploit is more thoroughly tested on Linux.

I want to demonstrate (MS17-010), which is a Windows exploit and only works on Windows Server 2008 and Windows 7

Also Windows 7 is no longer supported by Microsoft.

I know, that's the reason I use it for the demo. It is a virtual machine, not my host device...

I also need to scan the "victim" VM using the auxiliary module in order to see if I have set up the VM correctly

@bcoles
Copy link
Contributor

bcoles commented Jan 24, 2025

You can run Metasploit on Mac, Linux or Windows; however, Metasploit is more thoroughly tested on Linux.

I want to demonstrate (MS17-010), which is a Windows exploit and only works on Windows Server 2008 and Windows 7

You don't need to install Metasploit on a host to exploit it.

@adfoster-r7
Copy link
Contributor

You can run the installer as an administrator and it should finish successfully

@ob45
Copy link
Author

ob45 commented Jan 24, 2025

You don't need to install Metasploit on a host to exploit it.

Oh ok, seems like it's true.
However I still need to check if my VM is actually vulnerable. For that I need to use the auxiliary module on the VM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants