Skip to content

Commit

Permalink
Changed formatters to use configuration log2timeline#444
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Feb 23, 2020
1 parent c75a297 commit 64fec1c
Show file tree
Hide file tree
Showing 22 changed files with 76 additions and 424 deletions.
70 changes: 70 additions & 0 deletions data/formatters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,48 @@ short_source: 'WebViewCache'
source: 'Android WebViewCache'
---
type: 'conditional'
data_type: 'apache:access'
message:
- 'http_request: {http_request}'
- 'from: {ip_address}'
- 'code: {http_response_code}'
- 'referer: {http_request_referer}'
- 'user_agent: {http_request_user_agent}'
- 'server_name: {server_name}'
- 'port: {port_number}'
short_message:
- '{http_request}'
- 'from: {ip_address}'
short_source: 'LOG'
source: 'Apache Access'
---
type: 'conditional'
data_type: 'apt:history:line'
message:
- '{packages}'
- '[{command}]'
- '[{error}]'
- '[{requester}]'
short_message:
- '{packages}'
short_source: 'LOG'
source: 'APT History Log'
---
type: 'basic'
data_type: 'bash:history:command'
message: 'Command executed: {command}'
short_message: '{command}'
short_source: 'LOG'
source: 'Bash History'
---
type: 'basic'
data_type: 'macosx:application_usage'
message: '{application} v.{app_version} (bundle: {bundle_id}). Launched: {count} time(s)'
short_message: '{application} ({count} time(s))'
short_source: 'LOG'
source: 'Application Usage'
---
type: 'conditional'
data_type: 'windows:registry:amcache'
message:
- 'path: {full_path}'
Expand Down Expand Up @@ -97,3 +139,31 @@ short_message:
- 'name: {name}'
short_source: 'AMCACHEPROGRAM'
source: 'Amcache Programs Registry Entry'
---
type: 'conditional'
data_type: 'windows:registry:appcompatcache'
message:
- '[{key_path}]'
- 'Cached entry: {entry_index}'
- 'Path: {path}'
short_message:
- 'Path: {path}'
short_source: 'REG'
source: 'AppCompatCache Registry Entry'
---
type: 'basic'
data_type: 'windows:registry:bagmru'
message: '[{key_path}] {entries}'
short_message: '[{key_path}] {entries}'
short_source: 'REG'
source: 'Registry Key : BagMRU'
---
type: 'conditional'
data_type: 'windows:registry:bam'
message:
- '{binary_path}'
- '[{user_sid}]'
short_message:
- '{binary_path}'
short_source: 'REG'
source: 'Background Activity Moderator Registry Entry'
7 changes: 0 additions & 7 deletions plaso/formatters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
# -*- coding: utf-8 -*-
"""This file contains an import statement for each formatter."""

from plaso.formatters import apache_access
from plaso.formatters import appcompatcache
from plaso.formatters import appusage
from plaso.formatters import apt_history
from plaso.formatters import asl
from plaso.formatters import bagmru
from plaso.formatters import bam
from plaso.formatters import bash_history
from plaso.formatters import bencode_parser
from plaso.formatters import bsm
from plaso.formatters import ccleaner
Expand Down
34 changes: 0 additions & 34 deletions plaso/formatters/apache_access.py

This file was deleted.

26 changes: 0 additions & 26 deletions plaso/formatters/appcompatcache.py

This file was deleted.

24 changes: 0 additions & 24 deletions plaso/formatters/appusage.py

This file was deleted.

27 changes: 0 additions & 27 deletions plaso/formatters/apt_history.py

This file was deleted.

22 changes: 0 additions & 22 deletions plaso/formatters/bagmru.py

This file was deleted.

26 changes: 0 additions & 26 deletions plaso/formatters/bam.py

This file was deleted.

22 changes: 0 additions & 22 deletions plaso/formatters/bash_history.py

This file was deleted.

40 changes: 0 additions & 40 deletions tests/formatters/apache_access.py

This file was deleted.

36 changes: 0 additions & 36 deletions tests/formatters/appcompatcache.py

This file was deleted.

36 changes: 0 additions & 36 deletions tests/formatters/appusage.py

This file was deleted.

Loading

0 comments on commit 64fec1c

Please sign in to comment.