BVB-TRENDMICRO-SMS CEF:0|TippingPoint|UnityOne|1.0.0.17|12451|12451: DHCP: Dynamic Host Configuration Protocol|1
|app=UDP cnt=1 dst=255.255.255.255 dpt=67
act=Block cn1=52 cn1Label=VLAN ID cn2=67438333
cn2Label=Taxonomy cn3=0 cn3Label=Packet Trace cs1=HATANG-OUT
cs1Label=Profile Name cs2=6a51ff13-847e-43d7-b7d6-dd8f11eb8cc9 cs2Label=Policy UUID cs3=00000001-0001-0001-0001-000000012451
cs3Label=Signature UUID cs4=0 cs4Label=DeviceSegment
cs5=BVB-TRENDMICRO-SMS cs5Label=SMS Name dvchost=DC-IPS-TPS2200T-02 cs6=
cs6Label=Filter Message Parms srcip=10.33.5.86 spt=68
externalId=48509293 rt=1682476530849 cat=Security Policy proto=UDP
deviceInboundInterface=16 c6a2= c6a2Label=Source
IPv6 c6a3= c6a3Label=Destination IPv6 request=
requestMethod= dhost= sourceTranslatedAddress=10.33.5.86
c6a1= c6a1Label=Client IPv6 suser= sntdom=
duser= dntdom=
I have created a decoder for that log like belowe:
<decoder name="trend_micro_IPS">
<prematch>BVB-TRENDMICRO-SMS</prematch>
</decoder>
<decoder name="trend_micro_IPS_UnityOne">
<parent>trend_micro_IPS</parent>
<regex>BVB-TRENDMICRO-SMS CEF:0\|(\.+)\|(\.+)\|(\.+)\|(\d+)\|(\.+)\|</regex>
<order>application,productname,version,event.id,event.name</order>
</decoder>
<decoder name="trend_micro_IPS_UnityOne">
<parent>trend_micro_IPS</parent>
<regex>dvchost=(\S+)</regex>
<order>dvcshost</order>
</decoder>
<decoder name="trend_micro_IPS_UnityOne">
<parent>trend_micro_IPS</parent>
<regex>act=(\S+)</regex>
<order>action</order>
</decoder>
And this is wazuh-logtest result test:
**Phase 1: Completed pre-decoding. full event: 'BVB-TRENDMICRO-SMS CEF:0|TippingPoint|UnityOne|1.0.0.17|12451|12451: DHCP: Dynamic Host Configuration Protocol|1' **Phase 2: Completed decoding. name: 'trend_micro_IPS' application: 'TippingPoint' event.id: '12451' event.name: '12451: DHCP: Dynamic Host Configuration Protocol' productname: 'UnityOne' version: '1.0.0.17' **Phase 3: Completed filtering (rules). id: '200807' level: '4' description: 'Trend Micro IPS Log detected.' groups: '["cef_trend_micro","ocse"]' firedtimes: '1' mail: 'false' **Alert to be generated. **Phase 1: Completed pre-decoding. full event: ' |app=UDP cnt=1 dst=255.255.255.255 dpt=67' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'act=Block cn1=52 cn1Label=VLAN ID cn2=67438333 ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'cn2Label=Taxonomy cn3=0 cn3Label=Packet Trace cs1=HATANG-OUT ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'cs1Label=Profile Name cs2=6a51ff13-847e-43d7-b7d6-dd8f11eb8cc9 cs2Label=Policy UUID cs3=00000001-0001-0001-0001-000000012451 ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'cs3Label=Signature UUID cs4=0 cs4Label=DeviceSegment ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'cs5=BVB-TRENDMICRO-SMS cs5Label=SMS Name dvchost=DC-IPS-TPS2200T-02 cs6= ' **Phase 2: Completed decoding. name: 'trend_micro_IPS' dvcshost: 'DC-IPS-TPS2200T-02' **Phase 3: Completed filtering (rules). id: '200807' level: '4' description: 'Trend Micro IPS Log detected.' groups: '["cef_trend_micro","ocse"]' firedtimes: '2' mail: 'false' **Alert to be generated. **Phase 1: Completed pre-decoding. full event: 'cs6Label=Filter Message Parms srcip=10.33.5.86 spt=68 ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'externalId=48509293 rt=1682476530849 cat=Security Policy proto=UDP ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'deviceInboundInterface=16 c6a2= c6a2Label=Source ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'IPv6 c6a3= c6a3Label=Destination IPv6 request= ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'requestMethod= dhost= sourceTranslatedAddress=10.33.5.86 ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'c6a1= c6a1Label=Client IPv6 suser= sntdom= ' **Phase 2: Completed decoding. No decoder matched. **Phase 1: Completed pre-decoding. full event: 'duser= dntdom=' **Phase 2: Completed decoding. No decoder matched.
It can be worked with the first row begin with the regex above, but can not decode all the row below
Please help me. Thanks!

