Analysis
-
max time kernel
144s -
max time network
116s -
platform
windows10_x64 -
resource
win10v20201028 -
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
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 2488 taskdl.exe 3680 @[email protected] 4004 @[email protected] 2524 taskhsvc.exe 2676 taskse.exe 1680 taskdl.exe 2720 @[email protected] 1484 taskdl.exe 404 taskse.exe 408 @[email protected] 3844 taskdl.exe 3148 taskse.exe 496 @[email protected] 1420 taskse.exe 1440 @[email protected] 2712 taskdl.exe -
Modifies extensions of user files 22 IoCs
Ransomware generally changes the extension on encrypted files.
description ioc Process File renamed C:\Users\Admin\Pictures\ReceiveConnect.raw.WNCRYT => C:\Users\Admin\Pictures\ReceiveConnect.raw.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\ConvertToExpand.png.WNCRYT => C:\Users\Admin\Pictures\ConvertToExpand.png.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\DenyWatch.raw.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\EnableReset.tif.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\RedoNew.raw.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\RedoNew.raw.WNCRYT => C:\Users\Admin\Pictures\RedoNew.raw.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\RedoNew.raw.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\TestConvertTo.tiff.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\UnpublishResolve.raw.WNCRYT => C:\Users\Admin\Pictures\UnpublishResolve.raw.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\ConvertToExpand.png.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\EnableReset.tif.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\UnpublishResolve.raw.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\TestConvertTo.tiff.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\UnpublishResolve.raw.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\TestConvertTo.tiff wannacry.exe File created C:\Users\Admin\Pictures\ReceiveConnect.raw.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\TestConvertTo.tiff.WNCRYT => C:\Users\Admin\Pictures\TestConvertTo.tiff.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\DenyWatch.raw.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\EnableReset.tif.WNCRYT => C:\Users\Admin\Pictures\EnableReset.tif.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\ReceiveConnect.raw.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\ConvertToExpand.png.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\DenyWatch.raw.WNCRYT => C:\Users\Admin\Pictures\DenyWatch.raw.WNCRY wannacry.exe -
Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\~SD6DA7.tmp wannacry.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Word\STARTUP\~SD6DAE.tmp wannacry.exe -
Loads dropped DLL 7 IoCs
pid Process 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe -
Modifies file permissions 1 TTPs 1 IoCs
pid Process 3916 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\mjybovvrdw965 = "\"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-3341490333-719741536-2920803124-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" wannacry.exe Set value (str) \REGISTRY\USER\S-1-5-21-3341490333-719741536-2920803124-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" @[email protected] -
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 2856 vssadmin.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 2024 reg.exe -
Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe 2524 taskhsvc.exe -
Suspicious use of AdjustPrivilegeToken 53 IoCs
description pid Process Token: SeBackupPrivilege 384 vssvc.exe Token: SeRestorePrivilege 384 vssvc.exe Token: SeAuditPrivilege 384 vssvc.exe Token: SeIncreaseQuotaPrivilege 2904 WMIC.exe Token: SeSecurityPrivilege 2904 WMIC.exe Token: SeTakeOwnershipPrivilege 2904 WMIC.exe Token: SeLoadDriverPrivilege 2904 WMIC.exe Token: SeSystemProfilePrivilege 2904 WMIC.exe Token: SeSystemtimePrivilege 2904 WMIC.exe Token: SeProfSingleProcessPrivilege 2904 WMIC.exe Token: SeIncBasePriorityPrivilege 2904 WMIC.exe Token: SeCreatePagefilePrivilege 2904 WMIC.exe Token: SeBackupPrivilege 2904 WMIC.exe Token: SeRestorePrivilege 2904 WMIC.exe Token: SeShutdownPrivilege 2904 WMIC.exe Token: SeDebugPrivilege 2904 WMIC.exe Token: SeSystemEnvironmentPrivilege 2904 WMIC.exe Token: SeRemoteShutdownPrivilege 2904 WMIC.exe Token: SeUndockPrivilege 2904 WMIC.exe Token: SeManageVolumePrivilege 2904 WMIC.exe Token: 33 2904 WMIC.exe Token: 34 2904 WMIC.exe Token: 35 2904 WMIC.exe Token: 36 2904 WMIC.exe Token: SeIncreaseQuotaPrivilege 2904 WMIC.exe Token: SeSecurityPrivilege 2904 WMIC.exe Token: SeTakeOwnershipPrivilege 2904 WMIC.exe Token: SeLoadDriverPrivilege 2904 WMIC.exe Token: SeSystemProfilePrivilege 2904 WMIC.exe Token: SeSystemtimePrivilege 2904 WMIC.exe Token: SeProfSingleProcessPrivilege 2904 WMIC.exe Token: SeIncBasePriorityPrivilege 2904 WMIC.exe Token: SeCreatePagefilePrivilege 2904 WMIC.exe Token: SeBackupPrivilege 2904 WMIC.exe Token: SeRestorePrivilege 2904 WMIC.exe Token: SeShutdownPrivilege 2904 WMIC.exe Token: SeDebugPrivilege 2904 WMIC.exe Token: SeSystemEnvironmentPrivilege 2904 WMIC.exe Token: SeRemoteShutdownPrivilege 2904 WMIC.exe Token: SeUndockPrivilege 2904 WMIC.exe Token: SeManageVolumePrivilege 2904 WMIC.exe Token: 33 2904 WMIC.exe Token: 34 2904 WMIC.exe Token: 35 2904 WMIC.exe Token: 36 2904 WMIC.exe Token: SeTcbPrivilege 2676 taskse.exe Token: SeTcbPrivilege 2676 taskse.exe Token: SeTcbPrivilege 404 taskse.exe Token: SeTcbPrivilege 404 taskse.exe Token: SeTcbPrivilege 3148 taskse.exe Token: SeTcbPrivilege 3148 taskse.exe Token: SeTcbPrivilege 1420 taskse.exe Token: SeTcbPrivilege 1420 taskse.exe -
Suspicious use of SetWindowsHookEx 9 IoCs
pid Process 3680 @[email protected] 4004 @[email protected] 3680 @[email protected] 4004 @[email protected] 2720 @[email protected] 2720 @[email protected] 408 @[email protected] 496 @[email protected] 1440 @[email protected] -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 1180 wrote to memory of 2584 1180 wannacry.exe 73 PID 1180 wrote to memory of 2584 1180 wannacry.exe 73 PID 1180 wrote to memory of 2584 1180 wannacry.exe 73 PID 1180 wrote to memory of 3916 1180 wannacry.exe 74 PID 1180 wrote to memory of 3916 1180 wannacry.exe 74 PID 1180 wrote to memory of 3916 1180 wannacry.exe 74 PID 1180 wrote to memory of 2488 1180 wannacry.exe 80 PID 1180 wrote to memory of 2488 1180 wannacry.exe 80 PID 1180 wrote to memory of 2488 1180 wannacry.exe 80 PID 1180 wrote to memory of 3964 1180 wannacry.exe 81 PID 1180 wrote to memory of 3964 1180 wannacry.exe 81 PID 1180 wrote to memory of 3964 1180 wannacry.exe 81 PID 3964 wrote to memory of 2956 3964 cmd.exe 83 PID 3964 wrote to memory of 2956 3964 cmd.exe 83 PID 3964 wrote to memory of 2956 3964 cmd.exe 83 PID 1180 wrote to memory of 3680 1180 wannacry.exe 85 PID 1180 wrote to memory of 3680 1180 wannacry.exe 85 PID 1180 wrote to memory of 3680 1180 wannacry.exe 85 PID 1180 wrote to memory of 488 1180 wannacry.exe 86 PID 1180 wrote to memory of 488 1180 wannacry.exe 86 PID 1180 wrote to memory of 488 1180 wannacry.exe 86 PID 488 wrote to memory of 4004 488 cmd.exe 88 PID 488 wrote to memory of 4004 488 cmd.exe 88 PID 488 wrote to memory of 4004 488 cmd.exe 88 PID 3680 wrote to memory of 2524 3680 @[email protected] 90 PID 3680 wrote to memory of 2524 3680 @[email protected] 90 PID 3680 wrote to memory of 2524 3680 @[email protected] 90 PID 4004 wrote to memory of 840 4004 @[email protected] 95 PID 4004 wrote to memory of 840 4004 @[email protected] 95 PID 4004 wrote to memory of 840 4004 @[email protected] 95 PID 840 wrote to memory of 2856 840 cmd.exe 97 PID 840 wrote to memory of 2856 840 cmd.exe 97 PID 840 wrote to memory of 2856 840 cmd.exe 97 PID 840 wrote to memory of 2904 840 cmd.exe 99 PID 840 wrote to memory of 2904 840 cmd.exe 99 PID 840 wrote to memory of 2904 840 cmd.exe 99 PID 1180 wrote to memory of 1680 1180 wannacry.exe 101 PID 1180 wrote to memory of 1680 1180 wannacry.exe 101 PID 1180 wrote to memory of 1680 1180 wannacry.exe 101 PID 1180 wrote to memory of 2676 1180 wannacry.exe 102 PID 1180 wrote to memory of 2676 1180 wannacry.exe 102 PID 1180 wrote to memory of 2676 1180 wannacry.exe 102 PID 1180 wrote to memory of 2720 1180 wannacry.exe 103 PID 1180 wrote to memory of 2720 1180 wannacry.exe 103 PID 1180 wrote to memory of 2720 1180 wannacry.exe 103 PID 1180 wrote to memory of 3860 1180 wannacry.exe 104 PID 1180 wrote to memory of 3860 1180 wannacry.exe 104 PID 1180 wrote to memory of 3860 1180 wannacry.exe 104 PID 3860 wrote to memory of 2024 3860 cmd.exe 106 PID 3860 wrote to memory of 2024 3860 cmd.exe 106 PID 3860 wrote to memory of 2024 3860 cmd.exe 106 PID 1180 wrote to memory of 1484 1180 wannacry.exe 107 PID 1180 wrote to memory of 1484 1180 wannacry.exe 107 PID 1180 wrote to memory of 1484 1180 wannacry.exe 107 PID 1180 wrote to memory of 404 1180 wannacry.exe 108 PID 1180 wrote to memory of 404 1180 wannacry.exe 108 PID 1180 wrote to memory of 404 1180 wannacry.exe 108 PID 1180 wrote to memory of 408 1180 wannacry.exe 109 PID 1180 wrote to memory of 408 1180 wannacry.exe 109 PID 1180 wrote to memory of 408 1180 wannacry.exe 109 PID 1180 wrote to memory of 3844 1180 wannacry.exe 110 PID 1180 wrote to memory of 3844 1180 wannacry.exe 110 PID 1180 wrote to memory of 3844 1180 wannacry.exe 110 PID 1180 wrote to memory of 3148 1180 wannacry.exe 111 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 2584 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
- Sets desktop wallpaper using registry
- Suspicious use of WriteProcessMemory
PID:1180 -
C:\Windows\SysWOW64\attrib.exeattrib +h .2⤵
- Views/modifies file attributes
PID:2584
-
-
C:\Windows\SysWOW64\icacls.exeicacls . /grant Everyone:F /T /C /Q2⤵
- Modifies file permissions
PID:3916
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:2488
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c 245671616154210.bat2⤵
- Suspicious use of WriteProcessMemory
PID:3964 -
C:\Windows\SysWOW64\cscript.execscript.exe //nologo m.vbs3⤵PID:2956
-
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3680 -
C:\Users\Admin\AppData\Local\Temp\TaskData\Tor\taskhsvc.exeTaskData\Tor\taskhsvc.exe3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
PID:2524
-
-
-
C:\Windows\SysWOW64\cmd.exePID:488
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]3⤵
- Executes dropped EXE
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4004 -
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:840 -
C:\Windows\SysWOW64\vssadmin.exevssadmin delete shadows /all /quiet5⤵
- Interacts with shadow copies
PID:2856
-
-
C:\Windows\SysWOW64\Wbem\WMIC.exewmic shadowcopy delete5⤵
- Suspicious use of AdjustPrivilegeToken
PID:2904
-
-
-
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1680
-
-
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:2676
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Sets desktop wallpaper using registry
- Suspicious use of SetWindowsHookEx
PID:2720
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "mjybovvrdw965" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f2⤵
- Suspicious use of WriteProcessMemory
PID:3860 -
C:\Windows\SysWOW64\reg.exereg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "mjybovvrdw965" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f3⤵
- Adds Run key to start application
- Modifies registry key
PID:2024
-
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1484
-
-
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:404
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:408
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:3844
-
-
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:3148
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:496
-
-
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:1420
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:1440
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:2712
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:384