Skip to content

Squiblydoo/bazaarShopper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bazaarShopper

Instructions of how to use

A script for downloading malware samples from MalwareBazaar.

  Usage: bazaarShopper.py [-h] [--limit LIMIT] [--sample_directory SAMPLE_DIRECTORY] tag

Pull samples from MalwareBazzar by specifying tag associated with the malware and the number of samples to download. If no number is specified the default 50 samples will be used.

positional arguments:


    tag                   Specify the tag used on MalwareBazaar to identify malware to download.

optional arguments:

    -h, --help            show this help message and exit
    
    --limit LIMIT, -l LIMIT
                        Specify the maximum limit for pulling samples. Default is 50

    --sample_directory SAMPLE_DIRECTORY, -s SAMPLE_DIRECTORY
                        Specify a directory for saving the samples. Defaults to current directory.

    --unzip UNZIP, -u UNZIP
                    Specify a directory for saving unzipped samples. Defaults to creating a directory named Unzipped.
    
    --password PASSWORD, -p PASSWORD
                    Specify a password for unzipping files. Defaults to 'infected'

Setup

Windows: Clone the repo and all the included files. Open a command prompt and install the requirements using the python module "pip" using the requirements file. Once requirements are installed, the script can be used.

  python -m pip install -r requirements.txt

Linux / Mac Clone the repo and all the included files. Open a terminal session and install the requirements using the python3 module "pip" using the requirements file. Once requirements are installed, the script can be used.

  python3 -m pip install -r requirements.txt

Example

The following example will download 10 of the latest samples tagged as "Jupyter" and save them to a direcotry named "SampleDirectory". If SampleDirectory does not exist, it will be created.

python bazaarShopper.py Jupyter -l 10 -s SampleDirectory -u Unzipped

About

A script for downloading malware samples from MalwareBazaar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages