<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bill Marczak on Medium]]></title>
        <description><![CDATA[Stories by Bill Marczak on Medium]]></description>
        <link>https://medium.com/@billmarczak?source=rss-bf44d2eaf6a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*0UJXvJsI3WVJY34TMH28TQ.jpeg</url>
            <title>Stories by Bill Marczak on Medium</title>
            <link>https://medium.com/@billmarczak?source=rss-bf44d2eaf6a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:50:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@billmarczak/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[An Angry Spark, or a Triangle in Disguise?]]></title>
            <link>https://medium.com/@billmarczak/an-angry-spark-or-a-triangle-in-disguise-ac32852a1be3?source=rss-bf44d2eaf6a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac32852a1be3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[spyware]]></category>
            <dc:creator><![CDATA[Bill Marczak]]></dc:creator>
            <pubDate>Mon, 27 Jul 2026 15:03:43 GMT</pubDate>
            <atom:updated>2026-07-27T15:10:17.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*BFWySYVTgaqGy5bz-bpbnA.png" /><figcaption>A Union-Jack-clad triangle angrily emits sparks on the screen of a retro monitor (Source: ChatGPT)</figcaption></figure><p>On April 14, 2026, <em>Gen Digital</em> published “<a href="https://www.gendigital.com/blog/insights/research/chasing-an-angry-spark"><em>Chasing an Angry Spark</em></a><em>”</em>, a report about sophisticated Windows spyware that <em>Gen</em> saw once in 2022, and never again. Fascinatingly, the payload they found — and its command-and-control (C&amp;C) servers — appeared to be completely novel to the threat intelligence community.</p><p>So <em>how</em> did <em>Angry Spark</em> remain undetected for so long, and precisely <em>who </em>is behind it? <em>Gen </em>did not directly address these questions, but instead provided an oblique hint: the use of British orthography (“sombrely”) in the payload’s strings.</p><p>However, in a strange twist, it turns out that years before, <em>we</em> had unwittingly stumbled upon one of the C&amp;C servers listed in <em>Gen’</em>s report while examining what we surmised was spyware activity. Our investigation provides a compelling clue as to the pedigree of the <em>Angry Spark </em>spyware and its operators.</p><h3>A Hit and a Pivot</h3><p>In the Summer of 2020, we noted a Middle Eastern network communicating with a suspected spyware C&amp;C, <strong>ad43-nxs[.]com</strong>. Our experience mapping spyware tells us that its operators tend to divide their targets among multiple such servers, all with similar behavior. Thus, we set out to find the ones we were missing by <em>pivoting</em> on the characteristics of <strong>ad43-nxs[.]com</strong>. But, we ran into a problem: the standard techniques we tried (e.g., searching for comparable response headers, body, and <a href="https://github.com/salesforce/jarm">JARM</a>) yielded no additional servers. Clearly, we had to pivot harder!</p><p>Fortunately, the operator of <strong>ad43-nxs[.]com </strong>had made an intriguing–if not altogether unusual–choice: they had set up the server to forward any TCP/IP SYN on port 443 through multiple intermediate hops, before a TCP/IP stack on an endpoint generated a SYN/ACK response (as indicated by lower-than-expected response IP TTL values combined with higher-than-expected round-trip-time). This behavior allowed us not only to <em>directly measure</em> the endpoint without the added complexity of laundering probes through (say) a frontend HTTP proxy, but, crucially, also to fingerprint the <em>forwarding path itself</em>.</p><p>We built such a path fingerprint, which we call <strong>IP-ESSENCE</strong>, based primarily on responses we triggered using the <a href="https://datatracker.ietf.org/doc/html/rfc791"><em>Record Route</em> IP option</a>. As one may expect from the option’s name, all intermediate hops that handle an IP packet including <em>Record Route</em>–and whose IP stacks have made the (popular) <a href="https://datatracker.ietf.org/doc/html/rfc1122">choice to</a> support it–append their <em>own</em> IP address to the earliest unfilled slot in the option; any filled slots are forwarded unmodified. Furthermore, the Linux Kernel’s TCP implementation <a href="https://github.com/torvalds/linux/blob/v7.0/include/net/tcp.h#L2640">copies</a> the <em>Record Route </em>option from an incoming SYN into the response SYN/ACK’s IP header, though we could not trace this behavior to any RFC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRPb0q-1zv9X_J2WcaF9nQ.png" /><figcaption>hping3 output shows an example of a returned SYN/ACK with a filled Record Route header.</figcaption></figure><p>While routers tend to drop packets containing IP options as they traverse the internet, most of this filtering <a href="https://www2.eecs.berkeley.edu/Pubs/TechRpts/2005/EECS-2005-24.pdf">occurs at <em>network boundaries</em></a>. As <a href="https://www.columbia.edu/~ebk2141/papers/record_route-imc17.pdf">expected</a>, we were able to reliably elicit TCP SYN/ACKs with <em>Record Route</em> from <strong>ad43-nxs[.]com</strong> by siting our measurement machine within the same network (Amazon) and EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">region</a> (<em>ap-southeast-1</em>) as the suspected C&amp;C.</p><p>Our most recent successful <strong>IP-ESSENCE</strong> scan on EC2 was in 2024. We set up measurement instances within the free tiers of most Amazon EC2 regions and conducted in-region scanning with <em>Record Route</em>. We probed approximately 130 million IPs, and nearly 80 matched our<strong> </strong>fingerprint. When we later presented our methodology at an invite-only threat intelligence conference, <strong>IP-ESSENCE</strong> became far less effective.</p><h3>From OBTUSE to SCALENE</h3><p>While <strong>IP-ESSENCE</strong> was operative, we found two main clusters of suspected spyware activity on Amazon EC2. The first, which we call <strong><em>OBTUSE</em></strong>, used proxy chains of length 3 and was dispersed across multiple EC2 regions. Within <strong><em>OBTUSE</em></strong>, we noted several sub-clusters, which often tracked geographic regions. Among them were <strong><em>OBTUSE-RU</em></strong>, focused on Russia, and <strong><em>OBTUSE-ME-1</em></strong><em>,</em><strong> </strong>focused on the Middle East.</p><p>It was in 2023 that we learned our <strong><em>OBTUSE</em></strong> cluster represented <em>bona fide </em>spyware activity: <a href="https://securelist.com/operation-triangulation/109842/"><em>Operation Triangulation</em></a>! Kaspersky’s report listed IOCs including one of the four <strong><em>OBTUSE-RU</em></strong> domains we identified, <strong>ans7tv[.]net</strong>. Leaked <em>Snort</em> rules purportedly from Kaspersky Lab that were posted publicly on <em>BreachForums</em> included the same domain alongside <strong>ad43-nxs[.]com </strong>(<strong><em>OBTUSE-ME-1</em></strong>),<strong> </strong>both tagged as “EquationGroup-TriangleDB”.</p><p>We note that the purported leaked Kaspersky IOCs do <em>not</em> include any further <strong><em>OBTUSE</em></strong> domains, showing that whoever generated the list of IOCs probably did <em>not</em> independently find <strong>IP-ESSENCE</strong>. Yet, they knew <em>just enough </em>to associate <strong>ad43-nxs[.]com</strong> with <strong>ans7tv[.]net</strong>. We propose that the list’s author (perhaps Kaspersky) identified a Middle East deployment of <em>Operation Triangulation</em>’s spyware sometime in 2023 or earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sHBxJTiGnJAkIEKO7FsInw.png" /><figcaption>BreachForums user IgrooEagle<em> offered up purported Kaspersky goodies for sale, but publicized, perhaps, the most interesting ones for free.</em></figcaption></figure><p>While Kaspersky’s report answered the <strong><em>OBTUSE</em></strong> question, the second suspected spyware cluster, which we call <strong><em>SCALENE</em></strong>, remained a stubborn mystery. In contrast with <strong><em>OBTUSE</em></strong>, the <strong><em>SCALENE</em></strong> infrastructure used proxy chains of length 4, TLS certificates with third-level domains, and was exclusively located in the <em>eu-west-2</em> EC2 region, sited in London.</p><p>The <strong><em>SCALENE </em></strong>cluster <em>also</em> had uncommon responses that allowed us to pivot to related infrastructure hosted outside of Amazon EC2. The off-EC2 <strong><em>SCALENE</em></strong> infrastructure was largely hosted on the UK IP addresses of various cloud providers. Puzzlingly, we were never able to understand the victimology of <strong><em>SCALENE</em></strong>, leading us to suspect that any spyware operations were low volume, or confined to specific geographic regions.</p><h3>SCALENE shifts into focus</h3><p>On April 14, 2026, <em>Gen</em> provided a critical <a href="https://www.gendigital.com/blog/insights/research/chasing-an-angry-spark">missing piece</a>: the second stage (“Stage 1”) of the novel spyware they observed talked to one of the off-EC2 <strong><em>SCALENE</em></strong> servers we had found: <strong>pick.storewebzone[.]net</strong>, hosted on <strong>185.151.31[.]111</strong>. Thus, we learned that not only did our <strong><em>OBTUSE</em></strong> cluster represent <em>actual</em> spyware, but so too did our <strong><em>SCALENE</em></strong> cluster!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*CNdTAT06b97SiCg8XoTMeA.png" /><figcaption>Two spywares, one fingerprint.</figcaption></figure><p>Despite Gen’s breakthrough, mysteries remain. We were quite surprised that the spyware Gen found was not only designed for <em>Windows</em>, but also contained (at least) one instance of British spelling. This shows two important contrasts with <em>Operation Triangulation</em>, an <em>iPhone</em> attack that was (at least partially) US-linked (including via improper OPSEC during procurement of IP address space, a problem that has <a href="https://www.reuters.com/investigates/special-report/usa-spies-iran/">long bedeviled</a> the US intelligence community).</p><h3>Coincidence, or coordination?</h3><p>So what does it mean that UK-ish Windows spyware overlaps with US-ish iOS spyware? To start, we must entertain the possibility that we pivoted <em>too hard. </em>Perhaps our jump from <strong><em>OBTUSE</em></strong> to <strong><em>SCALENE</em></strong> was a coincidence, and we accidentally found infrastructure for a spyware deployment wholly unrelated to <em>Operation Triangulation.</em> On the other hand, both <em>Angry Spark</em> and <em>Triangulation</em> appear highly targeted, and our pivoting does not seem to have strayed beyond Western-aligned operations. We think a more likely possibility is that both <strong><em>OBTUSE</em></strong> and <strong><em>SCALENE</em></strong> shared private tooling or, at least, a “playbook” for standing up infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac32852a1be3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Triangulation: Did “the NSA” fail to learn the lessons of NSO?]]></title>
            <link>https://medium.com/@billmarczak/triangulation-did-the-nsa-fail-to-learn-the-lessons-of-nso-5f36d251d02e?source=rss-bf44d2eaf6a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f36d251d02e</guid>
            <category><![CDATA[spyware]]></category>
            <category><![CDATA[triangulation]]></category>
            <category><![CDATA[nso-group]]></category>
            <category><![CDATA[pegasus]]></category>
            <category><![CDATA[nsa]]></category>
            <dc:creator><![CDATA[Bill Marczak]]></dc:creator>
            <pubDate>Sat, 03 Jun 2023 03:21:36 GMT</pubDate>
            <atom:updated>2023-06-03T03:21:36.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*I3ug45G_0J-cu41MYMGp2w.png" /><figcaption>A superimposition of the reverse of the <a href="https://en.wikipedia.org/wiki/Great_Seal_of_the_United_States"><em>Great Seal of the United States</em></a><em> upon the reverse of an iPhone.</em></figcaption></figure><p>The 1st of June 2023 saw perhaps the most exciting development in the targeted spyware research space in recent memory.</p><p>The Russian government’s Federal Security Service (FSB) <a href="http://www.fsb.ru/fsb/press/message/single.htm!id=10439739@fsbMessage.html">released</a> a statement indicating that they had detected a hacking campaign by the US National Security Agency (NSA) that compromised “thousands” of Apple iPhones within Russia. The FSB’s statement also, bizarrely, asserted collusion between the NSA and Apple, throwing the veracity of the rest of the FSB’s claims into question. Private sector offensive actors like NSO, QuaDream, and others, have <a href="https://www.virusbulletin.com/conference/vb2022/abstracts/exploit-archaeology-forensic-history-wild-nso-group-exploits/">regularly fielded</a> zero-click, zero-day exploits against Apple and Android phones, without any collusion with these companies.</p><p>The FSB statement alone might have barely registered a blip in the news cycle. However, around the same time, Kaspersky Lab released a <a href="https://securelist.com/operation-triangulation/109842/">public report</a> about forensic traces left behind by the very same hacking campaign, which they called TRIANGULATION. The technical details that Kaspersky published underline the fact that a <em>bona fide</em> hacking campaign existed and was detected, even if the jury is still out on some of the particulars. Interestingly, Kaspersky’s report leaves unsaid how the campaign was initially discovered (and who discovered it), but analysis of the domain names published by Kaspersky indicates that a defender may have discovered the attacks in early-to-mid 2021, causing the attacker to rotate some of their infrastructure.</p><p>For their part, Kaspersky <a href="https://www.reuters.com/technology/russias-fsb-says-us-nsa-penetrated-thousands-apple-phones-spy-plot-2023-06-01/">told Reuters</a> they came to know about the attack in early 2023, when they discovered suspicious data exfiltration from devices used by Kaspersky’s management. Once Kaspersky had identified dates and times of interest, they <a href="https://securelist.com/operation-triangulation/109842/">examined</a> forensic timelines of these same mobile devices, and noticed a number of items they regarded as suspicious, including a process referring to itself as “<em>BackupAgent</em>” running on the phone around the times of compromise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*CNZnxFgjJ6X6pnvjifWCNg.png" /><figcaption>“<em>BackupAgent</em>”, the indicator soon to be “<a href="https://en.wikipedia.org/wiki/Shot_heard_round_the_world">heard ‘round the world</a>”?</figcaption></figure><p>While this story is presently confined to Russia, it seems poised to break through onto the global stage. If, indeed, the attacker is a US government agency as the FSB claims, and if, indeed, this attacker has targeted thousands of devices in Russia, it then stands to reason that the scope of the activity extends well beyond Russia. The tantalizing prospect here is that there are a half-decade’s worth of targets to discover around the globe (judging by registration and expiry dates of published domains, 2019-present), with the attacker’s target selection unfettered by the sort of geographic restrictions that might be imposed by a commercial surveillance vendor. (As is well-known, NSO Group reportedly <a href="https://www.haaretz.com/middle-east-news/2020-08-25/ty-article/.premium/with-israels-encouragement-nso-sold-spyware-to-uae-and-other-gulf-states/0000017f-dbf3-d856-a37f-fff3a4ba0000">bans many</a> Pegasus users from spying in Israel, Iran, Russia, China and the United States).</p><h3><strong>Unanswered Questions: What is “<em>BackupAgent</em>” telling us?</strong></h3><p>Kaspersky has released a utility for command-line whizzes called “<a href="https://github.com/KasperskyLab/triangle_check">Triangle Check</a>” that, more or less, flags traces of a process referring to itself as “<em>BackupAgent</em>” consuming mobile data. The utility also displays a result of “SUSPICION” if a heuristic developed by Kaspersky is matched, though the interpretation of the “SUSPICION” result is unclear. Perhaps, as Kaspersky obtains additional data from compromised devices, they will hone their tool and add additional indicators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tfop8FqxvsnCd5jIWSEoGw.png" /><figcaption>An example of what a positive result from Kaspersky’s tool might look like (dates redacted).</figcaption></figure><p>At first glance, the “<em>BackupAgent</em>” indicator seems rather compelling. While a legitimate binary called <em>BackupAgent</em> is still shipped with the latest iOS version as of this writing (16.5 — you can find it at <em>/usr/libexec/BackupAgent </em>on your iPhone), it is unclear what might cause this process to be invoked during normal phone usage, given that another process, <em>BackupAgent2,</em> has apparently subsumed its functionality. The <em>BackupAgent </em>binary may manage some deprecated or legacy aspect of conducting an “iTunes backup” or “restore” of the device while it is connected to a host computer. Even if the process happens to be invoked, the prospect of the legitimate <em>BackupAgent</em> consuming mobile data seems hard to fathom.</p><p>There are at least four interesting questions about any proposed indicator of compromise, such as “<em>BackupAgent</em>”.</p><h4><strong>1. Is this indicator <em>definitive evid</em>ence of compromise?</strong></h4><p>If indeed it is not plausible for a legitimate process calling itself “<em>BackupAgent</em>” to consume mobile data, and the backup in question has not been tampered with, then, yes, it seems this is a definitive result indicating some sort of compromise. If, on the other hand, there is actually some weird corner case where a legitimate process calling itself “<em>BackupAgent</em>” <em>can</em> consume mobile data, then no, presence of this indicator is not definitive.</p><p>It could be instructive here to perform an analysis of various ways that the legitimate <em>BackupAgent</em> could be triggered and use data.</p><h4><strong>2. If definitive, is this indicator <em>specific</em>?</strong></h4><p>In other words, if I see that “<em>BackupAgent</em>” has consumed mobile data on my phone, can I conclude that I was targeted by TRIANGULATION? Or might there be a totally unrelated group (for fun let’s call it QUADRILATERAL) that, through a stroke of ad-hoc genius (or shared lineage of tooling), also happened upon the “<em>BackupAgent</em>” process name?</p><p>A situation where two threat actors accidentally collide on the same legitimate iOS process name seems conceptually far more likely than a situation where two actors plumb the depths of their creativity to generate a “fake” process name and achieve an identical result. (Note that NSO Group famously made use of “fake” process names, and these “fake” names turned out to be <a href="https://www.amnesty.org/en/latest/research/2021/07/forensic-methodology-report-how-to-catch-nso-groups-pegasus/">an excellent fingerprint</a> for detecting traces of older Pegasus infections).</p><p>Indeed, the possibility of overlap on legitimate process names is why we at Citizen Lab <a href="https://citizenlab.ca/2023/04/spyware-vendor-quadream-exploits-victims-customers/">concluded</a> in a recent report only with “medium confidence” that the presence of the QuaDream process name <em>/private/var/db/com.apple.xpc.roleaccountd.staging/subridged</em> when observed alone was indicative of infection with QuaDream spyware (“subridged” is also a legitimate Apple process name, though the legitimate process would never be run from this directory). Only in cases where additional indicators linkable to QuaDream’s spyware were present did we upgrade our assessment to “high confidence.”</p><h4><strong>3. If “BackupAgent” is specific, what is it specific to?</strong></h4><p>Is it a type of mercenary spyware sold to multiple governments, like Pegasus? Is it a type of spyware operationalized by multiple US Government entities (ala the <em>“</em><a href="https://www.kaspersky.com/about/press-releases/2015_equation-group-the-crown-creator-of-cyber-espionage"><em>Equation Group Implants</em></a><em>”</em>)? Is it spyware developed from the ground up by a single unit of a single agency for its own exclusive use? Or is it something else entirely?</p><h4><strong>4. What sort of <em>completeness</em> should we expect from this indicator?</strong></h4><p>While security professionals do a good job making clear that the absence of an indicator is a “nothing found” result rather than a “clean bill of health” result, there is still an interesting question about what mental model we should bring to the table about the “<em>BackupAgent</em>” indicator. Will this cover 100% of TRIANGULATION cases? 50%, 10%?</p><h3><strong>Could TRIANGULATION have been “smarter”?</strong></h3><p>At the end of the day, the TRIANGULATION attack was detected. Could attackers have avoided this outcome through more clever operational design? Is avoiding detection even important?</p><p>In this regard, it may be instructive to study the case of NSO Group, a threat actor that continues to field zero-click, zero-day exploits targeting the latest devices, despite a raft of negative publicity stemming from their customers’ abuse of Pegasus to target journalists, human rights defenders, activists, political opposition, and others. NSO Group has had the benefit of rapid feedback in the form of a series of reports from us at Citizen Lab, as well as Amnesty International and other research groups, from 2016 through 2023. These reports have described not only abuse of Pegasus but also <em>h</em>ow we detected and attributed Pegasus.</p><p>Here are some of the lessons NSO Group have likely learned over the years, both from these reports, and from other cases where their spyware was detected.</p><h4><strong>Lesson #1: You don’t have to be at the top of your game to detect sophisticated mobile spyware.</strong></h4><p>With apologies to Turkey, that government is not generally regarded as being among the ranks of “top tier” cyber powers. Yet, they still managed to detect a Saudi-directed Pegasus hack against an (as yet unnamed) target sometime in late 2019. How do we know? Well, the Turkish CERT (quietly) added domains used by the Saudi Pegasus customer in 2019 to its “list of malicious links”, which appears intended for use among cyber defenders in Turkey. The Turkish CERT also sinkholed these domains <a href="https://citizenlab.ca/2020/12/the-great-ipwn-journalists-hacked-with-suspected-nso-group-imessage-zero-click-exploit/">nationwide</a>, pointing them to a Turkish CERT IP address to gather victim telemetry. However, as this sinkholing was cleverly conducted only on network infrastructure within Turkey (via network injection and local manipulation of DNS answers) it would have been non-obvious to those outside Turkey that this action had been taken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kcDLv527aSTkYdfMSBfZwA.png" /><figcaption>Turkey detected what appeared to be a zero-click Pegasus attack against a target’s device in late 2019 and sinkholed domains used in the attack nationwide.</figcaption></figure><p>You also don’t need to be a signals intelligence whiz to detect this sort of exfiltration. As we at Citizen Lab <a href="https://citizenlab.ca/2021/05/correspondence-between-the-citizen-lab-and-nso-group-regarding-the-great-ipwn/">published</a>, we detected several zero-click Pegasus infections in 2020 by flagging large uploads to unpopular domain names from mobile phones. It turns out that this sort of naïve analysis is quite tractable and productive for mobile devices, especially if the users of the devices are playing within the confines of Apple or Google’s walled garden.</p><h4><strong>Lesson #2: You don’t have to be a whiz to <em>uncover a </em>hidden infrastructure.</strong></h4><p>No matter how much an attacker thinks they are varying the behavior of their infrastructure,<strong><em> it is likely that there will be some link between operations carried out with shared tooling in multiple contexts.</em></strong> Just as attackers perpetually maintain a cyber advantage over defenders because attackers only have to find <em>one</em> weakness whereas defenders have to secure all avenues, <em>fingerprinters </em>(those defenders seeking to track attacker infrastructure) perpetually maintain a cyber advantage over attackers because fingerprinters only have to find <em>one</em> commonality among infrastructure, while attackers have to ensure <em>no</em> commonality is findable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*uRSSavzLywQwBnZLWn3pbQ.jpeg" /><figcaption>Hundreds of defunct CIA covert communications websites, like this one, were linkable together by US adversaries.</figcaption></figure><p>The Iranian government <a href="https://finance.yahoo.com/news/cias-communications-suffered-catastrophic-compromise-started-iran-090018710.html">famously</a> arrested CIA assets active in their country after unmasking a hidden communications network, in which each asset communicated with Agency handlers via a separate CIA-designed website. Despite Agency efforts to differentiate the websites, Iran was still able to discover commonalities shared among the websites, allowing the government to reportedly unravel the CIA’s network within Iran. Iran is also said to have discovered similar CIA-designed websites used by assets in <em>other countries</em> and tipped off those governments to the espionage.</p><p>In 2022, we at Citizen Lab <a href="https://citizenlab.ca/2022/09/statement-on-the-fatal-flaws-found-in-a-defunct-cia-covert-communications-system/">replicated</a> what we suspect may have been the Iranians’ analysis in order to understand and illustrate the <em>Achilles’ heel</em> of the CIA’s infrastructure. Based on one website <a href="https://www.reuters.com/investigates/special-report/usa-spies-iran/">provided to us</a> by Reuters reporter Joel Schectman, we identified 885 websites in at least 29 languages, geared towards suspected Agency assets in at least 36 countries.</p><p>The cybersecurity community knows a lot of ways that infrastructure <em>can</em> be linked together. Search engines for Internet scanning data, such as <a href="https://censys.io/">Censys</a>, <a href="https://community.riskiq.com/home">RiskIQ</a>, or <a href="https://shodan.io/">Shodan</a>, expose many popular pivots, including HTTP response hashes, JARM fingerprints, TLS certificates, HTTP header ordering, and so on. But these pivots merely scratch the surface of what is possible for a committed fingerprinter to achieve. What the cybersecurity community does <em>not</em> know is how to design <em>unlinkable</em> infrastructure.</p><h3><strong>Attacker Takeaway: Is the only winning move not to play?</strong></h3><p>Let’s say you’re an attacker. Given Lessons #1 and #2, perhaps the only winning move for you is (to the extent that you can) refusing to exfiltrate data from your targets, and refusing to set up infrastructure.</p><h4><strong>What if you don’t exfiltrate?</strong></h4><p>Well, if you’re an attacker, you have to exfiltrate something, right? But what if the thing you exfiltrate could be really small, like passwords, login cookies, two-factor codes, or tokens to access the victim’s online services?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*V7y6L3hYFjL1VyNbSyuaSw.png" /><figcaption>A Financial Times report about NSO’s cloud exfiltration capability.</figcaption></figure><p>Commercial vendors have figured this out, with QuaDream <a href="https://citizenlab.ca/2023/04/spyware-vendor-quadream-exploits-victims-customers/">offering</a> a solution to steal passwords and two-factor login codes from devices, and NSO reportedly offering something similar. In other words, wherever possible, you should steal the copy of the information you want “from the cloud” rather than “from the phone”. While breaking into cloud accounts is subject to potential discovery by cloud service providers, it has the potential to leave a device largely exfiltration-free, robbing defenders of a crucial opportunity to flag malicious behavior.</p><h4>What if you don’t set up infrastructure?</h4><p>Let’s take it a step further. What if you as an attacker could exfiltrate this minimal payload of passwords and login tokens through <em>someone else’s</em> infrastructure? Say, via an iMessage? Spyware without publicly addressable infrastructure: perhaps the holy grail!</p><p>However, for the sake of argument, there might also be a need for you to exfiltrate large items from the device itself, and you might be nervous about conducting these sort of transfers through messaging services where such usage patterns might cause your account(s) to be flagged for abuse or scrutiny, perhaps leading to eventual discovery.</p><p>Still, there is no reason that communication with a particular IP or domain name <em>need indicate</em> that a device is compromised. Why not use a popular cloud storage service? At a minimum, the IPs your victims talk to will be shared among a multitude of benign uses. And if you’re lucky, and that cloud storage service allows user uploads to their root domain, the domain name won’t give anything away either: the bucket identifier will be safely ensconced in a TLS encrypted (and with certificate pinning, authenticated) session. Also, using a unique subdomain of someone else’s domain name could become less of a worry for attackers going forward, especially with the advent of TLS 1.3, encrypted DNS, and ESNI, which could place precise information about endpoints accessed by a compromised device outside the reach of some defenders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*lXA80Y4AiPQovT9lx0gwgQ.png" /><figcaption>Motherboard reported on the fact that Amazon shut down accounts linked to NSO Group after Amnesty International disclosed domains they saw in a Pegasus attack to Amazon.</figcaption></figure><h4><strong>Alternative takeaway: What if you don’t care?</strong></h4><p>Of course, there is an alternative takeaway for sophisticated operators: stealth isn’t everything. Despite <em>NSO</em> learning the lessons of NSO, their attacks continue to be (eventually) detected, and Pegasus victims <a href="https://citizenlab.ca/2023/04/nso-groups-pegasus-spyware-returns-in-2022/">regularly receive</a> warnings from Apple of possible state-sponsored compromise. Nevertheless, NSO’s latest two zero-clicks, <strong><em>FINDMYPWN</em></strong><em> </em>and <strong><em>PWNYOURHOME</em></strong>, both apparently leveraging the same (or similar) underlying vulnerabilities in iMessage, were <a href="https://citizenlab.ca/2023/04/nso-groups-pegasus-spyware-returns-in-2022/">deployed as zero-days for months</a> against several versions of iOS between 15.5 and 16.0.3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*qpbCgZFsvbpBJpQ6pFBM3A.png" /><figcaption>Is stealth in cyber operations <em>passé</em>?</figcaption></figure><p>After all, is it <em>that bad</em> if your adversary figures out that “somebody” has exfiltrated terabytes of data from thousands of their devices, <em>after the fact</em>? At the end of <em>Ocean’s Eleven</em>, the casino owners discovered they’d been had (apologies for the spoiler), but this realization did not negate the thieves’ success.</p><p>At the end of our “NSA” story, the attackers have the data, and the defenders probably have no (forensic) ability to figure out what the attackers took. Furthermore, the defenders might not even know who, specifically, the attackers are, even if they may have the general sense that the attackers are some US Government agency. Undeterred, the attackers could come back when they discover a new vulnerability or vector.</p><p>Obviously, we do not know what is to play out in private, or what is yet to come. Things could get especially interesting if the community of forensic analysts can establish that some US Government agency abused spyware to target journalists or civil society, or if US-allied governments can establish targeting of their personnel, (ala the famous <a href="https://www.reuters.com/world/europe/us-security-agency-spied-merkel-other-top-european-officials-through-danish-2021-05-30/">Merkel case</a>). But, there are not (yet) any public indications that the FSB (or anyone) has more than a guess at attribution of this group. It is unclear yet if any spyware or exploits were harmed (i.e., captured or burned) in the commission of this hacking. Is that not an unmitigated success? Perhaps. Time will tell. Until then, we count down to the next zero-click…</p><h3><strong>Takeaways for Defenders</strong></h3><p>But let’s say you’re not an attacker. After all, there are probably an order (or several) of magnitude more defenders than the type of attackers we’re talking about here. While we are still in the early days of reports about TRIANGULATION, there are still a number of useful takeaways here for defenders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*hZFtsn24ifjTbMSrL6QT8Q.png" /><figcaption>Two tech CEOs discuss TRIANGULATION on Twitter.</figcaption></figure><h4><strong>Messaging apps are a royal road onto devices</strong>.</h4><p>Like many of NSO and QuaDream’s zero-click attacks we at the Citizen Lab have investigated, this attack appears to leverage a flaw in a messaging app. Past NSO <a href="https://en.wikipedia.org/wiki/FORCEDENTRY">attacks</a> have exploited flaws in iMessage attachment processing (as TRIANGULATION apparently did) as well a <a href="https://citizenlab.ca/2019/10/nso-q-cyber-technologies-100-new-abuse-cases/">flaws</a> in WhatsApp’s negotiation of end-to-end encryption for video calls.</p><p>Messaging apps are designed to make it easy for users to find each other, and reduce friction around first contacts, making calls, and sharing information. They are also constantly running on most phones. These factors make messaging apps easy to use, but also especially attractive for attackers.</p><p>Could disabling the most-recently-exploited app be enough to protect you? As Eugene Kaspersky tweeted, disabling iMessage would have blocked the attack. And it’s true, if you disabled all your messaging apps (or perhaps eschewed smartphone use entirely) you’d be much less at risk. But you’d also be much less effective in your work and probably less connected with your friends and loved ones.</p><p>For most people, disabling the messaging app their friends &amp; colleagues use is not an option.</p><h4>Lockdown Mode?</h4><p>Without further knowledge of the specific TRIANGULATION vulnerabilities, it is not fully clear whether or not Lockdown Mode (LDM) would have prevented these attacks (had they been targeted at devices running iOS 16, in which LDM was introduced).</p><p>However, after an extended period of observing high-risk users with LDM turned on, we know it is a great feature for users that face higher risks because of who they are or what they do. It substantially increases costs on many categories of attacker. We were even able to confirm that it <a href="https://citizenlab.ca/2023/04/nso-groups-pegasus-spyware-returns-in-2022/">blocked</a> NSO Group’s iOS 16 zero-click, <strong><em>PWNYOURHOME</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YK6WOCLi87OTfqQnwQMciA.png" /><figcaption>Citizen Lab recreation of LDM blocking an NSO Group iOS16 zero-click attack.</figcaption></figure><p>While Lockdown Mode is expected to reduce the zero-click attack surface through iMessage (by avoiding automatic processing of potentially risky messages and attachments from senders unknown to you), it is less clear to what extent (if at all) it would reduce the zero-click attack surface through third-party messaging apps.</p><h4>Watch the traffic.</h4><p>As long as sophisticated threat actors are targeting and exfiltrating from mobile devices, defenders need to carefully examine Internet traffic for high-risk users. Even a naïve analysis of mobile network traffic data can illuminate sophisticated threats.</p><h4>Anticipate change.</h4><p>The “P” in <a href="https://en.wikipedia.org/wiki/Advanced_persistent_threat">APT</a> stands for “persistent”. Attackers <em>will</em> attack again. So too must you as a defender be persistent. With every report about a novel mobile attack, attackers have an opportunity to adapt their tactics and try again. If you carefully review attackers’ past behavior and strive to discover what lessons <em>they</em> take away from being detected, perhaps you will be a more effective defender when then next zero-click is unleashed upon the world.</p><h3>Acknowledgements</h3><p>Thanks to John Scott-Railton, Emma Lyon, and Ronald Deibert for helpful feedback. Thanks to <a href="https://ahcdesign.com/">Angela Chih</a> for graphic design assistance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f36d251d02e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some Directions for Further Investigation in the Bezos Hack Case]]></title>
            <link>https://medium.com/@billmarczak/bezos-hack-mbs-mohammed-bin-salman-whatsapp-218e1b4e1242?source=rss-bf44d2eaf6a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/218e1b4e1242</guid>
            <category><![CDATA[whatsapp]]></category>
            <category><![CDATA[mohammed-bin-salman]]></category>
            <category><![CDATA[bezos]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[spyware]]></category>
            <dc:creator><![CDATA[Bill Marczak]]></dc:creator>
            <pubDate>Wed, 22 Jan 2020 18:36:38 GMT</pubDate>
            <atom:updated>2020-01-22T18:38:02.668Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p><a href="https://www.theguardian.com/technology/2020/jan/21/amazon-boss-jeff-bezoss-phone-hacked-by-saudi-crown-prince"><em>Numerous</em></a><em> </em><a href="https://www.washingtonpost.com/politics/saudi-crown-prince-implicated-in-hack-of-jeff-bezoss-phone-un-report-will-say/2020/01/21/62c3f73a-3ca2-11ea-b90d-5652806c3b3a_story.html"><em>media</em></a><em> </em><a href="https://www.nytimes.com/2020/01/21/technology/bezos-phone-hacking.html"><em>reports</em></a><em> have mentioned that Saudi Crown Prince Mohammed bin Salman (MBS) purportedly hacked Amazon CEO Jeff Bezos’ iPhone using a malicious .mp4 video file sent as an attachment via WhatsApp. FTI Consulting, a business advisory firm, conducted a forensic investigation of Jeff Bezos’ iPhone, and prepared a report that was </em><a href="https://www.vice.com/en_us/article/v74v34/saudi-arabia-hacked-jeff-bezos-phone-technical-report"><em>published by Motherboard</em></a><em>. In this technical note, we present several directions for further investigation, given our review of the FTI report.</em></p><h3>1. Double-Check the Video that MBS Sent to Bezos</h3><p>According to the FTI report, a copy of the video that MBS sent to Bezos, which is the presumed vector for infection of Bezos’ phone, was found on device. The report includes a screenshot of the video as it appeared in the WhatsApp conversation between MBS and Bezos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*oi5_fJiby4G8k9eQIkNSjA.png" /></figure><p>Based on a Google reverse image search, we suspect that the video in question may have been <a href="https://twitter.com/abdullahk5/status/932655280701272064">sourced from a Twitter user</a>. The video is an Arabic-subtitled version (subtitles added by Twitter user @abdullahk5) of a video examining which countries have the highest per capita Internet data usage, and which countries have the lowest cost per gigabyte of Internet data. According to the video, Saudi Arabia has the highest per capita data usage (tied with Sweden), and has one of the lowest costs per gigabyte.</p><p>Twitter servers appear to host three copies of this video: one encoded at 320x180, one encoded at 640x360, and one encoded at 1280x720. The hashes and file sizes of the Twitter videos are listed below.</p><pre><strong>Resolution:</strong> 320x180<br><strong>Filesize (bytes):</strong> 1786180<br><strong>SHA256:<br></strong>0d8fb1e31c955580d5c4bd41a7ff262e3cd45f54dd88e9adb3633425a952413c</pre><pre><strong>Resolution:</strong> 640x360<br><strong>Filesize (bytes):</strong> 4435756<br><strong>SHA256:<br></strong>7ea5a6036f2e3a4a33ca18f1ac33c6690cce86df371109af09a00574dda6509d</pre><pre><strong>Resolution:</strong> 1280x720<br><strong>Filesize (bytes):</strong> 10400078<br><strong>SHA256:<br></strong>193c90d8f915c41c72168c3fd46aee8644202b4d9aaef82873ae0adfcc52fb7b</pre><p><strong>Given that the video MBS sent to Bezos could be similar to or identical to one posted by a Twitter user, we encourage FTI to check whether the hash of the video is the same as the hash of any of the encodings of this video available on Twitter.</strong></p><h3>2. Decrypt the “Encrypted Downloader”</h3><p>FTI’s report mentions that they found an “encrypted downloader” (.enc file) through which the video was transmitted, as is standard for WhatsApp file transfers. FTI says they were unable to decrypt this file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-gzYVIvVdUDrTuPQ-4vEGg.png" /></figure><p>Based on our understanding, it is possible to decrypt the contents of an .enc​ file from WhatsApp, given a forensic extraction of the phone, of the type that FTI mentions they performed. The first 32 bytes of the ​<strong>ZMEDIAKEY</strong>​ field of the ​<strong>ZWAMEDIAITEM</strong>​ table in WhatsApp’s ​<strong>ChatStorage.sqlite</strong>​ database should contain a key for each .enc file, and we have verified that <a href="https://github.com/sigalor/whatsapp-web-reveng#decryption%E2%80%8B.">these decryption instructions and code</a> are sufficient to decrypt WhatsApp ​.enc​ files from a forensic extraction.</p><p><strong>We encourage FTI to decrypt the .enc file, examine its contents, and check whether decryption yields a benign or malicious file.</strong></p><h3>3. Double-check the Spikes in Egress Traffic</h3><p>The FTI report mentions that their forensic analysis revealed “notable spikes in egress traffic” from Bezos’ phone “within hours” after MBS sent the video file to Bezos, which continued for more than a year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bOa6zkuYhG8oU_7O-WVIhQ.png" /></figure><p>Based on the description in FTI’s report, we suspect that this information may have been gleaned from iOS’s ​<strong>DataUsage.sqlite</strong>​ file (available in a forensic extraction of the phone). This database contains a table called ​<strong>ZLIVEUSAGE</strong>​, which contains different types of date information, as well as metadata about the amount of data uploaded and downloaded by various apps. It is unclear to the authors how FTI interpreted this data. Clarification about how this data was interpreted would help evaluate their analysis of the date information, and contrast it with other possible explanations.</p><p>​<strong>We recommend that FTI clarify their analysis of the entire contents of the DataUsage.sqlite</strong>​ <strong>file, or any other files examined in their determination of egress traffic spikes.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=218e1b4e1242" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Abu Dhabi’s Spy Sheikh hid ToTok in Plain Sight]]></title>
            <link>https://medium.com/@billmarczak/how-tahnoon-bin-zayed-hid-totok-in-plain-sight-group-42-breej-4e6c06c93ba6?source=rss-bf44d2eaf6a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e6c06c93ba6</guid>
            <category><![CDATA[spyware]]></category>
            <category><![CDATA[messaging-apps]]></category>
            <category><![CDATA[united-arab-emirates]]></category>
            <category><![CDATA[surveillance]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Bill Marczak]]></dc:creator>
            <pubDate>Thu, 02 Jan 2020 18:13:40 GMT</pubDate>
            <atom:updated>2020-01-02T18:23:59.688Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3><strong>A BREEJ TOO FAR:</strong> How Abu Dhabi’s Spy Sheikh hid his Chat App in Plain Sight</h3><p>This report examines the corporate structure of <em>ToTok</em>, a Voice over IP (VoIP) app associated with an Abu Dhabi-based company, Breej Holding Ltd. In December 2019, the New York Times reported that American officials said that the UAE Government spies on ToTok’s users, and that Breej was connected to UAE companies involved in earlier spying attempts. Google and Apple removed the app from their app stores, and ToTok has begun to aggressively fight the charges, calling them <em>“defamat[ory],”</em> a <em>“shameless fabrication,”</em> <em>“vicious rumours,”</em> <em>“deranged,”</em> and <em>“absurd.”</em></p><h3>Key Findings</h3><ul><li>Three companies connected to the ToTok app are linked to Sheikh Tahnoon bin Zayed al-Nahyan, a “senior UAE intelligence official.” Tahnoon’s adopted son is the sole director of “Breej Holding Ltd,” listed in the Apple App Store as ToTok’s developer. An executive at Tahnoon’s Royal Group is the sole director of “ToTok Technology Ltd,” and Tahnoon’s PR Manager is the sole director of “Group 42 Holding Ltd,” the company that appears to have created the ToTok app. (<strong>Section 2: Who’s Behind ToTok?</strong>)</li><li>Group 42 is a UAE-based artificial intelligence company, whose CEO is the former CEO of Pegasus LLC,¹ a one-time division of DarkMatter Group. Pegasus LLC appears to have been renamed “PAX AI,” and now seems to be a division of Group 42. Group 42 appears to have created ToTok as an app called “G42 IM,” based on YeeCall, a VoIP app written by a Chinese company. Interestingly, YeeCall’s COO, Senior Developer, and Design Director all appear to be connected to ongoing development or promotion of ToTok. (<strong>Section 4: Who Developed ToTok?</strong>)</li><li>After the December 2019 New York Times report on ToTok, the app’s purported co-founders, Giacomo Ziani (“Giac”) and Long Ruan, emerged for the first time. Before December 2019, Giac’s LinkedIn profile listed him as “Marketing and Communications Manager” at Group 42, and Long’s listed him as the COO of YeeCall. After a December 2019 update to their LinkedIn profiles, these positions were truncated to end in July 2019, and ToTok co-founder positions were added, backdated to August 2019. (<strong>Section 5: ToTok’s Backdated Founders</strong>)</li></ul><h3><strong>1. ToTok: The Story so Far</strong></h3><p>ToTok is a popular VoIP and chat app that was formerly offered for free on the iOS App Store and the Google Play store, until Apple and Google removed it on or around 20 December 2019. Before it was removed, the Google Play store recorded that ToTok had more than 5 million installs, and the iOS App Store ranked ToTok as the #4 app in the “Social Networking” category, just behind WhatsApp at #3.</p><p>The iOS version of the app was listed as developed by a UAE-based company, “Breej Holding Ltd,” (<strong>Figure 1</strong>) whereas the the Android version was listed as developed by “ToTok.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gb94GCV2CtzJsWkEzXEvyw.png" /><figcaption><strong>Figure 1: </strong>The ToTok app as it formerly appeared in the iOS App Store.</figcaption></figure><p>ToTok appears to have been first promoted in a series of two articles on <a href="https://www.alittihad.ae/article/50152/2019/%D8%A5%D9%82%D8%A8%D8%A7%D9%84-%D8%B9%D9%84%D9%89-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82-%D8%AA%D9%88-%D8%AA%D9%88%D9%83-">28 August</a> and <a href="https://www.alittihad.ae/article/50378/2019/-%D8%AA%D9%88-%D8%AA%D9%88%D9%83-%D9%85%D9%86%D8%B5%D8%A9-%D9%85%D9%83%D8%A7%D9%84%D9%85%D8%A7%D8%AA-%D9%85%D8%AA%D9%83%D8%A7%D9%85%D9%84%D8%A9-%D8%A8%D8%AC%D9%88%D8%AF%D8%A9-%D8%B9%D8%A7%D9%84%D9%8A%D8%A9">29 August</a> in Al-Ittihad, an Arabic language <a href="https://www.thenational.ae/uae/al-ittihad-the-newspaper-that-symbolises-the-union-1.416392">government-owned</a> newspaper in the UAE. The articles emphasize how the app is available for free, has no advertisements, uses “artificial intelligence” to improve call quality, and is not blocked in the UAE. Indeed, ToTok does not appear to have ever been blocked in the UAE, which is interesting given its popularity, and because the UAE blocks VoIP features of many popular apps, including WhatsApp, Viber, Skype, and FaceTime. We are also not aware of any report that ToTok was ever <em>licensed</em> by the UAE’s Telecommunications Regulatory Authority (TRA). A <a href="https://www.tra.gov.ae/assets/qwL7C0z0.pdf.aspx">TRA regulation</a> allows any VoIP licensee to “block” any unlicensed VoIP service, “unless instructed by the TRA to do otherwise.” The UAE’s telecom duopoly, Etisalat and Du, <a href="http://www.tradearabia.com/news/IT_264863.html">are VoIP licensees</a>.</p><p>On <a href="https://www.nytimes.com/2019/12/22/us/politics/totok-app-uae.html">22 December</a>, the New York Times reported that ToTok was developed as a spy tool “used by the government of the United Arab Emirates to try to track every conversation, movement, relationship, appointment, sound and image of those who install it on their phones.” The report was based on “American officials familiar with a classified intelligence assessment.” As part of their reporting, the New York Times contacted Google and Apple, who removed the app from their stores.</p><p>Following the New York Times report, ToTok began an aggressive campaign to convince Google and Apple to reinstate their app. On 24 December, ToTok published a <a href="https://totok.ai/news-dec24">statement</a> from “Giac and Long,” ToTok’s purported co-founders, in which they called reports that ToTok was a spy tool <em>“defamat[ory],”</em> a <em>“shameless fabrication,”</em> <em>“vicious rumours,”</em> <em>“deranged,”</em> and <em>“absurd.” </em>On 27 December, ToTok published an <a href="https://twitter.com/ToTokMessenger/status/1210610002798530561">on-camera appeal</a> to Google and Apple recorded by Giac. The two co-founders then gave an exclusive interview about ToTok’s origins to Dubai-based English language newspaper Khaleej Times <a href="https://www.khaleejtimes.com/business/local/totok-founder-responds-to-spying-controversy-around-video-calls-app">on 28 December</a>, in which they appeared with ToTok T-shirts and mugs.</p><p>We began investigating ToTok using open source intelligence (OSINT) techniques in early December, and are able to substantiate that the app is linked to UAE intelligence. We provided a copy of our findings to the Associated Press prior to publication.</p><p>In the remainder of our report, we explore who is behind ToTok in <strong>Section 2: Who’s Behind ToTok</strong>, introduce Sheikh Tahnoon in <strong>Section 3: Abu Dhabi’s Spy Sheikh</strong><em>, </em>examine how Group 42 apparently created ToTok in <strong>Section 4: Who Developed ToTok</strong>, investigate Giac and Long in <strong>Section 5: ToTok’s Backdated Founders</strong>, and conclude in <strong>Secion 6: ToTok: Not Spyware, but Not Safe to Use</strong>.</p><h3><strong>2. Who’s Behind ToTok?</strong></h3><p>We identified three companies registered in the United Arab Emirates that appear to be behind ToTok: “Breej Holding Ltd,” listed in the Apple App Store as ToTok’s developer, “ToTok Technology Ltd,” whose name appeared in TLS certificates connected to ToTok, and “Group 42 Holding Ltd,” the company that appears to have created the ToTok app (<strong>Section 3</strong>). All three companies have links to Sheikh Tahnoon bin Zayed Al-Nahyan, the <a href="https://www.whitehouse.gov/briefings-statements/joint-statement-u-s-national-security-advisor-ambassador-john-bolton-uae-national-security-advisor-sheikh-tahnoon-bin-zayed-al-nahyan/">UAE’s National Security Advisor</a>, the son of the UAE’s late founder Sheikh Zayed, and also a <a href="http://country.eiu.com/article.aspx?articleid=807714265&amp;Country=United%20Arab%20Emirates&amp;topic=Politics&amp;subtopic=Recent+developments&amp;subsubtopic=The+political+scene:+Abu+Dhabi+ruling+body+is+reshuffled">full brother</a> of Mohammed bin Zayed, the powerful Crown Prince of Abu Dhabi. We summarize the corporate structure behind ToTok in <strong>Figure 2</strong>, and explain it in the remainder of this section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e3DJWzA19p4Qsv3MEcKVTA.png" /><figcaption><strong>Figure 2</strong>: ToTok’s corporate structure shows links to UAE intelligence.</figcaption></figure><p>ToTok’s iOS app developer, “Breej Holding Ltd,” is registered in the Abu Dhabi Global Market (ADGM), a <a href="https://www.adjd.gov.ae/EN/Pages/Legal%20Guidance/FS-financialfreezones.aspx">Financial Free Zone</a> in the UAE similar to the <a href="http://difc.ae/">Dubai International Financial Centre (DIFC)</a>. According to <a href="https://www.registration.adgm.com/">ADGM’s Public Register</a>, the company has a single director, a “Hasan Mohamed Saif Hasan Alremeithi” (<strong>Figure 3</strong>), and a single investor “HMR Investment SPV RSC Ltd.” Another company linked to the ToTok app, “ToTok Technology Ltd,” is also registered in the ADGM. The “ToTok Technology” company name <a href="https://censys.io/ipv4?q=%22ToTok+Technology%22">appears in</a> TLS certificates used by ToTok. That company has a single director, a “Osama Hussein Saleh Hussein Alahdaly,” and a single investor “G42 Enterprises Holding RSC Ltd.” All records of ToTok Technology and Breej Holding disappeared from ADGM’s Public Register on or around 25 December 2019, several days after the New York Times report on ToTok. The records were reinstated around 1 January 2020.</p><p>Someone with the exact same name as ToTok Technology’s sole director, “Osama Hussein Saleh Hussein Alahdaly,” is listed as a <em>Person with Significant Control</em> of a UK-based spring water company. His <a href="https://s3.eu-west-2.amazonaws.com/document-api-images-live.ch.gov.uk/docs/dpGw2e_emw2E_q_0vlndPoKt8CpEUu1juMMeRDTBhMY/application-pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential=ASIAWRGBDBV3HNENPZU4%2F20200102%2Feu-west-2%2Fs3%2Faws4_request&amp;X-Amz-Date=20200102T154150Z&amp;X-Amz-Expires=60&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjELb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMiJHMEUCIA%2BFhDAc7IYLMVz%2FKp%2Fcd5SN77klFAc8XMK%2FDx%2F%2BqacXAiEAvjCvH%2BvHgegqlwoGRFiZaUW3kyQD8WWzvr0MCaINZKsqtAMILhACGgw0NDkyMjkwMzI4MjIiDF2lgoCyJgAJKGQh1SqRA%2Fd5%2FT5RGQxTV80i5%2FFT48eQNA%2FXZByRLQmApmjXC1BpfjkWpe1CtJl9CB2PpfHTjkwvIKl%2BqnBrFdhNngmT4CDKo1%2BWbzgMEaIpehNM3zdZhaxZJ47HaBC4uac1NGEdR2hmqdTsRN0D0GWtdY3jY1ZtHygOS1C7sbDP5FKOtYf%2BviIxuouoXIsjkWFHGDd2IAzsY%2F5T%2BmTyRpdoPzLgQIOcvkaG70BbLHz350D%2BUCJsnaItd0slFpKSQMxEY5eePIKAp7MjvUtiNPa0gURp7UnB0qDhmUOsoVqtxYPki9XuXOZ0MZOxdS8s7WjaKb8XQMlk6KHOzNIR%2FFtKDHFuo%2F%2BliBoN7oHQ1sScZFmvyn77egiRyCOJGHMRBAeA19T9%2FlJpzaiInB2WDBeAkAqyRJNBtQT6hL38CQQ9i%2BvQgwnJkW8HRFLX6k6Gjtme4I%2FOnObeT%2BXddrAEomggg2fW2rQfYcZGZNpddn5fEeffPH7hXDeJnhnsOMlbuE%2B5vka8NLE9cvhNCtc%2FsbgocixkkSpIMJXbt%2FAFOusBaIXnIKjVbKku4FUCwMs7ccH8MTYaHx2HqrHvGAj8RSVfcBfITWTU1zww1DwBudmgR16KyWiKyg6zfFPp19%2B6qAmx4DItbl2hGzvLGDoZAgruCpIy%2FpV3Opfqnk5Fld%2Bn9LSpGAyIHqMTmysy99Z6kcZcHIzyE3TgXQgNvdANFb1YLeJ1fEczJ63AcRI2LVip3aokl7SGN1lph2J4mJlWaP1HkFHtW7TdIueJNbWgkHByEoRYTm9YedGjjFvevc2r376w6Ya5UeF0mYBeP5HJqIcasNdXeRVBWBz4SmUz0V79sGCn%2BM0oub4gFw%3D%3D&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Signature=d5a54f60b815dce0ee3299582d253f259d6e2170ca20b56c03c719f486dbb0f9">address is listed as</a> the address for <a href="http://www.royalgroupuae.com/about-us.html">Royal Group UAE</a>, Sheikh Tahnoon’s holding company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*rgGO8tj80fyLU3upATpHoA.png" /><figcaption><strong>Figure 3: </strong>Director data for BREEJ HOLDING LTD.</figcaption></figure><p>According to a list of registered voters in Abu Dhabi <a href="http://media.emaratalyoum.com/elections-2011/voters/abu-dhabi.xls">published</a> by UAE newspaper Emarat Al Youm in 2011, there is an individual with the exact same name as the sole director of Breej Holding, “Hasan Mohamed Saif Hasan Alremeithi” (“حسن محمد سيف حسن الرميثى”)² whose date of birth is listed as 27 February 1984. There is a Hassan Al-Rumaithi³ with the same birthdate who is a <a href="https://www.tapology.com/fightcenter/fighters/19364-hassan-al-rumaithi">professional MMA</a> and <a href="https://www.thenational.ae/uae/al-rumaithi-peace-lover-in-a-painful-line-of-work-1.521615">Jiu-Jitsu fighter</a>. A profile of this Hassan Al-Rumaithi <a href="https://www.graciemag.com/en/2009/11/30/sheikh-tahnoons-son-debuts-in-mma-with-quick-win/">states that</a> he is Sheikh Tahnoon’s adopted son. Al-Rumaithi maintains a <a href="https://www.facebook.com/groups/155442864529535/">Facebook page</a> for Sheikh Tahnoon, where he regularly posts pictures of Sheikh Tahnoon meeting foreign heads of state and dignitaries, including <a href="https://www.facebook.com/groups/155442864529535/permalink/1533059146767893/">Jim Mattis</a> (then US Secretary of Defense), and <a href="https://www.facebook.com/groups/155442864529535/permalink/1533059146767893/">Vladimir Putin</a>, President of Russia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*lHgMWyJuX043lzXA5IFamw.jpeg" /><figcaption><strong>Figure 4: </strong>Sheikh Tahnoon bin Zayed with adopted son Hassan Al-Rumaithi. (Source: Hassan Al-Rumaithi’s <a href="https://www.facebook.com/tiger.guy1">Facebook cover photo</a>).</figcaption></figure><p>Al-Rumaithi appears to be linked to Tahnoon’s company Mauqah Technology,⁴ <a href="http://m.racetecresults.com/myresult.aspx?CId=16410&amp;RId=69&amp;EId=2&amp;AId=21313">placing first overall</a> in the “Mauqah Technologies Corporate Cycle Race” <a href="http://www.racetecresults.com/StartPage.aspx?CId=16410&amp;From=121">in October 2014</a>. Interestingly, Al-Rumaithi also appears to have <a href="https://www.premiertiming.com/res/results.php?id=294&amp;dist=&amp;tab=Male+-+7%3A45pm+Start">placed 16th</a> in the <em>Al Wathba Cycle Challenge</em> in August 2014, in which his age was incorrectly reported as 24 (he would have been 30 based on his birthdate).</p><p>Breej shares an address (2458 Al Sila Tower) with “ALPHA MANAGEMENT LIMITED.” Alpha bill themselves as “Business Set-Up Consultants,” (<strong>Figure 5</strong>) offering a registered address for companies along with other corporate services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTKXIfznY7_eF3ucYVMsug.png" /><figcaption><strong>Figure 5</strong>: Alpha’s website.</figcaption></figure><p>The ADGM Public Register records 101 companies set up with Alpha’s address, including and after the founding of Alpha, so we assume these companies are serviced through Alpha. Two Alpha-serviced companies, “<a href="https://www.aqmartech.com/">AQMARTECH HOLDING LTD</a>” and “<a href="https://www.maarstech.com/">MARSTECH HOLDING LTD</a>,” were registered by Tahnoon’s deputy <a href="https://www.wikileaks.org/hackingteam/emails/?q=&amp;mfrom=akhtar%40mauqah.com&amp;mto=&amp;title=&amp;notitle=&amp;date=&amp;nofrom=&amp;noto=&amp;count=50&amp;sort=1#searchresult">Akhtar Saeed Hashmi</a>, one of the operators of a spyware system sold to the UAE by Italian vendor Hacking Team. Both AqmarTech and MarsTech have websites that purport to be mobile app development companies, with business descriptions apparently copied from other websites.</p><p>We identified an interesting linkage between Al-Rumaithi’s company Breej, and Hashmi’s companies AqmarTech and MarsTech. While the three companies were registered on different dates in 2019 (Breej on 12 February, and AqmarTech and MarsTech on 17 February), the ADGM Public Register records that “Corporate Services” filings were made several minutes apart on 20 February 2019 (16:02:51 for MarsTech, 16:03:15 for AqmarTech, and 16:04:16 for Breej).</p><h3><strong>3. Abu Dhabi’s Spy Sheikh</strong></h3><p>Sheikh Tahnoon Bin Zayed Al-Nahyan generally maintains a low profile, but is <a href="https://www.washingtonpost.com/opinions/global-opinions/the-khashoggi-killing-had-roots-in-a-cutthroat-saudi-family-feud/2018/11/27/6d79880c-f17b-11e8-bc79-68604ed88993_story.html">reported to be</a> a “senior UAE intelligence official.” Sheikh Tahnoon has also been reported to be involved in a number of foreign policy and espionage operations. For example, he was allegedly involved in an <a href="https://theintercept.com/2019/06/10/trump-uae-businessman-spy/">operation to buy influence in the Trump White House</a>, a secret trip to Iran <a href="https://www.aljazeera.com/news/2019/10/senior-uae-official-tehran-secret-mission-mee-191014095559179.html">to ease tensions</a>, and was recently accused of being involved in a <a href="https://www.alaraby.co.uk/english/news/2019/11/3/iraq-arrests-emirati-infiltrators-cell-amid-mass-protests">plot to infiltrate</a> an anti-government movement in Iraq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*wvzTb9A4DO2_CSoVTKu1Wg.jpeg" /><figcaption><strong>Figure 6:</strong> Sheikh Tahnoon bin Zayed Al-Nahyan, often pictured wearing sunglasses.</figcaption></figure><p>Sheikh Tahnoon was also linked to a hack of UAE activist Ahmed Mansoor’s computer. In 2012, Mansoor <a href="https://citizenlab.ca/2012/10/backdoors-are-forever-hacking-team-and-the-targeting-of-dissent/">was targeted with</a> Hacking Team’s Remote Control System spyware via a malicious email attachment. He opened the attachment, his computer was infected, and his email account was accessed from several IPs in the United Arab Emirates. Citizen Lab <a href="https://citizenlab.ca/2012/10/backdoors-are-forever-hacking-team-and-the-targeting-of-dissent/">reported that</a> the command and control (C&amp;C) server that the spyware sent his personal information back to was a website called ar-24[.]com, which briefly pointed to the IP address 83.111.56.188, which is registered to Sheikh Tahnoon’s office, according to WHOIS records.</p><pre><strong>inetnum:</strong> 83.111.56.184 – 83.111.56.191<br><strong>netname:</strong> minaoffice-EMIRNET<br><strong>descr:</strong> Office Of Sh. Tahnoon Bin Zayed Al Nahyan<br><strong>descr:</strong> P.O. Box 5151 , Abu Dhabi, UAE<br><strong>country:</strong> AE</pre><p>According to emails leaked in 2015 from Hacking Team, Sheikh Tahnoon’s company Mauqah Technology was the operator of a Hacking Team spyware deployment in the UAE. Hacking Team sold the system to Mauqah for €1.2 million (<strong>Figure 7</strong>). Two of Sheikh Tahnoon’s deputies, <a href="https://www.wikileaks.org/hackingteam/emails/?q=&amp;mfrom=basar%40palgroup.com&amp;mto=&amp;title=&amp;notitle=&amp;date=&amp;nofrom=&amp;noto=&amp;count=50&amp;sort=1#searchresult">Syed Basar Shueb</a>⁵ and <a href="https://www.wikileaks.org/hackingteam/emails/?q=&amp;mfrom=akhtar%40mauqah.com&amp;mto=&amp;title=&amp;notitle=&amp;date=&amp;nofrom=&amp;noto=&amp;count=50&amp;sort=1#searchresult">Akhtar Saeed Hashmi</a>⁶ ran the spyware deployment. Hacking Team’s leaked customer database <a href="https://securityaffairs.co/wordpress/38770/cyber-crime/attribution-trove-of-hacking-team.html">recorded</a> this customer as “UAEAF” and “<a href="https://www.wikileaks.org/hackingteam/emails/emailid/605068">UAE Air Force</a>.” At the time, Sheikh Tahnoon was the chairman of the UAE <a href="http://pf.ae/">Amiri Flight</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5lti02bR63O0wt3XkQnuuA.png" /><figcaption><strong>Figure 7: </strong><a href="https://www.wikileaks.org/hackingteam/emails/emailid/568646">Invoice from</a> Hacking Team to Mauqah Technology. Mauqah Technology paid the final installment to Hacking Team <a href="https://wikileaks.org/hackingteam/emails/emailid/616884">in June 2012</a>.</figcaption></figure><h3>4. Who Developed ToTok?</h3><p>While examining Breej’s website (breej.vip) using <a href="https://community.riskiq.com/">RiskIQ</a>, we found the TLS certificate in <strong>Figure 8</strong>, which appears to connect three entities: Breej, “Group 42,” <a href="https://www.wam.ae/en/details/1395302804494">described as</a> a ” leading Artificial Intelligence and Cloud Computing company based in Abu Dhabi,” and “YiKuaiHuDong Beijing Technology Co., Ltd,” (“北京一块互动网络技术有限公司,” translated as “Beijing YeeCall Interactive Network Technology Co, Ltd.”) a Beijing-based company that develops a VoIP app named YeeCall (一块), which is available on both the <a href="https://apps.apple.com/us/app/yeecall-hd-voice-video-call/id852211576">iOS</a> and <a href="https://play.google.com/store/apps/details?id=com.yeecall.app&amp;hl=en_US">Android</a> stores, and was updated as recently as October 2019. YeeCall’s <a href="https://play.google.com/store/apps/details?id=com.yeecall.app">description</a> on the Google Play Store mentions that it provides “Free unblocked video and voice calls for users who live in UAE, Saudi Arabia, Oman, Qatar, Egypt, India, Pakistan, Bangladesh, Philippines, US and more.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*r9Yst0nnIFAQc4CtzeYn3g.png" /><figcaption><strong>Figure 8: </strong>TLS certificate connecting Breej, Group 42, and publisher of the YeeCall app.</figcaption></figure><p>We next examined Group 42’s website (g42.ai) using RiskIQ, and found a subdomain (im.g42.ai) that <a href="https://api.shodan.io/shodan/host/47.91.109.182?history=true">previously hosted</a> the development version of an iPhone and Android app called “G42 IM.” We found a <a href="https://www.virustotal.com/gui/file/a783d69a040d44a61fe039bce31b80c4153d17f960c7aa09ff232294c6dbf940/detection">copy of this app</a> on VirusTotal, which VirusTotal records was downloaded from im.g42.ai. The app contains Group 42’s branding (<strong>Figure 9</strong>), and appears to be a modified version of YeeCall. We found a Chinese-speaking account on GitHub (@risechen), who appeared to be a developer or tester first of G42 IM and later ToTok, based on <a href="https://github.com/Tencent/wcdb/issues/556">two</a> GitHub <a href="https://github.com/iamMehedi/Secured-Preference-Store/issues/53">issue</a> reports he filed that contain stack traces from those apps. In late July 2019, im.g42.ai <a href="https://api.shodan.io/shodan/host/47.91.109.182?history=true">started redirecting</a> to im.totok.ai. The redirect and the shared developer/tester appear to imply that the G42 IM application was rebranded as ToTok in July 2019.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*qUv_Qi-7ZrCbe96KcIP7vQ.png" /><figcaption><strong>Figure 9:</strong> Group 42’s logo is displayed in a notification from the G42 IM app.</figcaption></figure><p>ADGM’s Public Register lists Group 42’s sole director as “Mr. Hamad Khlfan Ali Matar Alshamsi,” who, <a href="https://ihcuae.com/index.php/people/mr-hamed-khalfan-al-shamsi/">among his many titles</a>, is “Public Relations Manager at the Office of H.H. Sheikh Tahnoun Bin Zayed Al Nahyan.” The Register lists Group 42’s sole investor as “HKS Investment SPV RSC Ltd,” which as a <a href="http://adgm.complinet.com/en/display/display_viewall.html?rbid=4503&amp;element_id=5768">Restricted Scope Company</a> (RSC) does not need to make public details of its directors or investors. However, it is potentially telling that “HKS” matches the initials of Group 42’s director “Hamad Khlfan Shamsi,” just as Breej’s sole investor “HMR Investment SPV RSC Ltd” (also an RSC) matches the initials of Breej’s director “Hasan Mohamed Remeithi.”</p><p>Group 42’s <a href="http://g42.ai/news/cloud/news-g42s-artemis-supercomputer-ranks-26-in-the-world/">CEO is</a> Peng Xiao, <a href="https://twitter.com/guardedbygenius/status/802731642980691968">former CEO of</a> DarkMatter Groups’s Pegasus LLC division. DarkMatter is noteworthy because a hacking unit (“Project Raven”) that targeted UAE activists around the world <a href="https://www.reuters.com/investigates/special-report/usa-spying-raven/">reportedly operated under its auspices</a>. The hacking unit was exposed by Reuters in a January 2019 report. IntelligenceOnline <a href="https://www.intelligenceonline.com/government-intelligence/2019/06/05/nesa-sia-darkmatter-beamtrail-make-up-abu-dhabi-s-new-interceptions-landscape,108359960-eve">reported</a> that following the Reuters report, DarkMatter was “abruptly taken in hand by the authorities” and various units were transferred to other companies.</p><p>Pegasus LLC appears to have been renamed “PAX AI,” as an <a href="https://python.careers.codes/job/backend-engineer-304058.html">online job posting</a> apparently written for Pegasus is now listed under PAX AI. PAX also appears to be a division of Group 42; Group 42’s “News” page lists “PAX” (<strong>Figure 10</strong>), and we found an individual on LinkedIn whose job description is listed as “HR Business Partner at Group 42, Heading HR for PAX-AI.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UqIpxr6KW8GQXgiAsEhkwA.png" /><figcaption><strong>Figure 10:</strong> The categories on Group 42’s News website, showing PAX.</figcaption></figure><p>According to historical WHOIS data on <a href="https://community.riskiq.com/home">RiskIQ</a>, PAX’s website was registered by a “Martin Pegman,” the same registrant name as Group 42’s website (g42.ai). We found a “Martin Pegman” on LinkedIn who is listed as “Director of Technical Operations — Group 42.” His LinkedIn page reports he has been working for Group 42 in Abu Dhabi since March 2016, but we could not identify any UAE corporate entity with the name “Group 42” registered prior to June 2018. A previous version of Pegman’s LinkedIn page apparently listed his position as “Infrastructure Operations at DarkMatter LLC” (per a Google crawl), a position missing on his current LinkedIn page. This appears to indicate that Pegman’s DarkMatter position was transferred to Group 42.</p><h3><strong>5. ToTok’s Ex Post Facto Founders</strong></h3><p>On 24 December, after the New York Times report, ToTok’s website issued a statement, signed by “Giac and Long, ToTok Cofounders.” This appears to be the first time that the names “Giac” and “Long” were associated with ToTok. “Giac” appears to be Giacomo Ziani, and “Long” appears to be Long Ruan, and both are apparently associated with Group 42. Twitter and LinkedIn profiles for Giac and Long appear to have been recently updated to include positions at ToTok backdated to August 2019.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xb0Nk9bUJtkUVLraT9C3IA.png" /><figcaption><strong>Figure 11:</strong> Giac speaks! A “Keep Calm and Love ToTok” graphic is visible in the background.</figcaption></figure><p>On 27 December, ToTok published a video on their newly created official Twitter account, @ToTokMessenger, in which <a href="https://twitter.com/totokmessenger">Giac appealed</a> to Apple and Google to restore ToTok to their app stores.</p><p>When Google indexed Giacomo Ziani’s LinkedIn page in December 2019, he was listed as “Marketing and Communications Manager” at Group 42 from “June 2019 — Present (7 months).” As of 27 December, the position name had been changed to “Marketing and Comms Manager,” and had been truncated to end in July 2019, and a new position “ToTok: Co-Founder — Head of Business” backdated to August 2019 had been added.</p><p>Giac’s Twitter account was also renamed from @GiacomoCurly to @Giacomo_Ziani some time after 21 December (as per Google’s cache), and the account description was changed to add a reference to ToTok.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*erWrUgvk8GgXlNcm2Uz5sA.jpeg" /><figcaption><strong>Figure 12: </strong>Giac and Long showing off their ToTok swag.</figcaption></figure><p>When Google indexed Long Ruan’s LinkedIn page in October 2019, Long was listed as the “Chief Coin Officer” of the “Yee Blockchain Project,” and Chief Operating Officer of YeeCall from “September 2017 — Present (2 years 1 month).” As of 27 December, the “Chief Coin Officer” position had been removed, his COO position had been truncated to end in July 2019, and a new position “ToTok: Co-Founder, Head of Technology” backdated to August 2019 had been added.</p><p>Interestingly, the only “Activity” on Long Ruan’s LinkedIn page shows him liking a post about Group 42’s <a href="https://www.wam.ae/en/details/1395302804494">Artemis supercomputer</a> (<strong>Figure 13</strong>), suggesting that Long may have some connection to Group 42.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CjYz3liNcSVM3YD3-ZGppg.png" /><figcaption><strong>Figure 13: </strong>Long Ruan liked a post about Group 42’s Artemis supercomputer on his LinkedIn page.</figcaption></figure><p>Based on the backdated LinkedIn updates, the apparent lack of any public mention of Giac or Long’s association with ToTok before December 2019, and the deletion of data about Breej Holding from the ADGM Public Register on or around December 25, we believe that the “Giac and Long” personas are an attempt to establish an <em>ex post facto</em> cover story for ToTok’s genesis.</p><p>Long Ruan does not appear to be the only individual connected to YeeCall also involved with ToTok. Sam Huang, whose LinkedIn page lists his current position as “Senior Developer (老码农) at YeeCall.com 一块互动,” appears to maintain the Twitter account <a href="https://twitter.com/sam721213">@sam721213</a> (“sam huang”), as the account <a href="https://twitter.com/sam721213/status/1051043268400533504">retweeted</a> a video of Sam posted by a YeeCall account. We believe Sam is linked to ToTok, because his Twitter account was apparently the first follower of <a href="https://twitter.com/ToTokMessenger/">@ToTokMessenger</a>, he retweeted Giac’s video statement, and he <a href="https://gulfnews.com/uae/government/uae-law-strictly-prohibits-espionage-tra-responds-to-totok-allegations-1.1577469674071">posted an article</a> from Gulf News entitled “UAE law strictly prohibits espionage, TRA responds to ToTok allegations.”</p><p>We also found a video on YouTube <a href="https://www.youtube.com/watch?v=S7UKUs2uYeI">entitled</a> “ToTok Review” posted on 26 July 2019, which showcases some of ToTok’s features. This appears to be the first video that mentions the ToTok app ever uploaded to YouTube. The video was uploaded by an account called “FU PENG.” We found a “Fu PENG” on LinkedIn who lists his current position as “Design Director — YeeCall Network Limited.”</p><p>While Long Ruan <a href="https://www.khaleejtimes.com/business/local/totok-founder-responds-to-spying-controversy-around-video-calls-app">told Khaleej Times</a> that ToTok “purchased [YeeCall’s] code to speed our development,” it appears that the involvement between YeeCall and ToTok is deeper: YeeCall’s COO, Senior Developer, and Design Director are all apparently connected to ongoing development or promotion of ToTok.</p><h3>6. ToTok: Not Spyware, but Not Safe to Use</h3><p>Security researcher Patrick Wardle examined the iOS version of ToTok for malicious behavior, and <a href="https://objective-see.com/blog/blog_0x52.html">found none</a>. ToTok subsequently <a href="https://totok.ai/news-dec24">issued a statement</a> citing Wardle’s negative result as proof that the app was safe to use, and mentioning his status as a former NSA employee.</p><blockquote>However, our distractors continue to spread misinformation and stir up the “spying” allegations, to vilify our work, to jeopardize our business, even to insult our users by mocking their enthusiastic appreciation of ToTok.</blockquote><blockquote>Here is the fact — since day one, we have built ToTok with user security and privacy as our priority.</blockquote><blockquote>Don’t just take our word for it. A technical analysis by a former NSA employee has concluded ToTok “simply does what it claims to do, and really nothing more… no exploits, no backdoors, and no malware”.</blockquote><p>While ToTok may not be malware, this does not mean the app is safe to use. Because messages sent through ToTok are not end-to-end encrypted, the company can read the messages. ToTok’s Privacy Policy states that they collect “Address Book Data” as well as “Messages.” However, the policy states that messages are <em>“heavily encrypted so that local ToTok engineers or physical intruders cannot get access,”</em> which is language copied from Telegram’s <a href="https://telegram.org/privacy">privacy policy</a> (<strong>3.1.1. Cloud Chats</strong>). The language in Telegram’s privacy policy refers to disk encryption. While disk encryption might prevent unauthorized users who obtain physical access to ToTok’s servers from reading messages, this would not prevent authorized ToTok administrators from reading messages.</p><p>Many popular communications tools have similar architectures to ToTok, in which administrators could theoretically read a user’s messages or listen in on a user’s VoIP calls. Several popular examples include Gmail, Google Hangouts, Facebook Messenger, Telegram, and Twitter. However, what distinguishes ToTok from these apps is its corporate structure (<strong>Figure 2</strong>), which shows several significant connections to Abu Dhabi’s sprawling intelligence apparatus, including artificial intelligence companies that explicitly perform big data analytics. Also worrying is ToTok’s apparent use of subterfuge to try to disguise its real owners.</p><p>ToTok appears to be the latest case of a digital platform surreptitiously operated by a nation state to obtain a strategic advantage in intelligence gathering. In October 2019, Check Point Research <a href="https://research.checkpoint.com/2019/the-eye-on-the-nile/">reported on an app</a> called IndexY, which provided a caller ID service for unknown numbers. The app functioned in much the same way as other popular caller ID apps like TrueCaller, by collecting the address books of users who had installed the app. When a user received a call from a number not in their local address book, their phone would contact the IndexY servers, which would report the names that other users had had assigned to that number in their address books. IndexY’s code included reference to an alias called “Shenno,” which appears to be connected to the Egyptian Government’s Technology Research Department.</p><p>When examined through the lens of legitimate apps with similar functionality, the subterfuge of apps like ToTok and IndexY appears puzzling. Why not simply have a legitimate UAE technology company develop and release a chat app, which has the ability and obligation to provide unencrypted messages in bulk to UAE intelligence or law enforcement organs upon lawful request? Of course, when it comes to matters of national security, the law in the UAE has <a href="https://www.amnesty.org.uk/united-arab-emirates-uae-free-speech-repression-injustice-censorship">flexible interpretation and boundaries</a>, so users would do well to avoid such an app. But could Apple and Google credibly remove a popular app from their stores whose only transgression is responding to UAE Government process?</p><p>Ironically, the lack of UAE companies that could plausibly develop and run such a service may be due to the UAE’s VoIP licensing requirements. Unfortunately for the UAE’s surveillance ambitions, the very public ToTok fiasco may have poisoned the well. Future UAE-built apps and digital platforms may well be looked upon with suspicion for some time.</p><p>[1]: No relation to NSO Group’s Pegasus spyware.</p><p>[2]: Sometimes the two dots from the Arabic letter ي (ya’) are ommited when the letter ends a word.</p><p>[3]: Arabic transliterations can result in several different spellings. For example, Al-Rumaithi and Alremeithi are both transliterations of the Arabic الرميثي.</p><p>[4]: The mailserver for the company’s domain “mail.mauqah.com” pointed to IP address 83.111.56.190 between October 2011 and November 2015, according to <a href="https://community.riskiq.com/">RiskIQ</a>. That IP address is registered to “Office Of Sh. Tahnoon Bin Zayed Al Nahyan.”</p><p>[5]: Syed Basar Shueb is “general manager of the Pal Group of Companies, a subsidiary of the Abu Dhabi-based Royal Group chaired by His Highness Sheikh Tahnoon Bin Zayed Al Nahyan.”</p><p>[6]: Akhtar Saeed Hashmi is the CEO of Mauqah Technology, as well as the CEO of Royal Technology Solutions (RTS).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e6c06c93ba6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>