Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Detection Ultrasurf's traffic

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      ozanus
      last edited by

      As you know, Ultrasurf is the most famous tool for bypassing content filter systems.

      Here is the snort rule for detecting Ultrasurf's traffic. this rule detects Ultrasurf's self-signed SSL certificate and can never be false-positive.

      #Ozan UCAR @2013
      #SSL Client Hello Hex Value 16 03 00 00 61 01 00 00 5d 03
      alert tcp $HOME_NET any -> $EXTERNAL_NET 443 (msg: "Ultrasurf"; flow:to_server,established; content:"|16030000610100005d03|"; classtype:policy-violation; sid:1000099;)

      Also, you can block their traffic with snort. Just replace 'alert' to 'drop' or use Snort's 'react' module.

      Example log output;

      01/06/14-23:01:41.885614 ,1,1000099,0,"Ultrasurf",TCP,x.x.x.241,26434,65.49.14.82,443,17301,Potential Corporate Privacy Violation,1,

      I attached screenshots to this post.
      sort_rule_usurf.png
      sort_rule_usurf.png_thumb
      sort_alert_usurf.png
      sort_alert_usurf.png_thumb
      ultrasurf_blocked.png
      ultrasurf_blocked.png_thumb
      ultrasurf_ssl-hex.png
      ultrasurf_ssl-hex.png_thumb

      1 Reply Last reply Reply Quote 0
      • M
        mrbostn
        last edited by

        Thank you for sharing

        1 Reply Last reply Reply Quote 0
        • D
          drmavi
          last edited by

          dont work!

          I think I have the wrong or your system dosent work

          I've addes my screenshoots.

          snort_log1.jpg
          snort_log1.jpg_thumb
          snort_log2.jpg
          snort_log2.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.