sfaci / masc

A Web Malware Scanner
http://sfaci.github.io/masc
GNU General Public License v3.0
95 stars 30 forks source link

Loading Yara fails #45

Open psYbrYn opened 3 years ago

psYbrYn commented 3 years ago

The utility is causing the system to hang when loading yara rules. I have tried this in Kali and Parrot OS both running the latest versions and everything is updated. The loading of yara rules always ends up killing the scan.

Can anyone help me?

sfaci commented 3 years ago

Are you trying with the last version cloning develop branch directly? I remembered someone fix some issue recently about loading YARA rules in some systems

psYbrYn commented 3 years ago

I figured the reason for this issue was Linux was over-committing memory. Both the times i was using it in VM environment with 2gb of RAM. I increased the RAM to 6 gb and yara rules loaded successfully.

Does masc consume a lot of resources? Is it supposed to consume that much resources?

P.S I used 0.3.1 and the previous version too. I installed using pip and by cloning git. The issue was always there.

andreescocard commented 2 years ago

i have the same problem, it stops when trying to load yara rules on 67% on CentOS

prabinsapal commented 2 years ago

Hi @sfaci @psYbrYn,

Do you guys know if anyone is working on this? I'm also working on solving this issue so wanted to know if i can collaborate with anyone ?

prabinsapal commented 2 years ago

I have added a fix for this issue in pull request #47