pub enum DeviceAnomaly {
DmaCapableDevice {
instance_id: String,
bus: Bus,
},
MassStorageConnected {
instance_id: String,
},
HidDevice {
instance_id: String,
},
OsGeneratedSerial {
instance_id: String,
},
}Expand description
A graded external-device anomaly.
Variants§
DmaCapableDevice
A bus-mastering DMA-capable device (FireWire / Thunderbolt / PCIe / ExpressCard) was connected — a direct-memory-access attack surface. MITRE T1200.
MassStorageConnected
Removable mass storage was connected — an exfiltration / autorun-payload surface. MITRE T1052.001 / T1091.
HidDevice
A Human Interface Device was connected — possible keystroke-injection (BadUSB). MITRE T1200.
OsGeneratedSerial
The device’s serial was synthesized by Windows (no real iSerial), so attribution back to a specific physical device is weaker.
Implementations§
Trait Implementations§
Source§impl Clone for DeviceAnomaly
impl Clone for DeviceAnomaly
Source§fn clone(&self) -> DeviceAnomaly
fn clone(&self) -> DeviceAnomaly
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceAnomaly
impl Debug for DeviceAnomaly
impl Eq for DeviceAnomaly
Source§impl Observation for DeviceAnomaly
impl Observation for DeviceAnomaly
Source§fn severity(&self) -> Option<Severity>
fn severity(&self) -> Option<Severity>
Severity, or
None if the analyzer deliberately does not grade this kind.Source§fn category(&self) -> Category
fn category(&self) -> Category
Analytical lens; defaults to
Category::from_code of Observation::code.
Override when a code’s keyword classification is wrong.Source§fn mitre(&self) -> &'static [&'static str]
fn mitre(&self) -> &'static [&'static str]
MITRE ATT&CK technique ids this kind is consistent with (default: none).
Source§fn subjects(&self) -> Vec<SubjectRef>
fn subjects(&self) -> Vec<SubjectRef>
Non-disk subjects this kind is about (default: none).
Source§fn confidence(&self) -> Option<Confidence>
fn confidence(&self) -> Option<Confidence>
Heuristic confidence, if inferential (default: none).
Source§impl PartialEq for DeviceAnomaly
impl PartialEq for DeviceAnomaly
Source§fn eq(&self, other: &DeviceAnomaly) -> bool
fn eq(&self, other: &DeviceAnomaly) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceAnomaly
Auto Trait Implementations§
impl Freeze for DeviceAnomaly
impl RefUnwindSafe for DeviceAnomaly
impl Send for DeviceAnomaly
impl Sync for DeviceAnomaly
impl Unpin for DeviceAnomaly
impl UnsafeUnpin for DeviceAnomaly
impl UnwindSafe for DeviceAnomaly
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