Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Campaign ¶
type Campaign struct { baseobject.CommonObjectProperties properties.NameProperty properties.DescriptionProperty properties.AliasesProperty properties.SeenTimestampProperties Objective string `json:"objective,omitempty"` }
Campaign - This type implements the STIX 2 Campaign SDO and defines all of the properties methods needed to create and work with the STIX Campaign SDO. All of the methods not defined local to this type are inherited from the individual properties.
The following information comes directly from the STIX 2 specification documents.
A Campaign is a grouping of adversarial behaviors that describes a set of malicious activities or attacks (sometimes called waves) that occur over a period of time against a specific set of targets. Campaigns usually have well defined objectives and may be part of an Intrusion Set.
Campaigns are often attributed to an intrusion set and threat actors. The threat actors may reuse known infrastructure from the intrusion set or may set up new infrastructure specific for conducting that campaign.
Campaigns can be characterized by their objectives and the incidents they cause, people or resources they target, and the resources (infrastructure, intelligence, Malware, Tools, etc.) they use.
For example, a Campaign could be used to describe a crime syndicate's attack using a specific variant of malware and new C2 servers against the executives of ACME Bank during the summer of 2016 in order to gain secret information about an upcoming merger with another bank.
func Decode ¶
Decode - This function will decode some JSON data encoded as a slice of bytes into an actual struct. It will return the object as a pointer, the STIX ID, and any errors.
func New ¶
func New() *Campaign
New - This function will create a new STIX Campaign object and return it as a pointer. It will also initialize the object by setting all of the basic properties.
func (*Campaign) Encode ¶
Encode - This method is a simple wrapper for encoding an object in to JSON
func (*Campaign) EncodeToString ¶
EncodeToString - This method is a simple wrapper for encoding an object in to JSON
func (*Campaign) SetObjective ¶
SetObjective - This method will take in a string representing an objective, goal, desired outcome, or intended effect and update the objective property.