Microsoft Sentinel Installation Guide

Compatibility Matrix

  • Platform: Microsoft Sentinel (Azure cloud-native SIEM)
  • Browser: Google Chrome, Mozilla Firefox.
  • Azure Requirements: Sentinel log analytics workspace with Azure AD Contributor access
  • Azure Region: Any region where Sentinel is deployed
  • OS: Platform independent.

Prerequisites

Gather all required credentials and information before starting deployment. Missing or incorrect values will cause the deployment to fail.

Azure AD Application

The GreyNoise connector uses Azure AD for authentication to Sentinel APIs. If you do not have any Azure AD Application and its credentials handy, follow the MS Sentinel Official documentation below to create an Azure AD Application.
Official Reference: How to register an app in Microsoft Entra ID
Official Reference: Add and manage app credentials in Microsoft Entra ID

Assign Role to Sentinel Workspace

  1. Navigate to Sentinel Workspace Access Control
  2. Add Role Assignment
    • Click Add > Add role assignment
    • Role: Search for and select Microsoft Sentinel Contributor
    • Assign access to: Select User, group, or service principal
    • Members: Search for and select your app registration name
    • Click Review + assign
    • Detailed steps: Assign Azure roles via the portal

Configure API Permissions

Follow this section here to add 'ThreatIndicators.ReadWrite.OwnedBy' permission to the AAD App: API Permissions

Installation

Installation is available from the Microsoft Sentinel Content Hub.

Prerequisites

ParameterValue Format
Resource GroupExisting resource group name where you want to install the solution
Function App NameGreyNoise function app name that you want to give
Workspace IDLog Analytic Workspace resource ID where this solution is going to be installed
Tenant IDAzure AD tenant ID
Client IDApplication ID of the Azure AD app registration
Client SecretPassword/secret for the Azure AD app registration
GreyNoise API KeyAPI key from GreyNoise account
GreyNoise ClassificationsComma-separated list of threat classification types to pull from GreyNoise, such as malicious, suspicious, unknown, or benign. Recommended values: malicious,suspicious,benign.
App Insight Resource IDAzure Application Insights resource identifier

New Installation - Microsoft Sentinel Content Hub

  1. Navigate to Content Hub
    1. Log into Azure Portal and search for Sentinel.
  1. Go to your Microsoft Sentinel workspace
  1. Select Content Hub from the left navigation menu
  1. Search for "GreyNoise" in the search bar
  1. Install the Solution Pack
    1. Click the Install button
    2. The system displays installation progress
    3. Once complete, the button changes to Manage
  1. Access Data Connector Page
    1. After installation, click the Manage button
    2. Select Data Connectors from the menu
  1. Click to open the connector configuration page
  1. Configure the Data Connector
    1. You will be asked to provide the input values below
  1. After providing all values, click on the review button
    3. Then, click on create
    4. A deployment completed message will be displayed

Manually testing the function App

Since the Function App runs only on a set schedule, it may be necessary to run it manually to confirm that everything is working as expected.

By default, the option to "Run" is disabled, and a confusing message is shown:
Running your function in the portal requires the app to explicitly accept requests from https://portal.azure.com. This is known as cross-origin resource sharing (CORS). Click here to add https://portal.azure.com to the allowed origin configuration

To grant the ability to run the app manually, follow these steps:

  1. Go to the Function App in the Azure Portal.
  2. Open API and then click CORS.
  3. Add https://portal.azure.com as an allowed origin and click Save

Once enabled, this allows manual execution of the function app.

  • Open the GreyNoiseAPISentinelConnector function in the Function App, then select Test/Run and click Run to execute the function manually.
  • Once the function runs successfully, you should see a 202 Accepted status code in the output, as shown in the image below.

Review the Indicators in Sentinel Threat Intelligence

When reviewing the indicators imported by the Function App, go to the Sentinel Threat Intelligence section and look for indicators sourced from GreyNoise.

Some notes about these indicators:

  • The Threat types value will contain the indicator classification
  • The Tags will include all GreyNoise tags associated with the indicator
  • The indicator will be "valid" for 24h after ingest

Log Analytics Workspace

A Log Analytics Workspace is required to execute use-case queries, validate ingested GreyNoise data, and correlate it with other data sources in Microsoft Sentinel.

It serves as the central repository for all logs, with queries using KQL (Kusto Query Language).

Steps to Run Queries in Log Analytics Workspace

  1. Navigate to the Microsoft Sentinel instance in the Azure portal
  1. Select the appropriate Log Analytics Workspace
  2. From the left-hand menu, click on Logs under the General section
  1. Open the Query Editor

  1. Enter your KQL query to analyze GreyNoise or related data
  2. Click Run to execute the query
  3. Review and analyze the results in the results panel.

