-
Notifications
You must be signed in to change notification settings - Fork 674
[New Rule] Microsoft 365 Teams External Access Enabled #661
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
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
559a2c3
[New Rule] O365 Teams External Access Enabled
b7390ed
Merge branch 'main' into o365-external-access-enabled
3b056bf
rebrand to m365, still needed non ecs schema
e3fed6a
update description
14730ab
Merge branch 'main' into o365-external-access-enabled
bm11100 d4937bd
remove non ecs change
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
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
51 changes: 51 additions & 0 deletions
51
rules/microsoft-365/persistence_microsoft_365_teams_external_access_enabled.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,51 @@ | ||
| [metadata] | ||
| creation_date = "2020/11/30" | ||
| maturity = "production" | ||
| updated_date = "2020/11/30" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| Identifies when external access is enabled in Microsoft Teams. External access lets Teams and Skype for Business users | ||
| communicate with other users that are outside their organization. An adversary may enable external access or add an | ||
| allowed domain to exfiltrate data or maintain persistence in an environment. | ||
| """ | ||
| false_positives = [ | ||
| """ | ||
| Teams external access may be enabled by a system or network administrator. Verify that the configuration change was | ||
| expected. Exceptions can be added to this rule to filter expected behavior. | ||
| """, | ||
| ] | ||
| from = "now-30m" | ||
| index = ["filebeat-*"] | ||
| language = "kuery" | ||
| license = "Elastic License" | ||
| name = "Microsoft 365 Teams External Access Enabled" | ||
| note = "The Microsoft 365 Fleet integration or Filebeat module must be enabled to use this rule." | ||
| references = ["https://docs.microsoft.com/en-us/microsoftteams/manage-external-access"] | ||
| risk_score = 47 | ||
| rule_id = "27f7c15a-91f8-4c3d-8b9e-1f99cc030a51" | ||
| severity = "medium" | ||
| tags = ["Elastic", "Cloud", "Microsoft 365", "Continuous Monitoring", "SecOps", "Configuration Audit"] | ||
| type = "query" | ||
|
|
||
| query = ''' | ||
| event.dataset:o365.audit and event.provider:(SkypeForBusiness or MicrosoftTeams) and | ||
| event.category:web and event.action:"Set-CsTenantFederationConfiguration" and | ||
| o365.audit.Parameters.AllowFederatedUsers:True and event.outcome:success | ||
| ''' | ||
|
|
||
|
|
||
| [[rule.threat]] | ||
| framework = "MITRE ATT&CK" | ||
| [[rule.threat.technique]] | ||
| id = "T1098" | ||
| name = "Account Manipulation" | ||
| reference = "https://attack.mitre.org/techniques/T1098/" | ||
|
|
||
|
|
||
| [rule.threat.tactic] | ||
| id = "TA0003" | ||
| name = "Persistence" | ||
| reference = "https://attack.mitre.org/tactics/TA0003/" | ||
|
|
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.