@@ -359,8 +359,15 @@ class NTFS(Module):
359359 def _run (cls , target : Target , cli_args : argparse .Namespace , collector : Collector ) -> None :
360360 for fs , main_mountpoint , name , mountpoints in iter_ntfs_filesystems (target ):
361361 log .info ("Acquiring from %s as %s (%s)" , fs , name , mountpoints )
362+ filenames = [
363+ "$MFT" ,
364+ "$Boot" ,
365+ "$Secure:$SII" ,
366+ "$Secure:$SDS" ,
367+ "$LogFile" ,
368+ ]
362369
363- for filename in ( "$MFT" , "$Boot" , "$Secure:$SDS" ) :
370+ for filename in filenames :
364371 if main_mountpoint is not None :
365372 path = fsutil .join (main_mountpoint , filename )
366373 collector .collect_path (path )
@@ -372,6 +379,7 @@ def _run(cls, target: Target, cli_args: argparse.Namespace, collector: Collector
372379 collector .collect_file_raw (filename , fs , name )
373380
374381 cls .collect_usnjrnl (collector , fs , name )
382+ cls .collect_rmmetadata (collector , fs , name )
375383
376384 @classmethod
377385 def collect_usnjrnl (cls , collector : Collector , fs : Filesystem , name : str ) -> None :
@@ -389,12 +397,26 @@ def usnjrnl_accessor(journal: BinaryIO) -> tuple[BinaryIO, int]:
389397
390398 return (journal , size )
391399
392- collector .collect_file_raw (
393- "$Extend/$Usnjrnl:$J" ,
394- fs ,
395- name ,
396- file_accessor = usnjrnl_accessor ,
397- )
400+ for filename in ("$Extend/$Usnjrnl:$J" , "$Extend/$Usnjrnl:$Max" ):
401+ collector .collect_file_raw (
402+ filename ,
403+ fs ,
404+ name ,
405+ file_accessor = usnjrnl_accessor ,
406+ )
407+
408+ @classmethod
409+ def collect_rmmetadata (cls , collector : Collector , fs : Filesystem , name : str ) -> None :
410+ filenames = [
411+ "$Extend/$RmMetadata/$TxfLog/$T" ,
412+ "$Extend/$RmMetadata/$TxfLog/$Tops:$T" ,
413+ ]
414+ for filename in filenames :
415+ collector .collect_file_raw (
416+ filename ,
417+ fs ,
418+ name ,
419+ )
398420
399421
400422@register_module ("-r" , "--registry" )
@@ -1323,11 +1345,15 @@ def get_spec_additions(cls, target: Target, cli_args: argparse.Namespace) -> Ite
13231345class RemoteAccess (Module ):
13241346 DESC = "common remote access tools' log files"
13251347 SPEC = (
1326- # teamviewer
1348+ # teamviewer - Windows
13271349 ("glob" , "sysvol/Program Files/TeamViewer/*.log" ),
1350+ ("path" , "sysvol/Program Files/TeamViewer/Connections_incoming.txt" ),
13281351 ("glob" , "sysvol/Program Files (x86)/TeamViewer/*.log" ),
1329- ("glob " , "/var/log/teamviewer*/*.log " ),
1352+ ("path " , "sysvol/Program Files (x86)/TeamViewer/Connections_incoming.txt " ),
13301353 ("glob" , "AppData/Roaming/TeamViewer/*.log" , from_user_home ),
1354+ ("path" , "AppData/Roaming/TeamViewer/Connections.txt" , from_user_home ),
1355+ # teamviewer - Mac + Linux
1356+ ("glob" , "/var/log/teamviewer*/*.log" ),
13311357 ("glob" , "Library/Logs/TeamViewer/*.log" , from_user_home ),
13321358 # anydesk - Windows
13331359 ("path" , "sysvol/ProgramData/AnyDesk" ),
@@ -1336,12 +1362,11 @@ class RemoteAccess(Module):
13361362 ("glob" , ".anydesk*/*" , from_user_home ),
13371363 ("path" , "/var/log/anydesk.trace" ),
13381364 # RustDesk - Windows
1339- ("path" , "sysvol/ProgramData/RustDesk" ),
1340- ("path" , "AppData/Roaming/RustDesk/log/server/" , from_user_home ),
1365+ ("path" , "AppData/Roaming/RustDesk/log/" , from_user_home ),
13411366 # RustDesk - Mac + Linux
1342- ("path" , ".local/share/logs/RustDesk/server/ " , from_user_home ),
1343- ("path" , "/var/log/RustDesk" ),
1344- ("path" , "Library/Logs/RustDesk/Server " , from_user_home ),
1367+ ("path" , ".local/share/logs/RustDesk/" , from_user_home ),
1368+ ("path" , "/var/log/RustDesk/ " ),
1369+ ("path" , "Library/Logs/RustDesk/" , from_user_home ),
13451370 # zoho
13461371 ("path" , "sysvol/ProgramData/ZohoMeeting/log" ),
13471372 ("path" , "AppData/Local/ZohoMeeting/log" , from_user_home ),
0 commit comments