Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
fe3c5dc
iotAlertType
May 20, 2020
0f4d493
alert type example
May 20, 2020
57a561f
add alertType to readme
May 20, 2020
f876163
Autorest warnings
May 20, 2020
653583f
Autorest warnings (2)
May 20, 2020
fe9923e
fix description
May 20, 2020
e4e7fcd
iotAlert
May 21, 2020
1cbe443
examples
May 21, 2020
faa57cb
autorest warnings
May 21, 2020
a39d38d
added to readme
May 21, 2020
779024e
update example
May 21, 2020
72d41b4
May 21, 2020
c5639c1
removed vendor
May 21, 2020
6b1fcb0
fix example types
May 22, 2020
53008c7
Updates
May 24, 2020
7ffae80
remove vendor
May 24, 2020
4fd20cd
Merge branch 'master' into alerts-2019-08-01
May 25, 2020
dcb35e9
fix def reference
May 25, 2020
fe611d7
updates
May 25, 2020
8947bdc
limit and properties property
May 31, 2020
bd0a0d6
Remove alert type list
May 31, 2020
7c7b62f
Merge branch 'master' into alerts-2019-08-01
May 31, 2020
d00ba92
extended properties vs entities
May 31, 2020
1f80c4b
Description
May 31, 2020
7cc807d
entities
May 31, 2020
240f377
Ran prettier
May 31, 2020
9ef922d
format
May 31, 2020
1aae08b
Merge branch 'master' into alerts-2019-08-01
Jun 9, 2020
62a66e7
Added totalCount, fixed nextLink example
Jun 9, 2020
007ba26
Merge branch 'master' into alerts-2019-08-01
Jun 11, 2020
8b36671
Update types
Jun 11, 2020
0ceb11c
move examples
Jun 11, 2020
8ce9273
List alert types
Jun 11, 2020
59c5810
example paths
Jun 11, 2020
b7e5b78
Update tags
Jun 11, 2020
eace64f
warnings
Jun 11, 2020
61d65de
fix example
Jun 11, 2020
ca71dc5
prettier
Jun 11, 2020
b72787c
case sensitive
Jun 11, 2020
ec9f888
Merge branch 'master' into alerts-2019-08-01
Jun 21, 2020
2025638
Example name
Jun 21, 2020
a9ed504
Merge branch 'master' into alerts-2019-08-01
Jun 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"type": "Microsoft.Security/IoTSecurityAggregatedAlert",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedAlerts",
"properties": {
"alertType": "IoT_Bruteforce_Fail",
"alertDisplayName": "Failed Bruteforce",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"type": "Microsoft.Security/IoTSecurityAggregatedAlert",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedAlerts",
"properties": {
"alertType": "IoT_Bruteforce_Fail",
"alertDisplayName": "Failed Bruteforce",
Expand Down Expand Up @@ -43,7 +43,7 @@
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Success/2019-02-02",
"type": "Microsoft.Security/IoTSecurityAggregatedAlert",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedAlerts",
"properties": {
"alertType": "IoT_Bruteforce_Success",
"alertDisplayName": "Successful Bruteforce",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
"type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModel",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels",
"properties": {
"metrics": {
"high": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default",
"type": "Microsoft.Security/IoTSecuritySolutionAnalyticsModelList",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels",
"properties": {
"metrics": {
"high": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"body": {
"id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
"name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
"type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedRecommendations",
"properties": {
"recommendationName": "OpenPortsOnDevice",
"recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
"name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
"type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedRecommendations",
"properties": {
"recommendationName": "OpenPortsOnDevice",
"recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
Expand All @@ -29,7 +29,7 @@
{
"id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/TooLargeIPRange",
"name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_InstallAgent",
"type": "Microsoft.Security/IoTSecurityAggregatedRecommendation",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedRecommendations",
"properties": {
"recommendationName": "TooLargeIPRange",
"recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2019-08-01",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "myGroup",
"solutionName": "mySolution",
"iotAlertTypeName": "IoT_PrivilegedContainer"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotAlertTypes/IoT_PrivilegedContainer",
"name": "IoT_PrivilegedContainer",
"type": "Microsoft.Security/iotSecuritySolutions/iotAlertTypes",
"properties": {
"alertDisplayName": "Privileged container detected",
"severity": "Medium",
"description": "Machine logs indicate that a privileged Docker container is running. A privileged container has full access to host resources. If compromised, a malicious actor can use the privileged container to gain access to the host machine.",
"providerName": "IoTSecurity",
"remediationSteps": [
"If the container doesn't need to run in privileged mode, remove the privileges from the container."
],
"intent": "Exploitation,Execution",
"vendorName": "Microsoft"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2019-08-01",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "myGroup",
"solutionName": "mySolution"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotAlertTypes",
"name": "IoT_PrivilegedContainer",
"type": "Microsoft.Security/iotSecuritySolutions/iotAlertTypes",
"properties": {
"alertDisplayName": "Privileged container detected",
"severity": "Medium",
"description": "Machine logs indicate that a privileged Docker container is running. A privileged container has full access to host resources. If compromised, a malicious actor can use the privileged container to gain access to the host machine.",
"providerName": "IoTSecurity",
"remediationSteps": [
"If the container doesn't need to run in privileged mode, remove the privileges from the container."
],
"intent": "Exploitation,Execution",
"vendorName": "Microsoft"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2019-08-01",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "myGroup",
"solutionName": "mySolution",
"iotAlertId": "903e76ff-17eb-4bac-ac8a-2bc31ab68fd8"
},
"responses": {
"200": {
"body": {
"properties": {
"systemAlertId": "903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
"compromisedEntity": "device-1",
"alertType": "IoT_PrivilegedContainer",
"startTimeUtc": "2020-05-13T06:32:25Z",
"endTimeUtc": "2020-05-13T06:32:25Z",
"entities": [
{
"$id": "1",
"CommandLine": "docker run --privileged",
"Type": "process"
}
],
"extendedProperties": {
"CommandLine": "docker run --privileged",
"User Name": "aUser",
"UserId": "",
"ParentProcessId": 1593,
"DeviceId": "device-1"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2019-08-01",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "myGroup",
"solutionName": "mySolution",
"alertType": "IoT_PrivilegedContainer",
"startTimeUtc>": "2020-05-12T06:32:25Z",
"startTimeUtc<": "2020-05-14T06:32:25Z",
"$limit": 1
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"systemAlertId": "903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
"compromisedEntity": "device-1",
"alertType": "IoT_PrivilegedContainer",
"startTimeUtc": "2020-05-13T06:32:25Z",
"endTimeUtc": "2020-05-13T06:32:25Z",
"entities": [
{
"$id": "1",
"CommandLine": "docker run --privileged",
"Type": "process"
}
],
"extendedProperties": {
"CommandLine": "docker run --privileged",
"User Name": "aUser",
"UserId": "",
"ParentProcessId": 1593,
"DeviceId": "device-1"
}
}
}
],
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotAlerts?api-version=2019-08-01&alertType=IoT_PrivilegedContainer&startTimeUtc>=2020-05-12T06:32:25Z&startTimeUtc<=2020-05-14T06:32:25Z&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
"totalCount": 23
}
}
}
}
Loading