Analysis
-
max time kernel
144s -
max time network
127s -
platform
windows7_x64 -
resource
win7-en-20211208 -
submitted
20-01-2022 10:36
Static task
static1
Behavioral task
behavioral1
Sample
wannacry.exe
Resource
win7-en-20211208
General
-
Target
wannacry.exe
-
Size
3.4MB
-
MD5
84c82835a5d21bbcf75a61706d8ab549
-
SHA1
5ff465afaabcbf0150d1a3ab2c2e74f3a4426467
-
SHA256
ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa
-
SHA512
90723a50c20ba3643d625595fd6be8dcf88d70ff7f4b4719a88f055d5b3149a4231018ea30d375171507a147e59f73478c0c27948590794554d031e7d54b7244
Malware Config
Extracted
C:\Users\Admin\AppData\Local\Temp\@[email protected]
wannacry
12t9YDPgwueZ9NyMgw519p7AA8isjr6SMw
Signatures
-
Wannacry
WannaCry is a ransomware cryptoworm.
-
Deletes shadow copies 2 TTPs
Ransomware often targets backup files to inhibit system recovery.
-
Executes dropped EXE 16 IoCs
pid Process 2044 taskdl.exe 980 @[email protected] 768 @[email protected] 1380 taskhsvc.exe 1684 taskdl.exe 1188 taskse.exe 624 @[email protected] 1840 taskdl.exe 472 taskse.exe 876 @[email protected] 1612 taskdl.exe 1144 taskse.exe 1220 @[email protected] 804 taskdl.exe 668 taskse.exe 592 @[email protected] -
Modifies extensions of user files 13 IoCs
Ransomware generally changes the extension on encrypted files.
description ioc Process File opened for modification C:\Users\Admin\Pictures\PingEnter.tiff.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\ShowReceive.tif.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\PingEnter.tiff wannacry.exe File created C:\Users\Admin\Pictures\DebugCompress.png.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\DebugCompress.png.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\NewMount.raw.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\NewMount.raw.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\PingEnter.tiff.WNCRYT => C:\Users\Admin\Pictures\PingEnter.tiff.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\DebugCompress.png.WNCRYT => C:\Users\Admin\Pictures\DebugCompress.png.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\NewMount.raw.WNCRYT => C:\Users\Admin\Pictures\NewMount.raw.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\PingEnter.tiff.WNCRYT wannacry.exe File created C:\Users\Admin\Pictures\ShowReceive.tif.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\ShowReceive.tif.WNCRYT => C:\Users\Admin\Pictures\ShowReceive.tif.WNCRY wannacry.exe -
Drops startup file 1 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\~SDEBC4.tmp wannacry.exe -
Loads dropped DLL 39 IoCs
pid Process 864 wannacry.exe 864 wannacry.exe 1688 cscript.exe 864 wannacry.exe 864 wannacry.exe 1108 cmd.exe 1108 cmd.exe 980 @[email protected] 980 @[email protected] 1380 taskhsvc.exe 1380 taskhsvc.exe 1380 taskhsvc.exe 1380 taskhsvc.exe 1380 taskhsvc.exe 1380 taskhsvc.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe 864 wannacry.exe -
Modifies file permissions 1 TTPs 1 IoCs
pid Process 368 icacls.exe -
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run reg.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\pzzqswtbknfqf407 = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\tasksche.exe\"" reg.exe -
Sets desktop wallpaper using registry 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2329389628-4064185017-3901522362-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" @[email protected] Set value (str) \REGISTRY\USER\S-1-5-21-2329389628-4064185017-3901522362-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" wannacry.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
Interacts with shadow copies 2 TTPs 1 IoCs
Shadow copies are often targeted by ransomware to inhibit system recovery.
pid Process 1084 vssadmin.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 1800 reg.exe -
Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 1380 taskhsvc.exe 1380 taskhsvc.exe 1380 taskhsvc.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 624 @[email protected] -
Suspicious use of AdjustPrivilegeToken 51 IoCs
description pid Process Token: SeBackupPrivilege 1744 vssvc.exe Token: SeRestorePrivilege 1744 vssvc.exe Token: SeAuditPrivilege 1744 vssvc.exe Token: SeIncreaseQuotaPrivilege 1388 WMIC.exe Token: SeSecurityPrivilege 1388 WMIC.exe Token: SeTakeOwnershipPrivilege 1388 WMIC.exe Token: SeLoadDriverPrivilege 1388 WMIC.exe Token: SeSystemProfilePrivilege 1388 WMIC.exe Token: SeSystemtimePrivilege 1388 WMIC.exe Token: SeProfSingleProcessPrivilege 1388 WMIC.exe Token: SeIncBasePriorityPrivilege 1388 WMIC.exe Token: SeCreatePagefilePrivilege 1388 WMIC.exe Token: SeBackupPrivilege 1388 WMIC.exe Token: SeRestorePrivilege 1388 WMIC.exe Token: SeShutdownPrivilege 1388 WMIC.exe Token: SeDebugPrivilege 1388 WMIC.exe Token: SeSystemEnvironmentPrivilege 1388 WMIC.exe Token: SeRemoteShutdownPrivilege 1388 WMIC.exe Token: SeUndockPrivilege 1388 WMIC.exe Token: SeManageVolumePrivilege 1388 WMIC.exe Token: 33 1388 WMIC.exe Token: 34 1388 WMIC.exe Token: 35 1388 WMIC.exe Token: SeIncreaseQuotaPrivilege 1388 WMIC.exe Token: SeSecurityPrivilege 1388 WMIC.exe Token: SeTakeOwnershipPrivilege 1388 WMIC.exe Token: SeLoadDriverPrivilege 1388 WMIC.exe Token: SeSystemProfilePrivilege 1388 WMIC.exe Token: SeSystemtimePrivilege 1388 WMIC.exe Token: SeProfSingleProcessPrivilege 1388 WMIC.exe Token: SeIncBasePriorityPrivilege 1388 WMIC.exe Token: SeCreatePagefilePrivilege 1388 WMIC.exe Token: SeBackupPrivilege 1388 WMIC.exe Token: SeRestorePrivilege 1388 WMIC.exe Token: SeShutdownPrivilege 1388 WMIC.exe Token: SeDebugPrivilege 1388 WMIC.exe Token: SeSystemEnvironmentPrivilege 1388 WMIC.exe Token: SeRemoteShutdownPrivilege 1388 WMIC.exe Token: SeUndockPrivilege 1388 WMIC.exe Token: SeManageVolumePrivilege 1388 WMIC.exe Token: 33 1388 WMIC.exe Token: 34 1388 WMIC.exe Token: 35 1388 WMIC.exe Token: SeTcbPrivilege 1188 taskse.exe Token: SeTcbPrivilege 1188 taskse.exe Token: SeTcbPrivilege 472 taskse.exe Token: SeTcbPrivilege 472 taskse.exe Token: SeTcbPrivilege 1144 taskse.exe Token: SeTcbPrivilege 1144 taskse.exe Token: SeTcbPrivilege 668 taskse.exe Token: SeTcbPrivilege 668 taskse.exe -
Suspicious use of SetWindowsHookEx 9 IoCs
pid Process 768 @[email protected] 980 @[email protected] 768 @[email protected] 980 @[email protected] 624 @[email protected] 624 @[email protected] 876 @[email protected] 1220 @[email protected] 592 @[email protected] -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 864 wrote to memory of 1108 864 wannacry.exe 27 PID 864 wrote to memory of 1108 864 wannacry.exe 27 PID 864 wrote to memory of 1108 864 wannacry.exe 27 PID 864 wrote to memory of 1108 864 wannacry.exe 27 PID 864 wrote to memory of 368 864 wannacry.exe 29 PID 864 wrote to memory of 368 864 wannacry.exe 29 PID 864 wrote to memory of 368 864 wannacry.exe 29 PID 864 wrote to memory of 368 864 wannacry.exe 29 PID 864 wrote to memory of 2044 864 wannacry.exe 31 PID 864 wrote to memory of 2044 864 wannacry.exe 31 PID 864 wrote to memory of 2044 864 wannacry.exe 31 PID 864 wrote to memory of 2044 864 wannacry.exe 31 PID 864 wrote to memory of 1596 864 wannacry.exe 32 PID 864 wrote to memory of 1596 864 wannacry.exe 32 PID 864 wrote to memory of 1596 864 wannacry.exe 32 PID 864 wrote to memory of 1596 864 wannacry.exe 32 PID 1596 wrote to memory of 1688 1596 cmd.exe 34 PID 1596 wrote to memory of 1688 1596 cmd.exe 34 PID 1596 wrote to memory of 1688 1596 cmd.exe 34 PID 1596 wrote to memory of 1688 1596 cmd.exe 34 PID 864 wrote to memory of 980 864 wannacry.exe 37 PID 864 wrote to memory of 980 864 wannacry.exe 37 PID 864 wrote to memory of 980 864 wannacry.exe 37 PID 864 wrote to memory of 980 864 wannacry.exe 37 PID 864 wrote to memory of 1108 864 wannacry.exe 38 PID 864 wrote to memory of 1108 864 wannacry.exe 38 PID 864 wrote to memory of 1108 864 wannacry.exe 38 PID 864 wrote to memory of 1108 864 wannacry.exe 38 PID 1108 wrote to memory of 768 1108 cmd.exe 40 PID 1108 wrote to memory of 768 1108 cmd.exe 40 PID 1108 wrote to memory of 768 1108 cmd.exe 40 PID 1108 wrote to memory of 768 1108 cmd.exe 40 PID 980 wrote to memory of 1380 980 @[email protected] 41 PID 980 wrote to memory of 1380 980 @[email protected] 41 PID 980 wrote to memory of 1380 980 @[email protected] 41 PID 980 wrote to memory of 1380 980 @[email protected] 41 PID 768 wrote to memory of 1628 768 @[email protected] 43 PID 768 wrote to memory of 1628 768 @[email protected] 43 PID 768 wrote to memory of 1628 768 @[email protected] 43 PID 768 wrote to memory of 1628 768 @[email protected] 43 PID 1628 wrote to memory of 1084 1628 cmd.exe 45 PID 1628 wrote to memory of 1084 1628 cmd.exe 45 PID 1628 wrote to memory of 1084 1628 cmd.exe 45 PID 1628 wrote to memory of 1084 1628 cmd.exe 45 PID 1628 wrote to memory of 1388 1628 cmd.exe 47 PID 1628 wrote to memory of 1388 1628 cmd.exe 47 PID 1628 wrote to memory of 1388 1628 cmd.exe 47 PID 1628 wrote to memory of 1388 1628 cmd.exe 47 PID 864 wrote to memory of 1684 864 wannacry.exe 49 PID 864 wrote to memory of 1684 864 wannacry.exe 49 PID 864 wrote to memory of 1684 864 wannacry.exe 49 PID 864 wrote to memory of 1684 864 wannacry.exe 49 PID 864 wrote to memory of 1188 864 wannacry.exe 50 PID 864 wrote to memory of 1188 864 wannacry.exe 50 PID 864 wrote to memory of 1188 864 wannacry.exe 50 PID 864 wrote to memory of 1188 864 wannacry.exe 50 PID 864 wrote to memory of 624 864 wannacry.exe 51 PID 864 wrote to memory of 624 864 wannacry.exe 51 PID 864 wrote to memory of 624 864 wannacry.exe 51 PID 864 wrote to memory of 624 864 wannacry.exe 51 PID 864 wrote to memory of 1644 864 wannacry.exe 52 PID 864 wrote to memory of 1644 864 wannacry.exe 52 PID 864 wrote to memory of 1644 864 wannacry.exe 52 PID 864 wrote to memory of 1644 864 wannacry.exe 52 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 1108 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\wannacry.exe"C:\Users\Admin\AppData\Local\Temp\wannacry.exe"1⤵
- Modifies extensions of user files
- Drops startup file
- Loads dropped DLL
- Sets desktop wallpaper using registry
- Suspicious use of WriteProcessMemory
PID:864 -
C:\Windows\SysWOW64\attrib.exeattrib +h .2⤵
- Views/modifies file attributes
PID:1108
-
-
C:\Windows\SysWOW64\icacls.exeicacls . /grant Everyone:F /T /C /Q2⤵
- Modifies file permissions
PID:368
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:2044
-
-
C:\Windows\SysWOW64\cmd.execmd /c 113691642678588.bat2⤵
- Suspicious use of WriteProcessMemory
PID:1596 -
C:\Windows\SysWOW64\cscript.execscript.exe //nologo m.vbs3⤵
- Loads dropped DLL
PID:1688
-
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:980 -
C:\Users\Admin\AppData\Local\Temp\TaskData\Tor\taskhsvc.exeTaskData\Tor\taskhsvc.exe3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
PID:1380
-
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c start /b @[email protected] vs2⤵
- Loads dropped DLL
- Suspicious use of WriteProcessMemory
PID:1108 -
C:\Users\Admin\AppData\Local\Temp\@[email protected]3⤵
- Executes dropped EXE
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:768 -
C:\Windows\SysWOW64\cmd.execmd.exe /c vssadmin delete shadows /all /quiet & wmic shadowcopy delete & bcdedit /set {default} bootstatuspolicy ignoreallfailures & bcdedit /set {default} recoveryenabled no & wbadmin delete catalog -quiet4⤵
- Suspicious use of WriteProcessMemory
PID:1628 -
C:\Windows\SysWOW64\vssadmin.exevssadmin delete shadows /all /quiet5⤵
- Interacts with shadow copies
PID:1084
-
-
C:\Windows\SysWOW64\Wbem\WMIC.exewmic shadowcopy delete5⤵
- Suspicious use of AdjustPrivilegeToken
PID:1388
-
-
-
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1684
-
-
C:\Users\Admin\AppData\Local\Temp\taskse.exetaskse.exe C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1188
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Sets desktop wallpaper using registry
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of SetWindowsHookEx
PID:624
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "pzzqswtbknfqf407" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f2⤵PID:1644
-
C:\Windows\SysWOW64\reg.exereg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "pzzqswtbknfqf407" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f3⤵
- Adds Run key to start application
- Modifies registry key
PID:1800
-
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1840
-
-
C:\Users\Admin\AppData\Local\Temp\taskse.exetaskse.exe C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:472
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:876
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1612
-
-
C:\Users\Admin\AppData\Local\Temp\taskse.exetaskse.exe C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1144
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:1220
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:804
-
-
C:\Users\Admin\AppData\Local\Temp\taskse.exetaskse.exe C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:668
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:592
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1744