# Viper Analysis Plugin Notes on how to use the viper analysis plugin. ## Setting up Viper The Viper project maintains installation instructions here: https://viper-framework.readthedocs.io/en/latest/installation/index.html ## Running the analysis plugin First run log2timeline to extract events: ```bash log2timeline.py --storage-file timeline.plaso image.raw ``` Note that hashing must be turned on for the viper plugin to work correctly. This is default setting for log2timeline.py. Next run psort to tag events, then output them: ```bash psort.py --analysis viper -o null timeline.plaso ``` If a file processed by Plaso is present in the viper instance, it will be tagged with `viper_present`. If it's part of a project in viper, it will also be tagged with `viper_project_$PROJECTNAME`. The last step would be to export a timeline with the tags: ```bash psort.py -o dynamic --fields datetime,timestamp_desc,source,source_long,message,parser,tag -w timeline.csv timeline.plaso ```