Skip to main content
Microsoft Security

DEV-0196: QuaDream’s “KingsPawn” malware used to target civil society in Europe, North America, the Middle East, and Southeast Asia

April 2023 update – Microsoft Threat Intelligence has shifted to a new threat actor naming taxonomy aligned around the theme of weather. DEV-0196 is now tracked as Carmine Tsunami.

To learn more about this evolution, how the new taxonomy represents the origin, unique traits, and impact of threat actors, and a complete mapping of threat actor names, read this blog: Microsoft shifts to a new threat actor naming taxonomy.

Microsoft Threat Intelligence analysts assess with high confidence that a threat group tracked by Microsoft as DEV-0196 is linked to an Israel-based private sector offensive actor (PSOA) known as QuaDream. QuaDream reportedly sells a platform they call REIGN to governments for law enforcement purposes. REIGN is a suite of exploits, malware, and infrastructure designed to exfiltrate data from mobile devices.  

In this blog, Microsoft analyzes DEV-0196, discusses technical details of the actor’s iOS malware, which we call KingsPawn, and shares both host and network indicators of compromise that can be used to aid in detection.

Over the course of our investigation into DEV-0196, Microsoft collaborated with multiple partners. One of those partners, Citizen Lab of the University of Toronto’s Munk School, identified at least five civil society victims of the DEV-0196 malware that included journalists, political opposition figures, and a non-government organisation (NGO) worker, in North America, Central Asia, Southeast Asia, Europe, and the Middle East. Furthermore, Citizen Lab was able to identify operator locations for QuaDream systems in the following countries: Bulgaria, Czechia, Hungary, Ghana, Israel, Mexico, Romania, Singapore, United Arab Emirates, and Uzbekistan. Read the Citizen Lab report here.

Microsoft is sharing information about DEV-0196 with our customers, industry partners, and the public to improve collective knowledge of how PSOAs operate and raise awareness about how PSOAs facilitate the targeting and exploitation of civil society. For more info, read Standing up for democratic values and protecting stability of cyberspace.

DEV-0196: A private-sector offensive actor based in Israel

PSOAs, which Microsoft also refers to as cyber mercenaries, sell hacking tools or services through a variety of business models, including access as a service. In access as a service, the actor sells full end-to-end hacking tools that can be used by the purchaser in cyber operations. The PSOA itself is not involved in any targeting or running of the operations.

Microsoft Threat Intelligence analysts assess with high confidence that DEV-0196 uses this model, selling exploitation services and malware to governments. It’s not directly involved in targeting. Microsoft also assesses with high confidence that DEV-0196 is linked to an Israel-based private company called QuaDream. According to the Israeli Corporations Authority, QuaDream, under the Israeli name קוודרים בע”מ, was incorporated in August 2016. The company has no website, and there is little public reporting about the company, with a few notable exceptions.

QuaDream came to international attention in a 2022 Reuters report, which cited a company brochure that described the REIGN platform and a list of capabilities, the report also notably suggested that QuaDream used a zero-click iOS exploit that leveraged the same vulnerability seen in NSO Group’s ForcedEntry exploit. An earlier report by Israeli news outlet Haaretz, also citing a QuaDream brochure, revealed that QuaDream did not sell REIGN directly to customers but instead did so through a Cypriot company. Haaretz also reported that Saudi Arabia’s government was among QuaDream’s clients, as was the government of Ghana. However, Haaretz could not confirm allegations made in the Ghanian press and repeated in the Israeli press that QuaDream employees were among 14 Israeli tech workers from different companies who travelled to Accra, Ghana in 2020 to meet with the incumbent administration three months prior to the presidential election for the purposes of a special project relating to it.

QuaDream was mentioned in a December 2022 report from Meta, which reportedly took down 250 accounts associated with the company. According to the report, Meta observed QuaDream testing its ability to exploit iOS and Android mobile devices with the intent “to exfiltrate various types of data including messages, images, video and audio files, and geolocation.”

