mandiant / commando-vm

Complete Mandiant Offensive VM (Commando VM), a fully customizable Windows-based pentesting virtual machine distribution. commandovm@mandiant.com
https://www.mandiant.com/resources/blog/commando-vm-windows-offensive-distribution
Apache License 2.0
6.87k stars 1.28k forks source link

Providing the password doesn't work. #280

Closed VaughanJ closed 1 year ago

VaughanJ commented 1 year ago

Describe the bug and expected behavior I call `C:\tmp\commando-vm\install.ps1 -nochecks $true -password $NewAdminPassword -profile_file 'C:\tmp\commando-vm\Profiles\lite.json'' and the installation starts. At some point the OS restarts, I leave the installation a while assuming that it has auto logged on and the installation is running. When I log back in a prompt popups asking me for a password and then installation continues.

To Reproduce Steps to reproduce the behavior:

  1. Login to Windows OS
  2. In Powershell as ADMIN, RUN 'C:\tmp\commando-vm\install.ps1 -nochecks $true -password $NewAdminPassword -profile_file 'C:\tmp\commando-vm\Profiles\lite.json''
  3. Wait until the installation restarts.
  4. Leave the installation running for 30 minutes by not logging in (assuming auto login has continued the installation)
  5. Login
  6. See the problem when you are presented with a password prompt to continue the installation

Screenshots image

Version

D-808 commented 1 year ago

Try disabling password login - have no password needed to sign in. I think its best to do and then set a password once the installation has finished.

Also try install this on windows 10 instead of windows server 2019.

nos3curity commented 1 year ago

We are currently working on the 3.0 release of Commando later this summer. This issue is not present in the dev branch.