This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to set SMTP,IMAP and POP3 to be blocked in sophos UTM 9.5

Hello,

As i am nearly new to sophos, i have a query. I really appreciate your help.

I m using sophos UTM 9.5

Test case

Send the following traffic with the virus file attached (HTTP GET/POST, FTP GET/PUT, SMTP, IMAP and POP3)

Requirement :

1.The virus file should be blocked with the proper error message
2. The virus file should be detected and the threat-found incremented in the statistics
3. Verify the virus detected message in the syslog

Thanks,

kk



This thread was automatically locked due to age.
Parents
  • Is your mail server internal, behind UTM, or hosted externally?

  • Hello,

     Thank you for the reply.

    My setup looks like this.

    ubuntu Host0(eth2) --->(eth2) UTM VM (eth1)-->(eth1)ubuntu Host1

    I have configured IP addresses in Hosts and as well as in UTM VM and i am able to ping from Host0 to Host1 through UTM.

    I am seeking help to execute the procedure to meet the requirements.

    Thanks.

  • Spend timeinthe Recommended Reading section of this forum.   UTM has some complexity which is not well explained in the manual, but we have attempted to correct that in the Recommended Reading section.

    To your specific questions, consider this diagram of incoming mail flows:

    External (Hostile mail server) ----> SMTP Protocol ---> Your mail server ----> (MAPI, IMAP, POP3) ---> Outlook or other email client
                                                                                             \_____ Webmail interface running in a browser

    UTM can fliter the traffic in two places:

    • On the SMTP flow between the external mail server and your mail server, as long as UTM is between the two.   This is where you want to detect and block the malware.
    • On the POP3 flow between your mail server and an email client, if the client uses POP3.   POP3 is an obsolete protocol, and I cannot recommend using it.  The Outlook configuration wizard implies that POP3 only does SSL3, not TLS 1.2, although I have not attempted to validate that clue. 

    What UTM cannot do:

    • It cannot filter traffic that it does not see.   The traffic flow has to go through UTM, which is why I asked about your configuration.
    • It cannot filter MAPI or IMAP traffic
    • It might be able to limit downloads from the mail server to the desktop if you have web proxy filtering enabled and the webmail traffic flows through UTM.

    Your desktop antivirus is required to intercept malware files that flow through an unfiltered path such as IMAP.

    Most email malware now uses links instead of attachments, so you need to focus on web filtering as a related defense.   The web proxies in UTM are excellent; I recommend using both Standard Mode and Transparent Mode.  When used together, Standard Mode filters browser-originated traffic, and Transparent Mode filters non-browser web traffic.

    The SMTP proxy in UTM is an entry-level utility, so remember that you paid nothing extra for this feature.  It is better than no protection, but you will probably notice its limitations.   Unfortunately, I have frustrations with mail filtering products at all price points.   I am currently exploring one that is free.  It appears to be better than those costing thousands of dollars per year, but I do not have it working yet.

  • Hello,

    Thank you ver much for your time and help. Will try and update.

    I had one more last question for help!

    No one replied to it. Any help on this regard is really appreciated.

    ___

    Sophos utm port for HTTP

    What is the port sophos utm listening for HTTP?

    Where to make changes to block http file extensions if i am getting the file extensions with help of curl?

    I need to block txt,ps files and allow html.

    I have setup - HTTP server - UTM -- Http client.

    HTTP server

    /utm# python -m http.server 8080 --bind 80.0.0.2

    Serving HTTP on 80.0.0.2 port 8080 ...

    HTTP client

    /etc# curl http://80.0.0.2:8080/test.html

    html testing

    Any help will be really appreciated.

    Thanks,

    Prasanth

Reply
  • Hello,

    Thank you ver much for your time and help. Will try and update.

    I had one more last question for help!

    No one replied to it. Any help on this regard is really appreciated.

    ___

    Sophos utm port for HTTP

    What is the port sophos utm listening for HTTP?

    Where to make changes to block http file extensions if i am getting the file extensions with help of curl?

    I need to block txt,ps files and allow html.

    I have setup - HTTP server - UTM -- Http client.

    HTTP server

    /utm# python -m http.server 8080 --bind 80.0.0.2

    Serving HTTP on 80.0.0.2 port 8080 ...

    HTTP client

    /etc# curl http://80.0.0.2:8080/test.html

    html testing

    Any help will be really appreciated.

    Thanks,

    Prasanth

Children
No Data