secrary / SSMA

SSMA - Simple Static Malware Analyzer [This project is not maintained anymore by me]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update and report flag is throwing back errors

Evan-Sa opened this issue · comments

update feature does not work see command output below. Correct me if I am wrong but new yara rules are downloaded if they exist from the main repo everytime ssma is run or are they not updating at all

remnux@siftworkstation:~/Desktop/SSMA$ ./ssma.py -u
usage: ssma.py [-h] [-k API_KEY] [-d] [-u UPDATE] [-y YARA] [-D DIRECTORY]
[-r REPORT] [-t]
filename
ssma.py: error: argument -u/--update: expected one argument

/Desktop/SSMA$ ./ssma.py -u mal.exe
usage: ssma.py [-h] [-k API_KEY] [-d] [-u UPDATE] [-y YARA] [-D DIRECTORY]
[-r REPORT] [-t]
filename
ssma.py: error: the following arguments are required: filename
remnux@siftworkstation:
/Desktop/SSMA$

Similar issue with the report feature as well

remnux@siftworkstation:~/Desktop/SSMA$ ssma -r '/home/remnux/malware-samples/Macro-Ransomeware/bleachbit-test'
usage: ssma.py [-h] [-k API_KEY] [-d] [-F FLUSH] [-u UPDATE] [-y YARA]
[-D DIRECTORY] [-r REPORT] [-t]
filename
ssma.py: error: the following arguments are required: filename

commented

for update yara rules you need this: ./ssma.py sample.exe -u yes

where sample.exe is some executable which you what to check, you can't update rules separately

you're right I misunderstood the instructions this is a not issue then.
thank you for the clarification