SoreFang is a first-stage downloader for Windows used by APT29, a cyberespionage group attributed to Russia’s Foreign Intelligence Service. It deploys additional payloads and performs reconnaissance on compromised systems. Its documented infection vector involves exploitation of a Sangfor SSL VPN vulnerability that permits the placement and delivery of malicious update binaries. SoreFang establishes persistence through Windows scheduled tasks. It uses native Windows utilities to enumerate running processes, collect local usernames and domain accounts, and retrieve TCP/IP, DNS, DHCP, and network adapter configuration. It also supports decoding and decryption of exfiltrated data sent to command-and-control infrastructure. These capabilities support initial foothold establishment, environment discovery, and subsequent payload deployment.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
SoreFang ... Exploit Public-Facing Application ... Ingress Tool Transfer ... Scheduled Task/Job: Scheduled Task.
“…deployment of custom malware known as WellMess, WellMail, and Sorefang…”
18 distinct techniques documented for this family, organized by ATT&CK tactic.
[SoreFang](https://attack.mitre.org/software/S0516) can gain access by exploiting a Sangfor SSL VPN vulnerability that allows for the placement and delivery of malicious update binaries.(Citation: CISA SoreFang July 2016)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[SoreFang](https://attack.mitre.org/software/S0516) can gain persistence through use of scheduled tasks.(Citation: CISA SoreFang July 2016)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[SoreFang](https://attack.mitre.org/software/S0516) can gain persistence through use of scheduled tasks.(Citation: CISA SoreFang July 2016)
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[SoreFang](https://attack.mitre.org/software/S0516) can gain persistence through use of scheduled tasks.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) has the ability to encode and RC6 encrypt data sent to C2.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can decode and decrypt exfiltrated data sent to C2.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can collect the TCP/IP, DNS, DHCP, and network adapter configuration on a compromised host via <code>ipconfig.exe /all</code>.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can enumerate processes on a victim machine through use of [Tasklist](https://attack.mitre.org/software/S0057).(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can enumerate domain groups by executing <code>net.exe group /domain</code>.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can collect the hostname, operating system configuration, and product ID on victim machines by executing [Systeminfo](https://attack.mitre.org/software/S0096).(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) has the ability to list directories.(Citation: CISA SoreFang July 2016)
Known Malware: APT29 GeminiDuke - A malware that collects information on local user accounts from the victim...
[SoreFang](https://attack.mitre.org/software/S0516) can collect usernames from the local system via <code>net.exe user</code>.(Citation: CISA SoreFang July 2016)
[SoreFang](https://attack.mitre.org/software/S0516) can enumerate domain accounts via <code>net.exe user /domain</code>.(Citation: CISA SoreFang July 2016)
Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'
[SoreFang](https://attack.mitre.org/software/S0516) can collect disk space information on victim machines by executing [Systeminfo](https://attack.mitre.org/software/S0096).(Citation: CISA SoreFang July 2016)
BoomBox can encrypt data using AES prior to exfiltration. ROKRAT can encrypt data prior to exfiltration by using an RSA public key. Trojan.Karagany can base64 encode and AES-128-CBC encrypt data prior to transmission.
[SoreFang](https://attack.mitre.org/software/S0516) can use HTTP in C2 communications.(Citation: CISA SoreFang July 2016)(Citation: NCSC APT29 July 2020)
[SoreFang](https://attack.mitre.org/software/S0516) can download additional payloads from C2.(Citation: CISA SoreFang July 2016)(Citation: NCSC APT29 July 2020)
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.