<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Yes i did a clean install with install-full (then added my own rule). I have seen the output of the STMP event_types in eve logs, just not getting the carving working.</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-03 9:01 GMT+01:00 Victor Julien <span dir="ltr"><<a href="mailto:lists@inliniac.net" target="_blank">lists@inliniac.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 11/03/2014 08:48 AM, Andreas Moe wrote:<br>
> Hi,<br>
><br>
> With the new pull request adding STMP carving (#1195), ive been testing<br>
> this abit. But, i cant seem to be able to carve any files. Im betting<br>
> the issue is my rule writing skills. Any one have any tips?<br>
><br>
> alert smtp any any -> any any (msg:"TOTAL CAPTURE!"; filestore; sid:1;<br>
> rev:1;)<br>
><br>
<br>
</div></div>Have you updated your yaml to include:<br>
<br>
app-layer:<br>
protocols:<br>
<br>
smtp:<br>
enabled: yes<br>
# Configure SMTP-MIME Decoder<br>
mime:<br>
# Decode MIME messages from SMTP transactions<br>
# (may be resource intensive)<br>
# This field supercedes all others because it turns the entire<br>
# process on or off<br>
decode-mime: yes<br>
<br>
# Decode MIME entity bodies (ie. base64, quoted-printable, etc.)<br>
decode-base64: yes<br>
decode-quoted-printable: yes<br>
<br>
# Maximum bytes per header data value stored in the data structure<br>
# (default is 2000)<br>
header-value-depth: 2000<br>
<br>
# Extract URLs and save in state data structure<br>
extract-urls: no<br>
<br>
The SMTP file extraction depends on the 'decode-mime' setting.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
---------------------------------------------<br>
Victor Julien<br>
<a href="http://www.inliniac.net/" target="_blank">http://www.inliniac.net/</a><br>
PGP: <a href="http://www.inliniac.net/victorjulien.asc" target="_blank">http://www.inliniac.net/victorjulien.asc</a><br>
---------------------------------------------<br>
<br>
_______________________________________________<br>
Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org">oisf-users@openinfosecfoundation.org</a><br>
Site: <a href="http://suricata-ids.org" target="_blank">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" target="_blank">http://suricata-ids.org/support/</a><br>
List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a><br>
Training now available: <a href="http://suricata-ids.org/training/" target="_blank">http://suricata-ids.org/training/</a><br>
</font></span></blockquote></div><br></div>