Analysis
-
max time kernel
36s -
max time network
36s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
10/08/2024, 09:27
Static task
static1
Behavioral task
behavioral1
Sample
aimalware.ps1
Resource
win7-20240705-en
Behavioral task
behavioral2
Sample
aimalware.ps1
Resource
win10v2004-20240802-en
General
-
Target
aimalware.ps1
-
Size
2KB
-
MD5
a3103ca5ec634f91d3a6b0fc35cb9679
-
SHA1
1d2b2579e9b18838867389817dfb9fbb32ceb4e2
-
SHA256
0bb5cd1cd08e5c364cf4af7a12ba084588734f95a3a269c498f9c2411c25bba2
-
SHA512
02d455ccbd18a4b7864c4404e6729aa34a15d5c5446b4d224fa38cc2bb21bf555f51e8c32f8fc9caed163efff254a4eae280713e7d3636969e64097a91e7ec97
Malware Config
Signatures
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3808 netsh.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-786284298-625481688-3210388970-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\FakeMalware = "C:\\Windows\\System32\\malware.bat" powershell.exe -
Drops file in System32 directory 8 IoCs
description ioc Process File opened for modification C:\Windows\system32\wbem\repository svchost.exe File opened for modification C:\Windows\system32\wbem\repository\WRITABLE.TST svchost.exe File opened for modification C:\Windows\system32\wbem\repository\MAPPING1.MAP svchost.exe File opened for modification C:\Windows\system32\wbem\repository\MAPPING2.MAP svchost.exe File opened for modification C:\Windows\system32\wbem\repository\MAPPING3.MAP svchost.exe File opened for modification C:\Windows\system32\wbem\repository\OBJECTS.DATA svchost.exe File opened for modification C:\Windows\system32\wbem\repository\INDEX.BTR svchost.exe File created C:\Windows\System32\malware.bat powershell.exe -
pid Process 4600 powershell.exe -
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 opened \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\Microsoft\NetSh netsh.exe -
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 4740 cmd.exe 4588 PING.EXE -
Runs ping.exe 1 TTPs 1 IoCs
pid Process 4588 PING.EXE -
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 3736 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 4600 powershell.exe 4600 powershell.exe 4600 powershell.exe 4600 powershell.exe 4600 powershell.exe 4600 powershell.exe 4600 powershell.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 4600 powershell.exe Token: SeIncreaseQuotaPrivilege 4600 powershell.exe Token: SeSecurityPrivilege 4600 powershell.exe Token: SeTakeOwnershipPrivilege 4600 powershell.exe Token: SeLoadDriverPrivilege 4600 powershell.exe Token: SeSystemProfilePrivilege 4600 powershell.exe Token: SeSystemtimePrivilege 4600 powershell.exe Token: SeProfSingleProcessPrivilege 4600 powershell.exe Token: SeIncBasePriorityPrivilege 4600 powershell.exe Token: SeCreatePagefilePrivilege 4600 powershell.exe Token: SeBackupPrivilege 4600 powershell.exe Token: SeRestorePrivilege 4600 powershell.exe Token: SeShutdownPrivilege 4600 powershell.exe Token: SeDebugPrivilege 4600 powershell.exe Token: SeSystemEnvironmentPrivilege 4600 powershell.exe Token: SeRemoteShutdownPrivilege 4600 powershell.exe Token: SeUndockPrivilege 4600 powershell.exe Token: SeManageVolumePrivilege 4600 powershell.exe Token: 33 4600 powershell.exe Token: 34 4600 powershell.exe Token: 35 4600 powershell.exe Token: 36 4600 powershell.exe Token: SeIncreaseQuotaPrivilege 4600 powershell.exe Token: SeSecurityPrivilege 4600 powershell.exe Token: SeTakeOwnershipPrivilege 4600 powershell.exe Token: SeLoadDriverPrivilege 4600 powershell.exe Token: SeSystemProfilePrivilege 4600 powershell.exe Token: SeSystemtimePrivilege 4600 powershell.exe Token: SeProfSingleProcessPrivilege 4600 powershell.exe Token: SeIncBasePriorityPrivilege 4600 powershell.exe Token: SeCreatePagefilePrivilege 4600 powershell.exe Token: SeBackupPrivilege 4600 powershell.exe Token: SeRestorePrivilege 4600 powershell.exe Token: SeShutdownPrivilege 4600 powershell.exe Token: SeDebugPrivilege 4600 powershell.exe Token: SeSystemEnvironmentPrivilege 4600 powershell.exe Token: SeRemoteShutdownPrivilege 4600 powershell.exe Token: SeUndockPrivilege 4600 powershell.exe Token: SeManageVolumePrivilege 4600 powershell.exe Token: 33 4600 powershell.exe Token: 34 4600 powershell.exe Token: 35 4600 powershell.exe Token: 36 4600 powershell.exe Token: SeAssignPrimaryTokenPrivilege 2428 svchost.exe Token: SeIncreaseQuotaPrivilege 2428 svchost.exe Token: SeSecurityPrivilege 2428 svchost.exe Token: SeTakeOwnershipPrivilege 2428 svchost.exe Token: SeLoadDriverPrivilege 2428 svchost.exe Token: SeSystemtimePrivilege 2428 svchost.exe Token: SeBackupPrivilege 2428 svchost.exe Token: SeRestorePrivilege 2428 svchost.exe Token: SeShutdownPrivilege 2428 svchost.exe Token: SeSystemEnvironmentPrivilege 2428 svchost.exe Token: SeUndockPrivilege 2428 svchost.exe Token: SeManageVolumePrivilege 2428 svchost.exe Token: SeAssignPrimaryTokenPrivilege 2428 svchost.exe Token: SeIncreaseQuotaPrivilege 2428 svchost.exe Token: SeSecurityPrivilege 2428 svchost.exe Token: SeTakeOwnershipPrivilege 2428 svchost.exe Token: SeLoadDriverPrivilege 2428 svchost.exe Token: SeSystemtimePrivilege 2428 svchost.exe Token: SeBackupPrivilege 2428 svchost.exe Token: SeRestorePrivilege 2428 svchost.exe Token: SeShutdownPrivilege 2428 svchost.exe -
Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 4600 wrote to memory of 3808 4600 powershell.exe 86 PID 4600 wrote to memory of 3808 4600 powershell.exe 86 PID 4600 wrote to memory of 3736 4600 powershell.exe 90 PID 4600 wrote to memory of 3736 4600 powershell.exe 90 PID 4600 wrote to memory of 4740 4600 powershell.exe 91 PID 4600 wrote to memory of 4740 4600 powershell.exe 91 PID 4740 wrote to memory of 4588 4740 cmd.exe 92 PID 4740 wrote to memory of 4588 4740 cmd.exe 92 -
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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\aimalware.ps11⤵
- Adds Run key to start application
- Drops file in System32 directory
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4600 -
C:\Windows\system32\netsh.exe"C:\Windows\system32\netsh.exe" advfirewall set allprofiles state off2⤵
- Modifies Windows Firewall
- Event Triggered Execution: Netsh Helper DLL
PID:3808
-
-
C:\Windows\system32\schtasks.exe"C:\Windows\system32\schtasks.exe" /create /tn MaliciousTask /tr C:\Windows\System32\malware.bat /sc onlogon /f2⤵
- Scheduled Task/Job: Scheduled Task
PID:3736
-
-
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd.exe" /c ping localhost -n 5 >nul & echo Injecting into process2⤵
- System Network Configuration Discovery: Internet Connection Discovery
- Suspicious use of WriteProcessMemory
PID:4740 -
C:\Windows\system32\PING.EXEping localhost -n 53⤵
- System Network Configuration Discovery: Internet Connection Discovery
- Runs ping.exe
PID:4588
-
-
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt1⤵
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
PID:2428
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager1⤵PID:208
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
1Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Scheduled Task/Job
1Scheduled Task
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
1Windows Service
1Event Triggered Execution
1Netsh Helper DLL
1Scheduled Task/Job
1Scheduled Task
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82