Interface MalwareSdo
- All Superinterfaces:
BundleableObject,DomainObject,SdoDefaultValidator,Serializable,Stix,StixCommonProperties,StixCustomProperties,StixLabels,StixModified,StixRevoked,StixSpecVersion
- All Known Implementing Classes:
Malware
@Immutable
@DefaultTypeValue(value="malware",
groups=DefaultValuesProcessor.class)
@Redactable
public interface MalwareSdo
extends DomainObject
malware
Malware is a type of TTP that is also known as malicious code and malicious software, refers to a program that is inserted into a system, usually covertly, with the intent of compromising the confidentiality, integrity, or availability of the victim's data, applications, or operating system (OS) or of otherwise annoying or disrupting the victim.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull Set<KillChainPhaseType> default @Vocab(MalwareLabels.class) @NotNull @Size(min=1,message="At least one label from malware-label-ov must be used") Set<@Length(min=1) String> @NotBlank StringgetName()Methods inherited from interface security.whisper.javastix.sdo.DomainObject
getRelationshipsMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCommonProperties
checkHydrationValidation, getCreated, getCreatedByRef, getExternalReferences, getGranularMarkings, getHydrated, getId, getLang, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomPropertiesMethods inherited from interface security.whisper.javastix.common.StixModified
getModifiedMethods inherited from interface security.whisper.javastix.common.StixRevoked
getRevokedMethods inherited from interface security.whisper.javastix.common.StixSpecVersion
getSpecVersion
-
Method Details
-
getLabels
@Default @Vocab(MalwareLabels.class) @JsonPropertyDescription("The type of malware being described. Open Vocab - malware-label-ov") @NotNull @Size(min=1, message="At least one label from malware-label-ov must be used") @Redactable(useMask=true) default @Vocab(MalwareLabels.class) @NotNull @Size(min=1,message="At least one label from malware-label-ov must be used") Set<@Length(min=1) String> getLabels()- Specified by:
getLabelsin interfaceStixLabels
-
getName
@NotBlank @JsonPropertyDescription("The name used to identify the Malware.") @Redactable(useMask=true) @NotBlank String getName() -
getDescription
@JsonPropertyDescription("Provides more context and details about the Malware object.") @Redactable Optional<String> getDescription() -
getKillChainPhases
@NotNull @Default @JsonPropertyDescription("The list of kill chain phases for which this Malware instance can be used.") @Redactable default @NotNull Set<KillChainPhaseType> getKillChainPhases()
-