Microsoft · Vendor blog
NeedyMantis: Unpacking a post-compromise malware family used in targeted operations
Published · Source: Microsoft
Entities & attribution
Artifact
winsparkle.dll
“%ProgramFiles%\ Poedit\WinSparkle.dll”
Page 1 · Paragraph 20
Artifact
libcurl.dll
“%ProgramData%\USOShared\libcurl.dll”
Page 1 · Paragraph 21
Artifact
vim64.dll
“%ProgramData%\VIM\vim64.dll”
Page 1 · Paragraph 22
Artifact
dbghelp.dll
“%ProgramData%\office\dbghelp.dll”
Page 1 · Paragraph 24
Artifact
jli.dll
“%ProgramData%\Intel\jli.dll”
Page 1 · Paragraph 26
Artifact
nvml.dll
“%ProgramFiles%\modifiable\nvml.dll”
Page 1 · Paragraph 27
Artifact
encryptbase64.ps1
“…launch it. In the analyzed sample, the next stage was named encryptbase64.ps1 .”
Page 1 · Paragraph 42
Artifact
7-zip.dll
“7-zip.dll – Legitimate component of 7-Zip”
Page 1 · Paragraph 49
Artifact
7-zip32.dll
“7-zip32.dll – Legitimate component of 7-Zip”
Page 1 · Paragraph 50
Artifact
7z.exe
“7z.exe – Legitimate component of 7-Zip”
Page 1 · Paragraph 51
Artifact
disk2vhd.dll
“Disk2vhd.dll – Legitimate Sysinternals component Disk2vhd”
Page 1 · Paragraph 52
Artifact
main.dll
“main.dll – Legitimate Sysinternals component Ctrl2Cap”
Page 1 · Paragraph 53
Artifact
kernel32.dll
“kernel32.dll – Legitimate kernel32.dll”
Page 1 · Paragraph 54
Artifact
dnsapi.dll
“dnsapi.dll – Not a dnsapi.dll , but contains the malware’s configurati…”
Page 1 · Paragraph 56
Artifact
ws2_32.dll
“ws2_32.dll – Not a ws2_32.dll , but contains a WebSockets based commun…”
Page 1 · Paragraph 57
Artifact
msvcrt140.dll
“msvcrt140.dll – Not a msvcrt140.dll , but contains shellcode to load modu…”
Page 1 · Paragraph 58
Artifact
contoso-poedit.exe
“It creates a mutex named - , such as Contoso-Poedit.exe . Like in the first-stage loader, most of the main componen…”
Page 1 · Paragraph 76
Tool
Cobalt Strike
“The initial C2 beacon is an HTTPS GET request, similar to Figure 8 below:”
Page 1 · Paragraph 96
MITRE ATT&CK behaviors
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“…m archive format, loader architecture, command-and-control (C2) communications, and modular design. We also provide indica…”
Page 1 · Paragraph 11
T1574.002 · DLL Side-Loading
Defense Evasion · DLL sideloading
“…der–masquerading as a required DLL—being loaded through DLL sideloading.”
Page 1 · Paragraph 18
T1059.001 · PowerShell
Execution · PowerShell execution
“…yptbase64.ps1 was the second-stage loader. Despite its .ps1 PowerShell extension, the file contains x64 shellcode. Its purpose is …”
Page 1 · Paragraph 66
T1566.001 · Spearphishing Attachment
Initial Access · Spearphishing attachment
“Phishing Triage agent”
Page 1 · Paragraph 161
Indicators of compromise
sha256
e842dd7642c8e04b5ec20b6393848a9c904e4832930950c16664fe7800ba382e“…d sample, the loader DLL was named WinSparkle.dll (SHA-256: e842dd7642c8e04b5ec20b6393848a9c904e4832930950c16664fe7800ba382e) and its file archive was named WinSparkle (SHA-256: 9cb68f…”
Page 1 · Paragraph 35
sha256
9cb68f986043a576e19d32184c583b7d8f571c7219d8dc0065dced1c13f077ef“…ba382e) and its file archive was named WinSparkle (SHA-256: 9cb68f986043a576e19d32184c583b7d8f571c7219d8dc0065dced1c13f077ef). NeedyMantis spoofed and replaced the WinSparkle software …”
Page 1 · Paragraph 35
sha256
c82520eb03c084226be4eafbff46f56dca0aa8804a2a7f23a085a96afe71ef77“…rsion of the malware, for example, used a libcurl (SHA-256: c82520eb03c084226be4eafbff46f56dca0aa8804a2a7f23a085a96afe71ef77) file archive, and it contained only four files:”
Page 1 · Paragraph 60
domain
corp.tripswithengine[.]com“0x12c : C2 host ( corp.tripswithengine[.]com )”
Page 1 · Paragraph 82
domain
google[.]com“A 256-byte buffer is created that starts with google.com followed by random bytes”
Page 1 · Paragraph 117
url
hxxps://securelist[.]com/tr/daemon-tools-backdoor/119654/“https://securelist.com/tr/daemon-tools-backdoor/119654/”
Page 1 · Paragraph 198
url
hxxps://winsparkle[.]org/“https://winsparkle.org/”
Page 1 · Paragraph 199
url
hxxps://poedit[.]com/“https://poedit.com/”
Page 1 · Paragraph 200
Claims & evidence
Reported Claim
NeedyMantis: Unpacking a post-compromise malware family used in targeted operations exhibits C2 over HTTPS (T1071.001)
“…m archive format, loader architecture, command-and-control (C2) communications, and modular design. We also provide indica…”
Page 1 · Paragraph 11
Reported Claim
NeedyMantis: Unpacking a post-compromise malware family used in targeted operations exhibits DLL sideloading (T1574.002)
“…der–masquerading as a required DLL—being loaded through DLL sideloading.”
Page 1 · Paragraph 18
Reported Claim
NeedyMantis: Unpacking a post-compromise malware family used in targeted operations exhibits PowerShell execution (T1059.001)
“…yptbase64.ps1 was the second-stage loader. Despite its .ps1 PowerShell extension, the file contains x64 shellcode. Its purpose is …”
Page 1 · Paragraph 66
Reported Claim
NeedyMantis: Unpacking a post-compromise malware family used in targeted operations exhibits Spearphishing attachment (T1566.001)
“Phishing Triage agent”
Page 1 · Paragraph 161
Inferred Relationship
C2 over HTTPS precedes DLL sideloading
“…der–masquerading as a required DLL—being loaded through DLL sideloading.”
Page 1 · Paragraph 18
Inferred Relationship
DLL sideloading precedes PowerShell execution
“…yptbase64.ps1 was the second-stage loader. Despite its .ps1 PowerShell extension, the file contains x64 shellcode. Its purpose is …”
Page 1 · Paragraph 66
Inferred Relationship
PowerShell execution precedes Spearphishing attachment
“Phishing Triage agent”
Page 1 · Paragraph 161
Reported Claim
corp.tripswithengine.com used as network infrastructure
“0x12c : C2 host ( corp.tripswithengine[.]com )”
Page 1 · Paragraph 82
Reported Claim
google.com used as network infrastructure
“A 256-byte buffer is created that starts with google.com followed by random bytes”
Page 1 · Paragraph 117
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“…m archive format, loader architecture, command-and-control (C2) communications, and modular design. We also provide indica…”
Page 1 · Paragraph 11