Write wazuh decoder to extract url from email logs.
26 views
Skip to first unread message
Vikrant Singh
unread,
Oct 8, 2024, 12:45:29 AM10/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh | Mailing List
I want to write wazuh decoder in order to detect phishing. Fro that I want to extract url from the email logs. I tried extracting url from multi-line logs but I wasn't able to fetch it so I aggregated the logs into single line but still I am not able to fetch the url. The url that is to be fetched is listed after the Links: keyword. I have provided both the logs. Can someone help with this? Should I try writing wazuh decoder using some other method such as python script instead of traditional xml decoder?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh | Mailing List
Hi Vikrant
The log you shared is from `archives.log`, and the initial part is considered the syslog header, which is not included in the actual log we need to decode. The actual log to be decoded is the bold section: