[Rule Tuning] User Account Creation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- security
Hướng nghiên cứu
Mở rules/windows/persistence_user_account_creation.toml; danh sách index nằm trong khối query và integration dưới [metadata]. Chạy grep trên các rule Windows khác có tham chiếu đến tích hợp EDR bên thứ ba (grep -rn "logs-" rules/windows/ | head) để sao chép quy ước cục bộ về cách đặt tên và sắp xếp index. Thêm logs-symantec_endpoint_security.event-* và symantec_endpoint_security, sau đó chạy python -m detection_rules test rule rules/windows/persistence_user_account_creation.toml — hoàn tất khi rule vẫn validate và index mới được liệt kê.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I work on the Symantec Endpoint Security (SES) integration in elastic/integrations. I am not part of the rules team, so this is a suggestion and a heads-up, not a request to change anything quickly.
Link to rule
Rule tuning type
False negatives: the rule cannot see SES process events.
Description
A customer ran a purple-team exercise that included net user ... /add on hosts with SES, and this rule did not alert. Two things were missing.
- The SES integration did not set the ECS process fields the rule needs. That is fixed in elastic/integrations#22455 (merged 2026-11-18;
symantec_endpoint_securitypackage version 1.18.0). For process launches it now setsprocess.name,process.executable,process.command_line,process.args,process.args_count, theprocess.parentequivalents, andevent.type: start. It applies to SES type 8001 (Process Activity, launched) and type 8027 (Process Detection, launch). - The rule does not search the SES data.
logs-symantec_endpoint_security.event-*is not inindex, andsymantec_endpoint_securityis not inintegrationin[metadata]. As oforigin/mainat0133427f6no rule in this repository mentions it.
I compared the new integration test output with this rule's query. The event below, a net user /add launch from cmd.exe, meets every term: host.os.type is windows, event.type contains start, process.name is net.exe, process.parent.name is not net.exe, and process.args contains user and /add. I have not run the rule itself against SES data.
Suggestion: add logs-symantec_endpoint_security.event-* to index and symantec_endpoint_security to integration for this rule.
Some things you may want to weigh:
- Many other Windows rules use
process.args(137 Windows rule queries onmainat the time of writing), so the same two additions would let them run on SES data too. I do not know which of them you would want to cover. - SES process activity (type 8001) can be very high volume, since it includes opens and terminations as well as launches. Rules that need
event.type: startonly match launches. - Type 8027 events are SES detections, so they cover only launches that SES flagged.
process.argsis set only for Windows endpoints. That fits this rule.
If it helps, I am happy to open a PR for this one rule and leave the wider question to you.
Example data
Anonymised event from the integration's pipeline tests (only the fields the rule uses):
{
"event": {
"category": [
"process"
],
"type": [
"info",
"start"
],
"dataset": "symantec_endpoint_security.event"
},
"host": {
"os": {
"type": [
"windows"
]
}
},
"process": {
"name": "net.exe",
"executable": "c:\\windows\\system32\\net.exe",
"command_line": "net user /add testuser1 NotARealPassword",
"args": [
"net",
"user",
"/add",
"testuser1",
"NotARealPassword"
],
"args_count": 5,
"parent": {
"name": "cmd.exe",
"executable": "c:\\windows\\system32\\cmd.exe",
"command_line": "\"C:\\WINDOWS\\system32\\cmd.exe\" "
}
}
}
- Ngôn ngữ chính
- Python
- Star
- 3k
- Fork
- 759
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 52
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của elastic/detection-rules
-
[Rule Tuning] DNS-over-HTTPS Enabled via RegistryCó thể đã có người làm @SeoJunLee-code đã nhận 4 ngày trước. Đang mởcommunity Rule: Tuning Team: TRADE
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
elastic/detection-rules#7184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Rule Tuning] AdFind Command ActivityCó thể đã có người làm @TT5H đã nhận 2 ngày trước. Đang mởcommunity Rule: Tuning Team: TRADE
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
elastic/detection-rules#7183 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Rule Tuning] Add documented Nizlo processes to Multiple Remote Management Tool Vendors on Same HostĐang mởcommunity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastic/detection-rules#7147 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improve protocol validation for Kerberos port-88 alertsCó thể đã có người làm @eric-forte-elastic đã nhận 10 ngày trước. Đang mởcommunity Rule: Tuning Team: TRADE
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
elastic/detection-rules#7145 · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community Rule: Tuning Team: TRADE
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastic/detection-rules#6953 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của elastic/detection-rules
Issue tương tự
-
CI flake: test-windows times out spawning Node in tests/test_antigravity_node_hooks.py (develop red)Đang mởarea/ci P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
benchmark
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
mozilla-ai/cq#601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump Python to 3.14 or 3.15Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày