<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
    <channel>
        <title>SysAdmin Journal · Cybersecurity</title>
        <link>https://sysadmin-journal.com/tag/cybersecurity</link>
        <description>Posts tagged with Cybersecurity</description>
        <language>en</language>
        <lastBuildDate>Mon, 25 Jul 2022 18:45:21 +0000</lastBuildDate>
        <atom:link href="https://sysadmin-journal.com/tag/cybersecurity/rss" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        <item>
            <title>What is TLS encryption and how does it secure your internet communication?</title>
            <link>https://sysadmin-journal.com/what-is-tls-encryption-and-how-does-it-secure-your-internet-communication</link>
            <guid isPermaLink="true">https://sysadmin-journal.com/what-is-tls-encryption-and-how-does-it-secure-your-internet-communication</guid>
            <pubDate>Mon, 25 Jul 2022 18:45:21 +0000</pubDate>
            <dc:creator>Ish Sookun</dc:creator>
            <category>Cybersecurity</category>
            <category>Privacy</category>
            <category>Security</category>
            <description>Lately a lot of people have been asking the question – whether their private message on the internet could be decrypted by a third-party if the latter intercepted their internet traffic?</description>
            <content:encoded><![CDATA[<p>The past few days, on several occasions, the former CEO of Mauritius, when addressing to journalists, he alleged that the private messages (email, Facebook, etc...) could be decrypted by someone who intercepted the internet traffic at the Baie Jacotet Submarine Cable Landing Station. This statement has been blown out of proportion and to add more fuel to the fear mongering, some IT expert who intervened in a radio programme even said that during a penetration testing exercise, data captured can be decrypted using "some software".</p><h2 id="is-it-really-possible">Is it really possible?</h2><p>In order to understand whether the encrypted internet traffic can be decrypted by someone who sniffed your ISP's network, we should first understand how cryptography works with internet communications. So, let's dig.</p><blockquote>If you're interested in the <strong>cryptography</strong> part only, then head to lesson no. 3 directly.</blockquote><h2 id="lesson-no-1-%E2%80%94-transmission-control-protocol-tcp">Lesson no. 1 — Transmission Control Protocol (TCP)</h2><p>Two weeks ago I published a <a href="https://sysadmin-journal.com/what-is-a-network-sniffer/">blog post</a> explaining about Internet Protocol (IP) addresses and network packets. I explained how every file transmitted on the internet is first broken into pieces called packets and each packet has a header and payload.</p><p>Internet Protocol (IP) packet headers contain the source and destination addresses. When all the units of a packet reach their destination and are reconstructed into one data packet, the receiving device needs to know what application should handle this packet. This is what the Transmission Control Protocol (TCP) does.</p><p>TCP's role is to ensure reliable transmission of packets. TCP is used on top of the Internet Protocol and they are commonly referred to as the <strong>TCP/IP</strong> suite. When a packet is sent over the internet, the data portion of an IP packet is wrapped in a TCP segment.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://sysadmin-journal.com/content/images/2022/07/TCP-IP-PACKET.svg" class="kg-image" alt loading="lazy" width="1121" height="413"><figcaption>Image source: Khan Academy</figcaption></figure><p>Thus, the data packet now has the additional information about <strong>source port number</strong> and <strong>destination port number</strong>. Before we understand what is the meaning of these two additional source/destination values, let's have a look at how a TCP connection is made between two devices.</p><p>Because packets can sometimes get lost in a network, TCP has to establish a reliable connection between two devices. These two devices can be a smartphone and the facebook.com server for example. TCP ensures the reliable connection by doing a <strong>three-way handshake</strong>. What does that mean?</p><figure class="kg-card kg-image-card"><img src="https://sysadmin-journal.com/content/images/2022/07/TCP-Handshake.svg" class="kg-image" alt loading="lazy" width="896" height="226"></figure><p>The above image shows the TCP header with the <strong>ACK</strong> and <strong>SYN</strong> bits in red. These two bits are turned on and off to start the three-way handshake. The smartphone sends a packet to facebook.com with the <strong>SYN</strong> bit on. This basically means that the smartphone wants to synchronise with the facebook.com server. The server will respond by sending back a packet with both the <strong>SYN</strong> and <strong>ACK</strong> bits on. Upon receiving this, the smartphone will send another packet to the facebook.com server with the <strong>ACK</strong> bit on. The successful delivery of these packets concludes that each of them are able to establish a reliable communication and thus a TCP session starts between the two devices.</p><p><em>SYN means synchronise, ACK means acknowledge and when I say the bit is turned on, I mean the value of this bit is 1 instead of zero.</em></p><p>Once a TCP session is established, data packets can be sent back and forth for communication.</p><h2 id="lesson-no2-%E2%80%94-application-layer-protocols">Lesson no.2 — Application Layer Protocols</h2><p>Quick recap, the IP header contains the source IP address and the destination IP address, while the TCP header contains the source port number and the destination port number.</p><p>These port numbers refer to application layer protocols. A web server, like <a href="https://httpd.apache.org/">Apache</a>, serves webpages using the Hypertext Transfer Protocol (HTTP) over the TCP port 80. The same web server will use the Hypertext Transfer Protocol Secure (HTTPS) protocol over the TCP port 443.</p><p>Therefore, when the smartphone establishes a TCP session with facebook.com and sends a request to visit <strong>https://facebook.com</strong>, the TCP packet will check the destination port and deliver the packet to the web server listening on TCP port 443.</p><p>However, in order for Apache to deliver a secure transmission it makes use of another protocol called the Transport Layer Security (TLS). Here comes encryption!</p><h2 id="lesson-no-3-%E2%80%94-transport-layer-security-tls-protocol">Lesson no. 3 — Transport Layer Security (TLS) Protocol</h2><p>The Transport Layer Security (TLS) is a cryptographic protocol designed to render our internet communication secure. It does so by encrypting our internet traffic. </p><p>Encryption is the process of converting human readable plain text to completely incomprehensible text.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://sysadmin-journal.com/content/images/2022/07/Encryption.svg" class="kg-image" alt="Symmetric cryptography, same key is used to encrypt and decrypt" loading="lazy" width="896" height="296"><figcaption>Symmetric cryptography, same key is used to encrypt and decrypt</figcaption></figure><p>The above diagram depicts a symmetric encryption process and perhaps a lot of people are thinking that encryption of messages on the internet occurs this way. Thus, someone getting the « key » could basically decrypt all encrypted messages. Encryption of internet communication is a lot more complex that this.</p><p>TLS 1.0 was defined in <a href="https://datatracker.ietf.org/doc/html/rfc2246">RFC 2446 </a>back in 1999. Currently, the latest recommendation for TLS is to implement version <a href="https://datatracker.ietf.org/doc/html/rfc5246">1.2</a> and <a href="https://datatracker.ietf.org/doc/html/rfc8446">1.3</a> and to completely drop the use of the Secure Sockets Layer (SSL) protocol, the predecessor of TLS.</p><p>Despite the deprecation of SSL, it still lives in the security jargon and is found in the names of major security-related applications, e.g OpenSSL, SSL certificate providers etc. </p><blockquote>An RFC is a <a href="technical specifications for the Internet">document</a> that contains technical specifications for the internet. RFC documents are produced by the Internet Engineering Task Force.</blockquote><p>Let's talk about TLS encryption now.</p><p>Encryption of internet communication over HTTPS is achieved by applying the TLS protocol using a combination of symmetric and public-key cryptography.</p><p>In symmetric cryptography the key to encrypt and the key to decrypt is the same, whereas in public-key cryptography the encryption and decryption keys are different.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://sysadmin-journal.com/content/images/2022/07/Public-key-cryptography.svg" class="kg-image" alt="Public-key cryptography, the key to encrypt and key to decrypt are different" loading="lazy" width="896" height="296"><figcaption>Public-key cryptography, the key to encrypt and key to decrypt are different</figcaption></figure><p>To better understand public-key cryptography, have a look at the above diagram. Then, imagine someone communicating on Facebook. The way the encryption works here is that Facebook has two keys – a <strong>public key</strong> and a <strong>private key</strong>. The private key is stored on the Facebook servers and it is <strong>never</strong> shared or transmitted on the Internet while communicating with Facebook. </p><p>Facebook sends its public key to a user, using which the latter can encrypt a piece of information and send back to the Facebook servers. This encrypted information cannot be decrypted using the public key again. It can only be decrypted using the private key that only Facebook holds.</p><p>If someone intercepts the internet traffic and gets a copy of the encrypted information intended for Facebook, then that person cannot read the actual information. The captured data will be useless.</p><h3 id="symmetric-vs-public-key-cryptography">Symmetric vs Public-key cryptography</h3><p>Symmetric cryptography is fast. It can complete an operation within nanoseconds. Public-key cryptography is slower, taking microseconds to milliseconds per operation.</p><p>Therefore, TLS uses both to ensure that data transmission is secure, reliable, cannot be decrypted in trasit and at the same time transmission is fast. </p><p>It does so by initiating a public-key exchange to securely share a secret key. That secret key is then known only to the user and the receiver, e.g Facebook. The use of public-key cryptography for sharing session secrets (keys) ensures that the secret won't be captured and decrypted while in transit. Thus, further communication between the user and Facebook can be done using symmetric cryptography once the shared secret is exchanged using public-key cryptography.</p><h3 id="ciphers">Ciphers</h3><p>The strength of encryption depends on the cipher user. A cipher is an algorithm that performs that actual encryption. A cipher itself is based on mathematical formulae. For example, the <a href="https://datatracker.ietf.org/doc/html/rfc2631">Diffie-Hellman key agreement algorithm</a> is considered a major breakthrough in cryptography. It is widely used in public-key cryptography. Weak ciphers can be broken using fast computers. It's very common for organisations to carry out a vulnerability assessment of their IT infrastructure to find such weaknesses and apply the industry best practices.</p><h2 id="lesson-no-4-%E2%80%94-ssltls-certificates">Lesson no. 4 — SSL/TLS Certificates</h2><p>So far we've seen how TLS sessions ensure secure communication. But what about trust? How can we be sure that the server presenting itself as facebook.com is actually Facebook's server and not a cybercriminal diverting the internet traffic to another server that pretends to be Facebook.</p><p>This is achieved by establishing a chain of trust through a Public Key Infrastructure (PKI).</p><p>A Public Key Infrastructure governs the issuance and management of digital certificates. These certificates follow the <a href="https://www.itu.int/rec/T-REC-X.509">X.509 standard</a> for public-key certificates defined by the International Telecommunication Union (ITU).</p><p>What you should know about this is that there are organisations called Certificate Authorities (CA) and they issue certificates to other organisations who need to certify their domain names as secure. These CAs are recognised by the operating systems (e.g Microsoft Windows, Apple macOS, Linux distributions) and browser makers. Therefore, when a certificate is presented by a web server to a browser, ascertaining a domain name, the browser looks at who issued the certificate first. If that Certificate Authority is in its trusted list then only it'll trust the website and display the secure padlock in the address bar.</p><figure class="kg-card kg-image-card"><img src="https://sysadmin-journal.com/content/images/2022/07/Secure_Padlock.svg" class="kg-image" alt loading="lazy" width="896" height="264"></figure><p>Otherwise, the website or application throws an error and complains about untrusted connection.</p><p>In Google Chrome, if you click on the padlock, then click <strong>Connection is secure &gt; Certificate is valid</strong>, a window pops up showing the details of the certificate, like when it expires and which Certificate Authority issued the certificate.</p><figure class="kg-card kg-image-card kg-width-wide"><img src="https://sysadmin-journal.com/content/images/2022/07/facebook.com_CA_cert.png" class="kg-image" alt loading="lazy" width="2000" height="1230" srcset="/content/images/size/w600/2022/07/facebook.com_CA_cert.png 600w, /content/images/size/w1000/2022/07/facebook.com_CA_cert.png 1000w, /content/images/size/w1600/2022/07/facebook.com_CA_cert.png 1600w, /content/images/size/w2400/2022/07/facebook.com_CA_cert.png 2400w" sizes="(min-width: 1200px) 1200px"></figure><p>In the above screenshot, you can see that the certificate was issued by DigiCert intermediary CA for the facebook.com domain. DigiCert is also the Root CA in this chain. Google Chrome trusts the DigiCert Root CA and hence trusts the chain that follows.</p><p>DigiCert verifies the domain ownership before issuing certificates. It's not like anyone can just buy a certificate for any domain on the internet.</p><p>Therefore, if someone else generates a certificate for facebook.com and presents itself as facebook.com to Google Chrome, then the latter will prompt the user that the website cannot be trusted.</p><h2 id="conclusion">Conclusion</h2><p>Finally, in this blog post, if you read the whole of it and the one I wrote about <a href="https://sysadmin-journal.com/what-is-a-network-sniffer/">network sniffing</a>, then by now you must know how secure internet communications occur and why it is not just something that one can break or decrypt.</p><p>Therefore, summarising it, remember that the Internet Protocol (IP) is responsible for addressing on the internet. It specifies the source and destination address of packets. These packets are able to travel the world and reach their intended destination reliably thanks to the three-way-handshake defined in the Transmission Control Protocol (TCP). To secure the communication over TCP, web servers use the Hypertext Transfer Protocol Secure (HTTPS) and Transport Layer Security (TLS) to encrypt information using a combination of symmetric and public-key cryptography. The strength of the encryption depends on the cipher that is used. Lastly, X.509 formatted certificates are used to help browsers and mobile applications trust the domains that host the websites and other content on the internet.</p><hr><p>I created the cryptography diagrams using Figma and images from <a href="https://flaticon.com">flaticon.com</a>.</p>]]></content:encoded>
        </item>
        <item>
            <title>My thoughts on the Cybersecurity and Cybercrime Bill</title>
            <link>https://sysadmin-journal.com/thoughts-on-the-cybersecurity-and-cybercrime-bill</link>
            <guid isPermaLink="true">https://sysadmin-journal.com/thoughts-on-the-cybersecurity-and-cybercrime-bill</guid>
            <pubDate>Sun, 31 Oct 2021 13:06:51 +0000</pubDate>
            <dc:creator>Ish Sookun</dc:creator>
            <category>Legislation</category>
            <category>Mauritius</category>
            <category>Cybercrime</category>
            <category>Cybersecurity</category>
            <description>TL;DR — Downloading movies, music and pirated software becomes a crime under this Bill. Failing to moderate online content will also become a crime. Service providers can be compelled to provide access to data and forced not disclose anything. Want to know more then read on!</description>
            <media:content url="https://images.unsplash.com/photo-1589829545856-d10d557cf95f?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDJ8fGxlZ2FsfGVufDB8fHx8MTYzNTY4MTk0OQ&amp;ixlib=rb-1.2.1&amp;q=80&amp;w=2000" medium="image" />
            <content:encoded><![CDATA[<p>This <a href="https://mauritiusassembly.govmu.org/Documents/Bills/intro/2021/bill1521.pdf">Cybersecurity and Cybercrime Bill</a> was presented to the National Assembly on the 22nd October 2021. It is meant to replace the current <a href="https://www.icta.mu/docs/laws/cyber.pdf">Computer Misuse and Cybercrime Act</a> that dates 2003.</p><p>A few people asked me about my opinion on the Bill and it is only today that I read the document and I share a few things that I found pertinent about the Bill.</p><p>At the beginning of the document, the Budapest Convention on Cybercrime is mentioned and the Bill is said to increase compliance with the same through additional criminal offences related to cybercrime and cybersecurity, <strong>improved investigation techniques</strong> and increased international cooperation.</p><blockquote>I don't see any improved investigation technique in this document. There does not seem anything that will drastically reduce the time to solve a cybercrime.</blockquote><p>Anything related to Mutual Assistance, obtaining data from service providers etc, was already possible under current legislation. This Bill will probably reduce the paperwork if there is a will for that but not improve the investigation technique.</p><h2 id="what-is-the-budapest-convention-on-cybercrime">What is the Budapest Convention on Cybercrime?</h2><p>It is the first international treaty that aims to harmonize laws on cybercrime and cybersecurity and increase cooperation among countries. It was initiated by the Council of Europe and opened for signature in November 2001. In two decades, 66 countries have acceded to the convention. Mauritius acceded to the convention in November 2013.</p><p>The convention provides a guideline to countries for implementing a legislation against cybercrime. The <a href="https://rm.coe.int/1680081561">full guideline</a> is available on the website of the Council of Europe. Some of the main articles of the guideline are (I refer to their article number):</p><p>Article 1 — Definitions<br>Article 2 — Illegal access<br>Article 3 — Illegal interception<br>Article 4 — Data Interference<br>Article 5 — System Interference<br>Article 6 — Misuse of devices<br>Article 7 — Computer-related forgery<br>Article 8 — Computer-related fraud<br>Article 9 — Offences related to child pornography<br>Article 10 — Offences related to infringements of copyright and related rights<br>Article 15 — Conditions and safeguards<br>Article 19 — Search and seizure of stored computer data<br>Article 20 — Real-time collection of traffic data<br>Article 21 — Interception of content data<br>Article 25 — General principles relating to mutual assistance</p><p><strong>The guideline highlights the importance of safeguards and the protection of human rights &amp; liberties in Article 15.</strong></p><h2 id="current-cybercrime-legislation">Current Cybercrime legislation</h2><p>The <a href="https://www.icta.mu/docs/laws/cyber.pdf">Computer Misuse and Cybercrime Act</a> came into force in 2003. Although, Mauritius hadn't yet acceded to the Budapest Convention on Cybercrime, the legislation had some provisions as stated in the Convention guideline.</p><h2 id="whats-new-in-the-cybersecurity-and-cybercrime-bill">What's new in the Cybersecurity and Cybercrime Bill?</h2><h3 id="new-terms-in-the-glossary-of-offences">New terms in the glossary of offences</h3><p>There are a few new definitions of terms that have been added in this Bill, especially to describe the new offences. Among them are the terms:</p><p><strong>Cyberbullying</strong></p><p>It has been defined as any behaviour by means of information and communication technologies which is repetitive, persistent and intentionally harmful or involves an imbalance of power between the perpetrator and the victim and causes feelings of distress, fear, loneliness or lack of confidence in the victim.</p><p><strong>Cyber extortion</strong></p><p>It means a form of cybercrime which occurs when a person uses the internet to demand money or other goods or behaviour from another person by threatening to inflict harm to his person, reputation, or property.</p><p><strong>Fake profile</strong></p><p>An untrue online representation, existent or or non-existent.</p><p><strong>Harm</strong></p><p>It includes physical, sexual, psychological, emotional or moral abuse, injury, neglect, ill-treatment, degradation, discrimination, exploitation or impairment of health or development.</p><p><strong>Pornography</strong></p><p>The representation in a book, magazine, photograph, film, computer data or any such other media, a scene of sexual behaviour in any form, that is erotic or lewd and is designed to arouse sexual interest.</p><p><strong>Sexual photograph or film</strong></p><p>An image or video that depicts nudity or a picture of someone who is engaged in sexual behaviour or posing in a sexually provocative way.</p><h3 id="offences">Offences</h3><p><strong>Misuse of fake profile</strong></p><p>Any person who individually, or with other persons, makes use of a fake profile to cause harm shall commit an offence. The penalty can be upto a million rupees fine or a maximum of 20 years imprisonment.</p><p><strong>Cyberbullying</strong></p><p>Any person who individually, or with other persons, commits cyberbullying, shall commit an offence. The penalty is again, upto a million rupees fine or a maximum of 20 years imprisonment.</p><p>Same penalty is mentioned for offences of <strong>cyber extorsion, cyberterrorism</strong> and <strong>revenge pornography</strong>.</p><p>How these new offences will help deter cybercrime or facilitate the task law enforcement, only time will reveal. In my opinion, new offences won't be of much help if the attitude of cybercrime officers remains the same. Not even a thousand new definitions will help if the officers do not improve their investigation techniques and become accountable.</p><p>In 2018 when the ICT Act was amended the then Attorney General, M. Gobin, used the same tune about social media to convince people on how useful the amendment will be to help in cases of <a href="http://www.govmu.org/English/News/Pages/ICT-Act-amended-to-regulate-and-curtail-harmful-and-illegal-contents-and-activities.aspx">online threats such as harassment, sextortion and cyber-bullying</a>. He participated in radio &amp; televised debates (on MBC) and at the University of Mauritius. However, since the amendments were made to the ICT Act, we've seen how poeple voicing out against the government are questioned and/or detained for breach of the ICT Act.</p><h2 id="copyright-protection">Copyright protection</h2><h3 id="downloading-pirated-software-movies-and-music">Downloading pirated software, movies and music</h3><p>Section 21 of the Bill mentions infringement of copyright and related rights. This section makes the <strong>download</strong> of music, movies and pirated software a criminal offence liable to upto one million rupees fine or 10 years of imprisonment.</p><h2 id="critical-information-infrastructure-increased-penalty">Critical Information Infrastructure &amp; increased penalty</h2><p>This Bill introduces a definition for Critical Information Infrastructure. The National Cybersecurity Committee will be tasked to select the Critical Information Infrastructures in Mauritius. A system providing life sustaining services (e.g water, health or energy), or has an important effect on the economy, or its disruption could result in massive casualties, will be called a Critical Information Infrastructure.</p><p>The penalty for a cybercrime related to a Critical Information Infrastructure is twice the fine for other crimes described in the Bill, i.e upto Rs 2 million and a maximum of 25 years imprisonment.</p><h2 id="failure-to-moderate-content">Failure to moderate content</h2><p>The failure to moderate content on a webpage, social media page or any other online platform, after having received a notice from an investigatory authority, will be a crime.</p><h2 id="compelling-service-providers-to-provide-access-to-store-data-or-collect-real-time-data">Compelling service providers to provide access to store data or collect real-time data</h2><p>If this Bill is passed, an investigatory authority upon issuance of a Judge's Order, may compel a service provider to provide access to stored data or record real-time traffic data, within its technical capabilities. Any disclosure of the investigation by the service provider will be considered a crime.</p><p>A example of traffic data is the history of your everyday websites and online platforms that you visit, including your mobile internet traffic, phone calls, SMS, etc.</p><p>A example of stored data is your email content if your email is hosted by the service provider. If your service provider is in Mauritius and the email service is hosted outside Mauritius, then irrespectively the service provider will be compelled to provide access to the emails.</p><h2 id="the-national-cybersecurity-committee">The National Cybersecurity Committee</h2><p>The Bill introduces a National Cybersecurity Committee. This committee will be composed of fourteen members including a Chairperson that will be appointed by the Prime Minister. A person from the private sector and another from the civil society will be on this committee and both of them will be appointed by the Minister of Technology, Communication and Innovation. Both persons should have experience in the field of cybersecurity and cybercrime.</p><p><strong>All members of the committee will be remunerated.</strong></p><p>The committee may call upon people who can be of assistance but those persons won't draw any remuneration nor have any voting right at the committee's meetings.</p><p>The composition of the committee seems to be tightly controlled by the minister and the committee will operate in complete opacity, although their decisions will impact everyone who use the Internet and other technological services.</p><h2 id="the-computer-emergency-and-response-team-cert-mu">The Computer Emergency and Response Team (CERT-MU)</h2><p>The CERT-MU is mentioned in Section 38. I read and ignored. In my opinion, the CERT-MU acts like a poster for the government to say that they do cybersecurity stuff. I have plenty of un-answered emails in which I questioned CERT-MU on cybersecurity matters. I believe CERT-MU will have to up the game and be more responsive to people irrespective of their religion, caste, color, political background, bank balance, social status, etc.</p><h2 id="will-the-possession-of-certain-software-be-criminalised">Will the possession of certain software be criminalised?</h2><p>Lastly, Section 13 of the Bill states that any person who intentionally procures for use, a computer system or any other device, designed or adapted primarily for the purpose of committing an offence under the Act shall commit an offence.</p><p>Let's take a deep breath. Is this bill going to make Tor, Wireshark, tcpdump, Linux distributions, and tons of other operating systems and software, become tools likely for the purpose of committing an offence?</p><p>I quote an officer of the Cybercrime Unit who once stood in front of the magistrate and said:</p><blockquote>Investigation has also revealed that Applicant is the head or the king pin of a network, well established network [...] Applicant is himself an IT Specialist with mastery of more than three operating systems, Linux is one of them.</blockquote><p>With this kind of mentality where the knowledge of an operating system can make you a prime suspect, imagine the havoc or damage that the officers might cause if they find you in possession of network pentesting tools.</p><p>A new legislation with the same understaffed, underskilled and underpaid division will not produce results.</p>]]></content:encoded>
        </item>
        <item>
            <title>Proof-of-concept proxy shows user account passwords and private photos can be decrypted</title>
            <link>https://sysadmin-journal.com/proof-of-concept-proxy-shows-user-account-passwords-and-private-photos-can-be-decrypted</link>
            <guid isPermaLink="true">https://sysadmin-journal.com/proof-of-concept-proxy-shows-user-account-passwords-and-private-photos-can-be-decrypted</guid>
            <pubDate>Wed, 19 May 2021 16:59:46 +0000</pubDate>
            <dc:creator>Ish Sookun</dc:creator>
            <category>Mauritius</category>
            <category>Cybersecurity</category>
            <description>A proof-of-concept proxy using Fiddler Everywhere shows that user account passwords from websites like Twitter, LinkedIn, Gmail Hotmail and private photos from Facebook, Messenger and Instagram can be decrypted.</description>
            <content:encoded><![CDATA[<p>Since the publication of ICTA’s <a href="https://www.icta.mu/docs/2021/Social_Media_Public_Consultation.pdf">consultation paper</a><sup>1</sup> on proposed amendments to the ICT Act in order to regulate social media, there has been an outcry and a lot of criticism on the measures proposed. Professionals from the ICT industry have raised alarms over the security risks that the proposed technical framework will give rise to. Legal professionals and civil society activists have expressed that the measures are radically dis-proportionate to the problems stated. The proposed measures will heavily affect the individual’s privacy rights.</p><p>ICTA issued several <a href="https://www.icta.mu/mediaoffice/news2021.htm">communiques</a><sup>2</sup> in an attempt to dispel fear and doubt surrounding their proposal. However, those communiques repeatedly stressed only public posts on Facebook will be filtered and decrypted.</p><p>For example, in a recent <a href="https://www.icta.mu/ICTA_Socialmedia.mp4">video</a><sup>3</sup> published on ICTA’s website, at 2m3s, they say that ICTA won’t get user password, log in, email, private messages, bank details etc.</p><p>In this report, I explain how a proof-of-concept proxy was used to demonstrate the capabilities of the technical framework proposed in Section 11.2 of the consultation paper.</p><p><em><strong>Disclaimer:</strong></em><br><em><strong>The purpose of this report is purely educational and written to demonstrate a specific context. Any misuse of the knowledge of the software or technique described in this report cannot be held against the author, i.e Ish Sookun. If you continue to read, you acknowledge having read this disclaimer.</strong></em></p><h2 id="ictas-proposed-technical-framework">ICTA's Proposed  Technical Framework</h2><p>These three steps are the most important ones that are mentioned in Section 11.2 of the consultation paper and my proof-of-concept will focus on these steps only.</p><ol><li>install a Certification Authority (CA) root certificate in web browser,</li><li>route requests for facebook.com to a proxy server,</li><li>decrypt the HTTPS requests.</li></ol><h2 id="software-technique"><strong>Software &amp; Technique</strong></h2><p>I used <a href="https://docs.telerik.com/fiddler-everywhere/introduction">Fiddler Everywhere</a><sup>4</sup> v1.6.0, <a href="https://www.mozilla.org/en-US/firefox/88.0/releasenotes/">Mozilla Firefox</a><sup>5</sup>, <a href="https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221">Ubuntu 21.04</a><sup>6</sup> and a My.T Internet connection.</p><p>Fiddler generated a CA Root certificate which was added to the certificate store of Firefox. Then, Firefox was configured to use the Fiddler proxy.</p><p>All web requests, i.e HTTP and HTTPS requests, were intercepted by the proxy. HTTPS requests to and from different websites were decrypted in real-time.</p><p>I used my own Facebook, Messenger, Instagram, Twitter, LinkedIn, Gmail and Hotmail accounts in this experiment.</p><h2 id="results">Results</h2><p>I sent the photo of a lazy panda to my wife on Facebook to see whether this private message will be decrypted by the proxy.</p><figure class="kg-card kg-image-card"><img src="https://sysadmin-journal.com/content/images/2021/05/facebook-message-test.png" class="kg-image" alt loading="lazy" width="433" height="460"></figure><p>Yes, the private message was decrypted by the Fiddler proxy and the photo appeared exactly as I sent.</p><figure class="kg-card kg-image-card"><img src="https://sysadmin-journal.com/content/images/2021/05/facebook-private-message-decrypted.png" class="kg-image" alt loading="lazy" width="549" height="613"></figure><p>Next, I tested messenger.com and the first thing I noted was that the proxy decrypted my login and password.</p><figure class="kg-card kg-image-card kg-width-wide"><img src="https://sysadmin-journal.com/content/images/2021/05/messenger-login-password.jpg" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/messenger-login-password.jpg 600w, /content/images/size/w1000/2021/05/messenger-login-password.jpg 1000w, /content/images/2021/05/messenger-login-password.jpg 1318w" sizes="(min-width: 1200px) 1200px"></figure><figure class="kg-card kg-image-card kg-width-full"><img src="https://sysadmin-journal.com/content/images/2021/05/messenger-password-cleartext.png" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/messenger-password-cleartext.png 600w, /content/images/size/w1000/2021/05/messenger-password-cleartext.png 1000w, /content/images/2021/05/messenger-password-cleartext.png 1318w"></figure><p>The email field contained the login. Both login and password were exactly what I typed in the login page of messenger.com. I blurred the fields in the screenshot for obvious reasons.</p><p>I tested Instagram to see whether a picture that my wife sent me would be decrypted the same way the proxy did for the Facebook private message.</p><figure class="kg-card kg-image-card kg-width-wide"><img src="https://sysadmin-journal.com/content/images/2021/05/instagram-private-message.jpg" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/instagram-private-message.jpg 600w, /content/images/size/w1000/2021/05/instagram-private-message.jpg 1000w, /content/images/2021/05/instagram-private-message.jpg 1318w" sizes="(min-width: 1200px) 1200px"></figure><figure class="kg-card kg-image-card kg-width-wide"><img src="https://sysadmin-journal.com/content/images/2021/05/instagram-private-message-decrypted.jpg" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/instagram-private-message-decrypted.jpg 600w, /content/images/size/w1000/2021/05/instagram-private-message-decrypted.jpg 1000w, /content/images/2021/05/instagram-private-message-decrypted.jpg 1318w" sizes="(min-width: 1200px) 1200px"></figure><p>Yes, the picture of the adorable Quokka was decrypted by the proxy, as you may see in the above screenshot.</p><p>I tested Twitter and I could see my login, password and direct messages in clear text.</p><figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://sysadmin-journal.com/content/images/2021/05/twitterl-dm-decrypted.png" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/twitterl-dm-decrypted.png 600w, /content/images/size/w1000/2021/05/twitterl-dm-decrypted.png 1000w, /content/images/2021/05/twitterl-dm-decrypted.png 1318w" sizes="(min-width: 1200px) 1200px"><figcaption>Twitter DM decrypted by the proxy</figcaption></figure><p>Lastly I tested Gmail, Hotmail and LinkedIn. The login and password of all three platforms appear in clear text.</p><p>You will notice that Firefox never prompted me about any untrusted connection while the proxy decrypted the HTTPS traffic.</p><figure class="kg-card kg-image-card"><img src="https://sysadmin-journal.com/content/images/2021/05/mozilla-firefox-fiddler-self-signed-certificate.jpg" class="kg-image" alt loading="lazy" width="742" height="432" srcset="/content/images/size/w600/2021/05/mozilla-firefox-fiddler-self-signed-certificate.jpg 600w, /content/images/2021/05/mozilla-firefox-fiddler-self-signed-certificate.jpg 742w" sizes="(min-width: 720px) 720px"></figure><p>See above, the padlock will give you the impression that the website is genuine and it can be trusted. However, the certificate is issued by Fiddler and signed with "DO_NOT_TRUST_BC".</p><p>Facebook.com is signed by DigiCert and not DO_NOT_TRUST_BC.</p><p>Lastly, without decryption there is no way to identify what content the user is accessing on Facebook because all traffic will appear as <code>facebook.com:443</code>.</p><figure class="kg-card kg-image-card kg-width-full"><img src="https://sysadmin-journal.com/content/images/2021/05/facebook-wo-https-decrypt-1.png" class="kg-image" alt loading="lazy" width="1318" height="741" srcset="/content/images/size/w600/2021/05/facebook-wo-https-decrypt-1.png 600w, /content/images/size/w1000/2021/05/facebook-wo-https-decrypt-1.png 1000w, /content/images/2021/05/facebook-wo-https-decrypt-1.png 1318w"></figure><p>As seen above, all Facebook traffic end with <code>:443</code> because the complete URL is encrypted. There is no means to know where does <code>facebook.com:443</code> lead to, whether it leads to <code>facebook.com/public-post</code> or <code>facebook.com/private-content</code>. To obtain the URL information, the entire Facebook traffic will have to be decrypted. This means decrypting login, passwords, public posts and private messages in the process.</p><p>Login details, passwords and content sent via private messages can be decrypted by a proxy that is trusted by the web browser. At no point the browser will notify that the website being visited is being proxied and decrypted.</p><p>Therefore, if someone starts with decrypting facebook.com today and tomorrow decides to start decrypting gmail.com, the Internet user will not know that this is happening.</p><blockquote>Credits to S. Moonesamy for mentioning a proof-of-concept proxy in his <a href="http://www.elandsys.com/~sm/slides/unsafe-web-browsing-mauritius.html">slide decks</a><sup>7</sup> on Unsafe Web Browsing in Mauritius.</blockquote><blockquote>Cover photo by <a href="https://unsplash.com/@etiennegirardet?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Etienne Girardet</a> on <a href="https://unsplash.com/s/photos/surveillance?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a>.</blockquote><ol><li><a href="https://www.icta.mu/docs/2021/Social_Media_Public_Consultation.pdf">https://www.icta.mu/docs/2021/Social_Media_Public_Consultation.pdf</a></li><li><a href="https://www.icta.mu/mediaoffice/news2021.htm">https://www.icta.mu/mediaoffice/news2021.htm</a></li><li><a href="https://www.icta.mu/ICTA_Socialmedia.mp4">https://www.icta.mu/ICTA_Socialmedia.mp4</a></li><li><a href="https://docs.telerik.com/fiddler-everywhere/introduction">https://docs.telerik.com/fiddler-everywhere/introduction</a></li><li><a href="https://www.mozilla.org/en-US/firefox/88.0/releasenotes/">https://www.mozilla.org/en-US/firefox/88.0/releasenotes/</a></li><li><a href="https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221">https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221</a></li><li><a href="http://www.elandsys.com/~sm/slides/unsafe-web-browsing-mauritius.html">http://www.elandsys.com/~sm/slides/unsafe-web-browsing-mauritius.html</a></li></ol>]]></content:encoded>
        </item>
        <item>
            <title>Mauritius: Cybersecurity Bill</title>
            <link>https://sysadmin-journal.com/cybersecurity-bill-mauritius</link>
            <guid isPermaLink="true">https://sysadmin-journal.com/cybersecurity-bill-mauritius</guid>
            <pubDate>Sat, 26 Sep 2020 06:53:46 +0000</pubDate>
            <dc:creator>Ish Sookun</dc:creator>
            <category>Legislation</category>
            <category>Cybersecurity</category>
            <category>Mauritius</category>
            <description>The Minister of Technology, Communication and Innovation (TCI), Deepak Balgobin, announced that the Cybersecurity Bill will be introduced to the National Assembly of Mauritius as parliament resumes on the 3rd of November 2020</description>
            <content:encoded><![CDATA[<p>The Minister of Technology, Communication and Innovation (TCI), Deepak Balgobin, <a href="https://defimedia.info/le-cybersecurity-bill-presente-au-parlement-en-novembre">announced</a> that the Cybersecurity Bill will be introduced to the National Assembly of Mauritius as parliament resumes on the 3rd of November 2020.</p><p>I haven't heard about any public consultation regarding this bill, neither have I heard from anyone from the local tech user groups speaking about it. Therefore, I am assuming that none of the active user groups of Mauritius were invited to share their opinion on a legislation that could affect a whole community of internet users in the country.</p><p>Copying &amp; pasting a legislation from other parts of the world is not a solution.</p>]]></content:encoded>
        </item>
    </channel>
</rss>
