The TrailShark Capture Utility seamlessly integrates with Wireshark, facilitating the capture of AWS CloudTrail logs directly into Wireshark for near-real-time analysis.

This tool can be used for debugging AWS API calls and played a pivotal role in our “Bucket Monopoly Research” project.

By leveraging this utility, we were able to understand the internal API calls made by AWS, leading to the discovery of critical vulnerabilities across different services.

This insight is invaluable for enhancing security measures and understanding AWS service interactions more deeply.

Features

  • CloudTrail Log Capture: Enables capturing of CloudTrail logs directly from AWS S3 or CloudWatch for comprehensive monitoring. (Tool has the capability )
  • Advanced Filtering: Offers custom filters, fields, and color-coding options to highlight interesting or significant events, making analysis more intuitive and efficient.
  • Custom Event: Supports the creation of custom events derived from existing ones, allowing for more detailed and targeted analysis of event chains and their impacts.

Prerequisites

Note: The plugin has been tested on Linux and macOS, but it should work on Windows as well.

  • Wireshark
  • Python 3.x
  • boto3 library

Installation

First, deploy the CloudFormation template to create the CloudTrail trail and configure S3 to store logs.

aws cloudformation create-stack --stack-name TrailShark --template-body aws/template.yaml  --region {REGION}

Run the following script to install the wireshark plugin

./install-plugin.sh

LEAVE A REPLY

Please enter your comment!
Please enter your name here