[ V2Ray / Stunnel / obfuscation / OpenVPN Stealth / SSLDroid / Cloak ] Bypass china great firewall (GFW) - Steganography

BLACKLIST_MEMBER

Well-known member
  • Feb 9, 2008
    37,854
    14,812
    113
    127.0.0.1
    Guys, How do you manage to keep your ass saved from cops while tunneling through OpenVPN and hide the traffic from DPI cunts who make the case that cops come and knock at your door?

    Let's share the knowledge and tactics you've used, Shall we?

    (I hope you use English)

    So.. guys lemme share some of my experience from here.



    SNI Spoof (I know the data cheaters already know what I'm talking about here)

    The trick here is TCP over SSL which makes it possible to fool your ISP by sending a fake SNI header and create a secure connection between the client and server.

    So you surf the internet through the HTTP proxy with crafted Payloads? or sock proxy?
    Naah! with the OpenVPN.
    Yeah, That ain't make any sense here but it will when I explain it a little bit further.


    Your device​
    Fooling the ISP with this Innocent looking HTTPS
    connection with a fake SNI​
    The stealth server only listening to port 443
    (Drops every other incoming packet)​
    [Whatsapp/Facebook]<--[OpenVPN]<--[Stunnel]<-- from Stealth Server​
    <==========================>​
    Hey I'm just surfing baindu.com (FAKE SNI)
    <--to device<--[Stunnel]<--[OpenVPN]<--[INTERNET]​


    I hope you get the idea now. The same technique can be used with Cloak

    65385852-7eab5280-dd2b-11e9-8887-db449b250e2a.png




    These techniques only work with TCP connections, when the ISP DPI, it looks like a regular SSL connection with Spoofed SNI header (Of course they can't see HTTP headers, They are encrypted.)

    Note: You should avoid direct connecting to port 22 (SSH) of the stealth server from China and make your configurations. Because the ISP might keep records so it could reveal that you have previously connected to this SSH port of this suspected IP, So they will send cops to your house and cut off your balls.

    Bonus pro tips:
    1. Buy Microsoft Azure server, so the IP whois will be like "Micorosft blah blah". Then again, you set the fake SNI to Microsoft.com. So the ISP has more reasons to believe that this traffic is nothing but innocent. Just nothing but surfing microsoft.com.

    2. OpenVPN can identify its own traffic, and if the request does not come from an OpenVPN Client, the server can redirect the traffic to a different port through the loopback interface (which is not directly accessible, but has to go through the OpenVPN).

    And you can run a fake web server with Python (or Netcat or whatever) and set it listening to the port that gets redirected from the OpenVPN server.
    Then again, set that simple webserver to respond with a simple 301 redirect to Microsoft.com.
    Sample python script.
    Python:
    import SimpleHTTPServer
    import SocketServer
    
    class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler):
       def do_GET(self):
           print self.path
           self.send_response(301)
           new_path = '%s%s'%('http://microsoft.com', self.path)
           self.send_header('Location', new_path)
           self.end_headers()
    
    SocketServer.TCPServer(("", 8080), FakeRedirect).serve_forever()

    Boom! That's it.

    Even if your ISP grabs the IP address of the stealth server and paste it on a web browser, it will just redirect it to microsoft.com :D
    But if you connect to the stealth server with the OpenVPN client and succeed to authenticate with your key, it allows you to access the internet through the tunnel, Isn't that amazing? Because no one else can suspect.

    I've got dozens of more tricks guys, but I hope you guys share your ideas too.
     

    BLACKLIST_MEMBER

    Well-known member
  • Feb 9, 2008
    37,854
    14,812
    113
    127.0.0.1
    මේ software එකෙනුත් කරන්න පුලුවන් නේහ්? https://sourceforge.net/projects/httpproxyinjector/

    A data cheater detected :rolleyes:

    owa lankawe athule use karata awulak naha. namuth owa connect wena servers wala ports open nisa ISP ta hoyala balanna puluwan SQUID ehema hoyanna lesie.

    dan uba ge server eka 123.123.123.123 unoth, SQUID ekath run wenawanam 8080 / 3128, owwa common ports.
    samanya system admin kenek unat dannawa owa wala kathawa mokakda kiyala.

    but ow ooka use karahaki Stunnel connect karanna. dropbear wage daala surf karanna puluwan SSH tunnel ekak widihata.

    habai ISP ta server IP eka suspect karanna hethu thiyenawane.

    oya data package fool karanna use karana method waladi ton ganan gb download karanawa ape ewun. ethakota ea traffic eka connect wela thiyenne ekama IP ekakata. ethakota ea IP eka ISP check karala baluwoth therenawa mu jilmart kaarayek kiyala
     

    CondomWisdom

    Well-known member
  • Jul 11, 2020
    1,928
    2,661
    113
    දැන් ලංකාවේ cops ලා කාගෙ ගෙවල් වලටද එන්නේ VPN කරනවාට විරුද්දව?
     

    nooby

    Well-known member
  • Mar 25, 2018
    4,151
    2,366
    113
    Srilanka
    Guys, How do you manage to keep your ass saved from cops while tunneling through OpenVPN and hide the traffic from DPI cunts who make the case that cops come and knock at your door?

    Let's share the knowledge and tactics you've used, Shall we?

    (I hope you use English)

    So.. guys lemme share some of my experience from here.



    SNI Spoof (I know the data cheaters already know what I'm talking about here)

    The trick here is TCP over SSL which makes it possible to fool your ISP by sending a fake SNI header and create a secure connection between the client and server.

    So you surf the internet through the HTTP proxy with crafted Payloads? or sock proxy?
    Naah! with the OpenVPN.
    Yeah, That ain't make any sense here but it will when I explain it a little bit further.


    Your device​
    Fooling the ISP with this Innocent looking HTTPS
    connection with a fake SNI​
    The stealth server only listening to port 443
    (Drops every other incoming packet)​
    [Whatsapp/Facebook]<--[OpenVPN]<--[Stunnel]<-- from Stealth Server​

    <==========================>

    Hey I'm just surfing baindu.com (FAKE SNI)
    <--to device<--[Stunnel]<--[OpenVPN]<--[INTERNET]​


    I hope you get the idea now. The same technique can be used with Cloak

    65385852-7eab5280-dd2b-11e9-8887-db449b250e2a.png




    These techniques only work with TCP connections, when the ISP DPI, it looks like a regular SSL connection with Spoofed SNI header (Of course they can't see HTTP headers, They are encrypted.)

    Note: You should avoid direct connecting to port 22 (SSH) of the stealth server from China and make your configurations. Because the ISP might keep records so it could reveal that you have previously connected to this SSH port of this suspected IP, So they will send cops to your house and cut off your balls.

    Bonus pro tips:
    1. Buy Microsoft Azure server, so the IP whois will be like "Micorosft blah blah". Then again, you set the fake SNI to Microsoft.com. So the ISP has more reasons to believe that this traffic is nothing but innocent. Just nothing but surfing microsoft.com.

    2. OpenVPN can identify its own traffic, and if the request does not come from an OpenVPN Client, the server can redirect the traffic to a different port through the loopback interface (which is not directly accessible, but has to go through the OpenVPN).

    And you can run a fake web server with Python (or Netcat or whatever) and set it listening to the port that gets redirected from the OpenVPN server.
    Then again, set that simple webserver to respond with a simple 301 redirect to Microsoft.com.
    Sample python script.
    Python:
    import SimpleHTTPServer
    import SocketServer
    
    class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler):
       def do_GET(self):
           print self.path
           self.send_response(301)
           new_path = '%s%s'%('http://microsoft.com', self.path)
           self.send_header('Location', new_path)
           self.end_headers()
    
    SocketServer.TCPServer(("", 8080), FakeRedirect).serve_forever()

    Boom! That's it.

    Even if your ISP grabs the IP address of the stealth server and paste it on a web browser, it will just redirect it to microsoft.com :D
    But if you connect to the stealth server with the OpenVPN client and succeed to authenticate with your key, it allows you to access the internet through the tunnel, Isn't that amazing? Because no one else can suspect.

    I've got dozens of more tricks guys, but I hope you guys share your ideas too.
    poddak pehedili madi bn. any good reference?
     

    Mandalorian

    Well-known member
  • Mar 26, 2020
    2,847
    6,447
    113
    Mandalore
    OKEI, NORDVPN ekai wenasa mokakda?
    NordVpn එකේ ispට පේන SNI එක අපිට කැමති විදියට වෙනස් කරන්න බෑනේ. ඒත් මේකෙන් ඒකත් වෙනස් කරන්න පුලුවන් :yes:
     

    BLACKLIST_MEMBER

    Well-known member
  • Feb 9, 2008
    37,854
    14,812
    113
    127.0.0.1
    දැන් ලංකාවේ cops ලා කාගෙ ගෙවල් වලටද එන්නේ VPN කරනවාට විරුද්දව?
    Lankawe China great firewall eka haraha internet access karana minissunge gewal walata.
    (Ehema kawuruth naha lankawe, China great firewall use karanne China wala misak lankawe nemei. China wala karana crime walata lankawe un arrest karanne naha, lankawe ehema neethiyak naha)
     
    Last edited:

    BLACKLIST_MEMBER

    Well-known member
  • Feb 9, 2008
    37,854
    14,812
    113
    127.0.0.1
    thanks for the share machan. very informative
    how do ISPs typically enforce their data caps on users? is it only based on inspecting the sni field?
    Edit:
    Are you are talking about content-based data packages? if that's the case, you can try any obfuscation layers, such as Stunnel / Obfs4 / Cloak / V2Ray behind Shadowshocks / OpenVPN, etc

    Some ISP use different detection methods, sometimes you might have to wrap up the connection with an HTTP proxy (SQUID) and use a client that can connect with crafted payloads.
    @Mandalorian is the guy you wanna talk to.

    btw you can still wrap up an OpenVPN connection with an HTTP proxy.

    I only explained how they do the dirty DPI shit in this thread.

    By analyzing the contents of packets with more advanced methods and detect the VPN protocol (Deep packet inspection AKA DPI)

    By analyzing traffic patterns such as packet size, timing, etc.

    Handshake protocol of sock5

    By port numbers such as TCP/UDP 1194 is the default port for OpenVPN.

    Edit:
     
    Last edited:
    • Like
    Reactions: RavinduSha