Skip to main content

mbclib

A library for querying the STIX data for the MBC (Malware Behavior Catalog).

Progress

Currently being developed along with the mbscan.py tool.

About the Malware Behavior Catalog

The Malware Behavior Catalog (MBC) is a catalog of malware objectives and behaviors, created to support malware analysis-oriented use cases, such as labeling, similarity analysis, and standardized reporting. More info here.

Available functions

Fetch Functions Description
get_all_objectives Fetches all objectives
get_all_behaviors Fetches all behaviors
get_all_malwares Fetches all malware
get_objective_by_id Get an objective by id (x-mitre-tactic--0735bfd3-bffa-4476-9e3b-e33cc5c553e0)
get_objective_by_external_id Get an objective by external id (x-mitre-tactic--0735bfd3-bffa-4476-9e3b-e33cc5c553e0)
get_objective_by_shortname Get an objective by shortname (file-system-micro-objective)
get_behavior_by_id Get a behavior by id (attack-pattern--001ca78e-188e-4725-9f43-706d0f487837)
get_behavior_by_external_id Get a behavior by external id (B0030.001)
get_malware_by_id Get a malware by id (malware--0c0d59b7-4ff0-4a09-9c64-558334485ece)
get_malware_by_external_id Get a malware by external id (X0005)
Property functions Description
get_mbc_external_id Given an mbc object, return the mbc external id
get_parent_behavior Get the related parent behavior for a given behavior
Relationship functions Description
get_relationships_by Get a list of related mbc objects, returned mbc object depends on the input
get_behaviors_used_by_malware Get a list of behaviors used by a given malware
get_malwares_using_behavior Get a list of malware that uses a given behavior

Release files for mbclib 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mbclib 0.0.2
File Size Uploaded
mbclib-0.0.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mbclib 0.0.2
File Interpreter ABI Platform
mbclib-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / mbclib-0.0.2.tar.gz

Download URL mbclib-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7fcf1cccbb5d6352d5b0c1f018de7e15b372d686535b21244ab8a67ec7008a21
BLAKE2b-256 checksum
How to use checksums
e0d69b41a98a0e550791fc2a277b5b6f0068e39f18d6727eebb84881e511a121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release files / mbclib-0.0.2-py3-none-any.whl

Download URL mbclib-0.0.2-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e650b29490442fc10f0f2862c808aaf33a21594e3ee7cf4cf1b9d29b2701e42
BLAKE2b-256 checksum
How to use checksums
94b4d363da96b5e672e0490134d528e945bb9a38048f561054f3d2301a79f847
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page