Malware Analysis Report

2024-09-22 21:50

Sample ID 240127-s5a46sghek
Target 7aa1d4597d658099f9c75c5ee7208f78
SHA256 382792848f3f8a490036822be4f4fdc0731a60163999a77243eb9332d53f7b00
Tags
oski infostealer
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

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

382792848f3f8a490036822be4f4fdc0731a60163999a77243eb9332d53f7b00

Threat Level: Known bad

The file 7aa1d4597d658099f9c75c5ee7208f78 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 Matrix

N/A

Analysis: static1

Detonation Overview

Reported

2024-01-27 15:42

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-01-27 15:42

Reported

2024-01-27 15:44

Platform

win7-20231215-en

Max time kernel

122s

Max time network

125s

Command Line

powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\7aa1d4597d658099f9c75c5ee7208f78.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 1228 wrote to memory of 2344 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2344 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2344 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2344 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2324 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2324 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2324 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2324 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2284 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2284 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2284 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2284 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2764 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2764 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2764 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2764 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2288 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2288 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2288 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 1228 wrote to memory of 2288 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\7aa1d4597d658099f9c75c5ee7208f78.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/1228-4-0x000000001B2F0000-0x000000001B5D2000-memory.dmp

memory/1228-5-0x0000000002410000-0x0000000002418000-memory.dmp

memory/1228-6-0x000007FEF5620000-0x000007FEF5FBD000-memory.dmp

memory/1228-7-0x0000000002850000-0x00000000028D0000-memory.dmp

memory/1228-8-0x000007FEF5620000-0x000007FEF5FBD000-memory.dmp

memory/1228-9-0x0000000002850000-0x00000000028D0000-memory.dmp

memory/1228-10-0x0000000002850000-0x00000000028D0000-memory.dmp

memory/1228-11-0x0000000002640000-0x0000000002652000-memory.dmp

memory/1228-12-0x000007FEF5620000-0x000007FEF5FBD000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-01-27 15:42

Reported

2024-01-27 15:44

Platform

win10v2004-20231215-en

Max time kernel

96s

Max time network

120s

Command Line

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

Signatures

Oski

infostealer oski

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 3960 set thread context of 3208 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 3960 wrote to memory of 4916 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 4916 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 4916 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 N/A C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
PID 3960 wrote to memory of 3208 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\7aa1d4597d658099f9c75c5ee7208f78.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 412 -p 3208 -ip 3208

C:\Windows\SysWOW64\WerFault.exe

C:\Windows\SysWOW64\WerFault.exe -u -p 3208 -s 1108

Network

Country Destination Domain Proto
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 200.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
NL 52.142.223.178:80 tcp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 18.134.221.88.in-addr.arpa udp
US 8.8.8.8:53 180.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 29.243.111.52.in-addr.arpa udp
US 8.8.8.8:53 209.178.17.96.in-addr.arpa udp

Files

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1sd2f4n5.xyy.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/3960-5-0x00000237EB4F0000-0x00000237EB512000-memory.dmp

memory/3960-10-0x00007FFC8D900000-0x00007FFC8E3C1000-memory.dmp

memory/3960-11-0x00000237EAE50000-0x00000237EAE60000-memory.dmp

memory/3960-12-0x00000237EAE50000-0x00000237EAE60000-memory.dmp

memory/3960-13-0x00000237EAE50000-0x00000237EAE60000-memory.dmp

memory/3960-14-0x00000237EB9D0000-0x00000237EB9E2000-memory.dmp

memory/3208-15-0x0000000000400000-0x0000000000438000-memory.dmp

memory/3960-18-0x00007FFC8D900000-0x00007FFC8E3C1000-memory.dmp

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

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

memory/3208-21-0x0000000000400000-0x0000000000438000-memory.dmp

memory/3208-24-0x0000000000400000-0x0000000000438000-memory.dmp