<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Searching for possible spam in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80804#M20428</link>
    <description>&lt;P&gt;Mostly spam comes from eMails in my case we are using,&lt;/P&gt;

&lt;P&gt;index=mail [search index=*  attach*|fields message_id ] | rex field=_raw "(?im)ATTACH|(?P.+)" | rex field=_raw "(?im)ATTACHFILTER|(?P.+)" |rex "(?im)IRCPTACTION|(?P.+)"|rex "(?im)SENDER|(?P.+)"| rex "(?im)IRCPTACTION|(?P\w+@\w+.\w+)|(?P\w+)"  | stats  count values(suspicious_file) as suspicious_file values(malicious_sender) as malicious_sender values(recipient_user) as recipient values(_raw) values(action) as action by message_id _time | sort  - count| search action=deliver|table message_id _time  malicious_sender suspicious_file recipient&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:31:11 GMT</pubDate>
    <dc:creator>neelamsantosh</dc:creator>
    <dc:date>2020-09-29T10:31:11Z</dc:date>
    <item>
      <title>Searching for possible spam</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80802#M20426</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I'm trying to come up with a search that would help identify spam. &lt;/P&gt;

&lt;P&gt;It would have to look at sender domain and count recipients.&lt;BR /&gt;
In other words if a particular domain is sending n- messages to multipole recipients inhouse, within a particualar time frame, i'd like to be alerted or be able to search for this activity.&lt;BR /&gt;
Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 14:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80802#M20426</guid>
      <dc:creator>zabarai</dc:creator>
      <dc:date>2013-04-01T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for possible spam</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80803#M20427</link>
      <description>&lt;P&gt;Other than running proper spam detection such as spam assassin and splunking its results, you could do your approach by setting up an alert triggered by something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search for mails going to inhouse recipients | stats count by sender_domain | where count &amp;gt; n
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The exact search depends on your data.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 15:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80803#M20427</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-04-01T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for possible spam</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80804#M20428</link>
      <description>&lt;P&gt;Mostly spam comes from eMails in my case we are using,&lt;/P&gt;

&lt;P&gt;index=mail [search index=*  attach*|fields message_id ] | rex field=_raw "(?im)ATTACH|(?P.+)" | rex field=_raw "(?im)ATTACHFILTER|(?P.+)" |rex "(?im)IRCPTACTION|(?P.+)"|rex "(?im)SENDER|(?P.+)"| rex "(?im)IRCPTACTION|(?P\w+@\w+.\w+)|(?P\w+)"  | stats  count values(suspicious_file) as suspicious_file values(malicious_sender) as malicious_sender values(recipient_user) as recipient values(_raw) values(action) as action by message_id _time | sort  - count| search action=deliver|table message_id _time  malicious_sender suspicious_file recipient&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-for-possible-spam/m-p/80804#M20428</guid>
      <dc:creator>neelamsantosh</dc:creator>
      <dc:date>2020-09-29T10:31:11Z</dc:date>
    </item>
  </channel>
</rss>

