-
Notifications
You must be signed in to change notification settings - Fork 611
[New Rule] Account Password Reset Remotely #1571
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
11 commits
Select commit
Hold shift + click to select a range
0816938
[New Rule] Account Password Reset Remotely
Samirbous b686fbb
Update non-ecs-schema.json
Samirbous b92e57d
udpate ruleId
Samirbous 3e51196
Merge branch 'remote-pwd-reset' of https://github.com/elastic/detecti…
Samirbous 112cf71
Merge branch 'main' into remote-pwd-reset
w0rk3r c85573d
Update rules/windows/persistence_remote_password_reset.toml
Samirbous 8bcfd30
Update rules/windows/persistence_remote_password_reset.toml
Samirbous e6130f7
Update rules/windows/persistence_remote_password_reset.toml
Samirbous 4fb017e
Update rules/windows/persistence_remote_password_reset.toml
Samirbous 11eb138
Update rules/windows/persistence_remote_password_reset.toml
Samirbous 3e9884c
Merge branch 'main' into remote-pwd-reset
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
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
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,53 @@ | ||
| [metadata] | ||
| creation_date = "2021/10/18" | ||
| maturity = "production" | ||
| updated_date = "2021/10/18" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| Identifies an attempt to reset an account password remotely. Adversaries may manipulate account passwords to maintain | ||
| access or evade password duration policies and preserve compromised credentials. | ||
| """ | ||
| false_positives = ["Legitimate remote account administration."] | ||
| from = "now-9m" | ||
| index = ["winlogbeat-*", "logs-windows.*"] | ||
| language = "eql" | ||
| license = "Elastic License v2" | ||
| name = "Account Password Reset Remotely" | ||
| references = [ | ||
| "https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4724", | ||
| "https://stealthbits.com/blog/manipulating-user-passwords-with-mimikatz/", | ||
| "https://github.com/sbousseaden/EVTX-ATTACK-SAMPLES/blob/master/Credential%20Access/remote_pwd_reset_rpc_mimikatz_postzerologon_target_DC.evtx", | ||
| ] | ||
| risk_score = 47 | ||
| rule_id = "2820c9c2-bcd7-4d6e-9eba-faf3891ba450" | ||
| severity = "medium" | ||
| tags = ["Elastic", "Host", "Windows", "Threat Detection", "Persistence"] | ||
| timestamp_override = "event.ingested" | ||
| type = "eql" | ||
|
|
||
| query = ''' | ||
| sequence by host.id with maxspan=5m | ||
| [authentication where event.action == "logged-in" and | ||
| /* event 4624 need to be logged */ | ||
| winlog.logon.type : "Network" and event.outcome == "success" and source.ip != null and | ||
| not source.ip in ("127.0.0.1", "::1")] by winlog.event_data.TargetLogonId | ||
| /* event 4724 need to be logged */ | ||
| [iam where event.action == "reset-password"] by winlog.event_data.SubjectLogonId | ||
| ''' | ||
|
|
||
|
|
||
| [[rule.threat]] | ||
| framework = "MITRE ATT&CK" | ||
| [[rule.threat.technique]] | ||
| id = "T1098" | ||
| reference = "https://attack.mitre.org/techniques/T1098/" | ||
| name = "Account Manipulation" | ||
|
|
||
|
|
||
| [rule.threat.tactic] | ||
| id = "TA0003" | ||
| reference = "https://attack.mitre.org/tactics/TA0003/" | ||
| name = "Persistence" | ||
|
|
||
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.