e-m-b-a / emba

EMBA - The firmware security analyzer
https://www.securefirmware.de
GNU General Public License v3.0
2.72k stars 236 forks source link

emba stalls grepping #1340

Closed qequ closed 1 month ago

qequ commented 1 month ago

Describe the bug I'm currently running emba in a VM with multithreading set (-t) and quick-scan profile and it stalls for a long time making greps

hadn't checked the code but it seems that the helper "S99_grepit" is the one that has a list of greps to make. it's weird that S99_grepit is in MODULE_BLACKLIST for the quick_scan profile it runs anyway

To Reproduce Steps to reproduce the behavior:

  1. EMBA installation (dev-mode/default mode) default

  2. Use the firmware available here: https://www.supermicro.com/support/resources/getfile.php?SoftwareItemID=10007

  3. Start EMBA with the following parameters: sudo ./emba.sh -f firmware/path -l /tmp/log/path -t -p ./scan-profies/quick-scan.emba

Expected behavior it had finished. for a quick scan I thought it won't take more than a few hours to run. Also s99_grepit runs even tough it's using the quick-scan profile

Screenshots Screenshot from 2024-10-16 11-32-47

Desktop (please complete the following information):

Priority issue Are you already a Sponsor? - n

Additional context Add any other context about the problem here.

m-1-k-3 commented 1 month ago

Have seen another bug in our docker base image. I will fix the image and then we can check this issue

m-1-k-3 commented 1 month ago

in the mean time could you check your emba.log:

grep S99 ~/emba_logs/emba.log
m-1-k-3 commented 1 month ago

Updates are up ... please do a test with the updated docker base image and the current master

qequ commented 1 month ago

it worked faster with the new docker image and updates thx :+1: