Analysis
-
max time kernel
150s -
max time network
132s -
platform
windows7_x64 -
resource
win7v20201028 -
submitted
19/03/2021, 19:22
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
13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94
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 372 taskdl.exe 1788 @[email protected] 1344 @[email protected] 1128 taskhsvc.exe 1740 taskse.exe 1140 @[email protected] 1348 taskdl.exe 1968 taskse.exe 2032 @[email protected] 1508 taskdl.exe 1732 taskse.exe 584 @[email protected] 1908 taskdl.exe 972 taskse.exe 876 @[email protected] 948 taskdl.exe -
Modifies extensions of user files 22 IoCs
Ransomware generally changes the extension on encrypted files.
description ioc Process File created C:\Users\Admin\Pictures\DisconnectMeasure.tiff.WNCRYT wannacry.exe File created C:\Users\Admin\Pictures\OpenEnter.tif.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\EnterRequest.raw.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\FindAdd.png.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\FindAdd.png.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\RenameConnect.tif.WNCRYT => C:\Users\Admin\Pictures\RenameConnect.tif.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\WatchRename.png.WNCRYT => C:\Users\Admin\Pictures\WatchRename.png.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\DisconnectMeasure.tiff.WNCRYT => C:\Users\Admin\Pictures\DisconnectMeasure.tiff.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\DisconnectMeasure.tiff.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\EnterRequest.raw.WNCRYT => C:\Users\Admin\Pictures\EnterRequest.raw.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\DisconnectMeasure.tiff wannacry.exe File opened for modification C:\Users\Admin\Pictures\ExportGroup.png.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\WatchRename.png.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\WatchRename.png.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\FindAdd.png.WNCRYT => C:\Users\Admin\Pictures\FindAdd.png.WNCRY wannacry.exe File renamed C:\Users\Admin\Pictures\OpenEnter.tif.WNCRYT => C:\Users\Admin\Pictures\OpenEnter.tif.WNCRY wannacry.exe File opened for modification C:\Users\Admin\Pictures\OpenEnter.tif.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\RenameConnect.tif.WNCRYT wannacry.exe File opened for modification C:\Users\Admin\Pictures\RenameConnect.tif.WNCRY wannacry.exe File created C:\Users\Admin\Pictures\EnterRequest.raw.WNCRYT wannacry.exe File created C:\Users\Admin\Pictures\ExportGroup.png.WNCRYT wannacry.exe File renamed C:\Users\Admin\Pictures\ExportGroup.png.WNCRYT => C:\Users\Admin\Pictures\ExportGroup.png.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\~SD2F1E.tmp wannacry.exe -
Loads dropped DLL 39 IoCs
pid Process 1108 wannacry.exe 1108 wannacry.exe 1080 cscript.exe 1108 wannacry.exe 1108 wannacry.exe 1700 cmd.exe 1700 cmd.exe 1788 @[email protected] 1788 @[email protected] 1128 taskhsvc.exe 1128 taskhsvc.exe 1128 taskhsvc.exe 1128 taskhsvc.exe 1128 taskhsvc.exe 1128 taskhsvc.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe 1108 wannacry.exe -
Modifies file permissions 1 TTPs 1 IoCs
pid Process 1180 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\uyjnwwlakzsi360 = "\"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-3825035466-2522850611-591511364-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\@[email protected]" wannacry.exe Set value (str) \REGISTRY\USER\S-1-5-21-3825035466-2522850611-591511364-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 1732 vssadmin.exe -
Modifies registry key 1 TTPs 1 IoCs
pid Process 1280 reg.exe -
Suspicious behavior: EnumeratesProcesses 3 IoCs
pid Process 1128 taskhsvc.exe 1128 taskhsvc.exe 1128 taskhsvc.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 1140 @[email protected] -
Suspicious use of AdjustPrivilegeToken 51 IoCs
description pid Process Token: SeBackupPrivilege 1604 vssvc.exe Token: SeRestorePrivilege 1604 vssvc.exe Token: SeAuditPrivilege 1604 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 1740 taskse.exe Token: SeTcbPrivilege 1740 taskse.exe Token: SeTcbPrivilege 1968 taskse.exe Token: SeTcbPrivilege 1968 taskse.exe Token: SeTcbPrivilege 1732 taskse.exe Token: SeTcbPrivilege 1732 taskse.exe Token: SeTcbPrivilege 972 taskse.exe Token: SeTcbPrivilege 972 taskse.exe -
Suspicious use of SetWindowsHookEx 9 IoCs
pid Process 1788 @[email protected] 1788 @[email protected] 1344 @[email protected] 1344 @[email protected] 1140 @[email protected] 1140 @[email protected] 2032 @[email protected] 584 @[email protected] 876 @[email protected] -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 1108 wrote to memory of 1468 1108 wannacry.exe 26 PID 1108 wrote to memory of 1468 1108 wannacry.exe 26 PID 1108 wrote to memory of 1468 1108 wannacry.exe 26 PID 1108 wrote to memory of 1468 1108 wannacry.exe 26 PID 1108 wrote to memory of 1180 1108 wannacry.exe 27 PID 1108 wrote to memory of 1180 1108 wannacry.exe 27 PID 1108 wrote to memory of 1180 1108 wannacry.exe 27 PID 1108 wrote to memory of 1180 1108 wannacry.exe 27 PID 1108 wrote to memory of 372 1108 wannacry.exe 32 PID 1108 wrote to memory of 372 1108 wannacry.exe 32 PID 1108 wrote to memory of 372 1108 wannacry.exe 32 PID 1108 wrote to memory of 372 1108 wannacry.exe 32 PID 1108 wrote to memory of 1036 1108 wannacry.exe 34 PID 1108 wrote to memory of 1036 1108 wannacry.exe 34 PID 1108 wrote to memory of 1036 1108 wannacry.exe 34 PID 1108 wrote to memory of 1036 1108 wannacry.exe 34 PID 1036 wrote to memory of 1080 1036 cmd.exe 36 PID 1036 wrote to memory of 1080 1036 cmd.exe 36 PID 1036 wrote to memory of 1080 1036 cmd.exe 36 PID 1036 wrote to memory of 1080 1036 cmd.exe 36 PID 1108 wrote to memory of 1788 1108 wannacry.exe 38 PID 1108 wrote to memory of 1788 1108 wannacry.exe 38 PID 1108 wrote to memory of 1788 1108 wannacry.exe 38 PID 1108 wrote to memory of 1788 1108 wannacry.exe 38 PID 1108 wrote to memory of 1700 1108 wannacry.exe 39 PID 1108 wrote to memory of 1700 1108 wannacry.exe 39 PID 1108 wrote to memory of 1700 1108 wannacry.exe 39 PID 1108 wrote to memory of 1700 1108 wannacry.exe 39 PID 1700 wrote to memory of 1344 1700 cmd.exe 41 PID 1700 wrote to memory of 1344 1700 cmd.exe 41 PID 1700 wrote to memory of 1344 1700 cmd.exe 41 PID 1700 wrote to memory of 1344 1700 cmd.exe 41 PID 1788 wrote to memory of 1128 1788 @[email protected] 42 PID 1788 wrote to memory of 1128 1788 @[email protected] 42 PID 1788 wrote to memory of 1128 1788 @[email protected] 42 PID 1788 wrote to memory of 1128 1788 @[email protected] 42 PID 1344 wrote to memory of 1764 1344 @[email protected] 44 PID 1344 wrote to memory of 1764 1344 @[email protected] 44 PID 1344 wrote to memory of 1764 1344 @[email protected] 44 PID 1344 wrote to memory of 1764 1344 @[email protected] 44 PID 1764 wrote to memory of 1732 1764 cmd.exe 46 PID 1764 wrote to memory of 1732 1764 cmd.exe 46 PID 1764 wrote to memory of 1732 1764 cmd.exe 46 PID 1764 wrote to memory of 1732 1764 cmd.exe 46 PID 1764 wrote to memory of 1704 1764 cmd.exe 48 PID 1764 wrote to memory of 1704 1764 cmd.exe 48 PID 1764 wrote to memory of 1704 1764 cmd.exe 48 PID 1764 wrote to memory of 1704 1764 cmd.exe 48 PID 1108 wrote to memory of 1740 1108 wannacry.exe 50 PID 1108 wrote to memory of 1740 1108 wannacry.exe 50 PID 1108 wrote to memory of 1740 1108 wannacry.exe 50 PID 1108 wrote to memory of 1740 1108 wannacry.exe 50 PID 1108 wrote to memory of 1140 1108 wannacry.exe 51 PID 1108 wrote to memory of 1140 1108 wannacry.exe 51 PID 1108 wrote to memory of 1140 1108 wannacry.exe 51 PID 1108 wrote to memory of 1140 1108 wannacry.exe 51 PID 1108 wrote to memory of 1884 1108 wannacry.exe 54 PID 1108 wrote to memory of 1884 1108 wannacry.exe 54 PID 1108 wrote to memory of 1884 1108 wannacry.exe 54 PID 1108 wrote to memory of 1884 1108 wannacry.exe 54 PID 1108 wrote to memory of 1348 1108 wannacry.exe 53 PID 1108 wrote to memory of 1348 1108 wannacry.exe 53 PID 1108 wrote to memory of 1348 1108 wannacry.exe 53 PID 1108 wrote to memory of 1348 1108 wannacry.exe 53 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 1468 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:1108 -
C:\Windows\SysWOW64\attrib.exeattrib +h .2⤵
- Views/modifies file attributes
PID:1468
-
-
C:\Windows\SysWOW64\icacls.exeicacls . /grant Everyone:F /T /C /Q2⤵
- Modifies file permissions
PID:1180
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:372
-
-
C:\Windows\SysWOW64\cmd.execmd /c 106801616181946.bat2⤵
- Suspicious use of WriteProcessMemory
PID:1036 -
C:\Windows\SysWOW64\cscript.execscript.exe //nologo m.vbs3⤵
- Loads dropped DLL
PID:1080
-
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]2⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1788 -
C:\Users\Admin\AppData\Local\Temp\TaskData\Tor\taskhsvc.exeTaskData\Tor\taskhsvc.exe3⤵
- Executes dropped EXE
- Loads dropped DLL
- Suspicious behavior: EnumeratesProcesses
PID:1128
-
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c start /b @[email protected] vs2⤵
- Loads dropped DLL
- Suspicious use of WriteProcessMemory
PID:1700 -
C:\Users\Admin\AppData\Local\Temp\@[email protected]3⤵
- Executes dropped EXE
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1344 -
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:1764 -
C:\Windows\SysWOW64\vssadmin.exevssadmin delete shadows /all /quiet5⤵
- Interacts with shadow copies
PID:1732
-
-
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:1740
-
-
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:1140
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1348
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "uyjnwwlakzsi360" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f2⤵PID:1884
-
C:\Windows\SysWOW64\reg.exereg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "uyjnwwlakzsi360" /t REG_SZ /d "\"C:\Users\Admin\AppData\Local\Temp\tasksche.exe\"" /f3⤵
- Adds Run key to start application
- Modifies registry key
PID:1280
-
-
-
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:1968
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:2032
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1508
-
-
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:1732
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:584
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:1908
-
-
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:972
-
-
C:\Users\Admin\AppData\Local\Temp\@[email protected]PID:876
-
-
C:\Users\Admin\AppData\Local\Temp\taskdl.exetaskdl.exe2⤵
- Executes dropped EXE
PID:948
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1604