You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sentinel/indicators-bulk-file-import.md
+88-27Lines changed: 88 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Add indicators in bulk to threat intelligence by file
2
+
title: Add threat intelligence in bulk by file
3
3
titleSuffix: Microsoft Sentinel
4
-
description: Learn how to bulk add indicators to threat intelligence from flat files like .csv or .json in Microsoft Sentinel.
4
+
description: Learn how to add threat intelligence in bulk from flat files like .csv or .json into Microsoft Sentinel.
5
5
author: austinmccollum
6
6
ms.service: microsoft-sentinel
7
7
ms.topic: how-to
@@ -13,13 +13,13 @@ appliesto:
13
13
ms.collection: usx-security
14
14
15
15
16
-
#Customer intent: As a security analyst, I want to import threat indicators in bulk from CSV or JSON files so that I can quickly integrate and analyze emerging threats within my threat intelligence platform.
16
+
#Customer intent: As a security analyst, I want to import threat intelligence in bulk from CSV or JSON files so that I can quickly integrate and analyze emerging threats within Microsoft Sentinel.
17
17
18
18
---
19
19
20
-
# Add indicators in bulk to Microsoft Sentinel threat intelligence from a CSV or JSON file
20
+
# Add threat intelligence in bulk to Microsoft Sentinel from a CSV or JSON file
21
21
22
-
In this article, you add indicators from a CSV or JSON file into Microsoft Sentinel threat intelligence. Threat intelligence sharing still happens across emails and other informal channels during an ongoing investigation. You have the ability to import indicators directly into Microsoft Sentinel threat intelligence so that you can quickly relay emerging threats to your team. You make the threats available to power other analytics, such as producing security alerts, incidents, and automated responses.
22
+
This article demonstrates how to add indicators from a CSV or STIX objects from a JSON file into Microsoft Sentinel threat intelligence. Because threat intelligence sharing still happens across emails and other informal channels during an ongoing investigation, the ability to import that information quickly into Microsoft Sentinel is important to relay emerging threats to your team. These identified threats are then available to power other analytics, such as producing security alerts, incidents, and automated responses.
23
23
24
24
> [!IMPORTANT]
25
25
> This feature is currently in preview. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for more legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -28,11 +28,11 @@ In this article, you add indicators from a CSV or JSON file into Microsoft Senti
28
28
29
29
## Prerequisites
30
30
31
-
You must have read and write permissions to the Microsoft Sentinel workspace to store your threat indicators.
31
+
You must have read and write permissions to the Microsoft Sentinel workspace to store your threat intelligence.
32
32
33
-
## Select an import template for your indicators
33
+
## Select an import template for your threat intelligence
34
34
35
-
Add multiple indicators to your threat intelligence with a specially crafted CSV or JSON file. Download the file templates to get familiar with the fields and how they map to the data you have. Review the required fields for each template type to validate your data before you import it.
35
+
Add multiple threat intelligence objects with a specially crafted CSV or JSON file. Download the file templates to get familiar with the fields and how they map to the data you have. Review the required fields for each template type to validate your data before you import it.
36
36
37
37
1. For Microsoft Sentinel in the [Azure portal](https://portal.azure.com), under **Threat management**, select **Threat intelligence**.
38
38
@@ -42,34 +42,39 @@ Add multiple indicators to your threat intelligence with a specially crafted CSV
42
42
43
43
#### [Azure portal](#tab/azure-portal)
44
44
45
-
:::image type="content" source="media/indicators-bulk-file-import/import-using-file-menu-fixed.png" alt-text="Screenshot that shows the menu options to import indicators by using a file menu." lightbox="media/indicators-bulk-file-import/import-using-file-menu-fixed.png":::
45
+
:::image type="content" source="media/indicators-bulk-file-import/import-using-file-menu-fixed.png" alt-text="Screenshot that shows the menu options to import threat intelligence by using a file menu." lightbox="media/indicators-bulk-file-import/import-using-file-menu-fixed.png":::
46
46
47
47
#### [Defender portal](#tab/defender-portal)
48
-
:::image type="content" source="media/indicators-bulk-file-import/import-using-file-menu-defender-portal.png" alt-text="Screenshot that shows the menu options to import indicators by using a file menu from the Defender portal." lightbox="media/indicators-bulk-file-import/import-using-file-menu-defender-portal.png":::
48
+
:::image type="content" source="media/indicators-bulk-file-import/import-using-file-menu-defender-portal.png" alt-text="Screenshot that shows the menu options to import threat intelligence by using a file menu from the Defender portal." lightbox="media/indicators-bulk-file-import/import-using-file-menu-defender-portal.png":::
49
49
---
50
50
51
51
1. On the **File format** dropdown menu, select **CSV** or **JSON**.
52
52
53
53
:::image type="content" source="media/indicators-bulk-file-import/format-select-and-download.png" alt-text="Screenshot that shows the dropdown menu to upload a CSV or JSON file, choose a template to download, and specify a source.":::
54
+
55
+
> [!NOTE]
56
+
> The CSV template only supports indicators. The JSON template supports indicators and other STIX objects like threat actors, attack patterns, identities and relationships.
57
+
> For more information about crafting supported STIX objects in JSON, see [STIX objects API reference](stix-objects-api.md).
58
+
54
59
55
60
1. After you choose a bulk upload template, select the **Download template** link.
56
61
57
-
1. Consider grouping your indicators by source because each file upload requires one.
62
+
1. Consider grouping your threat intelligence by source because each file upload requires one.
58
63
59
-
The templates provide all the fields you need to create a single valid indicator, including required fields and validation parameters. Replicate that structure to populate more indicators in one file. For more information on the templates, see [Understand the import templates](indicators-bulk-file-import.md#understand-the-import-templates).
64
+
The templates provide all the fields you need to create a single valid indicator, including required fields and validation parameters. Replicate that structure to populate more indicators in one file, or add STIX objects to the JSON file. For more information on the templates, see [Understand the import templates](indicators-bulk-file-import.md#understand-the-import-templates).
60
65
61
-
## Upload the indicator file
66
+
## Upload the threat intelligence file
62
67
63
68
1. Change the file name from the template default, but keep the file extension as .csv or .json. When you create a unique file name, it's easier to monitor your imports from the **Manage file imports** pane.
64
69
65
-
1. Drag your indicators file to the **Upload a file** section, or browse for the file by using the link.
70
+
1. Drag your bulk threat intelligence file to the **Upload a file** section, or browse for the file by using the link.
66
71
67
-
1. Enter a source for the indicators in the **Source** text box. This value is stamped on all the indicators included in that file. View this property as the `SourceSystem` field. The source is also displayed in the **Manage file imports** pane. For more information, see [Work with threat indicators](work-with-threat-indicators.md#find-and-view-your-indicators-in-logs).
72
+
1. Enter a source for the threat intelligence in the **Source** text box. This value is stamped on all the indicators included in that file. View this property as the `SourceSystem` field. The source is also displayed in the **Manage file imports** pane. For more information, see [Work with threat indicators](work-with-threat-indicators.md#find-and-view-your-indicators-in-logs).
68
73
69
-
1. Choose how you want Microsoft Sentinel to handle invalid indicator entries by selecting one of the buttons at the bottom of the **Import using a file** pane:
74
+
1. Choose how you want Microsoft Sentinel to handle invalid entries by selecting one of the buttons at the bottom of the **Import using a file** pane:
70
75
71
-
- Import only the valid indicators and leave aside any invalid indicators from the file.
72
-
- Don't import any indicators if a single indicator in the file is invalid.
76
+
- Import only the valid entries and leave aside any invalid entries from the file.
77
+
- Don't import any entries if a single object in the file is invalid.
73
78
74
79
:::image type="content" source="media/indicators-bulk-file-import/upload-file-pane.png" alt-text="Screenshot that shows the dropdown menu to upload a CSV or JSON file, choose a template, and specify a source highlighting the Import button.":::
75
80
@@ -83,19 +88,19 @@ Monitor your imports and view error reports for partially imported or failed imp
83
88
84
89
:::image type="content" source="media/indicators-bulk-file-import/manage-file-imports.png" alt-text="Screenshot that shows the menu option to manage file imports.":::
85
90
86
-
1. Review the status of imported files and the number of invalid indicator entries. The valid indicator count is updated after the file is processed. Wait for the import to finish to get the updated count of valid indicators.
91
+
1. Review the status of imported files and the number of invalid entries. The valid entry count is updated after the file is processed. Wait for the import to finish to get the updated count of valid entries.
87
92
88
93
:::image type="content" source="media/indicators-bulk-file-import/manage-file-imports-pane.png" alt-text="Screenshot that shows the Manage file imports pane with example ingestion data. The columns show sorted by imported number with various sources.":::
89
94
90
-
1. View and sort imports by selecting **Source**, the indicator file **Name**, the number **Imported**, the **Total** number of indicators in each file, or the **Created** date.
95
+
1. View and sort imports by selecting **Source**, the threat intelligence file **Name**, the number **Imported**, the **Total** number of entries in each file, or the **Created** date.
91
96
92
-
1. Select the preview of the error file or download the error file that contains the errors about invalid indicators.
97
+
1. Select the preview of the error file or download the error file that contains the errors about invalid entries.
93
98
94
99
Microsoft Sentinel maintains the status of the file import for 30 days. The actual file and the associated error file are maintained in the system for 24 hours. After 24 hours, the file and the error file are deleted, but any ingested indicators continue to show in threat intelligence.
95
100
96
101
## Understand the import templates
97
102
98
-
Review each template to ensure that your indicators are imported successfully. Be sure to reference the instructions in the template file and the following supplemental guidance.
103
+
Review each template to ensure that your threat intelligence is imported successfully. Be sure to reference the instructions in the template file and the following supplemental guidance.
99
104
100
105
### CSV template structure
101
106
@@ -120,17 +125,19 @@ Phishing,"demo, csv",MDTI article - Franken-Phish domainname,Entity appears in M
120
125
121
126
### JSON template structure
122
127
123
-
1. There's only one JSON template for all indicator types. The JSON template is based on the STIX 2.1 format.
128
+
1. There's only one JSON template for all STIX object types. The JSON template is based on the STIX 2.1 format.
124
129
125
-
1. The `pattern` element supports indicator types of `file`, `ipv4-addr`, `ipv6-addr`, `domain-name`, `url`, `user-account`, `email-addr`, and `windows-registry-key`.
130
+
1. The `type` element supports `indicator`, `attack-pattern`, `identity`, `threat-actor`, and `relationship`.
131
+
132
+
1. For indicators, the `pattern` element supports indicator types of `file`, `ipv4-addr`, `ipv6-addr`, `domain-name`, `url`, `user-account`, `email-addr`, and `windows-registry-key`.
126
133
127
134
1. Remove the template comments before upload.
128
135
129
-
1. Close the last indicator in the array by using the `}` without a comma.
136
+
1. Close the last object in the array by using the `}` without a comma.
130
137
131
138
The maximum file size for a JSON file import is 250 MB.
132
139
133
-
Here's an example `ipv4-addr` indicator that uses the JSON template:
140
+
Here's an example `ipv4-addr` indicator and `attack-pattern` using the JSON file format:
134
141
135
142
```json
136
143
[
@@ -161,13 +168,67 @@ Here's an example `ipv4-addr` indicator that uses the JSON template:
"description": "menuPass appears to favor spear phishing to deliver payloads to the intended targets. While the attackers behind menuPass have used other RATs in their campaign, it appears that they use PIVY as their primary persistence mechanism.",
In this article, you learned how to manually bolster your threat intelligence by importing indicators gathered in flat files. To learn more about how indicators power other analytics in Microsoft Sentinel, see the following articles:
231
+
In this article, you learned how to manually bolster your threat intelligence by importing indicators and other STIX objects gathered in flat files. To learn more about how threat intelligence powers other analytics in Microsoft Sentinel, see the following articles:
171
232
172
233
-[Work with threat indicators in Microsoft Sentinel](work-with-threat-indicators.md)
173
234
-[Threat indicators for cyber threat intelligence in Microsoft Sentinel](/azure/architecture/example-scenario/data/sentinel-threat-intelligence)
0 commit comments