-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Strange behavior when running out of space #1362
Comments
On my first test it looks as the BMC decryptor is not able to fully decrypt this image: We are using this one: https://github.com/c0d3z3r0/smcbmc |
I'm trying to understand how emba behaves after failing the decryption stage. will it start restarting the s09, s02, s03, s14, ... processes in a deadlock until it consumes the entire memory? that's whats the logs show in my case |
I think the failed extraction process produced a huge number of garbage files (check /logs/firmware) and EMBA is now trying to execute all her modules on these garbage files which will take a lot time and disk space. |
so emba doesn't interrupt the pipeline if one of the main scans fails ? if one just let it run will continue until its stopped manually |
How to identify a failed extraction process? The extractor is happy if something falls out of the extraction process. In our case the decryption failed but probably unblob or binwalk could extract something (and I bet something was extracted). With this in mind we need to keep on going. |
Maybe the extractor tools produce a log emba could parse to distinguish garbage vs correctly extracted file? |
I am sure we can improve this behaviour massively. Just give it a try. PR are welcome. |
This issue is stale because it has been open for 28 days with no activity. |
Describe the bug
running emba with a quick scan profile in a VM the logs consumed the entire free space of the disk (approximately 30-35 GB) and it seems like emba entered in a deadlock; can't finish but also doesn't timeout in any other way.
Also starts running the blacklisted modules (?
To Reproduce
Steps to reproduce the behavior:
sudo ./emba -f /path/to/SMT_X11_AST2500_64M_374_18_V/SMT_X11_AST2500_64M_374_18_V.bin -l /tmp/logs/ -p ./scan-profiles/quick-scan.emba
additional steps
See error
Expected behavior
finish the analysis even with errors
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Priority issue
Are you already a Sponsor? - n
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: