Back citizenlab.ca Surfacing Malware Targeting Azerbaijani Civil Society
Collaborating with Access Now , we have uncovered a multi-year campaign making use of custom Windows malware to selectively target the Azerbaijani think tank Khar Center and spouses of Azerbaijani political prisoners.
The use of custom malware and highly selective deployment demonstrate an increase in attacker capabilities targeting Azerbaijani civil society.
Unnoticed until now, these attacks were likely carried out by an actor that is most likely part of or working under the direction of the Azerbaijani government.
In May 2026, Access Now shared a pair of malware samples with us that they had received from multiple people in Azerbaijani civil society. While the first sample had been created in 2024, and the second two years later in 2026, they shared an interesting characteristic: connections to a command and control server using the same, relatively unique Uniform Resource Identifier (URI) paths, /aboutcurrenttask and /mldkent .
Subsequent analysis determined that the samples are part of a custom malware family specializing in file stealing, keystroke and clipboard logging, and, in the most recent version, recording of application audio. At the time of our analysis, the malware family and its command and control infrastructure were undocumented and evaded most anti-virus protections.
This discovery captures the latest in a relentless pattern of malware targeting Azerbaijani civil society, with documented examples stretching back over a decade, such as our 2014 report Mapping Hacking Team’s “Untraceable” Spyware . Since then, malware-based campaigns targeting Azerbaijani civil society were documented in 2017 , 2020 , multiple in 2021 using both NSO’s Pegasus spyware and a likely custom malware kit , and again in 2023 . This campaign of targeting resulted in the filing of multiple cases before the European Court of Human Rights in 2022. A supporting amicus brief was filed by Access Now in August 2026 to the European Court of Human Rights , further highlighting the aggressive targeting of Azerbaijani civil society.
Based on details shared with us from Access Now, malware was delivered to targets via multiple means: email, Messenger, and WhatsApp. In all cases, the lures led to archive files claiming to contain appeals to the European Commission regarding political prisoners or a project proposal. These lures are thematically similar to those documented by Amnesty and Checkpoint over the past decade.
The lures use a consistent pattern for delivering the malware:
Initial lure as a shortened URL
Open redirect on a common internet service
A password-protected archive file, a .zip or .rar, hosted on a compromised website
Archive contains multiple decoy documents, alongside a malicious script
The malicious script downloads and installs windows-based malware from either a compromised website or an attacker controlled one.
Initial review of the provided phishing emails, decoy documents, first-stage payloads, and later-stage Windows malware found no direct infrastructure, file, nor identifier overlaps to previously documented malware-based attacks targeting Azerbaijani civil society. Analysis by the Citizen Lab is able to confirm the two malware samples are nearly identical in terms of capabilities and Command and Control (C2) communication protocol. They are a Windows remote access tool, with the ability to steal files, log keystrokes and clipboard, download and execute files or arbitrary commands, and, in a newer version, record streaming audio in applications. Importantly, in the earlier sample we found a pair of base64 encoded strings by which the malware authors appear to have named their creation, ‘ This is a ’ and ‘ Protopterus ’. Interestingly, these strings were removed in the later sample provided to us.
Based on a review of disassembled and decompiled code in all samples, they are largely identical. They encode their strings in the same way, obfuscate calls to Windows APIs in an identical manner, and are structured to run each capability in a thread. Additionally, they employ numerous identical anti-analysis methods. The variations observed may be due to changes in the code base over the two year time span the samples were collected.
Both samples were linked, based on information in VirusTotal, with GNU BinUtils v2.40. According to releases available on the GNU official mirror , v2.40 was made available on January 14, 2023. Multiple releases have occurred since then, with the latest stable release, v2.46, appearing on February 10, 2026.
The malware runs as a standard Windows binary. It does not attempt to insert itself into another process’ memory, nor store its executable code in a packed format that must be decoded or decrypted. Persistence is established by setting a Windows registry key.
During installation, after a series of anti-analysis checks and traps, it invokes a set of threads to carry out its functionality:
Recording audio input from applications (note: 2026 version only);
Screen Capture (note: 2024 version is recurring, 2026 version is at start only);
Handling commands coming from the C2; and
Clean-up of exfiltration staging files.
The malware steals values from the clipboard every second (i.e. 999ms – 1111ms) via standard Windows APIs: user32’s OpenClipboard and GetClipboardData .
The data is written to temporary files in %TEMP%\edge_diagnostics , with files named variations of %hhmmss%reportderrorcount . The malware writes in UTF-16LE format, to support nearly any language used by the victim.
The malware monitors the keyboard via standard Windows APIs: user32’s SetWindowsHookEx with WH_KEYBOARD_LL and GetMessage . The data is written to a file in %TEMP%\edge_diagnostics .
The malware performs recording of audio input by using COM objects built into Windows, which help with input device enumeration, discovery of processes that have audio incoming, and fetching the actual audio. This functionality was only found in the newer sample from 2026. These are referenced and loaded by statically defined GUIDs and calls to ole32’s IIDFromString method. The objects include MMDeviceEnumerator , IAudioSessionManager2 , and IAudioSessionControl2 .
Standard windows API calls are used to discover input audio is available and then store it in staging files: waveInGetNumDevs , waveInGetDevCapsA , waveInOpen , waveInPrepareHeader , and waveInAddBuffer .
The recording thread spawns additional threads to write the audio to a staging file in %TEMP%\edge_diagnostics with file names based on the current system time.
The malware performs capture of the entire screen, in a recurring thread for the sample from 2024. In the 2026 version, the authors added the ability to selectively enable or disable screen captures. The captures are saved locally in the Windows-native bitmap format and then uploaded to the C2.
Arbitrary File and Command Execution
The malware uses a thread to periodically check-in with the C2 and handle commands that come back from it. Within this thread, is the ability to pass arbitrary files and commands to execute, which it does with the use of the runas command.
The malware has a thread dedicated to deleting its temporary file staging directory – %TEMP%\edge_diagnostics – and everything in it, approximately every 2.5 hours (i.e. 8,989,002 ms). It also uses a unique command to affect file deletion, potentially to obscure itself in system logs:
Command and Control Communication
The malware communicates with the command and control server (C2) via HTTPS POST requests, using standard Windows APIs. Each sample analyzed had its own C2 domain statically included. There was no backup C2 nor other backup communication capability found during analysis. The SSL layer is configured to permit untrusted, expired certificates and TLS versioning is relaxed to permit communication over TLS v1.1 or v1.2.
The set of expected C2 endpoints are the following:
The complete set of commands supported by the malware samples are the following:
Additionally, the malware will generate a pseudo-random User-Agent header for communication, which changes with each request. Examples of these can be seen from VirusTotal sandbox run data: 1011111110Y?AE348397
The malware will leave multiple artifacts on the system on disk or the system environment. For all samples, they created a system mutex: called ‘derrorcount’ in the 2024 version and the 2026 version using ‘ edge_diagnostics ,’ to assist in managing state across the threads. A similarly named temp directory is created at ‘ %TEMP%\edge_diagnostics\ ,’ which holds copies of stolen files, logs of the keyboard and clipboard, and recorded audio files as they are uploaded to the command and control server. A parallel thread handles deleting the contents of the folder every 2.5 hours.
The malware makes use of anti-analysis features to prevent static and dynamic analysis of samples. The results of some anti-dynamic analysis checks can be observed in sandbox runs in VirusTotal.
Examples of anti-dynamic analysis techniques include common ones like checking for known debugger processes (i.e. ‘ ida64 ’ and ‘ x64dbg ’), calls to sleep() with long delays, creation of junk data files in excess of 300MB, CPU-intensive mathematical computations, and checks for internet connectivity to URLs like .
Examples of anti-static analysis techniques include dynamic lookup of function pointers to load Windows system API calls and the use of encoded strings to obfuscate all API calls and configuration information. String decoding was consistently done just-in-time, using a rolling XOR function, but with different static keys at nearly every call site. It also appears the compiler flags provided by the malware author resulted in the storage of encoded strings as inline bytes, further hindering analysis in some reverse engineering software packages.
Command and Control Infrastructure
The C2 domains were all fronted by Cloudflare, preventing direct fingerprinting of the hosts. The SSL certificates were also managed automatically.
As stated earlier, we were not able to identify the individual or group who is conducting these attacks against Azerbaijani civil society members. Recurring investigation of the malware’s infrastructure showed few signs of activity nor significant numbers of targeting attempts. Indeed, aside from Access Now’s ability to unearth a handful of messages and infections, this malware has strived to live up to its namesake animal protopterus : only coming up for air when the time is right.
There is one finding to that sheds a bit of light on the actor. One of the malware’s C2 domains, needtowatchthelist.com, has an interesting attribute of its WHOIS data. As recently as March 2026, the WHOIS registration showed the following information:
Despite this seeming to be of little value, a review of historical WHOIS records finds exactly one other domain with the same obfuscated email address: needtowatchthelist.online . That domain was originally registered on the same day as the known C2 domain: December 20, 2024. And, as it happens, the privacy masking of the WHOIS information for it is now disabled:
The email address was created the same day the domains were registered. Unfortunately, further investigation of the name and email address did not result in additional identifiers.
With the trail of information ending at this point, our analysis does not conclusively identify a particular individual or group behind these attacks. There was, however, sufficient evidence, both direct and inferred from the technical details and historical geopolitical contexts, to assess the campaign is most likely associated with an actor that is either part of or takes at least some direction from the Azerbaijani government.
This conclusion came from an Analysis of Competing Hypotheses (ACH) exercise we conducted, which considered the following hypotheses:
H1: Protopterus is operated directly by the Azerbaijani government The malware’s usage is controlled by a group within the Azerbaijani government for offensive cyber intelligence operations on members of Azerbaijani civil society.
The malware’s usage is controlled by a group within the Azerbaijani government for offensive cyber intelligence operations on members of Azerbaijani civil society.
H2: Protopterus is operated directly by a contractor for the Azerbaijani government The malware’s usage is controlled by a group contracted by the Azerbaijani government for offensive cyber intelligence operations on members of Azerbaijani civil society.
The malware’s usage is controlled by a group contracted by the Azerbaijani government for offensive cyber intelligence operations on members of Azerbaijani civil society.
H3: Protopterus is operated by a government other than Azerbaijan, on behalf of the Azerbaijani government The malware’s usage is controlled by a group within another government for offensive cyber intelligence operations taking direction from the Azerbaijani government to target members of Azerbaijani civil society.
The malware’s usage is controlled by a group within another government for offensive cyber intelligence operations taking direction from the Azerbaijani government to target members of Azerbaijani civil society.
Other hypotheses were initially included in our analysis: an independent sympathizer of the Azerbaijani government, another government operating independently of Azerbaijan, or a financially motivated actor. We rejected those hypotheses due to lack of evidence supporting their inclusion. Our analytic process is detailed in Appendix B: Evidence and Scoring for Analysis of Competing Hypotheses .
There were several categories of evidence contributing to our assessment that these campaigns were carried out by an Azerbaijani government-linked individual or group with an interest in targeting civil society, including historic and trend analysis, geopolitical analysis, and technical analysis. In this campaign, the overall operations were consistent with a malicious actor that had available time and resources to dedicate to the signs of preparation and planning observed. However, there was no publicly acknowledged statement the activity, as we would expect to see from a government sympathizer. And, the small number of victims discovered are not indicative of a financially motivated attack, which usually wants to maximize the number of victims. Indeed, it is the small number of known targets and the consistency of their membership within Azerbaijani civil society that stands out. Paired with the lures these people received further show both a deep interest in Azerbaijani civil society and a continuation of the pattern observed in prior publications regarding malware-based attacks by the Azerbaijani government.
One outlier is the complete shift from malware written in scripting languages like AutoIT and Python to a more technically challenging language of C++ and the use of native Windows API calls to implement its capabilities. While prior malware-based attacks attributed to the Azerbaijani government have shown a willingness to adopt different technologies, this change is marked and not without a more substantial investment in knowledge, tooling, and testing.
It is clear from our research that the targeting of Azerbaijani civil society has continued since the last wave of reports in 2023. Indeed, this latest discovery shows signs of forming one month after a report published by Checkpoint disclosed a wave of attacks using AutoIT-based malware. Protopterus and the tradecraft used in this attack show an improvement in both the capability and operational security employed to target Azerbaijani civil society. These factors demonstrate an increase in capability, most likely from an actor that is part of or working at the direction of the Azerbaijani government.
This targeting comes at a time when the government of Azerbaijan is actively seeking a closer relationship with the European Union, to the point of releasing joint statements between the Azerbaijani and E.U. presidents . After a wave of public reporting of malware-based attacks from 2022 to 2023, the targeting of Azerbaijani civil society has only become more selective and capable of evading detection. It represents a continuation of long-term efforts focused on repressing those who seek to advocate for Azerbaijanis or report on the actions of its government.
Were you potentially targeted? If you believe you were targeted by this attack and are using a Windows-based computer, seek assistance from a computer security professional or service to review your device(s) and perform remediation.
If you believe you have been compromised: Access Now’s Digital Security Helpline is available 24/7 to support members of civil society, including activists, media organizations, journalists, and human rights defenders. Their team can provide support, in ten languages, including Russian. Read their FAQ in English and Russian for more information eligibility and how to reach out.
The attackers behind this activity used phishing emails impersonating either known individuals or leveraging shared interests to convince the recipient to click on a link that would download malware. The best defence against these types of social engineering attacks is to be a “five-second detective” when receiving messages.
Review the sender’s email address. Is it their official email address? Have you received legitimate messages from it before?
Ask to communicate via official channels. If the individual is a well known figure such as an academic or conference organizer, ask them to use their official email address to communicate.
Verify via other communication channels. If it is someone you know using a different communication method, verify their identity using voice, chat, or another established method of communication.
During the course of this research, and prior to publication, we notified the relevant domain registrars and Cloudflare of the malware activity via their public reporting channels.
Note on Research Ethics
All research involving human subjects conducted at the Citizen Lab is governed under research ethics protocols reviewed and approved by the University of Toronto’s Research Ethics Board. For this report, the Khar Center granted permission for us to refer to them by name. All other participants chose to remain anonymous and we have redacted select information from this report as a result.
Note on Methodology: Private, Local LLMs for Malware Analysis
Portions of the malware analysis were performed with the assistance of locally-deployed, open-weight LLMs, and open-weight LLMs hosted in encrypted enclaves.
Specifically, LLMs aided in writing scripts for decoding the strings found in the malware and for analyzing the behaviour of select functions from both disassembly and decompiled source code. In addition, we used LLMs to assist in OSINT gathering from established data sources and initial analysis.
All outputs and conclusions were verified by a human prior to use in follow-on analyses. No written text in this report was generated with an LLM.
For reverse engineering, we leveraged locally-hosted open-weight LLMs to drive open-weight agentic harnesses and binary analysis tools. In addition, we developed a custom deobfuscation script to decode strings inline, also powered by local LLMs. The deobfuscation script was validated by an objective comparison between output and binary: either the decoded strings matched the plaintext or they did not.
Encrypted Deployments
In addition to locally-hosted open-weight models, we used open-weight models hosted in fully-encrypted enclaves known as Trusted Execution Environments (TEEs) for data analysis and OSINT. These provide users with a hardware-attested guarantee of privacy, while enabling researchers to use models with hardware demands outstripping available local equipment. We assess TEEs as suitable for less-sensitive analysis tasks that still require strong privacy.
Open-weight and locally-hosted LLMs and open-weight LLMs hosted in attested, encrypted enclaves were a cost-effective and private supplement to human analysis, and helped us better use limited human analyst time, without exposing private research data to third parties. We assess that prompt privacy will become an increasingly critical issue for malware research. The mandatory human-review layer helped ensure the accuracy of outputs, and managed risks of hallucination.
The Citizen Lab would like to thank the Khar Center and other research participants anonymously mentioned in this note for allowing us to analyze their cases, and write them. Without the participation of civil society, such research would be impossible. Thanks to Kristina Balaam, Ron Deibert, John Scott-Railton, and an anonymous contributor for careful review, Aly Bruce, Anna Mackay, and Claire Posno for communications and layout support and to Adam Senft for operations support. We are very grateful to Access Now and Quruim’s DIE Project , for their collaboration and data sharing during this research. Special thanks to Cloudflare and Google Threat Intelligence Group for their collaboration on this research and for taking steps to disrupt the attacks.
Appendix A: Technical Indicators of Compromise
Email: alexia_br1986@protonmail[.]com jenata.liny.1991@proton[.]me
alexia_br1986@protonmail[.]com
jenata.liny.1991@proton[.]me
Messenger:
WhatsApp: +46 72 918 19 50
Phishing Redirect URLs
Phishing Archives (.rar, .zip, .cab)
Example Malicious Installer Scripts (.vbs)
Example Decoy Documents (.docx, .jpeg, .pdf)
Malware Download Servers
Malware Command and Control Servers
Example Malware Command and Control Server Paths
Windows Host-based Malware Artifacts
Command for deleting staging files cmd.exe /c ping 127.0.0.1 -n 5 > nul & rmdir /s /q
cmd.exe /c ping 127.0.0.1 -n 5 > nul & rmdir /s /q
File path %TEMP%\edge_diagnostics
%TEMP%\edge_diagnostics
Mutex derrorcount (v2024) Edge_diagnostics (v2026)
Edge_diagnostics (v2026)
Co-registered Domains
needtowatchthelist[.]online
Co-registered Domain Registration Data
Appendix B: Evidence and Scoring for Analysis of Competing Hypotheses
The hypotheses we have accepted as possibilities had the following scores from our exercise.
The following values were applied by participants during the exercise. Values not conforming directly are due to computing the arithmetic mean of participant scores.
2 = We expect to see this for the hypothesis
1 = It is permitted or unsurprising for the hypothesis
0 = Nothing indicates this is related to the hypothesis
-1 = This is inconsistent with the hypothesis, with example(s)
-2 = This is impossible or highly inconsistent with the hypothesis, with example(s)
