Skip to content

Commit

Permalink
Merge pull request #104 from JupiterOne/mikiodehartj1-patch-3
Browse files Browse the repository at this point in the history
merged 2 new rule packs for Trellix and Armis integrations
  • Loading branch information
SeaBlooms authored Mar 1, 2024
2 parents c35e999 + d2c6947 commit 9bf0e66
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 0 deletions.
86 changes: 86 additions & 0 deletions rule-packs/armis-endpoint-security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
[
{
"name": "armis-device-1",
"description": "This will find endpoints that are considered a high risk. These devices will require immediate action.",
"queries": [
{
"name": "query0",
"query": "FIND armis_device as device THAT RELATES TO armis_finding_vulnerability WITH status != 'Closed' AND numericSeverity >= 7 as vuln",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "armis-device-2",
"description": "This will find and alert on endpoints that have active findings of a severity of high or critical. ",
"queries": [
{
"name": "query0",
"query": "FIND armis_device as device THAT RELATES TO armis_finding_alert WITH status = 'Unhandled' AND numericSeverity >= 7 as alert",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "armis-device-3",
"description": "This will find and alert on endpoints that have a policy violation.",
"queries": [
{
"name": "query0",
"query": "FIND armis_device as device THAT RELATES TO armis_finding_alert WITH description ~= 'policy' AND numericSeverity >= 7 as alert",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "armis-vuln-1",
"description": "This will find and alert on new vulnerabilities that are high or critical. ",
"queries": [
{
"name": "query0",
"query": "FIND armis_finding_vulnerability WITH status != 'Closed' AND numericSeverity >= 7 as vuln",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "armis-vuln-2",
"description": "This will alert on vulnerabilities that have not been addressed withing 7 days of first report. ",
"queries": [
{
"name": "query0",
"query": "FIND armis_finding_vulnerability WITH status != 'Resolved' and _createdOn > date.now - 7 days",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "armis-alert-1",
"description": "This will find and report on high or critical alerts.",
"queries": [
{
"name": "query0",
"query": "FIND armis_finding_alert WITH status != 'Closed' AND numericSeverity >= 7 as vuln",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "armis-alert-2",
"description": "This will find and report on high or critical alerts that have not been addressed within 7 days of first report.",
"queries": [
{
"name": "query0",
"query": "FIND armis_finding_alert WITH status = 'Unhandled' and _createdOn > date.now - 7 days",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
}
]
2 changes: 2 additions & 0 deletions rule-packs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ module.exports.ToxicCombinations = require("./toxic-combinations.json");
module.exports.DeviceManagement = require("./device-management.json");
module.exports.IntegrationMonitoring = require("./integration-monitoring.json");
module.exports.SophosEndpointSecurity = require("./sophos-endpoint-security.json");
module.exports.ArmisEndpointSecurity = require("./armis-endpoint-security.json");
module.exports.TrellixEndpointSecurity = require("./trellix-endpoint-security.json");
110 changes: 110 additions & 0 deletions rule-packs/trellix-endpoint-security.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
[
{
"name": "trellix-threats-1",
"description": "This query will return threats with an unresolved status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = 'unresolved'",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-2",
"description": "This query will return unresolved threats with a criticality status of major or higher",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH status = ('Critical' or 'Major')",
"version": "v1"
}
],
"alertLevel": "HIGH"
},
{
"name": "trellix-threats-3",
"description": "This query will return threats that require immediate attention due to a failure to quarantine or remove",
"queries": [
{
"name": "query0",
"query": "FIND trellix_threat WITH remediationStatus = ('removedFailed' or 'quarantineFailed')",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-4",
"description": "This will return Devices that have a non-compliant software status",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT INSTALLED trellix_detected_application with complianceStatus = false",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-5",
"description": "This will return trellix endpoints that do not have a trellix agent installed",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !INSTALLED trellix_detected_application",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-6",
"description": "This will return trellix endpoints that have not reported a threat in the last 2 weeks. This may be due to a device that is no longer active, or is reporting incorrectly.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT EXPLOITS << trellix_threat WITH createdOn > DATE.now - 14 days",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-7",
"description": "This will alert when a device is First Seen.",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device WITH createdOn < DATE.now - 24 hours as device return device.name, device.user",
"version": "v1"
}
],
"alertLevel": "INFO"
},
{
"name": "trellix-threats-8",
"description": "All devices should be under a group. This will notifiy if a trellix device is not associated with a trellix group",
"queries": [
{
"name": "query0",
"query": "FIND trellix_device THAT !ASSIGNED trellix_group",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
},
{
"name": "trellix-threats-9",
"description": "Look for potential Expired API keys.",
"queries": [
{
"name": "query0",
"query": "FIND (trellix_apiKey|trellix_mobileApiKey) WITH expiredOn = true OR startDate > DATE.now - 365 days",
"version": "v1"
}
],
"alertLevel": "MEDIUM"
}
]

0 comments on commit 9bf0e66

Please sign in to comment.