Malware repository framework
####Description
malwaRE is a malware repository website created using PHP Laravel framework, used to manage your own malware zoo. malwaRE was based on the work of
Adlice team with some extra features.
If you guys have any improvements, please let me know or send me a pull request.
####Features
- Self-hosted solution (PHP/Mysql server needed)
- VirusTotal results (option for uploading unknown samples)
- Search filters available (vendor, filename, hash, tag)
- Vendor name is picked from VirusTotal results in that order: Microsoft, Kaspersky, Bitdefender
- Add writeup url(s) for each sample
- Manage samples by tag
- Tag autocomplete
- VirusTotal rescan button (VirusTotal's score column)
- Download samples from repository
####Installation
- Download project by running command
git clone [email protected]:c633/malwaRE.git - Change line
29ofbootstrap/start.phpto your computer hostname (on Linux or Max, you can determine your hostname usinghostnameterminal command) - Edit
your-computer-name-hereandyour-name-hereinapp/views/index.blade.phpto whatever you want. - Setup your environment using dot files (A dot file is basically a file that sits in the root of the project directory and contains any sensitive or environment based configuration details). For each environment you can simply create a dot file and those configuration details will be included in your code.
- For local environment, create a file called
.env.local.php. This will sit in your local project directory, with the same level withappfolder - In your
.env.local.phpfile you create an array of sensitive configuration details:
<?php
return array(
'DATABASE_NAME' => 'your-database',
'DATABASE_USER' => 'your-account',
'DATABASE_PASSWORD' => 'your-secret-password',
'MALWARE_STORAGE_PATH' => 'your/storage/folder/full/path/here',
'VT_API_KEY' => 'your-virustotal-api-key',
);
- Grant the web server write permissions to the
app/storagedirectories (on Linux, you can run this commandsudo chown -R www-data app/storageto set write permissions forapache). - Run migration command from your project directory:
php artisan migrate - Setup a Apache VirtualHosts with
DocumentRootpoint topath/to/your/project/public/(publicfolder is inside your project directory) - You are done.



