log2timeline.py --versionDisplays the installed version of the log2timeline extraction tool
Extracts timestamps from hundreds of artefact types and builds a “super timeline” for forensic investigation.
sudo apt install plasolog2timeline.py --versionDisplays the installed version of the log2timeline extraction tool
log2timeline.py --helpShows the main help menu and available arguments for the extraction tool
log2timeline.py --infoLists all available parsers, parser plugins, and hashers supported by the current installation
psort.py -o listLists all available output modules for rendering timeline data
psort.py --analysis listLists all available analysis plugins for post-processing timelines
log2timeline.py [STORAGE_FILE] [SOURCE]Performs a standard extraction of all supported artifacts from a disk image to a storage file
Example
log2timeline.py case_data.plaso disk_image.ddlog2timeline.py [STORAGE_FILE] [DIRECTORY]Extracts forensic events recursively from a logical directory path instead of a disk image
Example
log2timeline.py folder_evidence.plaso /mnt/evidence_share/log2timeline.py --parsers 'win7' [STORAGE] [SOURCE]Restricts extraction to the Windows 7 parser preset, optimizing for that operating system
Example
log2timeline.py --parsers 'win7' system.plaso disk.E01log2timeline.py --parsers 'linux' [STORAGE] [SOURCE]Restricts extraction to the Linux parser preset for standard Linux artifacts
Example
log2timeline.py --parsers 'linux' server.plaso disk.imglog2timeline.py --parsers 'macosx' [STORAGE] [SOURCE]Restricts extraction to macOS specific parsers and plugins
Example
log2timeline.py --parsers 'macosx' macbook.plaso disk.dmglog2timeline.py --parsers 'webhist' [STORAGE] [SOURCE]Runs only web history parsers to extract browser activity from Chrome, Firefox, Safari, and Edge
Example
log2timeline.py --parsers 'webhist' browsing.plaso disk.ddlog2timeline.py --parsers '!filestat' [STORAGE] [SOURCE]Excludes the filestat parser to reduce noise if file system metadata events are not required
Example
log2timeline.py --parsers '!filestat' content_only.plaso disk.ddlog2timeline.py --parsers 'winevtx,winreg' [STORAGE] [SOURCE]Manually selects only the Windows Event Log and Windows Registry parsers for targeted extraction
Example
log2timeline.py --parsers 'winevtx,winreg' config_logs.plaso disk.ddlog2timeline.py --vss_stores all [STORAGE] [SOURCE]Automatically processes all detected Volume Shadow Copies (VSS) found on the image
Example
log2timeline.py --vss_stores all shadows.plaso disk.E01log2timeline.py --vss_stores 1,3 [STORAGE] [SOURCE]Processes only specific Volume Shadow Copy stores identified by index
Example
log2timeline.py --vss_stores 1,3 selected_shadows.plaso disk.E01log2timeline.py --partition [NUMBER] [STORAGE] [SOURCE]Targets a specific partition number on a multi-partition disk image
Example
log2timeline.py --partition 2 system_drive.plaso disk.ddlog2timeline.py --hashers 'md5' [STORAGE] [SOURCE]Calculates MD5 hashes for every file processed during the extraction phase
Example
log2timeline.py --hashers 'md5' hashed_evidence.plaso disk.ddlog2timeline.py --hashers 'sha256' [STORAGE] [SOURCE]Calculates SHA256 hashes for file integrity verification during extraction
Example
log2timeline.py --hashers 'sha256' secure_hash.plaso disk.ddlog2timeline.py --workers [NUMBER] [STORAGE] [SOURCE]Specifies the number of worker processes to spawn for parallel processing
Example
log2timeline.py --workers 8 fast_processing.plaso disk.ddlog2timeline.py --buffer_size [SIZE] [STORAGE] [SOURCE]Adjusts the read buffer size to optimize I/O performance for specific storage types
Example
log2timeline.py --buffer_size 65536 large_buffer.plaso disk.ddlog2timeline.py --temporary_directory [PATH] [STORAGE] [SOURCE]Redirects temporary files to a specific path, useful for utilizing high-speed SSDs during processing
Example
log2timeline.py --temporary_directory /ssd/tmp/ temp_offload.plaso disk.ddlog2timeline.py --compression 'none' [STORAGE] [SOURCE]Disables compression on the output storage file to improve write speed at the cost of disk space
Example
log2timeline.py --compression 'none' uncompressed.plaso disk.ddpsort.py -o l2tcsv -w [OUTPUT.CSV] [STORAGE]Converts the Plaso storage file into the standard Log2Timeline CSV format
Example
psort.py -o l2tcsv -w timeline.csv case.plasopsort.py -o json -w [OUTPUT.JSON] [STORAGE]Exports the timeline events into a standard JSON format for ingestion by other tools
Example
psort.py -o json -w timeline.json case.plasopsort.py -o json_line -w [OUTPUT.JSONL] [STORAGE]Exports events as JSON Lines (newline delimited JSON), ideal for Timesketch or ElasticSearch ingestion
Example
psort.py -o json_line -w timeline.jsonl case.plasopsort.py -o tln -w [OUTPUT.TLN] [STORAGE]Exports the data in the specific TLN (Timeline) format
Example
psort.py -o tln -w timeline.tln case.plasopsort.py -z 'UTC' -o l2tcsv -w [OUTPUT] [STORAGE]Forces the output timeline to display all timestamps in Coordinated Universal Time (UTC)
Example
psort.py -z 'UTC' -o l2tcsv -w utc_timeline.csv case.plasopsort.py -z 'EST5EDT' -o l2tcsv -w [OUTPUT] [STORAGE]Adjusts output timestamps to the US Eastern timezone, accounting for daylight savings
Example
psort.py -z 'EST5EDT' -o l2tcsv -w est_timeline.csv case.plasopsort.py --slice '[DATE]' [STORAGE]Extracts events that occurred strictly after the specified ISO 8601 timestamp
Example
psort.py --slice '2023-10-25T00:00:00' -w sliced.csv case.plasopsort.py --slice '[START]...[END]' [STORAGE]Create a timeline restricted to a specific date range window
Example
psort.py --slice '2023-01-01...2023-02-01' -w jan_activity.csv case.plasopsort.py [STORAGE] 'parser is "[PARSER]"'Filters the output to include only events generated by the specified parser (e.g., Windows Event Logs)
Example
psort.py case.plaso -w evtx.csv 'parser is "winevtx"'psort.py [STORAGE] 'source is "[SOURCE]"'Filters the output based on the user-friendly source description of the artifact
Example
psort.py case.plaso -w registry.csv 'source is "Windows Registry"'psort.py [STORAGE] 'message contains "[KEYWORD]"'Performs a text search within the event message body for specific keywords
Example
psort.py case.plaso -w malware_hits.csv 'message contains "malicious.exe"'psort.py [STORAGE] 'filename contains "[NAME]"'Filters events where the associated filename matches the search string
Example
psort.py case.plaso -w secret_docs.csv 'filename contains "TopSecret"'psort.py [STORAGE] '[FILTER1] and [FILTER2]'Combines filters using logical AND to find specific events (e.g., Login ID 4624 in Event Logs)
Example
psort.py case.plaso 'parser is "winevtx" and message contains "4624"'psort.py [STORAGE] '[FILTER1] or [FILTER2]'Combines filters using logical OR to broaden the search scope
Example
psort.py case.plaso 'filename contains ".exe" or filename contains ".dll"'psteal.py --source [IMAGE] -o l2tcsv -w [OUTPUT]Simultaneously extracts events and sorts them into a CSV, bypassing the intermediate storage file
Example
psteal.py --source disk.dd -o l2tcsv -w quick_timeline.csvpsteal.py --source [IMAGE] --parsers [PRESET] -w [OUTPUT]Performs a targeted extraction and export of web history in a single execution
Example
psteal.py --source disk.dd --parsers 'webhist' -w browsing.csvpinfo.py [STORAGE_FILE]Displays general metadata about the storage file, including extraction start time and Plaso version
Example
pinfo.py case.plasopinfo.py -v [STORAGE_FILE]Displays verbose details about the storage file, including counts of events per parser
Example
pinfo.py -v case.plasopinfo.py --verify_storage [STORAGE_FILE]Checks the internal integrity of the Plaso storage file to ensure data is not corrupted
Example
pinfo.py --verify_storage case.plasopsort.py [STORAGE] 'parser is "winreg" and message contains "UserAssist"'Isolates UserAssist registry keys to determine which GUI applications were executed by a user
Example
psort.py case.plaso -w gui_execution.csv 'parser is "winreg" and message contains "UserAssist"'psort.py [STORAGE] 'parser is "prefetch"'Extracts Windows Prefetch data to analyze application execution history and frequency
Example
psort.py case.plaso -w prefetch_exec.csv 'parser is "prefetch"'psort.py [STORAGE] 'parser is "winevtx" and message contains "7045"'Filters for Event ID 7045 to identify newly installed Windows services, a common persistence mechanism
Example
psort.py case.plaso -w services.csv 'parser is "winevtx" and message contains "7045"'psort.py [STORAGE] 'parser is "winreg" and message contains "USBSTOR"'Searches Registry artifacts for USBSTOR keys to identify removable devices connected to the system
Example
psort.py case.plaso -w usb_devices.csv 'parser is "winreg" and message contains "USBSTOR"'psort.py [STORAGE] 'parser is "winreg" and message contains "Interfaces"'Extracts network interface configurations and history from the System registry hive
Example
psort.py case.plaso -w net_interfaces.csv 'parser is "winreg" and message contains "Interfaces"'psort.py --analysis 'unique_domains_visited' [STORAGE]Runs a post-processing analysis plugin to summarize unique web domains found in the timeline
Example
psort.py --analysis 'unique_domains_visited' case.plasopsort.py --analysis 'tagging' --tagging_file [FILE] [STORAGE]Automatically tags events in the timeline matching rules defined in an external text file
Example
psort.py --analysis 'tagging' --tagging_file tag_rules.txt case.plasopsort.py -o elastic --server [IP] --index_name [NAME] [STORAGE]Exports timeline events directly into an ElasticSearch instance for visualization in Kibana
Example
psort.py -o elastic --server 127.0.0.1 --index_name investigation_01 case.plasopsort.py -o timesketch --name [TIMELINE_NAME] [STORAGE]Uploads the timeline directly to a Timesketch server instance (requires ~/.plaso_timesketchrc configuration)
Example
psort.py -o timesketch --name 'Case 2024-001' case.plasoimage_export.py --names [FILENAME] [IMAGE]Extracts specific files (like the $MFT) from the disk image based on exact filename matching
Example
image_export.py --names 'MFT' disk.ddimage_export.py --extensions [EXT] [IMAGE]Extracts all files with specific extensions from the forensic image to the local directory
Example
image_export.py --extensions 'evt,evtx' disk.ddimage_export.py --filter [FILTER] [IMAGE]Extracts files from the image that match specific metadata criteria like modification timestamps
Example
image_export.py --filter 'modification_time > "2023-01-01"' disk.ddlog2timeline.py -d [STORAGE] [SOURCE]Runs the extraction in debug mode, providing extensive console output for troubleshooting parser errors
Example
log2timeline.py -d debug_case.plaso disk.ddlog2timeline.py --logfile [FILE] [STORAGE] [SOURCE]Writes all execution logs to a specific file instead of standard output for later review
Example
log2timeline.py --logfile extraction.log case.plaso disk.ddlog2timeline.py --profiling_type 'memory' [STORAGE] [SOURCE]Enables memory profiling to monitor resource usage during the extraction process
Example
log2timeline.py --profiling_type 'memory' profile.plaso disk.ddpsort.py -o dynamic --fields [FIELDS] [STORAGE]Creates a CSV with a user-defined column structure, useful for creating reports with specific columns only
Example
psort.py -o dynamic --fields 'datetime,timestamp_desc,message' -w custom.csv case.plasopsort.py --additional_fields [FIELDS] [STORAGE]Adds extra metadata fields to the standard CSV output that are normally hidden
Example
psort.py -o l2tcsv --additional_fields 'inode,tag' -w detailed.csv case.plasolog2timeline.py --artifact_definitions [PATH] [STORAGE] [SOURCE]Uses a custom artifacts definition file to direct the tool to non-standard file locations
Example
log2timeline.py --artifact_definitions my_artifacts.yaml case.plaso disk.ddlog2timeline.py --file_filter [PATH] [STORAGE] [SOURCE]Restricts extraction to a list of files and paths specified in an external text file
Example
log2timeline.py --file_filter filter.txt case.plaso disk.ddlog2timeline.py --yara_rules [PATH] [STORAGE] [SOURCE]Applies YARA rules during extraction to flag or extract files matching specific signatures
Example
log2timeline.py --yara_rules malware.yar case.plaso disk.ddpsort.py --dedup [STORAGE]Removes duplicate timeline entries that share the exact same timestamp and message content
Example
psort.py --dedup -o l2tcsv -w clean.csv case.plasopsort.py [STORAGE] 'parser is "shimcache"'Extracts Application Compatibility Cache (Shimcache) data to identify executables present on the system
Example
psort.py case.plaso -w shimcache.csv 'parser is "shimcache"'psort.py [STORAGE] 'parser is "amcache"'Extracts Amcache.hve data to correlate SHA1 hashes with filenames and execution timestamps
Example
psort.py case.plaso -w amcache.csv 'parser is "amcache"'psort.py [STORAGE] 'message contains "PowerShell"'Filters for PowerShell activity across Event Logs and other artifacts to detect script execution
Example
psort.py case.plaso -w powershell.csv 'message contains "PowerShell"'psort.py [STORAGE] 'message contains "TerminalServices"'Filters for Terminal Services logs to reconstruct Remote Desktop Protocol (RDP) sessions
Example
psort.py case.plaso -w rdp.csv 'message contains "TerminalServices"'psort.py [STORAGE] 'parser is "winevtx" and message contains "Task Scheduler"'Identifies creation and execution of scheduled tasks, often used for persistence
Example
psort.py case.plaso -w tasks.csv 'parser is "winevtx" and message contains "Task Scheduler"'psort.py -w [OUTPUT] --tagged_events [STORAGE]Exports only the events that were tagged by analysis plugins, creating a concise report of findings
Example
psort.py -w report_hits.csv --tagged_events case.plasopsteal.py --source [IMAGE] --parsers 'win7' --analysis 'tagging' --tagging_file [RULES]Runs a complete pipeline: extraction, Windows parsing, tagging based on rules, and output generation
Example
psteal.py --source disk.dd --parsers 'win7' --analysis 'tagging' --tagging_file bad_stuff.txtlog2timeline.py --force [STORAGE] [SOURCE]Forces the overwrite of an existing storage file if it already exists during a new extraction
Example
log2timeline.py --force case.plaso disk.ddCommand-line tools for analysing disk images and file systems: list files, recover deleted ones and build timelines.
A graphical digital-forensics platform built on The Sleuth Kit for disk image analysis, timelines, keyword search and file recovery.
The current memory-forensics framework: analyse RAM images from Windows, Linux and macOS for processes, network connections, injected code and more.