-
Notifications
You must be signed in to change notification settings - Fork 433
Nterl0k - T1546 The curious case of CompatTelRunner and some sneaky persistence. #3333
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
patel-bhavin
merged 6 commits into
splunk:develop
from
nterl0k:nterl0k-t1546-compattelrunnner-abuse
Feb 19, 2025
Merged
Nterl0k - T1546 The curious case of CompatTelRunner and some sneaky persistence. #3333
patel-bhavin
merged 6 commits into
splunk:develop
from
nterl0k:nterl0k-t1546-compattelrunnner-abuse
Feb 19, 2025
Conversation
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
nasbench
requested changes
Feb 19, 2025
detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml
Outdated
Show resolved
Hide resolved
detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml
Outdated
Show resolved
Hide resolved
detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml
Show resolved
Hide resolved
detections/endpoint/windows_compatibility_telemetry_suspicious_child_process.yml
Show resolved
Hide resolved
Contributor
Author
|
Thanks for keeping me honest nas, i'll touch these up.
________________________________
From: Nasreddine Bencherchali ***@***.***>
Sent: Wednesday, February 19, 2025 1:31 PM
To: splunk/security_content ***@***.***>
Cc: Steven Dick ***@***.***>; Author ***@***.***>
Subject: Re: [splunk/security_content] Nterl0k - T1546 The curious case of CompatTelRunner and some sneaky persistence. (PR #3333)
@nasbench requested changes on this pull request.
________________________________
In detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml<#3333 (comment)>:
@@ -0,0 +1,69 @@
+name: Windows Compatibility Telemetry Tampering Through Registry
+id: 43834687-cc48-4878-a2fa-f76e4271791f
+version: 1
+date: '2025-02-13'
+author: Steven Dick
+status: production
+type: TTP
+description: The process $process_name$ was launched in a suspicious manner by $parent_process_name$ on host $dest$ ----- The following analytic detects the execution of CompatTelRunner.exe with parameters indicative of a process not part of the normal "Microsoft Compatibility Appraiser" telemetry collection. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on process names, parent processes, and command-line arguments. This activity is significant because CompatTelRunner.exe and the "Microsoft Compatibility Appraiser" task always run as System and can be used to elevate privileges or establish a highly privileged persistence mechanism. If confirmed malicious, this could enable unauthorized code execution, privilege escalation, or persistent access to the compromised system.
The description needs updating
________________________________
In detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml<#3333 (comment)>:
+- Sysmon Event ID 12
+- Sysmon Event ID 13
+- Sysmon Event ID 14
Only EID 13 is important in this case, the others do no contain value data info
⬇️ Suggested change
-- Sysmon Event ID 12
-- Sysmon Event ID 13
-- Sysmon Event ID 14
+- Sysmon Event ID 13
________________________________
In detections/endpoint/windows_compatibility_telemetry_tampering_through_registry.yml<#3333 (comment)>:
+tags:
+ analytic_story:
+ - Windows Persistence Techniques
+ asset_type: Endpoint
+ mitre_attack_id:
+ - T1546
+ - T1053.005
+ product:
+ - Splunk Enterprise
+ - Splunk Enterprise Security
+ - Splunk Cloud
+ security_domain: endpoint
+tests:
+- name: True Positive Test
+ attack_data:
+ - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1546/compattelrunner_abuse/compattelrunner_abuse.log
The path is incorrect in the attack_data https://github.com/splunk/attack_data/pull/961/files
Accidentally put inside adminsdholder_modified folder. Needs changing.
________________________________
In detections/endpoint/windows_compatibility_telemetry_suspicious_child_process.yml<#3333 (comment)>:
+tags:
+ analytic_story:
+ - Windows Persistence Techniques
+ asset_type: Endpoint
+ mitre_attack_id:
+ - T1546
+ - T1053.005
+ product:
+ - Splunk Enterprise
+ - Splunk Enterprise Security
+ - Splunk Cloud
+ security_domain: endpoint
+tests:
+- name: True Positive Test
+ attack_data:
+ - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1546/compattelrunner_abuse/compattelrunner_abuse.log
The path is incorrect in the attack_data https://github.com/splunk/attack_data/pull/961/files
Accidentally put inside adminsdholder_modified folder. Needs changing.
—
Reply to this email directly, view it on GitHub<#3333 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJIYP7RQNYXN2BDZ7UGAIT32QTEZVAVCNFSM6AAAAABXDO55JSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDMMRXGYZDENRVG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
…through_registry.yml As you say Co-authored-by: Nasreddine Bencherchali <monsteroffire2@gmail.com>
description updated
nasbench
approved these changes
Feb 19, 2025
Contributor
nasbench
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Details
2 detections aimed at the persistence and elevation abuse of CompatTelRunner.
https://www.trustedsec.com/blog/abusing-windows-telemetry-for-persistence
Pending splunk/attack_data#961
Checklist
<platform>_<mitre att&ck technique>_<short description>nomenclatureNotes For Submitters and Reviewers
buildCI job when it fails will likely show an error about what is failing. You may have a very descriptive error of the specific field(s) in the specific file(s) that is causing an issue. In some cases, its also possible there is an issue with the YAML. Many of these can be caught with the pre-commit hooks if you set them up. These errors will be less descriptive as to what exactly is wrong, but will give you a column and row position in a specific file where the YAML processing breaks. If you're having trouble with this, feel free to add a comment to your PR tagging one of the maintainers and we'll be happy to help troubleshoot it.