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

TypeError: cannot unpack non-iterable yara.StringMatch object #600

Closed
hnguy185 opened this issue Apr 27, 2023 · 7 comments
Closed

TypeError: cannot unpack non-iterable yara.StringMatch object #600

hnguy185 opened this issue Apr 27, 2023 · 7 comments
Assignees
Labels
bug Something isn't working Core modules (Sxx) The core scanning modules (Sxx modules) issue in 3rd party component something in a 3rd party component we are using

Comments

@hnguy185
Copy link

hnguy185 commented Apr 27, 2023

Describe the bug
Encountered TypeError: cannot unpack non-iterable yara.StringMatch object at static anaysis of firmware for password hashes step. Then, the scan went to, assumingly, infinite loop at check for code patterns with yara and had to be interrupted.

Please see the screen shot for more detail.

To Reproduce
Steps to reproduce the behavior:

  1. EMBA installation: default mode
  2. Use the firmware available here: https://kb.netgear.com/000060419/WNAP320-Firmware-Version-3-7-11-4
  3. Start EMBA with the following parameters: sudo ./emba.sh -f ~/Downloads/WNAP320_V3.7.11.4.zip -l ~/Downloads/logs/-p ./scan-profiles/default-scan.emba

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Screenshot 2023-04-27 002223

Desktop (please complete the following information):

  • OS: e.g. Ubuntu jammy 20.04
  • EMBA version: current master branch
  • Installation method: default with up to date docker image
@m-1-k-3 m-1-k-3 added bug Something isn't working Core modules (Sxx) The core scanning modules (Sxx modules) issue in 3rd party component something in a 3rd party component we are using labels Apr 27, 2023
@m-1-k-3
Copy link
Member

m-1-k-3 commented Apr 27, 2023

Thank you for reporting. I will try to reproduce it and will come back

@m-1-k-3 m-1-k-3 self-assigned this Apr 27, 2023
@m-1-k-3
Copy link
Member

m-1-k-3 commented Apr 27, 2023

I can reproduce this issue with a default EMBA installation.

@CaseGuide
Copy link

Also receive this error. Some details: installed today (04/28/2023) running on WSL2 Kali with default-scan.emba and a default install.

@m-1-k-3
Copy link
Member

m-1-k-3 commented Apr 28, 2023

Looks as the STACS installation in the current EMBA container is broken.

@m-1-k-3
Copy link
Member

m-1-k-3 commented Apr 29, 2023

As the installation on the latest Kali is not fully working I opened an issue at stacs here stacscan/stacs#35.

@m-1-k-3
Copy link
Member

m-1-k-3 commented May 3, 2023

The installation issues are fixed with this PR #608
The error is currently not fixed. Looks as there is something broken in the EMBA installation process.

@m-1-k-3
Copy link
Member

m-1-k-3 commented May 9, 2023

latest docker image is build and looks better

image

Upload is currently in progress and should be ready in the next hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Core modules (Sxx) The core scanning modules (Sxx modules) issue in 3rd party component something in a 3rd party component we are using
Projects
None yet
Development

No branches or pull requests

3 participants