https://github.com/motherhack3r/mitre
MITRE package gives you an approach to cybersecurity data sets.
https://github.com/motherhack3r/mitre
data-driven-security mitre mitre-shield
Last synced: 4 months ago
JSON representation
MITRE package gives you an approach to cybersecurity data sets.
- Host: GitHub
- URL: https://github.com/motherhack3r/mitre
- Owner: motherhack3r
- License: cc0-1.0
- Created: 2020-11-20T18:44:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-20T20:47:59.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:13:41.873Z (8 months ago)
- Topics: data-driven-security, mitre, mitre-shield
- Language: R
- Homepage:
- Size: 290 MB
- Stars: 19
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - motherhack3r/mitre - MITRE package gives you an approach to cybersecurity data sets. (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# mitre
[](https://www.travis-ci.com/motherhack3r/mitre)
[](https://cran.r-project.org/package=mitre)
[](https://cran.r-project.org/package=mitre)
[](https://www.rdocumentation.org/packages/mitre)mitre package is designed to provide easy access to cybersecurity data standards.
You can expect sample data frames for every standard object.
It provide a directed graph with all relationships for deep exploratory analysis.
Using scripts in data-raw folder you can build the data sets using the latest
public source files.## Installation
You can install the released version of mitre from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("mitre")
```And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("motherhack3r/mitre")
```
## Explore cybersecurity standardsThis is a basic example which shows you how to view shield tactics ids and names:
```{r example}
library(mitre)
shield <- mitre::shield.tactics
shield[, c("id", "name")]
```This example shows the distribution of vulnerability risk:
```{r example2}
hist(mitre::cve.nist$cvss3.score,
main = "CVE risk distribution", xlab = "cvss3")
```## Standards network
This code shows you the type of nodes for each standard:
```{r example3}
mitrenet <- mitre::build_network(as_igraph = FALSE)
table(mitrenet$nodes$type, mitrenet$nodes$group)
```And the type of relationships:
```{r example4}
table(mitrenet$edges$label)
```## Code of conduct
Please note that this project is released with a [Contributor Code of Conduct](https://pkgdown.r-lib.org/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.