Analysis
-
max time kernel
150s -
max time network
149s -
platform
windows7_x64 -
resource
win7v20201028 -
submitted
19/03/2021, 11:47
Static task
static1
Behavioral task
behavioral1
Sample
wannacry.exe
Resource
win7v20201028
Behavioral task
behavioral2
Sample
wannacry.exe
Resource
win10v20201028
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
115p7UMMngoj1pMvkpHijcRdfJNXj6LrLn
Signatures
-
Wannacry
WannaCry is a ransomware cryptoworm.
-
Deletes shadow copies 2 TTPs
Ransomware often targets backup files to inhibit system recovery.
-
Executes dropped EXE 17 IoCs
pid Process 1248 taskdl.exe 1252 @[email protected] 1980 @[email protected] 2040 taskhsvc.exe 1804 taskse.exe 1724 @[email protected] 2004 taskdl.exe 936 taskhsvc.exe 892 taskdl.exe 1728 taskse.exe 932 @[email protected] 1296 taskse.exe 1744 @[email protected] 552 taskdl.exe 1144 taskse.exe 436 @[email protected] 1268 taskdl.exe -
Modifies extensions of user files 6 IoCs
Ransomware generally changes the extension on encrypted files.
description ioc Process File created C:\Users\Admin\Pictures\ImportUnregister.tif.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\ImportUnregister.tif.WNCRYT => C:\Users\Admin\Pictures\ImportUnregister.tif.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\ImportUnregister.tif.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\MergeApprove.tif.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\MergeApprove.tif.WNCRYT => C:\Users\Admin\Pictures\MergeApprove.tif.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\MergeApprove.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\~SD5228.tmp wannacry.exe -
Loads dropped DLL 47 IoCs
pid Process 384 wannacry.exe 384 wannacry.exe 1228 cscript.exe 384 wannacry.exe 384 wannacry.exe 1312 cmd.exe 1312 cmd.exe 1252 @[email protected] 1252 @[email protected] 2040 taskhsvc.exe 2040 taskhsvc.exe 2040 taskhsvc.exe 2040 taskhsvc.exe 2040 taskhsvc.exe 2040 taskhsvc.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 1252 @[email protected] 1252 @[email protected] 936 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe 384 wannacry.exe -
Modifies file permissions 1 TTPs 1 IoCs
pid Process 1976 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\hbntsshfevel836 = "\"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-293278959-2699126792-324916226-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" @[email protected] Set value (str) \REGISTRY\USER\S-1-5-21-293278959-2699126792-324916226-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 400 vssadmin.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 1740 reg.exe -
Suspicious behavior: EnumeratesProcesses 5 IoCs
pid Process 2040 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 936 taskhsvc.exe 2040 taskhsvc.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 1724 @[email protected] -
Suspicious use of AdjustPrivilegeToken 51 IoCs
description pid Process Token: SeBackupPrivilege 1620 vssvc.exe Token: SeRestorePrivilege 1620 vssvc.exe Token: SeAuditPrivilege 1620 vssvc.exe Token: SeIncreaseQuotaPrivilege 1704 WMIC.exe Token: SeSecurityPrivilege 1704 WMIC.exe Token: SeTakeOwnershipPrivilege 1704 WMIC.exe Token: SeLoadDriverPrivilege 1704 WMIC.exe Token: SeSystemProfilePrivilege 1704 WMIC.exe Token: SeSystemtimePrivilege 1704 WMIC.exe Token: SeProfSingleProcessPrivilege 1704 WMIC.exe Token: SeIncBasePriorityPrivilege 1704 WMIC.exe Token: SeCreatePagefilePrivilege 1704 WMIC.exe Token: SeBackupPrivilege 1704 WMIC.exe Token: SeRestorePrivilege 1704 WMIC.exe Token: SeShutdownPrivilege 1704 WMIC.exe Token: SeDebugPrivilege 1704 WMIC.exe Token: SeSystemEnvironmentPrivilege 1704 WMIC.exe Token: SeRemoteShutdownPrivilege 1704 WMIC.exe Token: SeUndockPrivilege 1704 WMIC.exe Token: SeManageVolumePrivilege 1704 WMIC.exe Token: 33 1704 WMIC.exe Token: 34 1704 WMIC.exe Token: 35 1704 WMIC.exe Token: SeIncreaseQuotaPrivilege 1704 WMIC.exe Token: SeSecurityPrivilege 1704 WMIC.exe Token: SeTakeOwnershipPrivilege 1704 WMIC.exe Token: SeLoadDriverPrivilege 1704 WMIC.exe Token: SeSystemProfilePrivilege 1704 WMIC.exe Token: SeSystemtimePrivilege 1704 WMIC.exe Token: SeProfSingleProcessPrivilege 1704 WMIC.exe Token: SeIncBasePriorityPrivilege 1704 WMIC.exe Token: SeCreatePagefilePrivilege 1704 WMIC.exe Token: SeBackupPrivilege 1704 WMIC.exe Token: SeRestorePrivilege 1704 WMIC.exe Token: SeShutdownPrivilege 1704 WMIC.exe Token: SeDebugPrivilege 1704 WMIC.exe Token: SeSystemEnvironmentPrivilege 1704 WMIC.exe Token: SeRemoteShutdownPrivilege 1704 WMIC.exe Token: SeUndockPrivilege 1704 WMIC.exe Token: SeManageVolumePrivilege 1704 WMIC.exe Token: 33 1704 WMIC.exe Token: 34 1704 WMIC.exe Token: 35 1704 WMIC.exe Token: SeTcbPrivilege 1804 taskse.exe Token: SeTcbPrivilege 1804 taskse.exe Token: SeTcbPrivilege 1728 taskse.exe Token: SeTcbPrivilege 1728 taskse.exe Token: SeTcbPrivilege 1296 taskse.exe Token: SeTcbPrivilege 1296 taskse.exe Token: SeTcbPrivilege 1144 taskse.exe Token: SeTcbPrivilege 1144 taskse.exe -
Suspicious use of SetWindowsHookEx 9 IoCs
pid Process 1252 @[email protected] 1980 @[email protected] 1252 @[email protected] 1980 @[email protected] 1724 @[email protected] 1724 @[email protected] 932 @[email protected] 1744 @[email protected] 436 @[email protected] -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 384 wrote to memory of 1796 384 wannacry.exe 25 PID 384 wrote to memory of 1796 384 wannacry.exe 25 PID 384 wrote to memory of 1796 384 wannacry.exe 25 PID 384 wrote to memory of 1796 384 wannacry.exe 25 PID 384 wrote to memory of 1976 384 wannacry.exe 27 PID 384 wrote to memory of 1976 384 wannacry.exe 27 PID 384 wrote to memory of 1976 384 wannacry.exe 27 PID 384 wrote to memory of 1976 384 wannacry.exe 27 PID 384 wrote to memory of 1248 384 wannacry.exe 33 PID 384 wrote to memory of 1248 384 wannacry.exe 33 PID 384 wrote to memory of 1248 384 wannacry.exe 33 PID 384 wrote to memory of 1248 384 wannacry.exe 33 PID 384 wrote to memory of 400 384 wannacry.exe 34 PID 384 wrote to memory of 400 384 wannacry.exe 34 PID 384 wrote to memory of 400 384 wannacry.exe 34 PID 384 wrote to memory of 400 384 wannacry.exe 34 PID 400 wrote to memory of 1228 400 cmd.exe 36 PID 400 wrote to memory of 1228 400 cmd.exe 36 PID 400 wrote to memory of 1228 400 cmd.exe 36 PID 400 wrote to memory of 1228 400 cmd.exe 36 PID 384 wrote to memory of 1252 384 wannacry.exe 38 PID 384 wrote to memory of 1252 384 wannacry.exe 38 PID 384 wrote to memory of 1252 384 wannacry.exe 38 PID 384 wrote to memory of 1252 384 wannacry.exe 38 PID 384 wrote to memory of 1312 384 wannacry.exe 39 PID 384 wrote to memory of 1312 384 wannacry.exe 39 PID 384 wrote to memory of 1312 384 wannacry.exe 39 PID 384 wrote to memory of 1312 384 wannacry.exe 39 PID 1312 wrote to memory of 1980 1312 cmd.exe 41 PID 1312 wrote to memory of 1980 1312 cmd.exe 41 PID 1312 wrote to memory of 1980 1312 cmd.exe 41 PID 1312 wrote to memory of 1980 1312 cmd.exe 41 PID 1252 wrote to memory of 2040 1252 @[email protected] 42 PID 1252 wrote to memory of 2040 1252 @[email protected] 42 PID 1252 wrote to memory of 2040 1252 @[email protected] 42 PID 1252 wrote to memory of 2040 1252 @[email protected] 42 PID 1980 wrote to memory of 1044 1980 @[email protected] 44 PID 1980 wrote to memory of 1044 1980 @[email protected] 44 PID 1980 wrote to memory of 1044 1980 @[email protected] 44 PID 1980 wrote to memory of 1044 1980 @[email protected] 44 PID 1044 wrote to memory of 400 1044 cmd.exe 46 PID 1044 wrote to memory of 400 1044 cmd.exe 46 PID 1044 wrote to memory of 400 1044 cmd.exe 46 PID 1044 wrote to memory of 400 1044 cmd.exe 46 PID 1044 wrote to memory of 1704 1044 cmd.exe 48 PID 1044 wrote to memory of 1704 1044 cmd.exe 48 PID 1044 wrote to memory of 1704 1044 cmd.exe 48 PID 1044 wrote to memory of 1704 1044 cmd.exe 48 PID 384 wrote to memory of 1804 384 wannacry.exe 50 PID 384 wrote to memory of 1804 384 wannacry.exe 50 PID 384 wrote to memory of 1804 384 wannacry.exe 50 PID 384 wrote to memory of 1804 384 wannacry.exe 50 PID 384 wrote to memory of 1724 384 wannacry.exe 51 PID 384 wrote to memory of 1724 384 wannacry.exe 51 PID 384 wrote to memory of 1724 384 wannacry.exe 51 PID 384 wrote to memory of 1724 384 wannacry.exe 51 PID 384 wrote to memory of 2004 384 wannacry.exe 54 PID 384 wrote to memory of 2004 384 wannacry.exe 54 PID 384 wrote to memory of 2004 384 wannacry.exe 54 PID 384 wrote to memory of 2004 384 wannacry.exe 54 PID 384 wrote to memory of 1696 384 wannacry.exe 52 PID 384 wrote to memory of 1696 384 wannacry.exe 52 PID 384 wrote to memory of 1696 384 wannacry.exe 52 PID 384 wrote to memory of 1696 384 wannacry.exe 52 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 1796 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:384 -
C:\Windows\SysWOW64\attrib.exeattrib +h .2⤵
- Views/modifies file attributes
PID:1796
-
-
C:\Windows\SysWOW64\icacls.exeicacls . /grant Everyone:F /T /C /Q2⤵
- Modifies file permissions
PID:1976
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1248
-
-
C:\Windows\SysWOW64\cmd.execmd /c 44031616157811.bat2⤵
- Suspicious use of WriteProcessMemory
PID:400 -
C:\Windows\SysWOW64\cscript.execscript.exe //nologo m.vbs3⤵
- Loads dropped DLL
PID:1228
-
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1252 -
C:\Users\Admin\AppData\Local\Temp\TaskData\Tor\taskhsvc.exeTaskData\Tor\taskhsvc.exe3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
PID:2040
-
-
C:\Users\Admin\AppData\Local\Temp\TaskData\Tor\taskhsvc.exeTaskData\Tor\taskhsvc.exe3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
PID:936
-
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c start /b @[email protected] vs2⤵
- Loads dropped DLL
- Suspicious use of WriteProcessMemory
PID:1312 -
C:\Users\Admin\AppData\Local\Temp\@[email protected]3⤵
- Executes dropped EXE
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1980 -
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:1044 -
C:\Windows\SysWOW64\vssadmin.exevssadmin delete shadows /all /quiet5⤵
- Interacts with shadow copies
PID:400
-
-
C:\Windows\SysWOW64\Wbem\WMIC.exewmic shadowcopy delete5⤵
- Suspicious use of AdjustPrivilegeToken
PID:1704
-
-
-
-
-
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:1804
-
-
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:1724
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "hbntsshfevel836" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f2⤵PID:1696
-
C:\Windows\SysWOW64\reg.exereg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "hbntsshfevel836" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f3⤵
- Adds Run key to start application
- Modifies registry key
PID:1740
-
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:2004
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:892
-
-
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:1728
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:932
-
-
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:1296
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:552
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:1744
-
-
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:436
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1268
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1620