Analysis
- max time kernel
149s - max time network
152s - platform
windows10-2004_x64 - resource
win10v2004-20220812-en - resource tags
arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system - submitted
23/09/2022, 07:47
Static task
static1
Behavioral task
behavioral1
Sample
Recibo de pago.js
Resource
win7-20220812-en
Behavioral task
behavioral2
Sample
Recibo de pago.js
Resource
win10v2004-20220812-en
General
- Target Recibo de pago.js
- Size 632KB
- Sample220923-jmkq8aded2
- SHA256 0c080c6425c6475e91fd8041db1609dc45c2f0e3e4073626c56f782685fb6621
- MD5 7d685c3a21c226778a183ced19fcac28
- SHA1 63465170ad1af90d10c506a3c1a2d5f3aefc72cf
- SHA512 d8a2052136fd463774dff498c348401fc049acee4e06543073c4a8f1ef5e29860a836a805dfcd3882b5af8e8a4eb6edee8d67cbe9be2fbe1882d770064bec153
- SSDEEP 12288:tDC6BtKFgJKilkjFsrDv4hHVtBKk7L9kNH26sR:tDRtKmdWiw
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.waterchem.com.tr
-
Port
587
-
Username
-
Password
,A26dsH,[D)x
-
Email to
Extracted
-
wshrat
-
http://goods.camdvr.org:2888
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Blocklisted process makes network request 61 IoCs
flow pid Process 8 2764 wscript.exe 9 4804 wscript.exe 11 3180 wscript.exe 13 3180 wscript.exe 20 3180 wscript.exe 22 2764 wscript.exe 24 4804 wscript.exe 30 3180 wscript.exe 33 3180 wscript.exe 34 2764 wscript.exe 35 4804 wscript.exe 36 3180 wscript.exe 43 2764 wscript.exe 44 3180 wscript.exe 47 4804 wscript.exe 49 3180 wscript.exe 50 2764 wscript.exe 51 4804 wscript.exe 53 3180 wscript.exe 54 3180 wscript.exe 55 2764 wscript.exe 56 4804 wscript.exe 59 3180 wscript.exe 60 3180 wscript.exe 61 2764 wscript.exe 62 4804 wscript.exe 68 3180 wscript.exe 69 2764 wscript.exe 70 4804 wscript.exe 71 3180 wscript.exe 72 3180 wscript.exe 73 2764 wscript.exe 74 4804 wscript.exe 75 3180 wscript.exe 76 3180 wscript.exe 77 2764 wscript.exe 78 4804 wscript.exe 79 3180 wscript.exe 81 3180 wscript.exe 82 2764 wscript.exe 83 4804 wscript.exe 84 3180 wscript.exe 85 2764 wscript.exe 86 4804 wscript.exe 87 3180 wscript.exe 88 3180 wscript.exe 89 2764 wscript.exe 90 4804 wscript.exe 91 3180 wscript.exe 92 3180 wscript.exe 93 2764 wscript.exe 94 4804 wscript.exe 95 3180 wscript.exe 96 3180 wscript.exe 97 2764 wscript.exe 98 4804 wscript.exe 99 3180 wscript.exe 100 2764 wscript.exe 101 4804 wscript.exe 102 3180 wscript.exe 103 3180 wscript.exe - Drops file in Drivers directory 1 IoCs
description ioc Process File opened for modification C:\Windows\system32\drivers\etc\hosts nicon4.0origin.exe - Executes dropped EXE 1 IoCs
pid Process 1296 nicon4.0origin.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Control Panel\International\Geo\Nation wscript.exe - Drops startup file 3 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dohKlqYtRl.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dohKlqYtRl.js wscript.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dohKlqYtRl.js wscript.exe - Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
- Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
- Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 nicon4.0origin.exe Key opened \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 nicon4.0origin.exe Key opened \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 nicon4.0origin.exe - Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Recibo de pago = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Recibo de pago.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Recibo de pago = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Recibo de pago.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Recibo de pago = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Recibo de pago.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Recibo de pago = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Recibo de pago.js\"" wscript.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 10 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Program crash 1 IoCs
pid pid_target Process procid_target 4092 2232 WerFault.exe 10 - Script User-Agent 27 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 36 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 81 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 87 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 91 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 102 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 49 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 60 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 95 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 96 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 75 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 30 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 44 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 54 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 79 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 76 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 84 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 20 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 92 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 59 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 13 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 33 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 68 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 72 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 88 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 99 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 53 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands HTTP User-Agent header 71 WSHRAT|94D95F5C|GBQHURCC|Admin|Microsoft Windows 10 Pro|plus|nan-av|false - 23/9/2022|JavaScript-v3.4|NL:Netherlands - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1296 nicon4.0origin.exe 1296 nicon4.0origin.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 1296 nicon4.0origin.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1296 nicon4.0origin.exe - Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 1864 wrote to memory of 2764 1864 wscript.exe 80 PID 1864 wrote to memory of 2764 1864 wscript.exe 80 PID 1864 wrote to memory of 3180 1864 wscript.exe 81 PID 1864 wrote to memory of 3180 1864 wscript.exe 81 PID 3180 wrote to memory of 4804 3180 wscript.exe 82 PID 3180 wrote to memory of 4804 3180 wscript.exe 82 PID 3180 wrote to memory of 1296 3180 wscript.exe 83 PID 3180 wrote to memory of 1296 3180 wscript.exe 83 PID 3180 wrote to memory of 1296 3180 wscript.exe 83 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 nicon4.0origin.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2295526160-1155304984-640977766-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 nicon4.0origin.exe
Processes
-
C:\Windows\system32\wscript.exewscript.exe "C:\Users\Admin\AppData\Local\Temp\Recibo de pago.js"1⤵
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:1864 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\dohKlqYtRl.js"2⤵
- Blocklisted process makes network request
- Drops startup file
PID:2764
-
-
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Recibo de pago.js"2⤵
- Blocklisted process makes network request
- Checks computer location settings
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:3180 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\dohKlqYtRl.js"3⤵
- Blocklisted process makes network request
- Drops startup file
PID:4804
-
-
C:\Users\Admin\AppData\Roaming\nicon4.0origin.exe"C:\Users\Admin\AppData\Roaming\nicon4.0origin.exe"3⤵
- Drops file in Drivers directory
- Executes dropped EXE
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- outlook_office_path
- outlook_win_path
PID:1296
-
-
-
C:\Windows\system32\WerFault.exeC:\Windows\system32\WerFault.exe -pss -s 444 -p 2232 -ip 22321⤵PID:3996
-
C:\Windows\system32\WerFault.exeC:\Windows\system32\WerFault.exe -u -p 2232 -s 24561⤵
- Program crash
PID:4092
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dohKlqYtRl.js
- Size 6KB
- SHA256 7110e043499e1599d870cbb08e45209d92647659d17b9895cb9ac3c54b463752
- MD5 82334b4f98af5abc62a6fcfe554fc0d7
- SHA1 b89f9e550b5cba7a552b0a74e5c8d7b33c20ebb3
- SHA512 4907d294d3a4b555040a9a1c51d30288382435c52c0a5a7814eeac986d8ae9fffbedefab27b1b87802ffabfd1858ee938f1029ff71048b093a7ebca5ad3f6595
- SSDEEP 96:QfKd5Twd1HLEFrgDa85qZJSRiJEg0OkR2Grw9D7hRDIOssYjWj3BdAiQsuD71XgV:QfKwLrMrgDXSJYg0URRDIOssRAJpFkV
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\Recibo de pago.js
- Size 632KB
- SHA256 0c080c6425c6475e91fd8041db1609dc45c2f0e3e4073626c56f782685fb6621
- MD5 7d685c3a21c226778a183ced19fcac28
- SHA1 63465170ad1af90d10c506a3c1a2d5f3aefc72cf
- SHA512 d8a2052136fd463774dff498c348401fc049acee4e06543073c4a8f1ef5e29860a836a805dfcd3882b5af8e8a4eb6edee8d67cbe9be2fbe1882d770064bec153
- SSDEEP 12288:tDC6BtKFgJKilkjFsrDv4hHVtBKk7L9kNH26sR:tDRtKmdWiw
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\dohKlqYtRl.js
- Size 6KB
- SHA256 7110e043499e1599d870cbb08e45209d92647659d17b9895cb9ac3c54b463752
- MD5 82334b4f98af5abc62a6fcfe554fc0d7
- SHA1 b89f9e550b5cba7a552b0a74e5c8d7b33c20ebb3
- SHA512 4907d294d3a4b555040a9a1c51d30288382435c52c0a5a7814eeac986d8ae9fffbedefab27b1b87802ffabfd1858ee938f1029ff71048b093a7ebca5ad3f6595
- SSDEEP 96:QfKd5Twd1HLEFrgDa85qZJSRiJEg0OkR2Grw9D7hRDIOssYjWj3BdAiQsuD71XgV:QfKwLrMrgDXSJYg0URRDIOssRAJpFkV
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\dohKlqYtRl.js
- Size 6KB
- SHA256 7110e043499e1599d870cbb08e45209d92647659d17b9895cb9ac3c54b463752
- MD5 82334b4f98af5abc62a6fcfe554fc0d7
- SHA1 b89f9e550b5cba7a552b0a74e5c8d7b33c20ebb3
- SHA512 4907d294d3a4b555040a9a1c51d30288382435c52c0a5a7814eeac986d8ae9fffbedefab27b1b87802ffabfd1858ee938f1029ff71048b093a7ebca5ad3f6595
- SSDEEP 96:QfKd5Twd1HLEFrgDa85qZJSRiJEg0OkR2Grw9D7hRDIOssYjWj3BdAiQsuD71XgV:QfKwLrMrgDXSJYg0URRDIOssRAJpFkV
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\nicon4.0origin.exe
- Size 211KB
- SHA256 6aba8a03fd93b96c073cfc3cd2801926f9a6f25bc2afb95a686237e6900a184e
- MD5 993c330b4f0e94b46664f2f0bf3309c2
- SHA1 39927969b78ab13d5fe3a3888145204a1e13afd8
- SHA512 a0c38f039d21bda0a800b5453d3e96bc5e8ef0b9bdc4756756b426de866f288e5dd25ea449faf48e61c535a9b0942993467976d350da37f0f55f9af9828af186
- SSDEEP 6144:uRcgcB5Uf58MxFTEG4BQlqUrKVooJ3CaInx5+tUm:uRcHB5k58MxFTErMBx5+9
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\nicon4.0origin.exe
- Size 211KB
- SHA256 6aba8a03fd93b96c073cfc3cd2801926f9a6f25bc2afb95a686237e6900a184e
- MD5 993c330b4f0e94b46664f2f0bf3309c2
- SHA1 39927969b78ab13d5fe3a3888145204a1e13afd8
- SHA512 a0c38f039d21bda0a800b5453d3e96bc5e8ef0b9bdc4756756b426de866f288e5dd25ea449faf48e61c535a9b0942993467976d350da37f0f55f9af9828af186
- SSDEEP 6144:uRcgcB5Uf58MxFTEG4BQlqUrKVooJ3CaInx5+tUm:uRcHB5k58MxFTErMBx5+9
- MD5 SHA1 SHA512 SSDEEP