Skip to main content
Robert_Cerny
New Member
Feb 13, 2020 11:56 AM UTC
Question

How to prevent virus to be copied from SMB share

Hi,

I stored an eicar.txt file on the samba share (Windows 2080 R2 Server) and tried to copy it to my mac and it was copied without issues. Server and my test mac are connected using IPSec through two FGs, both ends have AV scanning on. Why wasn't the test file caught?

 

Thanks

Robert

    5 replies

    tanr
    New Member
    Feb 13, 2020 3:40 PM UTC

    Have you configures for CIFS/SMB/SAMBA virus scanning per https://docs.fortinet.com/document/fortigate/6.0.0/handbook/488541/windows-file-sharing-cifs?

     

    Note that this only works for flow based.

     

     

    Robert_Cerny
    New Member
    Feb 13, 2020 4:13 PM UTC

    Actually it's CIFS not samba in the newest FortiOS but yes, I have it enabled and the correct AV profile assigned to firewall rule. Inspection mode is Flow based. Could the IPSec make the difference? 

    tanr
    New Member
    Feb 13, 2020 5:22 PM UTC

    It looks like CIFS filtering changed in 6.2.  We're not on 6.2, but the 6.2 docs have two sections:

     

    https://docs.fortinet.com/document/fortigate/6.2.0/cookbook/186160/cifs-support

    https://docs.fortinet.com/document/fortigate/6.2.0/new-features/409833/cifs-support

     

    These imply that now CIFS filtering requires proxy mode instead of flow, a separate cifs-profile, and a domain controller if CIFS traffic is encrypted.

     

    Be interested to hear if this works in 6.2 if you change to proxy, as we have this set up for flow in 6.0.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT