e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
314 stars 46 forks source link

"Firmware scan status" view missing #73

Closed senthilkumarmoorthy closed 1 year ago

senthilkumarmoorthy commented 1 year ago

Describe the bug Couldn't find "Firmware scan status" view in the dashboard

To Reproduce Steps to reproduce the behavior:

  1. EMBArk installation (default mode)
  2. Start EMBArk: sudo ./run-server.sh -a 192.168.1.20

Expected behavior

  1. Once after the firmware uploaded and option selected to analyze, I could find the option to view the scan status.

Screenshots image

Desktop (please complete the following information):

Additional context

  1. Upon selecting the option "Progress" in the right-side panel I could only see the option "Select and stop Analysis" but I couldn't get an option anywhere in the dashboard as mentioned in the image located https://github.com/e-m-b-a/embark/wiki/Web-interface#firmware-scan-status
  2. All I could do is that I can choose the firmware which I uploaded in the drop-down under "Select and stop Analysis" and a STOP button. Am I missing something during the installation, or any configuration needs to be changed to view the scan status? Please advise.
BenediktMKuehne commented 1 year ago

I'm not 100% certain i understand the steps you took.

  1. First you uploaded the firmware here: image

  2. Then you started the analysis here: image

  3. You got redirected to the service-dashboard

    Screenshots image

Did the scan complete and you're just looking for the reports (results)? --> clipboard icon on the nav-bar directs to the reports

Or did you have a problem with the service-dashboard and the issue is about not getting status information? (normal operation looks like this image )

senthilkumarmoorthy commented 1 year ago

All points which you mentioned here is exactly I follow to get the scan file uploaded and to get it scanned and to view the report, but all I need is the status of the scan progress as mentioned in the documentation. Screenshot taken from the documentation shown below.

image

As I said I can get the report after the scan gets completed but I don't see an option like shown in the above image to get to know on what is the current status of the scan until I see a report file generated.

BenediktMKuehne commented 1 year ago

πŸ‘ If updating is possible, the newest version might potentially fix your issue.

Should the problem persist or you can't upgrade, the first thing i would need are the logs. particularly the /var/www/embark/embark.log. Try refreshing the page and look at the last 50-ish lines. A trace of the network connection for /progress might be helpful as well.(CRTL+shift+i in chrome)

senthilkumarmoorthy commented 1 year ago

Im happy that you got my issue now. So, this issue which I been facing been there since I started using EMBARK 5 months back itself. In this 5 months I have done fresh installation at least 5+ times in many host either in Virtualization and in Bare metal but this issue which I was facing been there in all the installation I had, which means I'm making some mistake. I always wonder how others are getting and why am I not getting a luck to have it. All my installations are in kali so I'm not sure is it bcoz of some pkg in kali which isn't letting me I don't know. May I also ask by selecting which option in the sidebar usually let us to view the progress bar of scan.?

senthilkumarmoorthy commented 1 year ago

Like you advised, I'm going to do it again one more time 😁 with a fresh VM and fresh EMBARK deployment. I will come back to you shortly once that's done.

BenediktMKuehne commented 1 year ago

May I also ask by selecting which option in the sidebar usually let us to view the progress bar of scan.?

The Service-dashboard is currently represented by the Clock-icon