pub struct TimestompIndicators {
pub si_created_before_fn: bool,
pub created_mismatch: bool,
pub si_whole_second: bool,
}Expand description
Indicators that a file’s $STANDARD_INFORMATION timestamps were forged.
$FN timestamps are harder to forge than $SI, so divergence between the
two — or $SI times landing on a whole second — is suspicious.
Fields§
§si_created_before_fn: bool$SI creation time predates $FN creation time.
created_mismatch: bool$SI creation time differs from $FN creation time.
si_whole_second: boolOne or more $SI timestamps fall exactly on a whole second (no
sub-second precision — a common timestomp artifact).
Implementations§
Source§impl TimestompIndicators
impl TimestompIndicators
Sourcepub fn is_suspicious(&self) -> bool
pub fn is_suspicious(&self) -> bool
true if any strong indicator fired.
Trait Implementations§
Source§impl Clone for TimestompIndicators
impl Clone for TimestompIndicators
Source§fn clone(&self) -> TimestompIndicators
fn clone(&self) -> TimestompIndicators
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 moreimpl Copy for TimestompIndicators
Source§impl Debug for TimestompIndicators
impl Debug for TimestompIndicators
Source§impl Default for TimestompIndicators
impl Default for TimestompIndicators
Source§fn default() -> TimestompIndicators
fn default() -> TimestompIndicators
Returns the “default value” for a type. Read more
impl Eq for TimestompIndicators
Source§impl PartialEq for TimestompIndicators
impl PartialEq for TimestompIndicators
Source§fn eq(&self, other: &TimestompIndicators) -> bool
fn eq(&self, other: &TimestompIndicators) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimestompIndicators
Auto Trait Implementations§
impl Freeze for TimestompIndicators
impl RefUnwindSafe for TimestompIndicators
impl Send for TimestompIndicators
impl Sync for TimestompIndicators
impl Unpin for TimestompIndicators
impl UnsafeUnpin for TimestompIndicators
impl UnwindSafe for TimestompIndicators
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