msticpy is a set of Python tools intended to be used for security investigations and hunting. Many of the tools originated as code Jupyter notebooks written to solve a problem as part of a security investigation. Some of tools them are only useful in notebooks (e.g. much of the nbtools sub-package) but many others can be used from the Python commandline or imported into your code.
The package addresses three central needs for security investigators and hunters:
- Acquiring and enriching data
- Analyzing data
- Visualizing data
Use Cases and Environments¶
Although msticpy was originally developed for use with Azure Sentinel, much of the package is agnostic to the data source. Data query components are also supplied for Microsoft Defender Advanced Threat Protection and Microsoft Security Graph.
The tool APIs typically accept a pandas DataFrame as input and, where appropriate, return output as a DataFrame.