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

When i run an analysis through Cuckoo IOCaware_stix fails #3

Open
s69mouse opened this issue Jan 30, 2015 · 1 comment
Open

When i run an analysis through Cuckoo IOCaware_stix fails #3

s69mouse opened this issue Jan 30, 2015 · 1 comment

Comments

@s69mouse
Copy link

Once the Cuckoo analysis finishes, i receive:

2015-01-30 09:59:10,096 [lib.cuckoo.core.plugins] ERROR: Failed to run the reporting module "IOCAware_STIX":
Traceback (most recent call last):
File "/home/rm/cuckoo/lib/cuckoo/core/plugins.py", line 499, in process
current.run(self.results)
File "/home/rm/Desktop/cuckoo/modules/reporting/ziocaware_stix.py", line 62, in run
doCuckoo(results)
File "/home/rm/Desktop/cuckoo/modules/reporting/ziocaware_stix.py", line 448, in doCuckoo
metadata = {'malfilename':malfilename, 'malmd5':malmd5, 'malsha1':malsha1, 'malsha256':malsha256, 'malsha512':malsha512,
UnboundLocalError: local variable 'malmd5' referenced before assignment
2015-01-30 09:59:10,097 [lib.cuckoo.core.scheduler] INFO: Task #3: reports generation completed (path=/home/rm/Desktop/cuckoo/storage/analyses/3)
2015-01-30 09:59:10,271 [lib.cuckoo.core.scheduler] INFO: Task #3: analysis procedure completed

I have not been able to figure out what is causing the error

@junkh3ap
Copy link
Contributor

That's telling me that the MD5 was not calculated for some reason ("'malmd5' referenced before assignment). You could set the malmd5 to an empty string so that it's at least referenced, but if you're not getting an MD5, there's a bigger problem there in the first place.

Yeah, I know this is months late - sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants