Skip to content

Commit

Permalink
Merge pull request #5 from Samsung/feature-fix-validations
Browse files Browse the repository at this point in the history
updated AnalyticsRule, fix validations and repackage
  • Loading branch information
sean-mcclelland authored Dec 20, 2024
2 parents fec8111 + 4d0fc2e commit ea4296e
Show file tree
Hide file tree
Showing 23 changed files with 282 additions and 319 deletions.
Original file line number Diff line number Diff line change
@@ -1,76 +1,71 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_Application_CL",
"columns": [
{
"name": "TimeGenerated",
"type": "DateTime",
"isDefaultDisplay": true,
"description": "The timestamp (UTC) reflecting the time in which the event was generated."
},
{
"name": "PrimaryImei",
"type": "string"
},
{
"name": "DeviceImei1",
"type": "string"
},
{
"name": "DeviceImei2",
"type": "string"
},
{
"name": "DeviceSerialNumber",
"type": "string"
},
{
"name": "DeviceWifimac",
"type": "string"
},
{
"name": "DeviceModel",
"type": "string"
},
{
"name": "EventGuid",
"type": "long"
},
{
"name": "Name",
"type": "string"
},
{
"name": "Version",
"type": "string"
},
{
"name": "Severity",
"type": "string"
},
{
"name": "MitreTtp",
"type": "dynamic"
},
{
"name": "Profile",
"type": "string"
},
{
"name": "PkgName",
"type": "string"
},
{
"name": "AccessibilityApi",
"type": "string"
},
{
"name": "RestrictedPerms",
"type": "dynamic"
}
]
},
"plan": "Analytics"
}
}
"Name": "Samsung_Knox_Application_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
"isDefaultDisplay": true,
"description": "The timestamp (UTC) reflecting the time in which the event was generated."
},
{
"name": "PrimaryImei",
"type": "string"
},
{
"name": "DeviceImei1",
"type": "string"
},
{
"name": "DeviceImei2",
"type": "string"
},
{
"name": "DeviceSerialNumber",
"type": "string"
},
{
"name": "DeviceWifimac",
"type": "string"
},
{
"name": "DeviceModel",
"type": "string"
},
{
"name": "EventGuid",
"type": "long"
},
{
"name": "Name",
"type": "string"
},
{
"name": "Version",
"type": "string"
},
{
"name": "Severity",
"type": "string"
},
{
"name": "MitreTtp",
"type": "dynamic"
},
{
"name": "Profile",
"type": "string"
},
{
"name": "PkgName",
"type": "string"
},
{
"name": "AccessibilityApi",
"type": "string"
},
{
"name": "RestrictedPerms",
"type": "dynamic"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_Audit_CL",
"columns": [
"Name": "Samsung_Knox_Audit_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
Expand Down Expand Up @@ -85,8 +83,5 @@
"name": "PkgName",
"type": "string"
}
]
},
"plan": "Analytics"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_Network_CL",
"columns": [
"Name": "Samsung_Knox_Network_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
Expand Down Expand Up @@ -133,8 +131,5 @@
"name": "SocketType",
"type": "int"
}
]
},
"plan": "Analytics"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_Process_CL",
"columns": [
"Name": "Samsung_Knox_Process_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
Expand Down Expand Up @@ -141,8 +139,5 @@
"name": "Ctime",
"type": "DateTime"
}
]
},
"plan": "Analytics"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_System_CL",
"columns": [
"Name": "Samsung_Knox_System_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
Expand Down Expand Up @@ -233,8 +231,5 @@
"name": "AvbVerityMode",
"type": "string"
}
]
},
"plan": "Analytics"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"properties": {
"schema": {
"name": "Samsung_Knox_User_CL",
"columns": [
"Name": "Samsung_Knox_User_CL",
"Properties": [
{
"name": "TimeGenerated",
"type": "DateTime",
Expand Down Expand Up @@ -73,8 +71,5 @@
"name": "UrlType",
"type": "int"
}
]
},
"plan": "Analytics"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ id: 215e89ca-cdbc-4661-b8b2-7041f6ecc7fb
name: Knox Application Privilege Escalation or Change
version: 1.0.0
kind: NRT
description: When a Knox mobile app has transitioned from an acceptable uid/esuid/fsuid to a different, non-App id.
description: |
When a Knox mobile app has transitioned from an acceptable uid/esuid/fsuid to a different, non-App id.
severity: High
status: Available
requiredDataConnectors:
- connectorId: SamsungDCDefinition
dataTypes:
- Samsung_Knox_Audit_CL
- Samsung_Knox_Process_CL
tactics:
- PrivilegeEscalation
relevantTechniques:
- T1548
query: |
Samsung_Knox_Process_CL | where Name == "PROCESS_PRIVILEGE_ESCALATION" and MitreTtp has "T1548"
Samsung_Knox_Process_CL
| where Name == "PROCESS_PRIVILEGE_ESCALATION"
| where MitreTtp has "T1548"
suppressionEnabled: false
suppressionDuration: 5h
incidentConfiguration:
Expand All @@ -25,5 +28,4 @@ incidentConfiguration:
lookbackDuration: 5h
matchingMethod: AllEntities
eventGroupingSettings:
aggregationKind: SingleAlert

aggregationKind: SingleAlert
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ requiredDataConnectors:
dataTypes:
- Samsung_Knox_Audit_CL
tactics:
- InitialAccess
- InitialAccess
relevantTechniques:
- T1461
- T1461
query: |
Samsung_Knox_Audit_CL | where Name == "TAG_KEYGUARD_DISABLED_FEATURES_SET" and MitreTtp has "T1461"
Samsung_Knox_Audit_CL
| where Name == "TAG_KEYGUARD_DISABLED_FEATURES_SET"
and MitreTtp has "T1461"
suppressionEnabled: false
suppressionDuration: 5h
incidentConfiguration:
Expand All @@ -25,5 +27,4 @@ incidentConfiguration:
lookbackDuration: 5h
matchingMethod: AllEntities
eventGroupingSettings:
aggregationKind: SingleAlert

aggregationKind: SingleAlert
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ id: fae7e371-aee8-4d3f-8311-2255a45a30b3
name: Knox Mobile Device Boot Compromise
version: 1.0.0
kind: NRT
description: When Knox device boot binary is at risk of compromise.
description: |
'When Knox device boot binary is at risk of compromise.'
severity: High
status: Available
requiredDataConnectors:
- connectorId: SamsungDCDefinition
dataTypes:
- Samsung_Knox_System_CL
tactics:
- Persistence
- Persistence
relevantTechniques:
- T1645
- T1645
query: |
Samsung_Knox_System_CL | where Name == "BOOT_COMPROMISED_SOFTWARE_BINARY" and MitreTtp has "T1645"
Samsung_Knox_System_CL
| where Name == "BOOT_COMPROMISED_SOFTWARE_BINARY"
and MitreTtp has "T1645"
suppressionEnabled: false
suppressionDuration: 5h
incidentConfiguration:
Expand All @@ -25,5 +28,4 @@ incidentConfiguration:
lookbackDuration: 5h
matchingMethod: AllEntities
eventGroupingSettings:
aggregationKind: SingleAlert

aggregationKind: SingleAlert
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ id: fbff0a97-1972-4df8-a78c-254ccb9879ef
name: Knox Password Lockout
version: 1.0.0
kind: NRT
description: When maximum password attempts have reached and the Knox device is locked out. This is based on the threshold set by the MDM policy.
description: |
'When maximum password attempts have reached and the Knox device is locked out. This is based on the threshold set by the MDM policy.'
severity: High
status: Available
requiredDataConnectors:
Expand All @@ -14,7 +15,9 @@ tactics:
relevantTechniques:
- T1110
query: |
Samsung_Knox_User_CL | where Name == "PASSWORD_LOCKOUT" and MitreTtp has "T1110"
Samsung_Knox_User_CL
| where Name == "PASSWORD_LOCKOUT"
and MitreTtp has "T1110"
suppressionEnabled: false
suppressionDuration: 5h
incidentConfiguration:
Expand Down
Loading

0 comments on commit ea4296e

Please sign in to comment.