pub struct Behavior {
pub common: CommonProperties,
pub name: Behavior,
pub description: Option<String>,
pub timestamp: Option<DateTime<Utc>>,
pub attributes: Option<HashMap<String, Value>>,
pub action_refs: Vec<String>,
pub technique_refs: Vec<ExternalReference>,
}Expand description
MAEC Behavior
A Behavior corresponds to the specific purpose behind a particular snippet of code, as executed by a malware instance. Examples include keylogging, detecting a virtual machine, and installing a backdoor.
Fields§
§common: CommonPropertiesCommon MAEC properties
name: BehaviorName of the behavior
description: Option<String>Textual description
timestamp: Option<DateTime<Utc>>Timestamp when the behavior occurred/was observed
attributes: Option<HashMap<String, Value>>Behavior attributes as key/value pairs
action_refs: Vec<String>References to actions implementing this behavior
technique_refs: Vec<ExternalReference>References to techniques used (ATT&CK, etc.)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Behavior
impl<'de> Deserialize<'de> for Behavior
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MaecObject for Behavior
impl MaecObject for Behavior
impl StructuralPartialEq for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnwindSafe for Behavior
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more