Keypoints
- NewsPenguin targeted Pakistan-linked entities around PIMEC-2023 using a weaponized exhibitor-manual document in spear-phishing emails.
- The initial document employs remote template injection and embedded malicious VBA macros to drop the next stage.
-
MITRE Techniques
- [T1566.001] Spearphishing Attachment – Targeted phishing emails with a weaponized document purporting to be an exhibitor manual for PIMEC-23. Quote: ‘The attacker sent out targeted phishing emails with a weaponized document attached that purports to be an exhibitor manual for PIMEC-23.’
- [T1221] Template Injection – Remote template injection technique used by the document to fetch the next stage. Quote: ‘The document utilizes a remote template injection technique…’
- [T1059.005] Command and Scripting Interpreter – Embedded malicious VBA macro code delivering the next stage. Quote: ’embedded malicious Visual Basic for Applications (VBA) macro code to deliver the next stage of the attack…’
- [T1059.003] Windows Command Shell – The macro/loader invokes a cmd.exe process. Quote: ‘Invokes “cmd.exe” process’
- [T1112] Modify Registry – Persistence via Run key: HKCUSOFTWAREMicrosoftWindowsCurrentVersionRun with WindowsBoost. Quote: ‘Adds HKCUSOFTWAREMicrosoftWindowsCurrentVersionRun registry key with: value name: WindowsBoost’
- [T1027] Obfuscated/Compressed Files and Information – XOR-encrypted payload with key “penguin.” Quote: ‘encrypted with the XOR encryption algorithm, where the XOR key is “penguin”’
- [T1132.001] Data Encoding – Base64-encoded strings/commands in C2 communications. Quote: ‘base64 encoded’
- [T1071.001] Web Protocols – C2 communications over HTTP/S to hardcoded servers. Quote: ‘C2 server registers infected system… connects to a hardcoded server – “updates[.]win32[.]live:443/search:”‘
- [T1105] Ingress Tool Transfer – curl is used to download multiple files from the remote server. Quote: ‘the curl tool is used to transfer five files from the server’
- [T1083] File and Directory Discovery – Victim machine commands enumerate directories (sh dir). Quote: ‘A list of all files within the directory, including creation time, last modification time, size, name and information regarding other directories contained within. The server sends instructions to the bot on what information it is looking for, for example, the command “sh dir C:Users”’
- [T1057] Process Discovery – Listing processes (sh tasklist). Quote: ‘A list of all processes’
- [T1082] System Information Discovery – Query hostname to tailor payload. Quote: ‘To get a host name’
- [T1497.003] Virtualization/Sandbox Evasion – Sandbox checks (GetTickCount, RAM size) to avoid analysis. Quote: ‘GetTickCount to identify sandboxes bypassing sleep functions, checking the hard drive size, and requiring more than 10GB of RAM.’
- [T1036.005] Masquerading – Notepad++-signed components used as legitimate-looking updaters (gup.exe) and their signatures. Quote: ‘The “Taskhostw.exe” is the “gup.exe” – a legitimate component for Notepad++ that is digitally signed by Notepad++’
- [T1573.001] Encrypted/Compressed/Obfuscated Files or Information – Additional obfuscated payloads and XOR-encrypted modules. Quote: ‘contents of the “updates” are encrypted with the XOR encryption algorithm…’
Indicators of Compromise
- [MD5] fcae6b88640b58d289df42ae2d15e3ca – Context: initial lure document in spear-phishing chain.
- [SHA256] 80326b1e151e8348307114c8115e275c2fd63f0d2eb1dfacb6eca9840cf98525 – Context: lure/document chain.
- [URL] hXXp[:]//windowsupdates[.]shop/test[.]dotx – Context: initial drop/download.
- [MD5] 28e5fceaa9878bfbe967639cf2a2fb9b – Context: loader/update payload.
- [SHA256] 26b113ba29b037034ee34a7f0fea81f6d5452950e0d26058d9b96946d78570c5 – Context: loader/update payload.
- [IP] 51.222.103[.]8 – Context: malicious payload server location.
- [IP] 185.198.59[.]109 – Context: second server domain resolution.
- [URL] updates.win32[.]live – Context: C2 domain.
- [IP] 51.222.103[.]8 (resolved domain to this IP) – Context: same as above.
- [MD5] C219A8C50624F9DD9FC0F3C32510EA77 – Context: winupdates Taskhostw/libcurl family.
- [SHA256] 3F9FAC91288139F81D4949CD5DADDC131AA3443D2A8631093D971B2EBDE6AE77 – Context: winupdates binary.
- [MD5] 314328E63B2E55A9C20BBDA313AB4D04 – Context: winupdate DLL payloads.
- [SHA256] 55F43319B910037D5B2EB8A5E57A14FCA88E22BB0F40E453E510CC375A42BF43 – Context: winupdate DLL payloads.
- [Mutex] Windows.20H2.85685475 – Context: persistence/anti-analysis marker.
- [MD5] 861B80A75ECFB083C46F6E52277B69A9 – Context: updates payload artifact.
- [SHA256] 538BB2540AAD0DCB512C6F0023607382456F9037D869B4BF00BCBDB18856B338 – Context: updates payload artifact.