Skip to content
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

0380-windows_decoders.xml issue matching spaces in dhcp log #876

Open
fredtj opened this issue Mar 15, 2024 · 0 comments
Open

0380-windows_decoders.xml issue matching spaces in dhcp log #876

fredtj opened this issue Mar 15, 2024 · 0 comments

Comments

@fredtj
Copy link

fredtj commented Mar 15, 2024

Hello,

Using wazuh-logtest to check log lines in our Windows Server 2016/2019 DHCP server log, it seems those lines with spaces in the event are not matched correctly, but those lines without spaces are?

Note that the logs come in the format with spaces.

With spaces:

Type one log per line

13,03/15/24,11:47:19,DNS Update Request,172.0.0.0,,123ABC345AAA,,0,6,,,,,,,,,0

**Phase 1: Completed pre-decoding.
	full event: '13,03/15/24,11:47:19,DNS Update Request,172.0.0.0,,123ABC345AAA,,0,6,,,,,,,,,0'

**Phase 2: Completed decoding.
	name: 'ms-dhcp-ipv4'

**Phase 3: Completed filtering (rules).
	id: '6300'
	level: '0'
	description: 'Grouping for the MS-DHCP ipv4 rules.'
	groups: '['windows', 'dhcp']'
	firedtimes: '1'
	mail: 'False'

Without spaces:


**Phase 1: Completed pre-decoding.
	full event: '15,03/15/24,11:47:19,DNSUpdateRequest,172.0.0.0,,123ABC345AAA,,0,6,,,,,,,,,0'

**Phase 2: Completed decoding.
	name: 'ms-dhcp-ipv4'
	extra_data: 'DNSUpdateRequest'
	id: '15'
	srcip: '172.0.0.0,,123ABC345AAA,,0,6,,,,,,,,,0'

**Phase 3: Completed filtering (rules).
	id: '6309'
	level: '7'
	description: 'MS-DHCP: A lease was denied.'
	groups: '['windows', 'dhcp', 'dhcp_lease_action']'
	firedtimes: '1'
	gdpr: '['IV_35.7.d']'
	gpg13: '['4.12']'
	hipaa: '['164.312.b']'
	mail: 'False'
	nist_800_53: '['AU.6']'
	pci_dss: '['10.6.1']'
	tsc: '['CC7.2', 'CC7.3']'
**Alert to be generated.

Is this a bug, or am I overlooking something?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant