[Rule Tuning] User Account Creation
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- security
Direzione di ricerca
Apri rules/windows/persistence_user_account_creation.toml; la lista index si trova nel blocco di query e integration sotto [metadata]. Esegui grep sulle altre regole Windows che fanno riferimento a un'integrazione EDR di terze parti (grep -rn "logs-" rules/windows/ | head) per copiare la convenzione locale per denominazione e ordinamento degli indici. Aggiungi logs-symantec_endpoint_security.event-* e symantec_endpoint_security, poi esegui python -m detection_rules test rule rules/windows/persistence_user_account_creation.toml — fatto quando la regola continua a validare e il nuovo indice è elencato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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\" "
}
}
}
- Lingua principale
- Python
- Stelle
- 3k
- Fork
- 759
- Merge medio
- 3g 4h
- PR unite (30g)
- 52
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di elastic/detection-rules
-
[Rule Tuning] DNS-over-HTTPS Enabled via RegistryForse già presa @SeoJunLee-code l’ha presa 4 giorni fa. Apertacommunity Rule: Tuning Team: TRADE
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
elastic/detection-rules#7184 ·
I maintainer di solito rispondono entro 1 giorno
-
[Rule Tuning] AdFind Command ActivityForse già presa @TT5H l’ha presa 2 giorni fa. Apertacommunity Rule: Tuning Team: TRADE
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
elastic/detection-rules#7183 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Rule Tuning] Add documented Nizlo processes to Multiple Remote Management Tool Vendors on Same HostApertacommunity
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elastic/detection-rules#7147 ·
I maintainer di solito rispondono entro 1 giorno
-
Improve protocol validation for Kerberos port-88 alertsForse già presa @eric-forte-elastic l’ha presa 9 giorni fa. Apertacommunity Rule: Tuning Team: TRADE
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
elastic/detection-rules#7145 · 1 reazione · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
community Rule: Tuning Team: TRADE
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elastic/detection-rules#6953 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di elastic/detection-rules
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
mozilla-ai/cq#601 ·
I maintainer di solito rispondono entro 1 giorno
-
Bump Python to 3.14 or 3.15Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
intcomma returns exponential notation for large floatsForse già presa @Omarinho12345 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
python-humanize/humanize#521 ·
I maintainer di solito rispondono entro 1 giorno
-
LUCJ pass manager raises NoEdgeBetweenNodes when an edge is bad for two two-qubit gatesForse già presa @hat-im l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
opensubtitlescom: provider rejects pt-PT even though its own converter maps itForse già presa @paulo-0308 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Diaoul/subliminal#1405 ·