surajr / machine-learning-approach-for-malware-detection Goto Github PK
View Code? Open in Web Editor NEWA Machine Learning approach for classifying a file as Malicious or Legitimate
A Machine Learning approach for classifying a file as Malicious or Legitimate
Error in detection
Hi Dear,
is there any paper for this project .. thanks in advance.
ERROR:root:File 'malware_test.py'
not found.
If the test ratio is changed to 0.3, it shows all the files as benign, if changed to 0.2, it shows all to be malicious. Can you please suggest to improve the same?? I am selecting the following features using extratrees classifier with n_estimator value = 100
['DllCharacteristics', 'Machine', 'Characteristics', 'SectionsMaxEntropy', 'VersionInformationSize', 'ImageBase', 'Subsystem', 'MajorSubsystemVersion', 'ResourcesMinEntropy', 'SizeOfOptionalHeader', 'ResourcesMaxEntropy', 'MajorOperatingSystemVersion', 'SectionsMinEntropy', 'SectionsMeanEntropy']
it says:
FileNotFoundError Traceback (most recent call last)
in ()
185 clf = joblib.load('classifier/classifier.pkl')
186 features = pickle.loads(open(os.path.join('classifier/features.pkl'),'rb').read())
--> 187 data = extract_infos(sys.argv[1])
188 pe_features = map(lambda x:data[x], features)
189
FPR should be the fraction of false positive divided by the number of non malicious files. Therefore it should be mt[0][1] / float (sum (mt[1]) * 100)
Correct me if I am wrong?
When I run your code it shows wrong result. I have tested with skype.exe it shows as malicious but actually skype is not malicious. Kindly upload the correct code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.