CYB3RMX / Qu1cksc0pe

All-in-One malware analysis tool.
GNU General Public License v3.0
1.33k stars 186 forks source link

Report flag not working when analyzing exe files #71

Open dfirale opened 10 hours ago

dfirale commented 10 hours ago

The same issue described here still exists #46

Please note that the author of the earlier issue mentioned commenting out line number 131 after which the report function started working. However, the winAnalyzer.py (windows_static_analyzer.py) code has since changed, and I was unable to implement a similar fix.

It also seems that adding a print statement at the end of the code does not produce any output, even when the --report flag is issued: https://github.com/CYB3RMX/Qu1cksc0pe/blob/master/Modules/windows_static_analyzer.py#L685

Description: The report flag seems to have no effect when attempting to export a JSON report using the following command:

python qu1cksc0pe.py --file exefile --analyze --report

Exe file used: https://bazaar.abuse.ch/sample/5ffb7e55dfcaa0e7c0cdff4ac800c19ebfdcbd44f54caab489d53ecb3c55c5d3/

Steps to Reproduce:

Run the specified command with the --file and --report flags.

Expected Behavior: A JSON report should be generated as expected.

Actual Behavior: No report is generated, indicating that the report flag has no effect.

CYB3RMX commented 9 hours ago

Hello @dfirale ! Thank you for your report. I' ll fix that issue as soon as possible 👍