63

GitHub - LMGsec/Magic-Unicorn-Tool

 5 years ago
source link: https://github.com/LMGsec/Magic-Unicorn-Tool
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Magic-Unicorn-Tool

This is the beta release of our Office 365 Activities API report parsing tool. It is offered under the BSD License.

Requirements

- Python 3.4.3 or above
- Requests

Description

The parsing script is designed to read Microsoft Office 365 Activities API data in csv format and produce a set of
reports based on the data parsed. All testing for the script was done using Powershell.

Basic Usage

Step one - retrieve an activities report using the retriever.py script. This altered version of the original retiever.py
script is designed to return data in ascending chronological order with the encoding set as utf-8 to avoid any parsing
errors.

Step two - run the Magic Unicorn parser using the following command syntax
> MagicUnicorn_v1.py -i "Microsoft Activities API csv file" -o "Output directory" -t "General report title"

Reports Generated

- "General report title"-attachments-activity.tsv
- "General report title"-search-activity.tsv
- "General report title"-read-activity-by-time.tsv
- "General report title"-read-activity-by-item.tsv
- "General report title"-logon-activity.tsv

Activities API Data Aquisition

Modified versions of the CrowdStrike retriever and activity scripts are included in this repository. The MagicUnicorn_v1 parser is designed 
to work exclusively with the output from these scripts. Directions for use are included in the "CrowdStrike-Retriever-Scripts" folder.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK