pub struct RunKeyEntry {
pub hive: String,
pub key_path: String,
pub value_name: String,
pub command: String,
pub is_suspicious: bool,
pub suspicious_reason: Option<String>,
pub last_written: Option<DateTime<Utc>>,
}Expand description
A single autorun entry extracted from a registry hive.
Fields§
§hive: StringHive origin: "HKLM" for SOFTWARE, "HKCU" for NTUSER.DAT,
or "UNKNOWN" for unrecognised hive types.
key_path: StringFull registry key path (relative to hive root).
value_name: StringValue name (the persistence entry identifier).
command: StringValue data: the command or path that runs at startup.
is_suspicious: booltrue if the command matches a known LOLBin abuse pattern.
suspicious_reason: Option<String>Human-readable explanation when is_suspicious is true.
last_written: Option<DateTime<Utc>>The Run key’s LastWriteTime — approximately when this autorun entry
was last written. None when the key carries no timestamp.
Trait Implementations§
Source§impl Clone for RunKeyEntry
impl Clone for RunKeyEntry
Source§fn clone(&self) -> RunKeyEntry
fn clone(&self) -> RunKeyEntry
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 RunKeyEntry
impl Debug for RunKeyEntry
Auto Trait Implementations§
impl Freeze for RunKeyEntry
impl RefUnwindSafe for RunKeyEntry
impl Send for RunKeyEntry
impl Sync for RunKeyEntry
impl Unpin for RunKeyEntry
impl UnsafeUnpin for RunKeyEntry
impl UnwindSafe for RunKeyEntry
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