Technical investigation: DEV-0196 malware

Microsoft Threat Intelligence analysts assess with high confidence that the malware, which we call KingsPawn, is developed by DEV-0196 and therefore strongly linked to QuaDream. We assess with medium confidence that the mobile malware we associate with DEV-0196 is part of the system publicly discussed as REIGN.

The captured samples targeted iOS devices, specifically iOS 14, but there were indications that some of the code could also be used on Android devices. Since the malware sample targets iOS 14, some of the techniques used in this sample may no longer work or be relevant on newer iOS versions. However, we assess it’s highly likely that DEV-0196 will have updated their malware, targeting newer versions to account for this. Analysis of the malware revealed that it is split into multiple components. The sections below focus on two of those components: a monitor agent and the main malware agent.

Monitor agent

The monitor agent is a native Mach-O file written in Objective-C. It is responsible for reducing the forensic footprint of the malware to prevent detection and hinder investigations. It has multiple techniques to do this, one of which is monitoring various directories, such as /private/var/db/analyticsd/ and /private/var/mobile/Library/Logs/CrashReporter, for any malware execution artifacts or crash-related files. Once these artifacts or files are identified, the monitor agent deletes them.

The monitor agent is also in charge of managing the various processes and threads spawned on behalf of the malware to avoid artifacts created from unexpected process crashes. The agent uses the waitpid function to monitor all child processes that are spawned, and the child process IDs are added to a tracking list. The monitor agent attempts to safely shut down tracked child processes by calling sigaction with the SIGTSTP parameter, if sigaction returns successfully this means the child process is reachable and a SIGKILL command is sent to kill it. This avoids sending a kill command to a non-existent PID, which can leave error messages and artifacts behind.

Main agent

The main agent is also a native Mach-O file. However, it is written in Go, a highly portable language, which was likely chosen because it allows compilation across multiple platforms, reducing development effort.

This agent includes capabilities to:

It achieves some of these functionalities, for example the surreptitious camera use, by leveraging two key binaries, tccd and mediaserverd, a technique described by ZecOps. The name tccd stands for Transparency, Consent, and Control (TCC) Daemon, and the process manages the access permissions for various peripherals such as the camera and microphone. Normally, users are met with a pop-up prompt from the tccd process, alerting them that something has requested access to the camera, microphone, or other peripheral, and the user is required to either allow or deny it. In this compromise scenario, the agent injects itself into the tccd binary, which allows the agent to spawn both new processes and threads as part of the exploitation process, and also allows it to bypass any tccd prompts on the device meaning the user would be unaware of camera compromise. In concert with tccd, the agent also provisions itself permission to run in the background via mediaserverd. This binary handles the interface that other apps interact with when utilizing the camera. For more details on iOS process injection, tccd and other system components, see Jonathan Levin’s macOS and iOS internals books and blog.

The techniques used in the main agent include a PMAP bypass, an Apple Mobile File Integrity (AMFI) bypass, and a sandbox escape. PMAP is one of the mechanisms that works with the Page Protection Layer (PPL) to prevent unsigned code from running on iOS devices. AMFI is a protection mechanism comprised of multiple components including a kernel extension, AppleFileMobileIntegrity.kext, as well as userland daemon, amfid. The sandbox limits access to system resources and user data via an entitlements system. Although PMAP, PPL, AMFI, and the sandbox have been hardened over the years, advanced attackers attempt to circumvent these protection mechanisms in order to run unsigned code.

