Firefox easily bypasses protection in the new Gmail interface.
Recently, Google introduced a new design of Gmail. If desired, each user can switch to it, and soon all G Suite users will be transferred forcibly .
This design has implemented several new security features, including the so-called confidential mode . Here the sender sets the validity period of the letter, after which it “disappears”. At least that should work. In fact, there are several ways to circumvent this protection, save the received message, copy or print.
Create a confidential letter Gmail: the letter indicates the date of disappearance and activation code from SMS, which must be entered to gain access to it
, Google calls the system Information Rights Management - the term is more than ten years ago, invented the Microsoft company for similar features in Microsoft Office. In reality, this is a kind of analogue of DRM, only for email.
Specialists from the Electronic Frontier Foundation see several problems in how Gmail’s privacy mode is implemented.
Frivolous protection
First, these are simple circumvention methods for this “protection”. It is obvious that you can make a screenshot of the received letter. You can simply save it in its original form. Although there is no “Save” or “Download Letter” button in Gmail, there is such a button in the browser and it works normally on confidential emails.
Secondly, the letter is not really deleted completely - it continues to be stored in the Sent Items folder of the sender, that is, on Google servers. Even if both the sender and the recipient clicked the "Delete forever" buttons and emptied the baskets, the letters still remain on Google servers for up to 60 days .
Finally, Google prohibits printing confidential emails from the web interface. But such protection is implemented using CSS rules.
@media print
that hide the main content while printing. Remove the ban on printing is very easy. For example, in the Firefox browser, open the Style Editor in the web console - and delete unnecessary rules. Alternatively, you can simply click on the left eye shape icon and turn off all the CSS styles on the page. In other browsers with embedded developer tools, you can also find it @media print
in the code, comment it out, or delete it. But in Firefox this is probably the easiest thing to do. In general, the rules are
@media print
implemented in the standard in order to help the user print a page without unnecessary "garbage". That is, Google uses this rule for other purposes and abuses it, experts say .Google also used several tricks to block copy-paste, but they can also be circumvented.
First, this CSS property
user-select
, which does not allow to select text . It is deactivated from the same style editor in Firefox: simply disable all styles or write your own rule that returns normal behavior (auto) when text is selected. Secondly, Google introduced JavaScript, which blocks the context menu that allows you to copy text. This restriction in Firefox is removed in the configuration
about:config
where the setting dom.event.contextmenu.enabled
should be set to the state false
(false means that JavaScript does not have the ability to block the context menu).Security illusion
It can be assumed that even such unreliable protection of letters is better than none at all. Unfortunately, this is not the case. Information security experts have repeatedly warned that in such conditions users experience an illusion of security. Because of this, they are more blithely concerned with the transfer of confidential information, unnecessarily relying on the security and privacy of Gmail emails. In other words, such protection may even worsen the real protection of information and increase the number of leaks of confidential documents.
“If money, if the market determines security measures and if people make decisions based on their sense of security, then the most intelligent thing a company can do, on the basis of economic considerations, is to give people a sense of security. And there are always two ways to achieve this. First - you can really protect people and hope that they will pay attention. Or secondly, you can create a sense of security and hope that they will not pay attention, ”said Bruce Schneier in his TED lecture , which is called Security Illusion.
DRM in the mail
The specialists of the Electronic Frontier Foundation (EFF) note that the end-to-end encryption is not used in confidential mode, that is, the letter still passes in open form through Google servers, and the company has the technical ability to store copies of letters indefinitely, set "date of removal".
In addition, to activate SMS protection, the sender must disclose Google the recipient's mobile phone number — potentially without the consent of the recipient.
According to the EFF, the IRM (DRM) system implemented in Gmail does not rely on technology, but on the Digital Millennium Copyright Act(DMCA) 1998, which directly prohibits third parties from circumventing this protection. For the first such violation, up to five years in prison and a fine of up to $ 500 thousand are threatened. Theoretically, disabling protection in the Firefox web console style editor can also be considered a violation of the DMCA. Again, in theory, Google has the right to put pressure on Firefox developers to deactivate this feature for Gmail, and to start pursuing developers of third-party extensions who will try to bring this functionality back to Firefox.
“We believe that information security products should not rely on the courts to provide their intended safeguards, but should rely on technologies such as end-to-end encryption that provide actual mathematical guaranteesconfidentiality , the EFF said in a statement . “We believe that the use of the term“ confidential mode ”for a function that does not ensure confidentiality, as this term is understood in IS, is misleading.”
EFF believes that there can be no privacy in unencrypted mail, this also applies to Gmail's “confidential mode”. Perhaps this function makes sense in a narrow corporate environment, but for most users there are no guarantees of privacy and the necessary functions inherent in secure communications. First of all, there is no secure end-to-end encryption of digitally signed mail .