Skip to content

Commit ebdf22e

Browse files
Merge remote-tracking branch 'origin/master' into users/v-rodrigolop/airlock
2 parents c2a27ff + c092be8 commit ebdf22e

108 files changed

Lines changed: 10240 additions & 2360 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.script/tests/KqlvalidationsTests/CustomTables/VaronisAlerts_CL.json

Lines changed: 71 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,84 +6,132 @@
66
"Type": "DateTime"
77
},
88
{
9-
"Name": "DeviceName_s",
9+
"Name": "AlertId_g",
1010
"Type": "String"
1111
},
1212
{
13-
"Name": "ID_g",
13+
"Name": "ThreatDetectionPolicyName_s",
1414
"Type": "String"
1515
},
1616
{
17-
"Name": "Name_s",
17+
"Name": "AlertTime_t",
18+
"Type": "DateTime"
19+
},
20+
{
21+
"Name": "AlertSeverity_s",
1822
"Type": "String"
1923
},
2024
{
21-
"Name": "Time_t",
22-
"Type": "DateTime"
25+
"Name": "AlertCategory_s",
26+
"Type": "String"
2327
},
2428
{
25-
"Name": "Severity_s",
29+
"Name": "Countries_s",
2630
"Type": "String"
2731
},
2832
{
29-
"Name": "SeverityId_d",
30-
"Type": "Real"
33+
"Name": "States_s",
34+
"Type": "String"
3135
},
3236
{
3337
"Name": "Status_s",
3438
"Type": "String"
3539
},
3640
{
37-
"Name": "StatusId_d",
38-
"Type": "Real"
41+
"Name": "CloseReason_s",
42+
"Type": "String"
43+
},
44+
{
45+
"Name": "BlacklistedLocation_b",
46+
"Type": "Boolean"
47+
},
48+
{
49+
"Name": "AbnormalLocations_s",
50+
"Type": "String"
51+
},
52+
{
53+
"Name": "EventsCount_d",
54+
"Type": "Double"
55+
},
56+
{
57+
"Name": "PrivilegedAccountType_s",
58+
"Type": "String"
3959
},
4060
{
41-
"Name": "NumOfAlertedEvents_d",
42-
"Type": "Real"
61+
"Name": "UserNames_s",
62+
"Type": "String"
4363
},
4464
{
45-
"Name": "UserName_s",
65+
"Name": "UserSamAccountNames_s",
4666
"Type": "String"
4767
},
4868
{
49-
"Name": "SamAccountName_s",
69+
"Name": "ContainsMaliciousExternalIPs_b",
70+
"Type": "Boolean"
71+
},
72+
{
73+
"Name": "AggregatedExternalIPThreatTypes_s",
5074
"Type": "String"
5175
},
5276
{
53-
"Name": "Asset_s",
77+
"Name": "Assets_s",
5478
"Type": "String"
5579
},
5680
{
57-
"Name": "AssetContainsFlaggedData_s",
81+
"Name": "FlaggedDataExposed_s",
5882
"Type": "String"
5983
},
6084
{
61-
"Name": "AssetContainsSensitiveData_s",
85+
"Name": "SensitiveDataExposed_s",
6286
"Type": "String"
6387
},
6488
{
65-
"Name": "Platform_s",
89+
"Name": "DataSourceTypes_s",
6690
"Type": "String"
6791
},
6892
{
69-
"Name": "FileServerOrDomain_s",
93+
"Name": "DataSources_s",
7094
"Type": "String"
7195
},
7296
{
73-
"Name": "EventUTC_t",
97+
"Name": "DeviceNames_s",
98+
"Type": "String"
99+
},
100+
{
101+
"Name": "InitialEventTimeUTC_t",
74102
"Type": "DateTime"
75103
},
76104
{
77-
"Name": "IngestTime_t",
105+
"Name": "AccountsHaveFollowUpIndicators_s",
106+
"Type": "String"
107+
},
108+
{
109+
"Name": "AlertTimeUTC_t",
110+
"Type": "DateTime"
111+
},
112+
{
113+
"Name": "InitialEventTime_t",
78114
"Type": "DateTime"
79115
},
80116
{
81-
"Name": "Query_s",
117+
"Name": "AssignedtoVaronis_b",
118+
"Type": "Boolean"
119+
},
120+
{
121+
"Name": "EscalationType_s",
122+
"Type": "String"
123+
},
124+
{
125+
"Name": "MitreTacticName_s",
82126
"Type": "String"
83127
},
84128
{
85-
"Name": "Category",
129+
"Name": "ClosedBy_s",
86130
"Type": "String"
131+
},
132+
{
133+
"Name": "IngestTime_t",
134+
"Type": "DateTime"
87135
}
88136
]
89137
}

.script/tests/detectionTemplateSchemaValidation/ValidConnectorIds.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,6 @@
327327
"GambitSecurityPush",
328328
"TailscaleCCF",
329329
"TailscalePremiumCCF",
330-
"WhisperSecurityConnector"
330+
"WhisperSecurityConnector",
331+
"VaronisSaaSAlertsPush"
331332
]

