Analysis
- max time kernel
103s - max time network
132s - platform
windows7_x64 - resource
win7v20210408 - submitted
14/06/2021, 15:53
Static task
static1
Behavioral task
behavioral1
Sample
bf7b01b358903416117bc4de8e0861b2.exe
Resource
win7v20210408
General
- Target bf7b01b358903416117bc4de8e0861b2.exe
- Size 196KB
- Sample210614-ye6rt9mdn2
- SHA256 f2ed40ab9c2eb52484d79b485a78e2779dd300b7513eac17ec4e39fd4a9614a8
- MD5 bf7b01b358903416117bc4de8e0861b2
- SHA1 823f0f10fe938504503a8331e4f890b15f123ad8
- SHA512 30e8db13ea9b1a386ce323575b764061b66189b61706ffad6d55c2b7c55701ee49ae158ce011c0c2c2405f1c06457450aff524d552ed5f28609669ff10f2c9dc
- MD5 SHA1 SHA512
Malware Config
Extracted
-
asyncrat
-
0.5.7B
-
127.0.0.1:4771
-
136.144.41.4:4771
-
AsyncMutex_6SI8OkPnk
-
aes_key
QC5yo2zkgXpQvYIuqVhwItzoZLTyoXrn
-
anti_detection
false
-
autorun
false
-
bdos
false
-
delay
Default
-
host
127.0.0.1,136.144.41.4
-
hwid
3
- install_file
-
install_folder
%AppData%
-
mutex
AsyncMutex_6SI8OkPnk
-
pastebin_config
null
-
port
4771
-
version
0.5.7B
Extracted
-
matiex
-
https://api.telegram.org/bot1510981839:AAENaIJ1q1JUO3VLgnB26e9ByEbfYfE5YJM/sendMessage?chat_id=1680674675
Signatures
- Matiex Main Payload 7 IoCs
resource yara_rule behavioral1/files/0x000a00000000f5eb-103.dat family_matiex behavioral1/files/0x000a00000000f5eb-104.dat family_matiex behavioral1/files/0x000a00000000f5eb-105.dat family_matiex behavioral1/files/0x000a00000000f5eb-107.dat family_matiex behavioral1/files/0x0004000000012fc0-109.dat family_matiex behavioral1/files/0x0004000000012fc0-111.dat family_matiex behavioral1/files/0x0004000000012fc0-112.dat family_matiex - Modifies system executable filetype association 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Classes\exefile\shell\open\command\ = "C:\\Windows\\svchost.com \"%1\" %*" mogrky.exe - Async RAT payload 4 IoCs
resource yara_rule behavioral1/memory/760-63-0x0000000000400000-0x0000000000412000-memory.dmp asyncrat behavioral1/memory/760-64-0x000000000040C75E-mapping.dmp asyncrat behavioral1/memory/760-65-0x0000000000400000-0x0000000000412000-memory.dmp asyncrat behavioral1/memory/760-73-0x0000000000C20000-0x0000000000C3B000-memory.dmp asyncrat - Executes dropped EXE 2 IoCs
pid Process 1828 mogrky.exe 1284 mogrky.exe - Loads dropped DLL 6 IoCs
pid Process 1656 powershell.exe 1656 powershell.exe 1828 mogrky.exe 1828 mogrky.exe 1828 mogrky.exe 1828 mogrky.exe - Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
- Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 11 checkip.dyndns.org 16 freegeoip.app 17 freegeoip.app - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1816 set thread context of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 - Drops file in Program Files directory 64 IoCs
description ioc Process File opened for modification C:\PROGRA~3\PACKAG~1\{F4220~1\VC_RED~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\Adobe\Updater6\ADOBE_~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\Oarpmany.exe mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOFB2B~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\XLICONS.EXE mogrky.exe File opened for modification C:\PROGRA~2\MOZILL~1\MAINTE~1.EXE mogrky.exe File opened for modification C:\PROGRA~3\PACKAG~1\{CA675~1\VCREDI~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\INFOPATH.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\MSOHTMED.EXE mogrky.exe File opened for modification C:\PROGRA~2\Adobe\READER~1.0\SETUPF~1\{AC76B~1\Setup.exe mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\EQUATION\EQNEDT32.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\LICLUA.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\SOURCE~1\OSE.EXE mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOOGLE~3.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\1033\ONELEV.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\ONENOTEM.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\VPREVIEW.EXE mogrky.exe File opened for modification C:\PROGRA~2\WI54FB~1\wmlaunch.exe mogrky.exe File opened for modification C:\PROGRA~2\Adobe\READER~1.0\Reader\A3DUTI~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOOGLE~2.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\GRAPH.EXE mogrky.exe File opened for modification C:\PROGRA~2\WI4223~1\sidebar.exe mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\OFFICE~1\Setup.exe mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\SELFCERT.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\PPTICO.EXE mogrky.exe File opened for modification C:\PROGRA~2\WINDOW~1\wabmig.exe mogrky.exe File opened for modification C:\PROGRA~2\Adobe\READER~1.0\Reader\LOGTRA~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\DW\DW20.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\FLTLDR.EXE mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOOGLE~4.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\NAMECO~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\POWERPNT.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\Adobe\Updater6\ADOBEU~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\VSTO\10.0\VSTOIN~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOBD5D~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\CNFNOT32.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\MSTORE.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\OIS.EXE mogrky.exe File opened for modification C:\PROGRA~2\Adobe\READER~1.0\Reader\ADOBEC~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\Adobe\READER~1.0\Reader\Eula.exe mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\DW\DWTRIG20.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\TextConv\WksConv\Wkconv.exe mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GOOGLE~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\DISABL~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\WI54FB~1\WMPDMC.exe mogrky.exe File opened for modification C:\PROGRA~2\WI54FB~1\wmpshare.exe mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\OFFICE~1\ODeploy.exe mogrky.exe File opened for modification C:\PROGRA~2\WI54FB~1\setup_wm.exe mogrky.exe File opened for modification C:\PROGRA~2\Google\Update\1335~1.452\GO664E~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\GROOVEMN.EXE mogrky.exe File opened for modification C:\PROGRA~3\PACKAG~1\{EF6B0~1\VCREDI~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\MICROS~1\OFFICE14\MSOXMLED.EXE mogrky.exe File opened for modification C:\PROGRA~2\INTERN~1\ieinstal.exe mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\MSTORDB.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\ONENOTE.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\IECONT~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\WORDICON.EXE mogrky.exe File opened for modification C:\PROGRA~2\WI54FB~1\wmprph.exe mogrky.exe File opened for modification C:\PROGRA~2\WINDOW~4\ImagingDevices.exe mogrky.exe File opened for modification C:\PROGRA~2\COMMON~1\ADOBEA~1\Versions\1.0\ADOBEA~1.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\MSOSYNC.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\MSQRY32.EXE mogrky.exe File opened for modification C:\PROGRA~2\MICROS~1\Office14\WINWORD.EXE mogrky.exe File opened for modification C:\PROGRA~2\WINDOW~1\wab.exe mogrky.exe - Drops file in Windows directory 1 IoCs
description ioc Process File opened for modification C:\Windows\svchost.com mogrky.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Delays execution with timeout.exe 1 IoCs
pid Process 1668 timeout.exe - Modifies registry class 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Classes\exefile\shell\open\command\ = "C:\\Windows\\svchost.com \"%1\" %*" mogrky.exe - Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 1656 powershell.exe 1656 powershell.exe 1284 mogrky.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 760 aspnet_compiler.exe Token: SeDebugPrivilege 1656 powershell.exe Token: SeDebugPrivilege 1284 mogrky.exe - Suspicious use of WriteProcessMemory 36 IoCs
description pid Process procid_target PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 1816 wrote to memory of 760 1816 bf7b01b358903416117bc4de8e0861b2.exe 29 PID 760 wrote to memory of 752 760 aspnet_compiler.exe 31 PID 760 wrote to memory of 752 760 aspnet_compiler.exe 31 PID 760 wrote to memory of 752 760 aspnet_compiler.exe 31 PID 760 wrote to memory of 752 760 aspnet_compiler.exe 31 PID 760 wrote to memory of 512 760 aspnet_compiler.exe 34 PID 760 wrote to memory of 512 760 aspnet_compiler.exe 34 PID 760 wrote to memory of 512 760 aspnet_compiler.exe 34 PID 760 wrote to memory of 512 760 aspnet_compiler.exe 34 PID 752 wrote to memory of 1656 752 cmd.exe 33 PID 752 wrote to memory of 1656 752 cmd.exe 33 PID 752 wrote to memory of 1656 752 cmd.exe 33 PID 752 wrote to memory of 1656 752 cmd.exe 33 PID 512 wrote to memory of 1668 512 cmd.exe 36 PID 512 wrote to memory of 1668 512 cmd.exe 36 PID 512 wrote to memory of 1668 512 cmd.exe 36 PID 512 wrote to memory of 1668 512 cmd.exe 36 PID 1656 wrote to memory of 1828 1656 powershell.exe 37 PID 1656 wrote to memory of 1828 1656 powershell.exe 37 PID 1656 wrote to memory of 1828 1656 powershell.exe 37 PID 1656 wrote to memory of 1828 1656 powershell.exe 37 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38 PID 1828 wrote to memory of 1284 1828 mogrky.exe 38
Processes
-
C:\Users\Admin\AppData\Local\Temp\bf7b01b358903416117bc4de8e0861b2.exe"C:\Users\Admin\AppData\Local\Temp\bf7b01b358903416117bc4de8e0861b2.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:1816 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"2⤵
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:760 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c start /b powershell –ExecutionPolicy Bypass Start-Process -FilePath '"C:\Users\Admin\AppData\Local\Temp\mogrky.exe"' & exit3⤵
- Suspicious use of WriteProcessMemory
PID:752 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exepowershell –ExecutionPolicy Bypass Start-Process -FilePath '"C:\Users\Admin\AppData\Local\Temp\mogrky.exe"'4⤵
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1656 -
C:\Users\Admin\AppData\Local\Temp\mogrky.exe"C:\Users\Admin\AppData\Local\Temp\mogrky.exe"5⤵
- Modifies system executable filetype association
- Executes dropped EXE
- Loads dropped DLL
- Drops file in Program Files directory
- Drops file in Windows directory
- Modifies registry class
- Suspicious use of WriteProcessMemory
PID:1828 -
C:\Users\Admin\AppData\Local\Temp\3582-490\mogrky.exe"C:\Users\Admin\AppData\Local\Temp\3582-490\mogrky.exe"6⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1284
-
-
-
-
-
C:\Windows\SysWOW64\cmd.execmd /c ""C:\Users\Admin\AppData\Local\Temp\tmpF10F.tmp.bat""3⤵
- Suspicious use of WriteProcessMemory
PID:512 -
C:\Windows\SysWOW64\timeout.exetimeout 24⤵
- Delays execution with timeout.exe
PID:1668
-
-
-