-
Notifications
You must be signed in to change notification settings - Fork 609
[New Rule] - MacOS Keychains compression #136
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 all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
856a946
macOS Keychains compression
Samirbous b91f8d7
Update exfiltration_compress_credentials_keychains.toml
Samirbous 053285a
Update exfiltration_compress_credentials_keychains.toml
Samirbous 0a4ac09
Update exfiltration_compress_credentials_keychains.toml
Samirbous 926787f
Update rules/macos/exfiltration_compress_credentials_keychains.toml
Samirbous 02a791d
Update rules/macos/exfiltration_compress_credentials_keychains.toml
Samirbous 35aba47
Update rules/macos/exfiltration_compress_credentials_keychains.toml
Samirbous 1e8d31e
Update exfiltration_compress_credentials_keychains.toml
Samirbous a65bb6a
Merge branch 'main' into Keychain-Data-Exfiltration-Prep
Samirbous 406c6c8
Merge branch 'main' into Keychain-Data-Exfiltration-Prep
Samirbous 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
43 changes: 43 additions & 0 deletions
43
rules/macos/exfiltration_compress_credentials_keychains.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,43 @@ | ||
| [metadata] | ||
| creation_date = "2020/08/14" | ||
| ecs_version = ["1.6.0"] | ||
| maturity = "production" | ||
| updated_date = "2020/08/14" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| Adversaries may collect the keychain storage data from a system to acquire credentials. Keychains are the built-in way | ||
| for macOS to keep track of users' passwords and credentials for many services and features such as WiFi passwords, | ||
| websites, secure notes, certificates, and Kerberos. | ||
| """ | ||
| index = ["auditbeat-*", "logs-endpoint.events.*"] | ||
| language = "kuery" | ||
| license = "Elastic License" | ||
| name = "Compression of Keychain Credentials Directories" | ||
| references = ["https://objective-see.com/blog/blog_0x25.html"] | ||
| risk_score = 73 | ||
| rule_id = "96e90768-c3b7-4df6-b5d9-6237f8bc36a8" | ||
| severity = "high" | ||
| tags = ["Elastic", "MacOS"] | ||
| type = "query" | ||
|
|
||
| query = ''' | ||
| event.category:process and event.type:(start or process_started) and | ||
| process.name:(zip or tar or gzip or 7za or hdiutil) and | ||
| process.args:("/Library/Keychains/" or "/Network/Library/Keychains/" or "~/Library/Keychains/") | ||
| ''' | ||
|
|
||
|
|
||
| [[rule.threat]] | ||
| framework = "MITRE ATT&CK" | ||
| [[rule.threat.technique]] | ||
| id = "T1142" | ||
| name = "Keychain" | ||
| reference = "https://attack.mitre.org/techniques/T1142/" | ||
|
|
||
|
|
||
| [rule.threat.tactic] | ||
| id = "TA0006" | ||
| name = "Credential Access" | ||
| reference = "https://attack.mitre.org/tactics/TA0006/" | ||
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.