Analysis
-
max time kernel
44s -
platform
windows11-21h2_x64 -
resource
win11-20240709-en -
resource tags
arch:x64arch:x86image:win11-20240709-enlocale:en-usos:windows11-21h2-x64system -
submitted
30-07-2024 04:52
Static task
static1
Behavioral task
behavioral1
Sample
WannaCry.exe
Resource
win11-20240709-en
General
-
Target
WannaCry.exe
-
Size
224KB
-
MD5
5c7fb0927db37372da25f270708103a2
-
SHA1
120ed9279d85cbfa56e5b7779ffa7162074f7a29
-
SHA256
be22645c61949ad6a077373a7d6cd85e3fae44315632f161adc4c99d5a8e6844
-
SHA512
a15f97fad744ccf5f620e5aabb81f48507327b898a9aa4287051464019e0f89224c484e9691812e166471af9beaddcfc3deb2ba878658761f4800663beef7206
-
SSDEEP
3072:Y059femWRwTs/dbelj0X8/j84pcRXPlU3Upt3or4H84lK8PtpLzLsR/EfcZ:+5RwTs/dSXj84mRXPemxdBlPvLzLeZ
Malware Config
Extracted
C:\Users\Admin\AppData\Local\Temp\!Please Read Me!.txt
wannacry
15zGqZCTcys6eCjDkE3DypCjXi6QWRV6V1
Signatures
-
Wannacry
WannaCry is a ransomware cryptoworm.
-
Deletes shadow copies 3 TTPs
Ransomware often targets backup files to inhibit system recovery.
-
Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\~SDAE10.tmp WannaCry.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Word\STARTUP\~SDAE27.tmp WannaCry.exe -
Executes dropped EXE 4 IoCs
pid Process 340 !WannaDecryptor!.exe 1736 !WannaDecryptor!.exe 4272 !WannaDecryptor!.exe 2188 !WannaDecryptor!.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 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\Microsoft Update Task Scheduler = "\"C:\\Users\\Admin\\AppData\\Local\\Temp\\WannaCry.exe\" /r" WannaCry.exe -
Sets desktop wallpaper using registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-514081398-208714212-3319599467-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\Desktop\\!WannaCryptor!.bmp" !WannaDecryptor!.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 14 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language taskkill.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language !WannaDecryptor!.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language !WannaDecryptor!.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WannaCry.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cscript.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language !WannaDecryptor!.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language taskkill.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language taskkill.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language !WannaDecryptor!.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language taskkill.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WMIC.exe -
Kills process with taskkill 4 IoCs
pid Process 852 taskkill.exe 3164 taskkill.exe 3672 taskkill.exe 1980 taskkill.exe -
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-514081398-208714212-3319599467-1000_Classes\Local Settings OpenWith.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2276 OpenWith.exe -
Suspicious use of AdjustPrivilegeToken 49 IoCs
description pid Process Token: SeDebugPrivilege 3164 taskkill.exe Token: SeDebugPrivilege 3672 taskkill.exe Token: SeDebugPrivilege 1980 taskkill.exe Token: SeDebugPrivilege 852 taskkill.exe Token: SeIncreaseQuotaPrivilege 3672 WMIC.exe Token: SeSecurityPrivilege 3672 WMIC.exe Token: SeTakeOwnershipPrivilege 3672 WMIC.exe Token: SeLoadDriverPrivilege 3672 WMIC.exe Token: SeSystemProfilePrivilege 3672 WMIC.exe Token: SeSystemtimePrivilege 3672 WMIC.exe Token: SeProfSingleProcessPrivilege 3672 WMIC.exe Token: SeIncBasePriorityPrivilege 3672 WMIC.exe Token: SeCreatePagefilePrivilege 3672 WMIC.exe Token: SeBackupPrivilege 3672 WMIC.exe Token: SeRestorePrivilege 3672 WMIC.exe Token: SeShutdownPrivilege 3672 WMIC.exe Token: SeDebugPrivilege 3672 WMIC.exe Token: SeSystemEnvironmentPrivilege 3672 WMIC.exe Token: SeRemoteShutdownPrivilege 3672 WMIC.exe Token: SeUndockPrivilege 3672 WMIC.exe Token: SeManageVolumePrivilege 3672 WMIC.exe Token: 33 3672 WMIC.exe Token: 34 3672 WMIC.exe Token: 35 3672 WMIC.exe Token: 36 3672 WMIC.exe Token: SeIncreaseQuotaPrivilege 3672 WMIC.exe Token: SeSecurityPrivilege 3672 WMIC.exe Token: SeTakeOwnershipPrivilege 3672 WMIC.exe Token: SeLoadDriverPrivilege 3672 WMIC.exe Token: SeSystemProfilePrivilege 3672 WMIC.exe Token: SeSystemtimePrivilege 3672 WMIC.exe Token: SeProfSingleProcessPrivilege 3672 WMIC.exe Token: SeIncBasePriorityPrivilege 3672 WMIC.exe Token: SeCreatePagefilePrivilege 3672 WMIC.exe Token: SeBackupPrivilege 3672 WMIC.exe Token: SeRestorePrivilege 3672 WMIC.exe Token: SeShutdownPrivilege 3672 WMIC.exe Token: SeDebugPrivilege 3672 WMIC.exe Token: SeSystemEnvironmentPrivilege 3672 WMIC.exe Token: SeRemoteShutdownPrivilege 3672 WMIC.exe Token: SeUndockPrivilege 3672 WMIC.exe Token: SeManageVolumePrivilege 3672 WMIC.exe Token: 33 3672 WMIC.exe Token: 34 3672 WMIC.exe Token: 35 3672 WMIC.exe Token: 36 3672 WMIC.exe Token: SeBackupPrivilege 3340 vssvc.exe Token: SeRestorePrivilege 3340 vssvc.exe Token: SeAuditPrivilege 3340 vssvc.exe -
Suspicious use of SetWindowsHookEx 21 IoCs
pid Process 340 !WannaDecryptor!.exe 340 !WannaDecryptor!.exe 1736 !WannaDecryptor!.exe 1736 !WannaDecryptor!.exe 4272 !WannaDecryptor!.exe 4272 !WannaDecryptor!.exe 2188 !WannaDecryptor!.exe 2188 !WannaDecryptor!.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe 2276 OpenWith.exe -
Suspicious use of WriteProcessMemory 39 IoCs
description pid Process procid_target PID 648 wrote to memory of 3188 648 WannaCry.exe 81 PID 648 wrote to memory of 3188 648 WannaCry.exe 81 PID 648 wrote to memory of 3188 648 WannaCry.exe 81 PID 3188 wrote to memory of 3184 3188 cmd.exe 83 PID 3188 wrote to memory of 3184 3188 cmd.exe 83 PID 3188 wrote to memory of 3184 3188 cmd.exe 83 PID 648 wrote to memory of 340 648 WannaCry.exe 86 PID 648 wrote to memory of 340 648 WannaCry.exe 86 PID 648 wrote to memory of 340 648 WannaCry.exe 86 PID 648 wrote to memory of 1980 648 WannaCry.exe 87 PID 648 wrote to memory of 1980 648 WannaCry.exe 87 PID 648 wrote to memory of 1980 648 WannaCry.exe 87 PID 648 wrote to memory of 852 648 WannaCry.exe 88 PID 648 wrote to memory of 852 648 WannaCry.exe 88 PID 648 wrote to memory of 852 648 WannaCry.exe 88 PID 648 wrote to memory of 3164 648 WannaCry.exe 89 PID 648 wrote to memory of 3164 648 WannaCry.exe 89 PID 648 wrote to memory of 3164 648 WannaCry.exe 89 PID 648 wrote to memory of 3672 648 WannaCry.exe 90 PID 648 wrote to memory of 3672 648 WannaCry.exe 90 PID 648 wrote to memory of 3672 648 WannaCry.exe 90 PID 648 wrote to memory of 1736 648 WannaCry.exe 96 PID 648 wrote to memory of 1736 648 WannaCry.exe 96 PID 648 wrote to memory of 1736 648 WannaCry.exe 96 PID 648 wrote to memory of 392 648 WannaCry.exe 97 PID 648 wrote to memory of 392 648 WannaCry.exe 97 PID 648 wrote to memory of 392 648 WannaCry.exe 97 PID 392 wrote to memory of 4272 392 cmd.exe 99 PID 392 wrote to memory of 4272 392 cmd.exe 99 PID 392 wrote to memory of 4272 392 cmd.exe 99 PID 648 wrote to memory of 2188 648 WannaCry.exe 101 PID 648 wrote to memory of 2188 648 WannaCry.exe 101 PID 648 wrote to memory of 2188 648 WannaCry.exe 101 PID 4272 wrote to memory of 3136 4272 !WannaDecryptor!.exe 102 PID 4272 wrote to memory of 3136 4272 !WannaDecryptor!.exe 102 PID 4272 wrote to memory of 3136 4272 !WannaDecryptor!.exe 102 PID 3136 wrote to memory of 3672 3136 cmd.exe 104 PID 3136 wrote to memory of 3672 3136 cmd.exe 104 PID 3136 wrote to memory of 3672 3136 cmd.exe 104 -
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\WannaCry.exe"C:\Users\Admin\AppData\Local\Temp\WannaCry.exe"1⤵
- Drops startup file
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:648 -
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c 227981722315155.bat2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3188 -
C:\Windows\SysWOW64\cscript.execscript //nologo c.vbs3⤵
- System Location Discovery: System Language Discovery
PID:3184
-
-
-
C:\Users\Admin\AppData\Local\Temp\!WannaDecryptor!.exe!WannaDecryptor!.exe f2⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
PID:340
-
-
C:\Windows\SysWOW64\taskkill.exetaskkill /f /im MSExchange*2⤵
- System Location Discovery: System Language Discovery
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:1980
-
-
C:\Windows\SysWOW64\taskkill.exetaskkill /f /im Microsoft.Exchange.*2⤵
- System Location Discovery: System Language Discovery
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:852
-
-
C:\Windows\SysWOW64\taskkill.exetaskkill /f /im sqlserver.exe2⤵
- System Location Discovery: System Language Discovery
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:3164
-
-
C:\Windows\SysWOW64\taskkill.exetaskkill /f /im sqlwriter.exe2⤵
- System Location Discovery: System Language Discovery
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:3672
-
-
C:\Users\Admin\AppData\Local\Temp\!WannaDecryptor!.exe!WannaDecryptor!.exe c2⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
PID:1736
-
-
C:\Windows\SysWOW64\cmd.execmd.exe /c start /b !WannaDecryptor!.exe v2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:392 -
C:\Users\Admin\AppData\Local\Temp\!WannaDecryptor!.exe!WannaDecryptor!.exe v3⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4272 -
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⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3136 -
C:\Windows\SysWOW64\Wbem\WMIC.exewmic shadowcopy delete5⤵
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
PID:3672
-
-
-
-
-
C:\Users\Admin\AppData\Local\Temp\!WannaDecryptor!.exe!WannaDecryptor!.exe2⤵
- Executes dropped EXE
- Sets desktop wallpaper using registry
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
PID:2188
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3340
-
C:\Windows\system32\OpenWith.exeC:\Windows\system32\OpenWith.exe -Embedding1⤵
- Modifies registry class
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of SetWindowsHookEx
PID:2276
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
797B
MD5afa18cf4aa2660392111763fb93a8c3d
SHA1c219a3654a5f41ce535a09f2a188a464c3f5baf5
SHA256227082c719fd4394c1f2311a0877d8a302c5b092bcc49f853a5cf3d2945f42b0
SHA5124161f250d59b7d4d4a6c4f16639d66d21b2a9606de956d22ec00bedb006643fedbbb8e4cde9f6c0c977285918648314883ca91f3442d1125593bf2605f2d5c6b
-
Filesize
1KB
MD5a1bdd8acb86d670521261b727e20fb72
SHA1044a8ff3e2d595ca4776921074a15bcd1541b271
SHA25669d102f5e9b1744a91b14018040e60e973f6421a00cf487c536ecad26971dea0
SHA512eeea9e45130e99763e754553b200d6561fa9d7f6eb78b6d4128c622f0c10665ab552f2fe625bfc0116d44bbfddb15b23147d12d735bbc0d4c7f21a83685b64d8
-
Filesize
136B
MD567cf2f3207f94db97f52a5e5f0a604f4
SHA152ea8d856ef1282af7476f0605f42f8393aaa583
SHA2565c1ad6836f0e4f4317bb4cf9549c93e0a70d6cd3aa9d5b785ad63f18d14dbc5c
SHA512ff0138010a42caa0687e8e7ef7358b259aa50e85fa79c6d77627b3b4e40d3b5bcc008b6d1c069f0d4c88006ca55e5876e9657b2467d3e9436710be4279e72f4c
-
Filesize
136B
MD591b966f26f9b4df2176c227344715e94
SHA140cb7a0cfd8e3e5aebe25a87e5af86267ba77b77
SHA2563d0e158ce6fd952cb72eae78f3aaf2753600a0a6fbf801873443f3e22ee7bfff
SHA5125ffef9821e3bc0ad2e598784cb977050ac05ee36974d593057dde51447e0f71ab93d0f03c0dfab20673c777e88c9cd4cbff71659909c80a9937617a60c379952
-
Filesize
136B
MD56b32a85843fa9ac309eaec3a751d410d
SHA10391e6153a9e6d9de677d1febbd898cf4eb56871
SHA25673884c621132454036652bde53ee141bde8004dc544923ffdb786dff2f5306ca
SHA5129929ffa9dc1b60e4d9c4da16f3ee3fa9494218fbc81f3e693b977568e9f02baab1b5bfc22b3fa5ceeed37043e74bb7022aff05d0d92c643141ff7de7eed7d366
-
Filesize
336B
MD53540e056349c6972905dc9706cd49418
SHA1492c20442d34d45a6d6790c720349b11ec591cde
SHA25673872a89440a2cba9d22bf4961c3d499ea2c72979c30c455f942374292fedadc
SHA512c949d147100aef59e382c03abf7b162ae62a4d43456eebd730fbedcf5f95f5e1a24f6e349690d52d75331878a6ee8f6b88a7162ee9cf2a49e142196b12d0133c
-
Filesize
219B
MD55f6d40ca3c34b470113ed04d06a88ff4
SHA150629e7211ae43e32060686d6be17ebd492fd7aa
SHA2560fb5039a2fe7e90cdf3f22140d7f2103f94689b15609efe0edcc8430dd772fc1
SHA5124d4aa1abd2c9183202fd3f0a65b37f07ee0166ba6561f094c13c8ea59752c7bdd960e37c49583746d4464bc3b1dc0b63a1fe36a37ce7e5709cd76ed433befe35
-
Filesize
628B
MD5248f7c88d214f169425fb1f4885ad2f9
SHA1311332d4cc1aabf344e61d03dfc4f775bf9cb043
SHA256def2ea898dec499ee158bf083d22b81073cadbf9f28ecd408a8f087ecae9c2ca
SHA5127a8619c576d0e00378f7dd57e22fe81ad3c5e791fca1d517120392711527052feb9be739bf72d8e8f93a4d529081ecd27126ded3f522ef5d62edffa2ea5e8af1
-
Filesize
42KB
MD5980b08bac152aff3f9b0136b616affa5
SHA12a9c9601ea038f790cc29379c79407356a3d25a3
SHA256402046ada270528c9ac38bbfa0152836fe30fb8e12192354e53b8397421430d9
SHA512100cda1f795781042b012498afd783fd6ff03b0068dbd07b2c2e163cd95e6c6e00755ce16b02b017693c9febc149ed02df9df9b607e2b9cca4b07e5bd420f496
-
Filesize
236KB
MD5cf1416074cd7791ab80a18f9e7e219d9
SHA1276d2ec82c518d887a8a3608e51c56fa28716ded
SHA25678e3f87f31688355c0f398317b2d87d803bd87ee3656c5a7c80f0561ec8606df
SHA5120bb0843a90edacaf1407e6a7273a9fbb896701635e4d9467392b7350ad25a1bec0c1ceef36737b4af5e5841936f4891436eded0533aa3d74c9a54efa42f024c5