Skip to content

Commit 33a0c51

Browse files
committed
Merge branch 'release/v11.2.3' of https://github.com/utmstack/UTMStack into release/v11.2.3
2 parents 58c2788 + 79e4892 commit 33a0c51

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
6+
7+
<changeSet id="20260209024" author="JocLRojas">
8+
9+
<sql dbms="postgresql" splitStatements="true" stripComments="true">
10+
<![CDATA[
11+
12+
UPDATE public.utm_logstash_filter
13+
SET filter_version='3.0.5',
14+
updated_at=now(),
15+
logstash_filter=$$ # UTMStack filter, version 1.0.1
16+
17+
pipeline:
18+
- dataTypes:
19+
- utmstack
20+
steps:
21+
# Only parse as JSON if it contains the standard schema with "msg": and "args":
22+
- json:
23+
source: raw
24+
where: 'contains("raw", "\"msg\":") && contains("raw", "\"args\":")'
25+
26+
# If it doesn't have the standard schema, just store the content in log.message using grok
27+
- grok:
28+
source: raw
29+
patterns:
30+
- fieldName: log.message
31+
pattern: '{{.greedy}}'
32+
where: '!contains("raw", "\"msg\":") || !contains("raw", "\"args\":")' $$
33+
WHERE id=1531;
34+
]]>
35+
</sql>
36+
</changeSet>
37+
</databaseChangeLog>

backend/src/main/resources/config/liquibase/data/20260209/utm_correlation_rules.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11530,7 +11530,6 @@ Next Steps:
1153011530
)
1153111531
)
1153211532
', '2026-02-09 16:55:35.727202', true, false, 'origin', null, '[]', '["adversary.host","adversary.user"]');
11533-
insert into public.utm_correlation_rules (id, rule_name, rule_confidentiality, rule_integrity, rule_availability, rule_category, rule_technique, rule_description, rule_references_def, rule_definition_def, rule_last_update, rule_active, system_owner, rule_adversary, rule_deduplicate_by_def, rule_after_events_def, rule_group_by_def) values (665, 'Windows: Control Panel Process with Unusual Arguments', 1, 3, 1, 'Defense Evasion', 'T1218.002 - System Binary Proxy Execution: Control Panel Items', 'Identifies unusual instances of Control Panel with suspicious keywords or paths in the process command line value. Adversaries may abuse control.exe to proxy execution of malicious code.', '["https://attack.mitre.org/tactics/TA0005/","https://attack.mitre.org/techniques/T1218/002/"]', 'regexMatch("log.winlogEventDataProcessName", "(:\Windows\SysWOW64\control.exe|:\Windows\System32\control.exe)") && regexMatch("log.message", "(.jpg|.png|.gif|.bmp|.jpeg|.TIFF|.inf|.cpl:(.+)/|../../..|/AppData/Local/|:\Users\Public\|\AppData\Local\)")', '2026-02-09 16:57:24.456810', true, false, 'origin', null, '[]', '["adversary.ip","adversary.user"]');
1153411533
insert into public.utm_correlation_rules (id, rule_name, rule_confidentiality, rule_integrity, rule_availability, rule_category, rule_technique, rule_description, rule_references_def, rule_definition_def, rule_last_update, rule_active, system_owner, rule_adversary, rule_deduplicate_by_def, rule_after_events_def, rule_group_by_def) values (629, 'Suspicious Service Installation Detection', 3, 3, 2, 'Persistence', 'T1543.003 - Create or Modify System Process: Windows Service', 'Detects installation of suspicious Windows services matching patterns from Cobalt Strike, Metasploit,
1153511534
Impacket PSExec, and Meterpreter payloads. Attackers commonly install malicious services for persistence,
1153611535
privilege escalation (getsystem), and lateral movement. The rule monitors Event ID 4697 for service

backend/src/main/resources/config/liquibase/data/20260209/utm_group_rules_data_type.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update
674674
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (662, 1, null);
675675
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (663, 1, null);
676676
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (664, 1, null);
677-
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (665, 1, null);
678677
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (666, 1, null);
679678
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (667, 1, null);
680679
insert into public.utm_group_rules_data_type (rule_id, data_type_id, last_update) values (668, 1, null);

backend/src/main/resources/config/liquibase/master.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@
385385

386386
<include file="/config/liquibase/changelog/20260209023_update_system_owner_correlation_rules.xml" relativeToChangelogFile="false"/>
387387

388+
<include file="/config/liquibase/changelog/20260209024_update_filter_utmstack.xml" relativeToChangelogFile="false"/>
389+
388390

389391

390392
</databaseChangeLog>

0 commit comments

Comments
 (0)