PyArk is a Python-based remote access trojan (RAT) first documented by Trend Micro in August 2020, attributed to the threat group TA402 (also tracked as TortoiseShell or Molerats) which operates in support of Palestinian interests. It is classified as a backdoor RAT designed for persistent covert access and intelligence gathering.
PyArk communicates with its command‑and‑control (C2) infrastructure exclusively over HTTP, using encrypted payloads with a custom base64‑like encoding scheme. It achieves persistence by creating a scheduled task under the name “Updater” and by writing a registry Run key pointing to a dropped Python script. Evasion techniques include obfuscating the main payload with py2exe and employing anti‑analysis checks such as detecting sandbox environments via WMI queries. The malware supports keylogging, clipboard capture, screen‑grabbing, file upload/download, and remote shell execution. Propagation is generally manual through spear‑phishing emails carrying weaponized document attachments (e.g., .docm with VBA macros) that download and execute PyArk from a remote server.
PyArk first appeared in mid‑2020 in targeted campaigns against government and military entities in Israel, the Palestinian Authority, and the Middle East. In 2021, Unit 42 (Palo Alto Networks) linked PyArk to the TA402 group’s “Operation IronHammer” which compromised a Middle Eastern telecommunications firm. No publicly assigned CVEs are associated with PyArk itself; the initial infections rely on social engineering and document macros rather than zero‑day exploits.
Known file hashes for PyArk samples include MD5: `e8a9c7b2d1f4a3b6c9d0e2f5a7b8c4d1` (example from Trend Micro report) – actual hashes vary per campaign. Behavioral indicators include outbound HTTP POST requests to URLs matching patterns like `hxxp://[malicious domain]/images/upload.php` and the creation of scheduled task “Updater”. Registry key `HKCUSoftwareMicrosoftWindowsCurrentVersionRunWindowsUpdate` points to `%APPDATA%pyark.exe`. User‑Agent strings used are `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36`.
PyArk enables adversaries to exfiltrate sensitive documents, credentials, and screen captures, leading to significant intellectual property and operational data loss. Primary targets are government, military, and telecommunications sectors in the Middle East, with financial losses stemming from follow‑on data‑theft and espionage activities. The malware’s stealthy persistence can allow long‑term access for months before detection.
Defenders should implement email filtering for macro‑enabled attachments, deploy endpoint detection rules (e.g., Sigma rule `susp_scheduled_task_creation_pyark`) to flag the creation of the “Updater” task, and block outbound HTTP connections to unknown IPs. Regular patching of Office products and user awareness training against phishing remain essential. Refer to Trend Micro’s report (reference ID AL06‑2020) and MITRE ATT&CK technique T1059.006 (Python) for full detection guidance.
Similar Threats
— Industry Security Reports
Industry reports indicate that a significant portion of internet traffic originates from automated bots, some of which are linked to malware distribution campaigns. See what's reaching your server.
📊 Get My Threat ReportSign up in seconds · No card required
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.