Coder Social home page Coder Social logo

alfa-group / robust-adv-malware-detection Goto Github PK

View Code? Open in Web Editor NEW
94.0 10.0 40.0 636 KB

[IEEE S&P Workshop 2018] "Adversarial Deep Learning for Robust Detection of Binary Encoded Malware" Abdullah Al-Dujaili, Alex Huang, Erik Hemberg, Una-May O’Reilly

License: MIT License

Python 100.00%
deep-learning malware binary-encoded adversarial-networks adversarial-machine-learning cybersecurity optimization saddlepoint-approximation

robust-adv-malware-detection's Issues

Where can I get the Dataset?

Hey, @ash-aldujaili @hembergerik @alhuang10 I have submitted the google docs form three times, but I still haven't received the dataset. I was wondering if there is something else I should do in order to qualify.

Also regarding the dataset, are the contents of the datasets actual binaries for the malwares? If so, do I then run the generate_vectors.py script to extract the features?

TypeError: batch must contain tensors, numbers, dicts or lists; found <class 'NoneType'>

(nn_mal) sivakumars-MBP:ab kiranrishika$ python generate_vectors.py
Starting data loading
Malware Files: 19000
Benign Files: 19000
Preparing training datasets
Preparing validation datasets
Preparing testing datasets
hi
15200
15200
malicious
<class 'str'>
<torch.utils.data.dataloader.DataLoader object at 0x129777ef0>
Traceback (most recent call last):
File "generate_vectors.py", line 30, in
for index, data in enumerate(dataloader):
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 637, in next
return self._process_next_batch(batch)
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
TypeError: Traceback (most recent call last):
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 232, in default_collate
return [default_collate(samples) for samples in transposed]
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 232, in
return [default_collate(samples) for samples in transposed]
File "/Users/kiranrishika/anaconda3/envs/nn_mal/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 234, in default_collate
raise TypeError((error_msg.format(type(batch[0]))))
TypeError: batch must contain tensors, numbers, dicts or lists; found <class 'NoneType'>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.