Malware Analysis Report

2024-10-18 21:03

Sample ID 231221-1nsxnahaaq
Target 0533575076d7185ba435f3d260e8b3e4
SHA256 3773c12491a4d8462144e592bd3a9746186ca41928b2443959c548cbccb45b37
Tags
oski infostealer
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

3773c12491a4d8462144e592bd3a9746186ca41928b2443959c548cbccb45b37

Threat Level: Known bad

The file 0533575076d7185ba435f3d260e8b3e4 was found to be: Known bad.

Malicious Activity Summary

oski infostealer

Oski

Suspicious use of SetThreadContext

Program crash

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK

N/A

Analysis: static1

Detonation Overview

Reported

2023-12-21 21:48

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2023-12-21 21:48

Reported

2023-12-21 22:28

Platform

win7-20231215-en

Max time kernel

122s

Max time network

158s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\0533575076d7185ba435f3d260e8b3e4.ps1

Signatures

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2776 wrote to memory of 1176 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1176 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1176 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1176 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1056 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1056 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1056 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1056 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1784 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1784 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1784 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1784 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 112 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 112 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 112 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 112 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1068 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1068 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1068 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 2776 wrote to memory of 1068 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

Processes

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\0533575076d7185ba435f3d260e8b3e4.ps1

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

Network

N/A

Files

memory/2776-4-0x000000001B360000-0x000000001B642000-memory.dmp

memory/2776-5-0x0000000001F90000-0x0000000001F98000-memory.dmp

memory/2776-6-0x000007FEF5C60000-0x000007FEF65FD000-memory.dmp

memory/2776-8-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-7-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-9-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-10-0x000007FEF5C60000-0x000007FEF65FD000-memory.dmp

memory/2776-11-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-12-0x0000000002660000-0x0000000002672000-memory.dmp

memory/2776-13-0x000007FEF5C60000-0x000007FEF65FD000-memory.dmp

memory/2776-14-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-15-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-16-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-17-0x000007FEF5C60000-0x000007FEF65FD000-memory.dmp

memory/2776-18-0x0000000002350000-0x00000000023D0000-memory.dmp

memory/2776-19-0x000007FEF5C60000-0x000007FEF65FD000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2023-12-21 21:48

Reported

2023-12-21 22:26

Platform

win10v2004-20231215-en

Max time kernel

139s

Max time network

162s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\0533575076d7185ba435f3d260e8b3e4.ps1

Signatures

Oski

infostealer oski

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 4804 set thread context of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 4804 wrote to memory of 4164 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 4164 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 4164 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 4804 wrote to memory of 5096 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

Processes

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\0533575076d7185ba435f3d260e8b3e4.ps1

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

#cmd

C:\Windows\SysWOW64\WerFault.exe

C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 5096 -ip 5096

C:\Windows\SysWOW64\WerFault.exe

C:\Windows\SysWOW64\WerFault.exe -u -p 5096 -s 1120

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 6.181.190.20.in-addr.arpa udp
US 8.8.8.8:53 180.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 9.228.82.20.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 26.165.165.52.in-addr.arpa udp
US 8.8.8.8:53 11.2.37.23.in-addr.arpa udp
US 8.8.8.8:53 55.36.223.20.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 217.135.221.88.in-addr.arpa udp
US 8.8.8.8:53 194.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 27.73.42.20.in-addr.arpa udp

Files

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_znkmvekz.t1o.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/4804-9-0x000001FB77650000-0x000001FB77672000-memory.dmp

memory/4804-10-0x000001FB776C0000-0x000001FB776D2000-memory.dmp

memory/4804-11-0x00007FFECDBF0000-0x00007FFECE6B1000-memory.dmp

memory/4804-12-0x000001FB77710000-0x000001FB77720000-memory.dmp

memory/4804-13-0x000001FB77710000-0x000001FB77720000-memory.dmp

memory/5096-14-0x0000000000400000-0x0000000000438000-memory.dmp

memory/4804-17-0x00007FFECDBF0000-0x00007FFECE6B1000-memory.dmp

memory/5096-18-0x0000000000400000-0x0000000000438000-memory.dmp

memory/5096-19-0x0000000000400000-0x0000000000438000-memory.dmp

memory/5096-20-0x0000000000400000-0x0000000000438000-memory.dmp

memory/5096-23-0x0000000000400000-0x0000000000438000-memory.dmp