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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named goosey

santiago1976 opened this issue · comments

🐛 Summary

What's wrong? Please be specific.

To reproduce

Steps to reproduce the behavior:

  1. Do this
  2. Then this

Expected behavior

What did you expect to happen that didn't?

Any helpful log output or screenshots

Paste the results here:

Add any screenshots of the problem here.

When I try to execute python3 scripts/generate_conf.py in Windows cmd, I always obtain: No module named 'goosey'

How can I fix it?

Thanks

Hi, thank you for submitting this issue. Did you install the tool using the following commands before running the generate_conf.py:

git clone https://github.com/cisagov/untitledgoosetool.git
cd untitledgoosetool
python3 -m pip install . 

While running the commands:
git clone https://github.com/cisagov/untitledgoosetool.git
cd untitledgoosetool
python3 -m pip install .

ERROR: Package 'goosey' requires a different Python: 3.10.6 not in '<3.10,>=3.7'

While running the commands: git clone https://github.com/cisagov/untitledgoosetool.git cd untitledgoosetool python3 -m pip install .

ERROR: Package 'goosey' requires a different Python: 3.10.6 not in '<3.10,>=3.7'

You'll need to downgrade your Python version to Python 3.7, 3.8, or 3.9.

Did you receive any errors when doing the pip install? Can you share the output of your pip install?

Can you confirm we are only using old vulnerable version of Python to report on 365 environments?
i will have to create an "unsupported" VM to install this on, as python 3.9, hasn't been updated or available as an install for sometime!

` Traceback (most recent call last):

    File "<string>", line 36, in <module>

    File "<pip-setuptools-caller>", line 34, in <module>

    File "/tmp/pip-install-qm_e7n5z/wxpython_9db148af8a4d470f892b72d08a77647a/setup.py", line 27, in <module>

      from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName

    File "/tmp/pip-install-qm_e7n5z/wxpython_9db148af8a4d470f892b72d08a77647a/buildtools/config.py", line 30, in <module>

      from attrdict import AttrDict

  ModuleNotFoundError: No module named 'attrdict'

  [end of output]`

Can you confirm we are only using old vulnerable version of Python to report on 365 environments? i will have to create an "unsupported" VM to install this on, as python 3.9, hasn't been updated or available as an install for sometime!

wxpython doesn't work with Python versions above 3.9. If you are on Python 3.10, the setup won't work properly. Technically, according to Python (https://devguide.python.org/versions/), 3.9 is still supported and security fixes are still being implemented.

I tried with python 3.9 and 3.7 see error above.

I tried with python 3.9 and 3.7 see error above.

Are you on *nix? Are you calling the correct Python version? Could you post the entire output?

Thank you, I'll go ahead and resolve this issue.