Analysis
- max time kernel
101s - max time network
118s - platform
windows11-21h2_x64 - resource
win11-20240419-en - resource tags
arch:x64arch:x86image:win11-20240419-enlocale:en-usos:windows11-21h2-x64system - submitted
22/06/2024, 06:20
Behavioral task
behavioral1
Sample
Discord.exe
Resource
win11-20240419-en
General
- Target Discord.exe
- Size 37KB
- Sample240622-g36bravdlm
- SHA256 db77279f6b996ae07ac5fd3b1edb3ecf9525087c96bbcf2d7a2a4c100db2cc7b
- MD5 5c68aeb4a851c6e926ead1ff59f90640
- SHA1 43771d2ff223f80c51a4907786037e746160d0fc
- SHA512 074e91d484a5fbcac50f947a5c2daea247ba57f3ebdf93381d7710aa5e29f7a123fda2147764880f681694fb2cc2e86c2ef5a0fef638a2fe7db0c73104bb8172
- SSDEEP 768:OEVqIZbwCxWaAXFyw9OY+v6sO/hKPSKAxC:O8qIZb9xKFP9h+6sO/MvAU
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
5.0
-
147.185.221.20:33255
-
L38G3mo1mQdyxT1M
-
Install_directory
%Public%
-
install_file
Discord.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/4048-1-0x0000000000870000-0x0000000000880000-memory.dmp family_xworm behavioral1/files/0x002100000002ab18-52.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 2804 powershell.exe 3076 powershell.exe 5100 powershell.exe 2344 powershell.exe - Executes dropped EXE 1 IoCs
pid Process 920 Discord.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1474490143-3221292397-4168103503-1000\Software\Microsoft\Windows\CurrentVersion\Run\Discord = "C:\\Users\\Public\\Discord.exe" Discord.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 1 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 5072 schtasks.exe - Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 2804 powershell.exe 2804 powershell.exe 3076 powershell.exe 3076 powershell.exe 5100 powershell.exe 5100 powershell.exe 2344 powershell.exe 2344 powershell.exe - Suspicious use of AdjustPrivilegeToken 7 IoCs
description pid Process Token: SeDebugPrivilege 4048 Discord.exe Token: SeDebugPrivilege 2804 powershell.exe Token: SeDebugPrivilege 3076 powershell.exe Token: SeDebugPrivilege 5100 powershell.exe Token: SeDebugPrivilege 2344 powershell.exe Token: SeDebugPrivilege 4048 Discord.exe Token: SeDebugPrivilege 920 Discord.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 4048 wrote to memory of 2804 4048 Discord.exe 79 PID 4048 wrote to memory of 2804 4048 Discord.exe 79 PID 4048 wrote to memory of 3076 4048 Discord.exe 81 PID 4048 wrote to memory of 3076 4048 Discord.exe 81 PID 4048 wrote to memory of 5100 4048 Discord.exe 83 PID 4048 wrote to memory of 5100 4048 Discord.exe 83 PID 4048 wrote to memory of 2344 4048 Discord.exe 85 PID 4048 wrote to memory of 2344 4048 Discord.exe 85 PID 4048 wrote to memory of 5072 4048 Discord.exe 87 PID 4048 wrote to memory of 5072 4048 Discord.exe 87 - 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\Discord.exe"C:\Users\Admin\AppData\Local\Temp\Discord.exe"1⤵
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4048 -
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\Discord.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2804
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Discord.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3076
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\Discord.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5100
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Discord.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2344
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Discord" /tr "C:\Users\Public\Discord.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:5072
-
-
C:\Users\Public\Discord.exeC:\Users\Public\Discord.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:920
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 85b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c
- MD5 627073ee3ca9676911bee35548eff2b8
- SHA1 4c4b68c65e2cab9864b51167d710aa29ebdcff2e
- SHA512 3c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 5c362b53c4a4578d8b57c51e1eac15f7f3b2447e43e0dad5102ecd003d5b41d4
- MD5 7d760ca2472bcb9fe9310090d91318ce
- SHA1 cb316b8560b38ea16a17626e685d5a501cd31c4a
- SHA512 141e8661d7348ebbc1f74f828df956a0c6e4cdb70f3b9d52623c9a30993bfd91da9ed7d8d284b84f173d3e6f47c876fb4a8295110895f44d97fd6cc4c5659c35
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 6c908b4ca5b098e166b48a0e821050db43fba7299a6553be2303bee5b89545ac
- MD5 cb9070f7a07a5d3fc17121852bff6953
- SHA1 1932f99c2039a98cf0d65bca0f882dde0686fc11
- SHA512 97b9fc5ce40b102e2c9334500f6c17625c982ff8e4afaaabd92c2468cd8deface01d7cdfd267c4f10aac123b7a6173fde85d2b531c6f134a3896a8ca5edfe1f8
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 1e56a98f74d4a604bef716b47ef730d88f93aec57a98c89aa4423394cbc95b5c
- MD5 4ae54c3a00d1d664f74bfd4f70c85332
- SHA1 67f3ed7aaea35153326c1f907c0334feef08484c
- SHA512 b3bbdefeaadbdaac00f23ce3389bbd3b565bd7e0079aeebf3e4afba892382e1cd3896c00bb2e5a98146ac593f9bdc5568d0bd08c5b0139f0814b1a38911c3889
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_addpbsog.uei.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Public\Discord.exe
- Size 37KB
- SHA256 db77279f6b996ae07ac5fd3b1edb3ecf9525087c96bbcf2d7a2a4c100db2cc7b
- MD5 5c68aeb4a851c6e926ead1ff59f90640
- SHA1 43771d2ff223f80c51a4907786037e746160d0fc
- SHA512 074e91d484a5fbcac50f947a5c2daea247ba57f3ebdf93381d7710aa5e29f7a123fda2147764880f681694fb2cc2e86c2ef5a0fef638a2fe7db0c73104bb8172
- SSDEEP 768:OEVqIZbwCxWaAXFyw9OY+v6sO/hKPSKAxC:O8qIZb9xKFP9h+6sO/MvAU
- MD5 SHA1 SHA512 SSDEEP