Solutions/Azure Firewall/Analytic Rules/Azure Firewall - Abnormal Port to Protocol.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ query: |
6868
| join kind=leftouter (LearningPortToProtocol1) on $left.AlertTimeDstPort == $right.LearningTimeDstPort
6969
| where LearningTimeProtocol != AlertTimeProtocol),
7070
(AlertTimePortToProtocol2
71-
| join kind=leftouter (LearningPortToProtocol2) on $left.AlertTimeDstPort == $right.LearningTimeDstPort
72-
| where LearningTimeProtocol != AlertTimeProtocol),
71+
| join kind=leftanti (LearningPortToProtocol2) on $left.AlertTimeDstPort == $right.LearningTimeDstPort, $left.AlertTimeProtocol == $right.LearningTimeProtocol),
7372
(AlertTimePortToProtocol3
7473
| join kind=leftouter (LearningPortToProtocol3) on $left.AlertTimeDstPort == $right.LearningTimeDstPort
7574
| where LearningTimeProtocol != AlertTimeProtocol))
@@ -88,5 +87,5 @@ customDetails:
8887
alertDetailsOverride:
8988
alertDisplayNameFormat: 'Abnormal Port to Protocol Communication Detected from {{SourceIp}} to {{Fqdn}}'
9089
alertDescriptionFormat: 'Communication was observed over port {{AlertTimeDstPort}} using protocol {{AlertTimeProtocol}}, which is different from the protocol observed during the learning period. This could indicate potential malicious activity such as C2 communication or data exfiltration.'
91-
version: 1.1.4
90+
version: 1.1.5
9291
kind: Scheduled

Solutions/Azure Firewall/Analytic Rules/SeveralDenyActionsRegistered.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,28 @@ relevantTechniques:
2525
- T1071
2626
- T1210
2727
query: |
28-
let threshold = 1;
28+
let threshold = 2;
2929
union isfuzzy=true(
3030
AZFWApplicationRule
3131
| where Action == "Deny"
3232
| summarize StartTime = min(TimeGenerated), count() by SourceIp, Fqdn, Action, Protocol
33-
| where count_ >= ["threshold"]),
33+
| where count_ >= threshold),
3434
(AZFWNetworkRule
3535
| where Action == "Deny"
3636
| extend Fqdn = DestinationIp
37-
| summarize StartTime = min(TimeGenerated), count() by SourceIp, Fqdn, Action, Protocol
38-
| where count_ >= ["threshold"]),
37+
| summarize StartTime = min(TimeGenerated), count_ = dcount(DestinationPort), Protocols = make_set(Protocol) by SourceIp, Fqdn, Action
38+
| where count_ >= threshold
39+
| extend Protocol = strcat_array(Protocols, "/")),
3940
(AZFWFlowTrace
4041
| where Action == "Deny"
4142
| extend Fqdn = DestinationIp
4243
| summarize StartTime = min(TimeGenerated), count() by SourceIp, Fqdn, Action, Protocol
43-
| where count_ >= ["threshold"]),
44+
| where count_ >= threshold),
4445
(AZFWIdpsSignature
4546
| where Action == "Deny"
4647
| extend Fqdn = DestinationIp
4748
| summarize StartTime = min(TimeGenerated), count() by SourceIp, Fqdn, Action, Protocol
48-
| where count_ >= ["threshold"]),
49+
| where count_ >= threshold),
4950
(AzureDiagnostics
5051
| where OperationName in ("AzureFirewallApplicationRuleLog","AzureFirewallNetworkRuleLog")
5152
| extend msg_s_replaced0 = replace(@"\s\s",@" ",msg_s)
@@ -56,7 +57,7 @@ query: |
5657
| where Action == "Deny"
5758
| extend Fqdn = iff(DestinationIp matches regex "\\d+\\.\\d+\\.\\d+\\.\\d+","",DestinationIp)
5859
| summarize StartTime = min(TimeGenerated), count() by SourceIp, Fqdn, Action, Protocol
59-
| where count_ >= ["threshold"])
60+
| where count_ >= threshold)
6061
entityMappings:
6162
- entityType: IP
6263
fieldMappings:
@@ -71,5 +72,5 @@ customDetails:
7172
alertDetailsOverride:
7273
alertDisplayNameFormat: 'Multiple Deny Actions Detected from {{SourceIp}} to {{Fqdn}}'
7374
alertDescriptionFormat: 'Source IP {{SourceIp}} has triggered multiple deny actions to destination {{Fqdn}} using protocol {{Protocol}}, which may indicate malicious activity such as lateral movement or reconnaissance.'
74-
version: 1.1.2
75+
version: 1.1.3
7576
kind: Scheduled

Solutions/Azure Firewall/Data/Solution_AzureFirewall.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"Analytic Rules/Azure Firewall - Web Application attack detected.yaml"
3838
],
3939
"BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\Azure Firewall",
40-
"Version": "3.0.5",
40+
"Version": "3.0.7",
4141
"Metadata": "SolutionMetadata.json",
4242
"TemplateSpec": true,
4343
"StaticDataConnectorIds": [
82.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)