Skip to content

A Go module containing the Mitre ATT&CK framework tactics and techniques.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE.md
MIT
MIT-LICENSE.txt
Notifications You must be signed in to change notification settings

SecurityBrewery/goattack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mitre ATT&CK in Go

A Go module containing the Mitre ATT&CK framework tactics and techniques.

Usage

package main

import (
	"fmt"

	"github.com/SecurityBrewery/goattack"
)

func main() {
	if tactic, ok := goattack.Objects["TA0004"]; ok {
		fmt.Println(tactic.Name) // Privilege Escalation
		fmt.Println(tactic.URL)  // https://attack.mitre.org/tactics/TA0004
	}

	if technique, ok := goattack.Objects["T1548.002"]; ok {
		fmt.Println(technique.Name)     // Bypass User Account Control
		fmt.Println(technique.FullName) // Abuse Elevation Control Mechanism: Bypass User Account Control
		fmt.Println(technique.URL)      // https://attack.mitre.org/techniques/T1548/002
	}
}

Generation

To generate the code copy the JSON files from github.com/mitre/cti/…/enterprise-attack.json to the gen directory and run make generate.

About

A Go module containing the Mitre ATT&CK framework tactics and techniques.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE.md
MIT
MIT-LICENSE.txt

Stars

Watchers

Forks

Languages