Hi. Have some problems with decode logs and rise alerts.
Want collect OpenVPN clients log from Windows devices. But unfortunately cant decode by default decoders. I havnt access to OpenVPN server all i have is windows log like this.
2023-04-11 12:08:32 UDP link local: (not bound)
2023-04-11 12:08:32 UDP link remote: [AF_INET]
217.15.139.83:191962023-04-11 12:08:32 MANAGEMENT: >STATE:1681204112,WAIT,,,,,,
2023-04-11 12:08:32 MANAGEMENT: >STATE:1681204112,AUTH,,,,,,
2023-04-11 12:08:32 TLS: Initial packet from [AF_INET]
217.15.139.83:19196, sid=9efd9330 b3b7cfbf
2023-04-11 12:08:32 VERIFY OK: depth=1, C=*, ST=*, L=**, O=**, CN=**, emailAddress=***
2023-04-11 12:08:32 VERIFY OK: nsCertType=SERVER
2023-04-11 12:08:32 VERIFY OK: depth=0,
C=*, ST=*, L=**, O=**, CN=**, emailAddress=***
2023-04-11 12:08:32 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 1024 bit RSA, signature: RSA-SHA256
2023-04-11 12:08:32 [ovpn] Peer Connection Initiated with [AF_INET]
217.15.139.83:191962023-04-11 12:08:33 MANAGEMENT: >STATE:1681204113,GET_CONFIG,,,,,,
2023-04-11 12:08:33 SENT CONTROL [ovpn]: 'PUSH_REQUEST' (status=1)
2023-04-11 12:08:33 PUSH: Received control message: 'PUSH_REPLY,route-delay 2,route 10.0.0.0 255.255.0.0,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.0.0.244,route 172.26.8.1,topology net30,ping 10,ping-restart 120,ifconfig 172.26.8.114 172.26.8.113,peer-id 8,cipher AES-256-GCM'
Its not auto decode. I want to rise alert to this string
I write some rules too, but now its not problem. I dont understand how to find my mistake. Thx a lot for advice or help. Want to learn how to parse custom log files coz need a lot of this in work.