SkillAgentSearch skills...

MalSys

Malsys is a project designed to validate and analyze files for potential malware signatures.

Install / Use

/learn @UncleJ4ck/MalSys
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

MalSys

Overview

MalSys is a versatile toolkit designed to assist in your malware analysis endeavors. As of now, it primarily leverages the MalwareBazar API, to retrieve information pertinent to a given file or hash. In essence, MalSys functions as a command line interface (CLI) tool that encapsulates most of the features available on the MalwareBazar API.

<p align="center"> <a href="./assets/icon.png"> <img src="./assets/icon.png"> </a> </p>

Installation

git clone https://github.com/UncleJ4ck/MalSys
cd MalSys
pip3 install -r requirements.txt
python3 main.py
python3 main.py <operation> <arguments>

Capabilities

  • Download a sample from malware bazar
python3 main.py download_sample --hash <SHA256 hash of the malware sample

This command will download, unzip, and store the sample as a .exe or .bin file (or another format depending on the sample's filetype).

<p align="center"> <a href="./assets/download.png"> <img src="./assets/download.png"> </a> </p>
  • Scans a file using a specified file path or hash
python3 main.py scan_file --hash 'hash of the sample'
python3 main.py scan_file --file 'path of the sample'
<p align="center"> <a href="./assets/scan_1.png"> <img src="./assets/scan_1.png"> </a> </p> <p align="center"> <a href="./assets/scan_2.png"> <img src="./assets/scan_2.png"> </a> </p> <p align="center"> <a href="./assets/scan_3.png"> <img src="./assets/scan_3.png"> </a> </p>
  • Query an icon dhash using a specified file or hash</summary>
python3 main.py query_icon_dhash --hash 'hash'

This command will query the hash using the MalwareBazar API.

<p align="center"> <a href="./assets/dhash_1.png"> <img src="./assets/dhash_1.png"> </a> </p>
python3 main.py query_icon_dhash --file 'sample'
<p align="center"> <a href="./assets/dhash_2.png"> <img src="./assets/dhash_2.png"> </a> </p>

The features within MalSys mirror those available on the MalwareBazar API website, and this holds true across all operations.

Dockerfile

docker run -it malsys:latest
docker run -it malsys:latest python3 main.py 'operation' 'arguments'
<p align="center"> <a href="./assets/docker.png"> <img src="./assets/docker.png"> </a> </p>

TO-DO

  • [ ] Addition of other free API services such as AlienVault, etc.
  • [ ] Implementation of features like IOC scanning and Yara Generation
  • [ ] Bug fixes
  • [ ] Incorporation of live dynamic analysis via sandboxing and other methods

Related Skills

View on GitHub
GitHub Stars21
CategoryDesign
Updated1y ago
Forks0

Languages

Python

Security Score

65/100

Audited on Aug 22, 2024

No findings