Data Loss Prevention

Expand all | Collapse all

How to set up File Type Mis-Match based detection - Email & Web Uploads.

Jump to Best Answer
  • 1.  How to set up File Type Mis-Match based detection - Email & Web Uploads.

    Posted 05-01-2017 12:13 PM

    How to set up File Type Mis-Match based detection - Email & Web Uploads inorder to detect User behavior or violations by trying to circumvent controls by changing the file type (extn).

    For example, if a user changes the .pdf or .zip file name extension to .txt and emails the file, the detection engine can still register a match because it checks the binary signature of the file to detect it as the actual file type and trip the rule/policy. How to use this feature to detect and report any instances (web/email) where there is a filetype mismatch?



  • 2.  RE: How to set up File Type Mis-Match based detection - Email & Web Uploads.

    Trusted Advisor
    Posted 05-02-2017 02:45 AM

    hello,

     unfortunately you cant define rule with a negative operator (like filename extension not equal to pptx). But you can define kind of rule you want by looking for different file names. For example, for powerpoint document you can define a compound rule like:

    File type equal Powerpoint presentation

    AND

    filename equals to *.txt,*.zip,*.pdf,*.jpg,*.gif

     

    Regards



  • 3.  RE: How to set up File Type Mis-Match based detection - Email & Web Uploads.

    Posted 05-02-2017 10:40 AM

    Hi Stephane,


    Thanks for the info. The use case I have is bit different. I am trying to to detect User behavior or violations who circumvent controls by changing the file type (extn). For eg, a User trying to send out an archive file such as *.zip as a text file by changing the file type to *.txt.

    In Symantec DLP, the detection engine can register a filetype match because it checks the binary signature of the file to detect it as the actual file type but can it trip a particular the rule/policy? How to use this feature to detect and report any instances (web/email) where there the filetype has been changed by the user?



  • 4.  RE: How to set up File Type Mis-Match based detection - Email & Web Uploads.

    Posted 05-02-2017 11:32 AM

    Hello there,<o:p></o:p>

    I believe that Stephane answer is also right for your 2nd comment. <o:p></o:p>

    If you create a rule to detect "Message Attachment or File Type Match" the DLP Symantec is using the magic bytes (file sign) of the file to know what’s the expected file type. If you create a detection that detects the .zip ("Message Attachment or File Type Match" = Encapsulation Formats) and at same time detects "file name match" = *.txt it means that the end-user change the encapsulated format to  a.txt.

    <o:p></o:p>

    BR,

    Morgado



  • 5.  RE: How to set up File Type Mis-Match based detection - Email & Web Uploads.

    Posted 05-02-2017 12:07 PM

    Hi Margado,

    Yes for sure. I understood. But the challenge is, we then have to create a rule for each file type of interest and then verify if the file type matched the actual file type.

    Or is there a means to avoid multiple rule by employing one rule or expolit a feature in DLP which can alert the investigator to highlight that a particular user changed the file type from *.abc to *.xyz



  • 6.  RE: How to set up File Type Mis-Match based detection - Email & Web Uploads.
    Best Answer

    Posted 05-03-2017 03:49 AM

    Hello,

     

    Yes and No. You need to create a set o rules but you don't need to "verify" because if the DLP policy with that set rules (file type match + file name match) triggers an incident you already know that someone or some application changed the original extension of the file. So you only need to setup one policy with the formats you are looking for.

     I would set the policy without response rules, only logging the actions.

     

    BR,

    Morgado