-
Notifications
You must be signed in to change notification settings - Fork 678
[New] Unusual Network Connection to Suspicious Top Level Domain #4563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Mikaayenson
merged 17 commits into
main
from
first-occurrence-network-connection-to-sus-TLD
Apr 3, 2025
Merged
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
560a0d0
[New] Unusual Network Connection to Suspicious Top Level Domain
DefSecSentinel 34f78a0
update kql
DefSecSentinel b9cb437
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 99f0f0c
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 707928a
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel 97b6b8e
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 1c629ef
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel eb1655d
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 8a27b45
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel a26b22e
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel a7e5742
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 00d2a43
Update rules/macos/command_and_control_unusual_connection_to_suspicio…
DefSecSentinel 2730370
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel 856d853
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel fe6025d
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
DefSecSentinel 515653d
Update rule threat order
eric-forte-elastic 38f95ac
Merge branch 'main' into first-occurrence-network-connection-to-sus-TLD
Mikaayenson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
rules/macos/command_and_control_unusual_connection_to_suspicious_top_level_domain.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| [metadata] | ||
| creation_date = "2025/03/25" | ||
| integration = ["endpoint"] | ||
| maturity = "production" | ||
| updated_date = "2025/03/25" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| This rule monitors for the unusual occurrence of outbound network connections to suspicious top level domains. | ||
| """ | ||
| from = "now-9m" | ||
| index = ["logs-endpoint.events.*"] | ||
| language = "kuery" | ||
| license = "Elastic License v2" | ||
| name = "Unusual Network Connection to Suspicious Top Level Domain" | ||
| risk_score = 67 | ||
|
DefSecSentinel marked this conversation as resolved.
Outdated
|
||
| rule_id = "ffa676dc-09b0-11f0-94ba-b66272739ecb" | ||
| severity = "medium" | ||
| tags = [ | ||
| "Domain: Endpoint", | ||
| "OS: macOS", | ||
| "Use Case: Threat Detection", | ||
| "Tactic: Command and Control", | ||
| "Data Source: Elastic Defend", | ||
|
DefSecSentinel marked this conversation as resolved.
Outdated
|
||
| "Resources: Investigation Guide", | ||
|
DefSecSentinel marked this conversation as resolved.
Outdated
DefSecSentinel marked this conversation as resolved.
Outdated
|
||
| ] | ||
| timestamp_override = "event.ingested" | ||
| type = "new_terms" | ||
| query = ''' | ||
| event.category : "network" and host.os.type : "macos" and event.type : "start" and | ||
| destination.domain : (*.team or *.lol or *.kr or *.ke or *.nu or *.space or | ||
| *.capital or *.in or *.cfd or *.online or *.ru or | ||
| *.info or *.top or *.buzz or *.xyz or *.rest or | ||
| *.ml or *.cf or *.gq or *.ga or *.onion or | ||
| *.network or *.monster or *.marketing or *.cyou or | ||
| *.quest or *.cc or *.bar or *.click or *.cam or | ||
| *.surf or *.tk or *.shop or *.club or *.icu or | ||
| *.pw or *.ws or *.hair or *.mom or | ||
| *.beauty or *.boats or *.fun or *.life or | ||
| *.store) | ||
| ''' | ||
|
|
||
| [[rule.threat]] | ||
| framework = "MITRE ATT&CK" | ||
|
|
||
| [[rule.threat.technique.subtechnique]] | ||
| id = "T1071.001" | ||
| name = "Web Protocols" | ||
| reference = "https://attack.mitre.org/techniques/T1071/001/" | ||
|
|
||
| [[rule.threat.technique]] | ||
| id = "T1071" | ||
| name = "Application Layer Protocol" | ||
| reference = "https://attack.mitre.org/techniques/T1071/" | ||
|
|
||
| [rule.threat.tactic] | ||
| id = "TA0011" | ||
| name = "Command and Control" | ||
| reference = "https://attack.mitre.org/tactics/TA0011/" | ||
|
|
||
| [rule.new_terms] | ||
| field = "new_terms_fields" | ||
| value = ["host.id", "process.executable"] | ||
|
DefSecSentinel marked this conversation as resolved.
Outdated
|
||
|
|
||
| [[rule.new_terms.history_window_start]] | ||
| field = "history_window_start" | ||
| value = "now-7d" | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.