Steps to get Workspace ID

  1. Navigate to the Log Analytics Workspace instance in the Azure portal
  1. Select the appropriate Log Analytics Workspace
  2. From the left-hand menu, click on Properties under the Settings section
  1. Copy the Workspace ID

Analytic Rules

The Pack includes several analytics rules to match input sources to GreyNoise indicators.

  1. GreyNoise TI map IP entity to OfficeActivity
    1. This query maps any GreyNoise IP indicators of compromise (IOCs) from threat intelligence (TI), by searching for matches in OfficeActivity.
  2. GreyNoise TI map IP entity to Network Session Events (ASIM Network Session schema)
    1. This rule identifies a match Network Sessions for which the source or destination IP address is a known GreyNoise IoC. This analytic rule uses ASIM and supports any built-in or custom source that supports the ASIM NetworkSession schema
  3. GreyNoise TI Map IP Entity to CommonSecurityLog
    1. This query maps GreyNoise IP indicators of compromise (IOCs) from threat intelligence (TI), by searching for matches in CommonSecurityLog.
  4. GreyNoise TI Map IP Entity to DnsEvents
    1. This query maps any IP indicators of compromise (IOCs) from GreyNoise Threat Intelligence (TI), by searching for matches in DnsEvents.
  5. GreyNoise TI Map IP Entity to SigninLogs
    1. This query maps any GreyNoise IP indicators of compromise (IOCs) from threat intelligence (TI), by searching for matches in SigninLogs.

These can be installed as is or used as a template to create custom analytics rules.

Install Analytic Rule

  1. Navigate to the Microsoft Sentinel instance in the Azure portal
  2. Select your workspace, then go to Analytics under the Configuration section and open the Rule templates tab.
  1. Select any rule template you want to install.
  1. Verify or update any details if you want.

    1. Name: GreyNoise TI map IP entity to OfficeActivity

    2. Description: Surfaces inbound IPs that are unidentified in GreyNoise's internet scanner dataset and are repeatedly hitting the perimeter - high-probability targeted threats.

    3. Severity: Select desired severity

    4. MITRE ATT&CK: Select tactics, techniques, and sub-techniques.

  • Tactics: Reconnaissance
  • Technique: T1595 - Active Scanning
  • Sub-Technique: T1595.001 - Scanning IP Blocks
  1. Click on Next: Set rule logic option

    1. Rule query: query to correlate GreyNoise data
  1. Entity Mapping:

    1. Map relevant fields from your query results to Sentinel entities (for example, map SourceIP to the IP entity type). This allows Sentinel to enrich alerts with context and helps in investigation and correlation within incidents.
  1. Alert details:

    1. Provide a meaningful alert name and description. You can also dynamically customize these using query fields (e.g., include IP addresses or usernames) so each alert provides better context during investigation.
  1. Query scheduling

    1. Set how frequently the rule runs in the Run query every text box.

      1. Enter the amount of historical data it analyzes in the Lookup data text box. The lookback period should be at least as long as the run interval to avoid missing events.
  1. Alert threshold

    1. Define when an alert should be generated based on query results in the Generate alerts when number of query results option. (e.g., trigger an alert when results are greater than a defined number). This helps control noise and adjust detection sensitivity.

      1. Decide how alerts are generated from query results:

        1. Group all events into a single alert: Creates one alert summarizing all matching events.

        2. Trigger an alert for each event: Generates a separate alert for each event for granular visibility.

      2. You can enable suppression to stop the rule from running after an alert is triggered.

  1. Click on Next: Incident settings option.

    1. Incident Settings Tab

      1. Configure the rule to automatically create incidents from generated alerts. This ensures alerts are grouped into incidents for SOC investigation workflows.
  1. Automation rules

    1. Attach automation rules or playbooks (Logic Apps) to trigger actions such as blocking IPs, sending notifications, or enriching alerts. You can define conditions, triggers, and execution order for these automated responses.
  1. Click on the Save option.

Note: You can adjust the Schedule and Lookup durations as needed.

Workbooks

The Pack includes a Workbook that can be added to Sentinel. Under Workbook templates, find and install the GreyNoise Intelligence Threat Indicators Workbook.

Once installed, viewing the Workbook will provide some insight into the indicators ingested by the Feed:

Changelog

Changes in v3.1.1

  • Updated Data Connector instructions
  • Fixed Python module mismatches
  • Bumped Az Functions Runtime

Changes in v3.0.3

  • Updated to use GreyNoise Python SDK v3.0.1
  • Use the new Threat Intel API for Creating Indicators
  • Updated requirements.txt for using python new dependencies
  • Updated Data Connector instructions