Analysis
- max time kernel
143s - max time network
146s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
27/05/2024, 06:17
Behavioral task
behavioral1
Sample
caf.exe
Resource
win7-20240221-en
14 signatures
150 seconds
Behavioral task
behavioral2
Sample
caf.exe
Resource
win10v2004-20240508-en
15 signatures
150 seconds
General
- Target caf.exe
- Size 72KB
- Sample240527-g2bqrabe89
- SHA256 8150de8ca7edf3ba414fb09d1387c0751189969e5f9f69090593dc31d7d76c00
- MD5 791135ea6c451485f0ce1f2c84eb5604
- SHA1 79825fba4b0835a362eb74b674870ddc6c898bac
- SHA512 f61cc6bb003013fb126cab60b9339027078fa55080ed085d8aadb980a3f0f12e0621bb64e79bd5126891fe3f66766932be0cbc4ebcefe58057ba78e3b3ce9bc6
- SSDEEP 1536:x/cNtbrIcVPCv4KKV0YbO3F8d306kyNCernOsPj8WVnon:FcbbE7v4KVYbOg9N9nOiIxn
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
xworm
C2
-
sent-down.gl.at.ply.gg:2905
Attributes
-
Install_directory
%AppData%
-
install_file
sys.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/4824-1-0x0000000000200000-0x0000000000218000-memory.dmp family_xworm behavioral2/files/0x000c000000023303-47.dat family_xworm - Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 1568 powershell.exe 4928 powershell.exe 3144 powershell.exe 1112 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\Control Panel\International\Geo\Nation caf.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\sys.lnk caf.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\sys.lnk caf.exe - Executes dropped EXE 3 IoCs
pid Process 3580 sys.exe 116 sys.exe 1464 sys.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\sys = "C:\\Users\\Admin\\AppData\\Roaming\\sys.exe" caf.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 24 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3172 schtasks.exe - Suspicious behavior: EnumeratesProcesses 11 IoCs
pid Process 1568 powershell.exe 1568 powershell.exe 1568 powershell.exe 3144 powershell.exe 3144 powershell.exe 3144 powershell.exe 1112 powershell.exe 1112 powershell.exe 1112 powershell.exe 4824 caf.exe 4824 caf.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 4824 caf.exe Token: SeDebugPrivilege 1568 powershell.exe Token: SeDebugPrivilege 3144 powershell.exe Token: SeDebugPrivilege 1112 powershell.exe Token: SeDebugPrivilege 4824 caf.exe Token: SeDebugPrivilege 3580 sys.exe Token: SeDebugPrivilege 116 sys.exe Token: SeDebugPrivilege 1464 sys.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4824 caf.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 4824 wrote to memory of 1568 4824 caf.exe 101 PID 4824 wrote to memory of 1568 4824 caf.exe 101 PID 4824 wrote to memory of 4928 4824 caf.exe 104 PID 4824 wrote to memory of 4928 4824 caf.exe 104 PID 4824 wrote to memory of 3144 4824 caf.exe 107 PID 4824 wrote to memory of 3144 4824 caf.exe 107 PID 4824 wrote to memory of 1112 4824 caf.exe 109 PID 4824 wrote to memory of 1112 4824 caf.exe 109 PID 4824 wrote to memory of 3172 4824 caf.exe 111 PID 4824 wrote to memory of 3172 4824 caf.exe 111 - Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\caf.exe"C:\Users\Admin\AppData\Local\Temp\caf.exe"1⤵
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:4824 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\caf.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1568
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'caf.exe'2⤵
- Command and Scripting Interpreter: PowerShell
PID:4928
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\sys.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3144
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'sys.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1112
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "sys" /tr "C:\Users\Admin\AppData\Roaming\sys.exe"2⤵
- Creates scheduled task(s)
PID:3172
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4168,i,4686244434963378549,11462511444150484980,262144 --variations-seed-version --mojo-platform-channel-handle=4316 /prefetch:81⤵PID:4112
-
C:\Users\Admin\AppData\Roaming\sys.exeC:\Users\Admin\AppData\Roaming\sys.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3580
-
C:\Users\Admin\AppData\Roaming\sys.exeC:\Users\Admin\AppData\Roaming\sys.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:116
-
C:\Users\Admin\AppData\Roaming\sys.exeC:\Users\Admin\AppData\Roaming\sys.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1464
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\sys.exe.log
- Size 654B
- SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
- MD5 2ff39f6c7249774be85fd60a8f9a245e
- SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
- SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 bd827af3192bf83c75a32e51ed2de83bd3b90d6b99350721a189a57cec15d063
- MD5 eb033be02578f9635ec47bdc1de5c3fb
- SHA1 ec356bc87381354a06baa9c30e8c3ac3d30e0f6f
- SHA512 4d8778503646f7016df73ff9d204760f4fe4d2b24157920ac3e5651653373975b2f2d229530143059f11b16c42822ad7963e628ad6066022ee712c17d90595ed
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 87d1dd56f12a88907ba5aebca8d555443d6f77ed214497277cc8bcd31c669f2c
- MD5 2d06ce10e4e5b9e174b5ebbdad300fad
- SHA1 bcc1c231e22238cef02ae25331320060ada2f131
- SHA512 38cfbeb59605854ae4fcfae8619a6b26bd916148acfb5636383672a3960b45ca41fed5c241f97465129e92eaf78c4c85dcf258f1ab501a2bf771287ce04f76a7
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_of3sa41j.5qe.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\sys.exe
- Size 72KB
- SHA256 8150de8ca7edf3ba414fb09d1387c0751189969e5f9f69090593dc31d7d76c00
- MD5 791135ea6c451485f0ce1f2c84eb5604
- SHA1 79825fba4b0835a362eb74b674870ddc6c898bac
- SHA512 f61cc6bb003013fb126cab60b9339027078fa55080ed085d8aadb980a3f0f12e0621bb64e79bd5126891fe3f66766932be0cbc4ebcefe58057ba78e3b3ce9bc6
- SSDEEP 1536:x/cNtbrIcVPCv4KKV0YbO3F8d306kyNCernOsPj8WVnon:FcbbE7v4KVYbOg9N9nOiIxn
- MD5 SHA1 SHA512 SSDEEP