The agent also creates a secure channel for XPC messaging by creating a nested app extension called fud.appex. XPC messaging allows the agent to query various system binaries for sensitive device information, such as location details. Although there is a legitimate binary called fud on iOS devices that is part of the Mobile Accessory updater service, fud.appex is not part of a legitimate Apple service. The agent creates the malicious app extension inside the folder /private/var/db/com.apple.xpc.roleaccountd.staging/PlugIns/. The primary reason for performing XPC messaging from within this application extension is to establish a covert channel that enables the agent to avoid being monitored. This nested directory technique means that the XPC service is registered such a way that it is only visible to the app extension itself, so any external monitoring by other applications and system processes is far more difficult. Upon unhooking and restoring tccd to its original state, the entire PlugIns folder is removed to further hide any artifacts of its existence.

In their blog, Citizen Lab discusses the presence of likely malicious calendar events on devices compromised by DEV-0196’s malware, so another notable function of the main agent is that it contains specific code to remove events from the device’s calendar. The agent searches all calendar events from two years prior to the current time and up to the furthest possible allowed future time, removing any events that are tied to a given email address as the “organizer”. The agent also removes the email address from the idstatuscache.plist, which is a database containing records of the first contact of the device with other iCloud accounts. This list would contain the email address that sent the malicious calendar invitation, as well as a time stamp of the original interaction, such as when the invite was received.

There is additional functionality within the agent to cover its tracks by removing artifacts of location monitoring from the locationd process’ records. To first query locations from locationd, the agent must register a client that communicates with locationd via XPC messaging. The locationd process then stores a record of these connections in /private/var/root/Library/Caches/locationd/clients.plist. The malicious agent searches for items in the client plist that have a suffix of subridged, and then removes them, which indicates that the name of their location monitoring client likely ends in that word. This is another example of malicious activity attempting to masquerade as benign system processes, since subridged is the name of a legitimate Apple binary, a part of the SoftwareUpdateBridge Framework.

Technical investigation: DEV-0196 infrastructure

Microsoft developed unique network detections that could be used to fingerprint DEV-0196’s infrastructure on the internet. The group heavily utilized domain registrars and inexpensive cloud hosting providers that accepted cryptocurrency as payment. They tended to only use a single domain per IP address and domains were very rarely reused across multiple IP addresses. Many of the observed domains were deployed using free Let’s Encrypt SSL certificates, while others used self-signed certificates designed to blend in with normal Kubernetes deployments.

We have included network-based indicators at the end of this post for detection purposes. Often, threat actors employ domains that carry country-specific TLDs or themes that align with the location of intended targets. Notably, our list of DEV-0196 domains includes domains strongly associated with some countries that Citizen Lab has identified as locations of victims, countries where QuaDream platforms were operating, or both. To be clear, the identification of victims of the malware in a country doesn’t necessarily mean that an entity in that country is a DEV-0196 customer, as international targeting is common.

Prevention and detection

Preventing exploitation of mobile devices by advanced actors who potentially have zero-click exploits is difficult. There are also significant challenges in detecting an attack on mobile devices, both during and after the compromise. This section discusses some methods for minimizing the risk of malicious actors compromising mobile devices, and then provides some indicators of compromise we associate with DEV-0196 activity.

Basic cyber hygiene is important in helping prevent mobile device compromise. Specific best practices include keeping the device’s software updated to the latest version, enabling automatic software updates if available, using anti-malware software, and being vigilant about not clicking links in any unexpected or suspicious messages.

If you believe you may be targeted by advanced attackers and use an iOS device, we recommend enabling Lockdown Mode. Lockdown Mode offers enhanced security for iOS devices by reducing the attack surface available to threat actors.

Sentinel detections

Microsoft Sentinel customers can use the TI Mapping analytic to automatically match the malicious domain indicators mentioned in this blog post with data in their workspace. If the TI Map analytics are not currently deployed, customers can install the Threat Intelligence solution from the Microsoft Sentinel Content Hub to have the analytics rule deployed in their Sentinel workspace. More details on the Content Hub can be found here: https://learn.microsoft.com/azure/sentinel/sentinel-solutions-deploy.

In addition, customers can access the shared indicators in a structured format via GitHub so that they can be integrated into custom analytics and other queries: https://github.com/microsoft/mstic/blob/master/RapidReleaseTI/Indicators.csv.

