cisagov / untitledgoosetool

Untitled Goose Tool is a robust and flexible hunt and incident response tool that adds novel authentication and data gathering methods in order to run a full investigation against a customer’s Azure Active Directory (AzureAD), Azure, and M365 environments.
Creative Commons Zero v1.0 Universal
904 stars 77 forks source link

goosey auth, error browser binary location #32

Closed jpeacblth closed 1 year ago

jpeacblth commented 1 year ago

🐛 Summary

When I run the 'goosey auth' command i get an "...Expected browser binary location..." error

To reproduce

(Windows)

  1. Clone repo
  2. run python -m pip install .
  3. run python scripts/generate_conf.py
  4. update .auth
  5. run goosey auth
  6. ran the webdrivermanager firefox:v0.32.0 --linkpath AUTO
  7. run goosey auth

Expected behavior

that the account creds would be checked

Any helpful log output or screenshots

Paste the results here:

This is normal if this is your first time running auth. (auth.py:705)
2023-05-01 16:41:52,632 - auth - INFO - Attempting to automatically auth via device code. You may have to accept MFA prompts. (auth.py:116)
2023-05-01 16:41:53,320 - auth - ERROR - Error getting Firefox webdriver: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
. Exiting. (auth.py:61)`
victoriawallace-cisa commented 1 year ago

Where is your firefox binary located? Based on the selenium error message, it looks like its not in the Firefox default location.

Also, if you do not have Firefox, you will need install it.

jpeacblth commented 1 year ago

It was user error. I even read the issue with the firefox requirement, but it was not installed on the server.