# Saferwall | A Hackable Malware Sandbox For The 21St Century

**URL:** <https://onehack.st/t/saferwall-a-hackable-malware-sandbox-for-the-21st-century/96559>\
**Category:** Tools & Scripts\
**Tags:** tools, hacking\
**Created:** [July 17, 2020, 1:16pm UTC](https://onehack.st/t/saferwall-a-hackable-malware-sandbox-for-the-21st-century/96559 "2020-07-17T13:16:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [July 17, 2020, 1:16pm UTC](https://onehack.st/t/saferwall-a-hackable-malware-sandbox-for-the-21st-century/96559/1 "2020-07-17T13:16:54Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/9/6/96ddc722528682979be31cf96eb7e3e58771b095.png)

#### Saferwall is an open source malware analysis platform.

It aims for the following goals:

- Provide a collaborative platform to share samples among malware researchers.
- Acts as a system expert, to help researchers generates an automated malware analysis report.
- Hunting platform to find new malwares.
- Quality ensurance for signature before releasing.

 ![image](https://onehack.st/uploads/default/original/3X/4/9/49a3bdfe0ab88ef5dfdbb2aa58005bec5549f36b.png)

**Features**

- Static analysis:

- Multiple AV scanner which includes major antivirus vendors:

| Vendors | status | Vendors | status |
| --- | --- | --- | --- |
| Avast | ok | FSecure | ok |
| Avira | ok | Kaspersky | ok |
| Bitdefender | ok | McAfee | ok |
| ClamAV | ok | Sophos | ok |
| Comodo | ok | Symantec | ok |
| ESET | ok | Windows Defender | ok |

**Installation**  
Saferwall take advantage of [kubernetes](https://kubernetes.io/) for its high availability, scalibility and the huge ecosystem behind it.  
Everything runs inside Kubernetes. You can either deploy it in the cloud or have it self hosted.  
To make it easy to get a production grade Kubernetes cluster up and running, we use [kops](https://github.com/kubernetes/kops). It automatically provisions a kubernetes cluster hosted on AWS, GCE, DigitalOcean or OpenStack and also on bare metal. For the time being, only AWS is officially supported.  
Steps to deploy in AWS: (This still needs to be improved)

1. Clone the project: `git clone https://github.com/saferwall/saferwall`
2. Using a debian linux, make sure `build-essential` are installed: `sudo apt-get install build-essential` .
3. Rename the `example.env` to `.env` and fill the secrets according to which AVs you want to have.
4. Install it: `make saferwall` .
5. Edit the deployments/values.yaml to match your needs.
6. Logs are found elasticsearch:

 ![image](https://onehack.st/uploads/default/original/3X/e/b/ebbddff33efb3a4c90efd9ba979a231320a61005.png)

**Built with:**

- Golang mostly.
- Backend: [Echo](https://echo.labstack.com/)
- Frontend: [VueJS](https://vuejs.org/) + [Bulma](https://bulma.io/)
- Messaging: [NSQ](https://nsq.io/)
- Database: [Couchbase](https://www.couchbase.com/)
- Logging: [FileBeat](https://www.elastic.co/beats/filebeat) + [ElasticSearch](https://www.elastic.co/) + [Kibanna](https://www.elastic.co/)
- Minio: [Object storage](https://min.io/)
- Deployment: [Helm](https://helm.sh/) + [Kubernetes](https://kubernetes.io/)

**Current architecture / Workflow:**

 ![image](https://onehack.st/uploads/default/original/3X/7/d/7d24839942717bafc039611f99c63661b8267bdc.jpeg)

Here is a basic workflow which happens during a file scan:

- Frontend talks to the the backend via REST APIs.
- Backend uploads samples to the object storage.
- Backend pushes a message into the scanning queue.
- Consumer fetches the file and copy it into to the nfs share avoiding to pull the sample on every container.
- Consumer calls asynchronously scanning services (like AV scanners) via gRPC calls and waits for results.

**Acknowledgements**

- [Fangdun Cai](https://github.com/fundon) for the awesome vue-admin dashboard.
- [horsicq](https://github.com/horsicq) for his tool [Detect It Easy](https://github.com/horsicq/Detect-It-Easy).

**Contributing**  
Please read [docs/CONTRIBUTING.md](https://github.com/saferwall/saferwall/blob/master/docs/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## GitHub:

> **[GitHub - saferwall/saferwall: :cloud: Collaborative Malware Analysis Platform at...](https://github.com/saferwall/saferwall)**
>
> :cloud: Collaborative Malware Analysis Platform at Scale
