# Copyright (c) 2010 Flowerfire, Inc. All Rights Reserved. unicomp_guinevere_virus = { plugin_version = "1.0.1" # Initial creation - 1.0 # 2011-07-21 - 1.0.1 - MSG - Edited info lines. info.1.manufacturer = "Unicomp" info.1.device = "Guinevere Virus" info.1.version.1 = "" # The name of the log format log.format.format_label = "Unicomp Guinevere Virus Log Format" log.miscellaneous.log_data_type = "mail_server" log.miscellaneous.log_format_type = "other" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "Version: Guinevere " # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # A log entry is called a message statistics.miscellaneous.entry_name = "messages" # The format of dates and times in this log log.format.date_format = "m/d/yyyy" log.format.time_format = "h:mm:ss AM/PM" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time file = { label = "$lang_stats.field_labels.file" type = "flat" index = 0 subindex = 0 } # file result = { label = "$lang_stats.field_labels.result" type = "flat" index = 0 subindex = 0 } # result subject = { label = "$lang_stats.field_labels.subject" type = "flat" index = 0 subindex = 0 } # subject source_address = { label = "$lang_stats.field_labels.source_address" type = "flat" index = 0 subindex = 0 } # source_address destination_address = { label = "$lang_stats.field_labels.destination_address" type = "flat" index = 0 subindex = 0 } # destination_address } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse date, time 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^()([0-9]+/[0-9]+/[0-9][0-9][0-9][0-9]) ([0-9]+:[0-9][0-9]:[0-9][0-9] [AP]M):', '*KEY*,date,time')" } # 1 # Handle infected file line 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('()HandleThread: (Infected File Found)! Originated from (.*)$', '*KEY*,result,file')" } # 2 # Handle email addresses line 3 = { label = "3" comment = "" value = "collect_fields_using_regexp('()HandleThread: (.*) ([^@ ]+@[^ ]+) ([^@ ]+@[^ ]+)$', '*KEY*,subject,source_address,destination_address')" } # 3 # Handle uninfected file line 4 = { label = "4" comment = "" value = "collect_fields_using_regexp('()HandleThread: File (.*) was (not infected)\\\\.', '*KEY*,file,result')" } # 4 # Accept on --------------------- 5 = { label = "5" comment = "" value = "accept_collected_entry_using_regexp('()HandleThread: (Mailing infection/block notice to administrator|File .* was not infected)', false)" } # 5 } # log.parsing_filters # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day result = { label = "$lang_stats.field_labels.result" log_field = "result" type = "string" suppress_top = 0 suppress_bottom = 2 } # result file = { label = "$lang_stats.field_labels.file" log_field = "file" type = "string" suppress_top = 0 suppress_bottom = 2 } # file subject = { label = "$lang_stats.field_labels.subject" log_field = "subject" type = "string" suppress_top = 0 suppress_bottom = 2 } # subject source_address = { label = "$lang_stats.field_labels.source_address" log_field = "source_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # source_address destination_address = { label = "$lang_stats.field_labels.destination_address" log_field = "destination_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_address } # database.fields database.numerical_fields = { messages = { label = "$lang_stats.field_labels.messages" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # messages } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" result = true file = true subject = true source_address = true destination_address = true } # report_groups } # create_profile_wizard_options not_supported = { bandwidth = true visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # unicomp_guinevere_virus