[BUG] Elevated Group Discovery with PowerView: the test sample windows-xml.log is declared as Sysmon but holds Security events
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- powershell, yaml
- Área
- security, testing-qa
Línea de trabajo
Comienza en el bloque tests de detections/endpoint/elevated_group_discovery_with_powerview.yml y compara la segunda entrada de attack_data con el descriptor en datasets/attack_techniques/T1069.002/AD_discovery/AD_discovery.yml, que declara windows-xml.log como XmlWinEventLog:Security. Ejecuta los comandos grep del issue sobre windows-xml.log para confirmar que solo contiene eventos Security 5145. Está hecho cuando el origen de la segunda muestra coincide con Security, o cuando la muestra se elimina porque la regla busca el evento 4104 y el archivo no tiene ninguno. Revisa qué opción prefieren los mantenedores antes de editar.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
In the tests block of detections/endpoint/elevated_group_discovery_with_powerview.yml (id 10d62950-0de5-4199-a710-cff9ea79b413, version 11), the second sample is declared as a Sysmon log. The file holds Security events, and the descriptor in attack_data says so.
tests:
- name: True Positive Test
attack_data:
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1069.002/AD_discovery/windows-powershell-xml-powerview.log
source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: XmlWinEventLog
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1069.002/AD_discovery/windows-xml.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: XmlWinEventLog
The file datasets/attack_techniques/T1069.002/AD_discovery/windows-xml.log holds 8 events. All 8 are Security event 5145 (a network share object was checked), on the Security channel. The file has no mention of the Sysmon provider.
$ grep -o '<Channel>[^<]*</Channel>' windows-xml.log | sort | uniq -c
8 <Channel>Security</Channel>
$ grep -o '<EventID>[0-9]*</EventID>' windows-xml.log | sort | uniq -c
8 <EventID>5145</EventID>
The descriptor datasets/attack_techniques/T1069.002/AD_discovery/AD_discovery.yml in attack_data declares the same file as XmlWinEventLog:Security:
- name: windows-xml
path: /datasets/attack_techniques/T1069.002/AD_discovery/windows-xml.log
sourcetype: XmlWinEventLog
source: XmlWinEventLog:Security
The rule itself searches PowerShell script block logging (powershell macro, EventCode=4104, data_source: Powershell Script Block Logging 4104). The first sample, windows-powershell-xml-powerview.log, holds 15 events, all 4104 on Microsoft-Windows-PowerShell/Operational. The second sample holds no event 4104.
Expected behavior
The source of each sample should name the log the file holds. For windows-xml.log that is XmlWinEventLog:Security.
Suggested change: change the source of the second sample to XmlWinEventLog:Security. Or remove the second sample, because the rule searches event 4104 and the file holds none.
Screenshots
None.
App Version:
- ESCU: 6.10.0 (the
testsblock is the same in release v6.10.0 and ondevelop) - Splunk Security Essentials: Not applicable
Additional context
None.
- Lenguaje dominante
- Python
- Estrellas
- 1.7k
- Forks
- 507
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 35
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de splunk/security_content
-
[BUG] Windows New EventLog ChannelAccess Registry Value Set: second path has single backslashesAbiertobug
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
splunk/security_content#4417 ·
Los mantenedores suelen responder en 1 día
-
[BUG]Linux Change File Owner To Root: detection bypass using "chown root: <file>"Posiblemente ocupada @thegreatmhn la tomó hace 1 día. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
splunk/security_content#4413 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
splunk/security_content#4401 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
splunk/security_content#4400 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
splunk/security_content#4409 ·
Los mantenedores suelen responder en 1 día
Todos los issues de splunk/security_content
Issues similares
-
[Bug / Enhancement]: Improve teleop_robot CLI with configurable timeout, robust input validation, and clean ROS shutdownPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días
-
bug(pipelines): shortcode stripping deletes text between a {{< >}} shortcode and the next {{% %}}Posiblemente ocupada @Ashborne-lab la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
kubeflow/docs-agent#293 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Imbad0202/academic-research-skills#1093 ·
Los mantenedores suelen responder en 1 día
-
Input: placeholder drawn in the text colour when the empty Input is focused but not yet editedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pierreaubert/gpui-toolkit#114 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Lightricks/LTX-2#336 · 1 comentario ·