Kaspersky · Vendor blog
Unknown APT uses NetamLoader to attack a Win10 OS customized for governments in Asia
Published · Source: Kaspersky
Entities & attribution
Artifact
patchmypc-scriptrunner.exe
“…B file was delivered to the victim; we only saw the process PatchMyPC-ScriptRunner.exe running with the following arguments:”
Page 1 · Paragraph 12
Artifact
scriptrunner.exe
“…ble’s main function runs. Below is the content of PatchMyPC‑ScriptRunner.exe.config.”
Page 1 · Paragraph 19
Artifact
connectors.dll
“…acheFactoryConfiguration from the Microsoft.HostIntegration.Connectors.dll module (a Microsoft‑signed assembly) is loaded. DataCacheFa…”
Page 1 · Paragraph 20
Artifact
dllhost.exe
“…oit succeeds, XAML-3 is loaded into the remote host process dllhost.exe. This is a covert method for initiating a new process that …”
Page 1 · Paragraph 90
Artifact
ole32.dll
“…naged object and retrieve its IUnknown interface. Then call ole32.dll’s CoLockObjectExternal(IUnknown interface) to lock the obje…”
Page 1 · Paragraph 128
Artifact
explorer.exe
“If that fails, locate the running explorer.exe process, impersonate its access token using Impersonate() ,…”
Page 1 · Paragraph 158
MITRE ATT&CK behaviors
T1055 · Process Injection
Privilege Escalation · Process injection
“…e detection alert for a .config file using AppDomainManager injection to load arbitrary .NET assemblies. The file was packaged…”
Page 1 · Paragraph 3
T1574.002 · DLL Side-Loading
Defense Evasion · DLL sideloading
“…yConfiguration from the Microsoft.HostIntegration.Connectors.dll module (a Microsoft‑signed assembly) is loaded. DataCacheFa…”
Page 1 · Paragraph 20
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“…e first loader, .NET 1 Loader) and a JSON data payload (the C2 configuration, JSON-1). Both components are compressed with…”
Page 1 · Paragraph 55
Indicators of compromise
filepath
C:\Windows\SoftwareDistribution\Download\e4537a1762fcafd2fd96bfc825bad34f9db9a24d“C:\Windows\SoftwareDistribution\Download\e4537a1762fcafd2fd96bfc825bad34f9db9a24d”
Page 1 · Paragraph 7
filepath
C:\Windows\SoftwareDistribution\Download\Install\:“…ing seven files, which are extracted and placed in the path C:\Windows\SoftwareDistribution\Download\Install\:”
Page 1 · Paragraph 10
filepath
C:\Windows\SoftwareDistribution\Download\Install\PatchMyPC-ScriptRunner[.]exe“C:\Windows\SoftwareDistribution\Download\Install\PatchMyPC-ScriptRunner.exe -updatepackage -applicationid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxx…”
Page 1 · Paragraph 13
url
hxxps://openaigpt4v[.]com/model_v4/“[ { "c": [ { "cu": "https://openaigpt4v.com/model_v4/", "tp": "*", "rh": "" } ], "mib": 79200, "mab": 10080…”
Page 1 · Paragraph 72
url
hxxps://openaigpt4vcom/model_v4/“cu https://openaigpt4vcom/model_v4/ Command-and-control (C2) server URL taken from the C2 serv…”
Page 1 · Paragraph 111
registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET“"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full", Key="Version" "HKEY_LOCAL_MA…”
Page 1 · Paragraph 121
registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows“…Microsoft\NET Framework Setup\NDP\v4\full", Key="Version" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", Key="BuildLab"”
Page 1 · Paragraph 121
url
hxxps://openaigpt4v[.]com/model_v4/94aafd58-c00c-402a-aae6-858b4486a1a4“Retrieve the config items cu and ii to build the full URL https://openaigpt4v.com/model_v4/94aafd58-c00c-402a-aae6-858b4486a1a4”
Page 1 · Paragraph 132
url
hxxps://openaigpt4v[.]com/model_v4/94aafd58-c00c-402a-aae6-858b4486a1a4?b=lM4V3VwrWtXBy4oBGUkXOHfxyLUlrT2hIZGn4C37W1Z3%2FeW1WURJqzaNLQhGFHsWxA2lpJHZSpd8VDLMOQRD%2FfsDswnomIrBpoaNzug3dOtrh1J2KIqZRmKx1TtQsxq1RAGu1y45rSKaPHm9s2HF8A%3D%3D&c=41bd7f37-c3f6-4a9e-b2f3-5363e9a2c095“// Final HTTP request URL "https://openaigpt4v[.]com/model_v4/94aafd58-c00c-402a-aae6-858b4486a1a4?b=lM4V3VwrWtXBy4oBGUkXOHfxyLUlrT2hIZGn4C37W1Z3%2FeW1WURJqzaNLQhGFHsWxA2lpJHZSpd8VDLMOQRD%2FfsDswnomIrBpoaNzug3dOtrh1J2KIqZRmKx1TtQsxq1RAGu1y45rSKaPHm9s2HF8A%3D%3D&c=41bd7f37-c3f6-4a9e-b2f3-5363e9a2c095"”
Page 1 · Paragraph 137
ipv4
104.18.14[.]219“openaigpt4v[.]com 104.18.14[.]219 Sep 27, 2023 Cloudflare, Inc. / 15169”
Page 1 · Paragraph 175
domain
openaigpt4v[.]com“openaigpt4v[.]com 104.18.14[.]219 Sep 27, 2023 Cloudflare, Inc. / 15169”
Page 1 · Paragraph 175
md5
F2458ED133F8D0CA19E22C10F577E98E“F2458ED133F8D0CA19E22C10F577E98E e4537a1762fcafd2fd96bfc825bad34f9db9a24d”
Page 1 · Paragraph 184
md5
E1DC6F1ED193594F2284BE22AE08DFA4“E1DC6F1ED193594F2284BE22AE08DFA4 Resources.resx”
Page 1 · Paragraph 185
md5
AB81564BCB8CA7E710C66832DE747556“AB81564BCB8CA7E710C66832DE747556 .NET 1 Loader”
Page 1 · Paragraph 186
md5
CFB8B281BDF5D9390E64B10C312FB2C1“CFB8B281BDF5D9390E64B10C312FB2C1 .NET 2 Plugin”
Page 1 · Paragraph 187
md5
67E3617F8709D34F806F8E02BADBA8A5“67E3617F8709D34F806F8E02BADBA8A5 fabric.config”
Page 1 · Paragraph 188
md5
514AC0D73B8A1B73488EF5E2E55A75C3“514AC0D73B8A1B73488EF5E2E55A75C3 PatchMyPC-ScriptRunner.exe.config”
Page 1 · Paragraph 189
md5
514117D536E347560D049CFE0C609632“514117D536E347560D049CFE0C609632 XAML-1”
Page 1 · Paragraph 190
md5
9000820D8153C24CD60D53001D3A97B6“9000820D8153C24CD60D53001D3A97B6 XAML-2”
Page 1 · Paragraph 191
md5
B3C4A635179680EDAFB5D006CF0CFFC6“B3C4A635179680EDAFB5D006CF0CFFC6 XAML-2-1”
Page 1 · Paragraph 192
md5
4F28622C5E60C01319BF48CF742FE1A5“4F28622C5E60C01319BF48CF742FE1A5 XAML-2-2”
Page 1 · Paragraph 193
md5
C86D53392A87DD3F3E62D62C9B92A9BD“C86D53392A87DD3F3E62D62C9B92A9BD XAML-3”
Page 1 · Paragraph 194
filepath
C:\Windows\SoftwareDistribution\Download\Install\PatchMyPC-ScriptRunner.exe[.]config“C:\Windows\SoftwareDistribution\Download\Install\PatchMyPC-ScriptRunner.exe.config”
Page 1 · Paragraph 196
filepath
C:\Windows\SoftwareDistribution\Download\Install\fabric[.]config“C:\Windows\SoftwareDistribution\Download\Install\fabric.config”
Page 1 · Paragraph 197
filepath
C:\Windows\SoftwareDistribution\Download\Install\Resources[.]resx“C:\Windows\SoftwareDistribution\Download\Install\Resources.resx”
Page 1 · Paragraph 198
Claims & evidence
Reported Claim
Unknown APT uses NetamLoader to attack a Win10 OS customized for governments in Asia exhibits Process injection (T1055)
“…e detection alert for a .config file using AppDomainManager injection to load arbitrary .NET assemblies. The file was packaged…”
Page 1 · Paragraph 3
Reported Claim
Unknown APT uses NetamLoader to attack a Win10 OS customized for governments in Asia exhibits DLL sideloading (T1574.002)
“…yConfiguration from the Microsoft.HostIntegration.Connectors.dll module (a Microsoft‑signed assembly) is loaded. DataCacheFa…”
Page 1 · Paragraph 20
Reported Claim
Unknown APT uses NetamLoader to attack a Win10 OS customized for governments in Asia exhibits C2 over HTTPS (T1071.001)
“…e first loader, .NET 1 Loader) and a JSON data payload (the C2 configuration, JSON-1). Both components are compressed with…”
Page 1 · Paragraph 55
Inferred Relationship
Process injection precedes DLL sideloading
“…yConfiguration from the Microsoft.HostIntegration.Connectors.dll module (a Microsoft‑signed assembly) is loaded. DataCacheFa…”
Page 1 · Paragraph 20
Inferred Relationship
DLL sideloading precedes C2 over HTTPS
“…e first loader, .NET 1 Loader) and a JSON data payload (the C2 configuration, JSON-1). Both components are compressed with…”
Page 1 · Paragraph 55
Reported Claim
104.18.14.219 used as network infrastructure
“openaigpt4v[.]com 104.18.14[.]219 Sep 27, 2023 Cloudflare, Inc. / 15169”
Page 1 · Paragraph 175
Reported Claim
openaigpt4v.com used as network infrastructure
“openaigpt4v[.]com 104.18.14[.]219 Sep 27, 2023 Cloudflare, Inc. / 15169”
Page 1 · Paragraph 175
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“…e detection alert for a .config file using AppDomainManager injection to load arbitrary .NET assemblies. The file was packaged…”
Page 1 · Paragraph 3