Miley - a proof of concept malware scanner for containers
Miley is a proof of concept malware scanner built for scanning container images, as well as local files.
Miley works by taking file hashes from the container/directory, and querying the hashes against a malware databse, Malware Bazaar.
This tool was created to satisfy classwork for Dakota State University's CSC-842 Security Tool Development.
Demo video: [here](coming soon!)
Prerequisites
- Python 3 interpreter
- Pip3
- Docker for container scanning
Usage
pip install miley
miley --help
Scan a hash (MD5, SHA-1, or SHA-256)
miley --hash f617abd6a9ccb98e34a6e32184004d5a08ea11d198fca9fed88b04b9dfc96de2
Scan a directory for malware
miley --path /path/to/directory/
Scan a remote container image
miley --image alpine:latest
Future Work
If I were to maintain this program going forward, I would:
- speed up the program
- support additional malware databases, such as Virus Total
- add a GUI
Why is it named Miley?
Miley is my beloved family dog, who passed away in 2023 due to old age.
Miley was always good at detecting and alerting to potentially dangerous situations, despite being blind.
I wrote this tool with her memory at the forefront of my mind.
Metadata
Release files for miley 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| miley-1.0.2.tar.gz | 15.8 kB | Without provenance | Details for miley-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| miley-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for miley-1.0.2-py3-none-any.whl |
Total release size: 33.3 kB
Release files / miley-1.0.2.tar.gz
| Download URL | miley-1.0.2.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d2a7b03358708e21ffc97ef29c3c4a5a01eea59a4dd663f0331ccebfe55ac39
|
|
BLAKE2b-256 checksum How to use checksums |
a3d9f5a3408b8e643a08fa71410471a0e178923b217c28298c2bee290ed8bc6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.2 Linux/5.10.0-23-amd64
|
Release files / miley-1.0.2-py3-none-any.whl
| Download URL | miley-1.0.2-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ce3a525bf215084a81363c41ec5da9a81e76e811496b4ae3d99212768b11abb
|
|
BLAKE2b-256 checksum How to use checksums |
c00bf69a28ab38dd4422549f9dd4b321b360b58324bf0c444e3b9287758722f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.9.2 Linux/5.10.0-23-amd64
|
Security for miley 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.