Indicators of compromise (IOCs)

Host-based indicators

These host-based indicators are indicative of DEV-0196 activity; however, they shouldn’t be used solely as attribution since other actors may also use the same or similar TTPs.

The file existing, or process activity from, /private/var/db/com.apple.xpc.roleaccountd.staging/subridged

The file existing, or process activity from, com.apple.avcapture

The folder /private/var/db/com.apple.xpc.roleaccountd.staging/PlugIns/fud.appex/ existing, or having activity detected from the folder.

Network indicators

Based on the results of our C2 investigation, Microsoft Threat Intelligence associate the following domains with DEV-0196 activity. The dates the domains were first detected as likely in use is given, along with the last seen active date.

DomainFirst activeLast active
fosterunch[.]com2022-05-30CURRENT
womnbling[.]com2022-05-30CURRENT
zebra-arts[.]com2022-05-31CURRENT
pennywines[.]com2022-08-19CURRENT
choccoline[.]com2022-08-19CURRENT
lateparties[.]com2022-09-15CURRENT
foundurycolletive[.]com2022-11-07CURRENT
jungelfruitime[.]com2022-11-09CURRENT
gameboysess[.]com2022-11-09CURRENT
healthcovid19[.]com2022-11-10CURRENT
codingstudies[.]com2022-11-16CURRENT
hoteluxurysm[.]com2022-11-18CURRENT
newz-globe[.]com2022-11-23CURRENT
hotalsextra[.]com2022-11-23CURRENT
nordmanetime[.]com2022-11-23CURRENT
fullaniimal[.]com2022-11-23CURRENT
wikipedoptions[.]com2022-11-23CURRENT
redanddred[.]com2022-11-23CURRENT
whiteandpiink[.]com2022-12-02CURRENT
agronomsdoc[.]com2022-12-02CURRENT
nutureheus[.]com2022-12-02CURRENT
timeeforsports[.]com2022-12-15CURRENT
treerroots[.]com2022-12-15CURRENT
unitedyears[.]com2022-12-15CURRENT
eccocredit[.]com2022-12-16CURRENT
ecologitics[.]com2022-12-19CURRENT
climatestews[.]com2022-12-19CURRENT
aqualizas[.]com2022-12-19CURRENT
bgnews-bg[.]com2022-12-20CURRENT
mikontravels[.]com2022-12-23CURRENT
e-gaming[.]online2022-12-23CURRENT
transformaition[.]com2022-12-23CURRENT
betterstime[.]com2022-12-23CURRENT
goshopeerz[.]com2022-12-23CURRENT
countshops[.]com2022-12-23CURRENT
inneture[.]com2022-12-23CURRENT
shoppingeos[.]com2022-12-23CURRENT
mwww[.]ro2023-01-05CURRENT
rentalproct[.]com2023-01-05CURRENT
bcarental[.]com2023-01-05CURRENT
kikocruize[.]com2023-01-05CURRENT
elvacream[.]com2023-01-10CURRENT
pachadesert[.]com2023-01-12CURRENT
razzodev[.]com2023-02-06CURRENT
wombatcash[.]com2023-02-06CURRENT
globepayinfo[.]com2023-02-06CURRENT
job4uhunt[.]com2023-02-08CURRENT
ctbgameson[.]com2023-02-08CURRENT
adeptary[.]com2023-02-08CURRENT
hinterfy[.]com2023-02-08CURRENT
biznomex[.]com2023-02-08CURRENT
careerhub4u[.]com2023-02-08CURRENT
furiamoc[.]com2023-02-08CURRENT
motorgamings[.]com2023-02-08CURRENT
aniarchit[.]com2023-02-08CURRENT
skyphotogreen[.]com2023-02-26CURRENT
datacentertime[.]com2023-02-26CURRENT
stylelifees[.]com2023-02-26CURRENT
kidzlande[.]com2023-03-01CURRENT
homelosite[.]com2023-03-01CURRENT
zooloow[.]com2023-03-01CURRENT
studiesutshifts[.]com2023-03-01CURRENT
codingstudies[.]com2023-03-08CURRENT
londonistory[.]com2023-03-16CURRENT
bestteamlife[.]com2023-03-16CURRENT
newsandlocalupdates[.]com2023-03-16CURRENT
youristores[.]com2023-03-16CURRENT
zooloow[.]com2023-02-262023-03-04
kidzlande[.]com2023-02-262023-03-04
homelosite[.]com2023-02-262023-03-04
studiesutshifts[.]com2023-02-262023-03-04
datacentertime[.]com2022-11-072023-02-25
homelosite[.]com2022-11-092023-02-25
zooloow[.]com2022-11-102023-02-25
kidzlande[.]com2022-11-102023-02-25
studiesutshifts[.]com2022-11-102023-02-25
stylelifees[.]com2022-11-112023-02-25
skyphotogreen[.]com2022-11-112023-02-25
gardenearthis[.]com2023-01-112023-02-25
fullstorelife[.]com2023-01-112023-02-25
incollegely[.]org2022-05-242023-01-20
shoplifys[.]com2022-05-262023-01-20
thetimespress[.]com2022-06-242023-01-20
studyshifts[.]com2022-06-242023-01-20
codinerom[.]com2022-07-102023-01-20
gamingcolonys[.]com2022-07-172023-01-20
kidzalnd[.]org2022-07-172023-01-20
wildhour[.]store2022-07-262023-01-20
wilddog[.]site2022-07-262023-01-20
garilc[.]com2022-07-262023-01-20
runningandbeyond[.]org2022-08-042023-01-20
fullmoongreyparty[.]org2022-08-042023-01-20
greenrunners[.]org2022-08-042023-01-20
sunsandlights[.]com2022-08-092023-01-20
techpowerlight[.]com2022-08-162023-01-20
gamezess[.]com2022-08-292023-01-20
planningly[.]org2022-08-292023-01-20
luxario[.]org2022-09-032023-01-20
vinoneros[.]com2022-09-032023-01-20
i-reality[.]online2022-09-072023-01-20
styleanature[.]com2022-09-072023-01-20
planetosgame[.]com2022-12-122023-01-20
kidsfunland[.]org2022-07-292023-01-19
fullstorelife[.]com2022-11-112023-01-09
localtallk[.]store2022-01-262022-12-20
allplaces[.]online2022-01-262022-12-20
sunclub[.]site2022-01-262022-12-20
thenewsfill[.]com2022-05-262022-12-20
wellnessjane[.]org2022-05-262022-12-20
meehealth[.]org2022-05-272022-12-20
gameizes[.]com2022-07-202022-12-20
playozas[.]com2022-07-202022-12-20
foodyplates[.]com2022-07-202022-12-20
designaroo[.]org2022-08-292022-12-20
designspacing[.]org2022-08-292022-12-20
stockstiming[.]org2022-09-012022-12-20
hoteliqo[.]com2022-09-012022-12-20
projectoid[.]org2022-09-012022-12-20
study-search[.]com2022-09-012022-12-20
tokenberries[.]com2022-09-032022-12-20
recovery-plan[.]org2022-09-072022-12-20
deliverystorz[.]com2022-09-072022-12-20
forestaaa[.]com2022-10-042022-12-20
addictmetui[.]com2022-10-202022-12-20
earthyouwantiis[.]com2022-10-202022-12-20
zedforme[.]com2022-10-202022-12-20
forestaaa[.]com2022-10-282022-12-20
navadatime[.]com2022-11-102022-12-15
careers4ad[.]com2022-11-132022-12-15
gardenearthis[.]com2022-11-072022-12-14
studyreaserch[.]com2022-11-092022-12-14
novinite[.]biz2022-08-312022-12-10
agronomsdoc[.]com2022-11-162022-11-28
whiteandpiink[.]com2022-11-162022-11-28
nutureheus[.]com2022-11-182022-11-28
dressuse[.]com2022-09-182022-11-20
iwoodstor[.]xyz2022-09-182022-11-20
teachlearning[.]org2022-09-182022-11-20
subcloud[.]online2022-09-212022-11-20
monvesting[.]com2022-09-212022-11-20
elektrozi[.]com2022-09-212022-11-20
hoteluxurysm[.]com2022-11-092022-11-14
hopsite[.]online2022-11-132022-11-14
bikersrental[.]com2022-05-242022-11-13
takestox[.]com2022-05-242022-11-13
sidelot[.]org2022-05-242022-11-13
powercodings[.]com2022-08-212022-11-13
naturemeter[.]org2022-08-212022-11-13
takebreak[.]io2022-10-122022-11-13
fullstorelife[.]com2022-11-072022-11-10
noraplant[.]com2022-11-092022-11-09
forestaaa[.]com2022-10-042022-11-07
goodsforuw[.]com2022-10-262022-11-07
stayle[.]co2022-10-262022-11-07
eedloversra[.]online2022-10-282022-11-07
sevensdfe[.]com2022-11-032022-11-07
dsudro[.]com2022-11-032022-11-07
gameboysess[.]com2022-11-072022-11-07
sseamb[.]com2022-10-262022-11-06
healthcovid19[.]com2022-11-042022-11-06
noraplant[.]com2022-11-042022-11-06
fullstorelife[.]com2022-11-042022-11-06
datacentertime[.]com2022-11-042022-11-05
recover-your-body[.]xyz2022-01-062022-11-02
reloadyourbrowser[.]info2022-07-052022-11-02
comeandpet[.]me2022-07-052022-11-02
brushyourteeth[.]online2022-07-052022-11-02
digital-mar[.]com2022-08-102022-11-02
retailmark[.]net2022-08-162022-11-02
dsudro[.]com2022-10-042022-11-02
studysliii[.]com2022-10-262022-11-02
homeigardens[.]com2022-09-072022-10-29
stayle[.]co2022-10-202022-10-24
studysliii[.]com2022-10-202022-10-24
goodsforuw[.]com2022-10-202022-10-24
dsudro[.]com2022-10-202022-10-24
sseamb[.]com2022-10-202022-10-24
sevensdfe[.]com2022-10-202022-10-24
koraliowe[.]com2022-04-052022-10-13
topuprr[.]com2022-04-052022-10-13
zeebefg[.]com2022-04-052022-10-12
takebreak[.]io2022-06-212022-10-11
forestaaa[.]com2022-10-032022-10-03
teachlearning[.]org2022-09-182022-09-18
newsbuiltin[.]online2022-09-152022-09-17
jyfa[.]xyz2022-09-152022-09-17
monvesting[.]com2022-07-192022-09-15
teachlearning[.]org2022-07-192022-09-15
elektrozi[.]com2022-07-202022-09-15
thepila[.]com2022-09-152022-09-15
thegreenlight[.]xyz2022-01-112022-09-14
gosport24[.]com2022-01-112022-09-14
classiccolor[.]live2022-01-112022-09-11
shoeszise[.]xyz2022-02-242022-09-11
cleanitgo[.]info2022-02-242022-09-11
setclass[.]live2022-02-242022-09-11
white-rhino[.]online2022-04-142022-09-11
space-moon[.]com2022-04-142022-09-11
enrollering[.]com2022-05-242022-09-11
newslocalupdates[.]com2022-08-192022-09-11
newsbuiltin[.]online2022-09-112022-09-11
beendos[.]com2022-04-142022-09-10
linestrip[.]online2022-07-012022-09-07
sunnyweek[.]site2022-07-012022-09-07