✏️MA: Thor­ough Cen­sor­ship Ana­lys­is in Ir­an

The Internet is prevalent in many people’s everyday lives. Yet, governments of various countries restrict it, with Iran being one of the most restrictive countries. Internet restrictions in Iran have been analyzed in the past and were first documented in 2013. Recent research independently investigated HTTP and DNS censorship in Iran, revealing domain dependent censorship behavior and unexplained correlations between the censorship of these two protocols. This thesis examines the domain- dependent censorship behavior in more detail and sheds light on the inner workings of the Iranian censorship system.

To gain a deeper understanding of Iran’s censorship system, we conduct a large-scale censorship study of both encrypted and unencrypted protocols. We collectively examine the censorship of the Internet communication protocols DNS, HTTP, TLS, and QUIC. We verified the domain-dependency of different censorship methods for the protocols DNS, HTTP, and TLS, with 86.84% of domains affected by censorship being censored across all protocols. While Iran was cut off from the Internet in June, we gathered unique evaluation results before, right until, and after the Internet shutdown. For QUIC, we observed domain-independent censorship of the entire protocol traffic right before and after the Internet shutdown. We further report on previously undocumented HTTP and DNS censorship behavior in Iran. Based on our censorship analyses, we strongly suggest that multiple middleboxes are censoring the same domains with individual injections. Although domains experience different censorship behavior, our HTTP parser analysis suggests that the same parser parses the requests to these domains.


This thesis shows the volatility of the Iranian censorship system with rapidly changing censorship policies, and that it is not up to date with QUIC censorship. Future research is necessary to fully understand the middlebox deployment in Iran and to uncover the reasons for the use of different censorship methods.