Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-12-2024 16:37

General

  • Target

    Pagopendiente.vbs

  • Size

    10KB

  • MD5

    0995c2673a7fe289c96c2bab2ac7dfb4

  • SHA1

    5e78f526dc678b118650746f4f1c2f8d782a0242

  • SHA256

    bf6659af111dfa8daca20d98f53711b282cce11434fff5d245a0c277e6c806ef

  • SHA512

    53e29b747ad1c100f389a38c720280160f01421938277bd84b844fd94fec2d897ac1172b6b8c7335797f00f72cce90a7e7e9557962a9192947e9c7078eadd789

  • SSDEEP

    192:dBwtLFm2jh5HdWo6uUcnzRs1JARdGgG7A:dBAr6X8kJeGA

Malware Config

Extracted

Family

xenorat

C2

dns.stipamana.com

Mutex

Xeno_rat_nd8912d

Attributes
  • delay

    12000

  • install_path

    appdata

  • port

    4567

  • startup_name

    mrec

Signatures

  • Detect XenoRat Payload 1 IoCs
  • XenorRat

    XenorRat is a remote access trojan written in C#.

  • Xenorat family
  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Office macro that triggers on suspicious action 1 IoCs

    Office document macro which triggers in special circumstances - often malicious.

  • Suspicious Office macro 1 IoCs

    Office document equipped with macros.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 8 IoCs
  • Suspicious use of SetThreadContext 6 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 8 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Checks processor information in registry 2 TTPs 3 IoCs

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

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Script User-Agent 1 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: AddClipboardFormatListener 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 30 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 7 IoCs
  • Suspicious use of WriteProcessMemory 57 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\Pagopendiente.vbs"
    1⤵
    • Blocklisted process makes network request
    PID:4980
  • C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE" /Automation -Embedding
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
      "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1304
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4204
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /Create /TN "mrec" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDB0E.tmp" /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:4740
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4420
        • C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
          "C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:3320
          • C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:1272
          • C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:5076
          • C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\SSUNJNDPI.exe
            5⤵
            • Executes dropped EXE
            PID:4812
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 80
              6⤵
              • Program crash
              PID:2676
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        PID:2528
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4812 -ip 4812
    1⤵
      PID:1932

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\SSUNJNDPI.exe.log

      Filesize

      706B

      MD5

      d95c58e609838928f0f49837cab7dfd2

      SHA1

      55e7139a1e3899195b92ed8771d1ca2c7d53c916

      SHA256

      0407c814aef0d62aec7fd39b7c2f614746f0d8ff41f8ef957736f520f14b0339

      SHA512

      405310b29a833604c6627063bfdcf055a197e01f633ef21da238f1a6415a02e21315d689b4a6669db23e82152bed6f3492afb60963e6b2a0e9bb2ac09a480b5d

    • C:\Users\Admin\AppData\Local\Temp\TCDD7F8.tmp\sist02.xsl

      Filesize

      245KB

      MD5

      f883b260a8d67082ea895c14bf56dd56

      SHA1

      7954565c1f243d46ad3b1e2f1baf3281451fc14b

      SHA256

      ef4835db41a485b56c2ef0ff7094bc2350460573a686182bc45fd6613480e353

      SHA512

      d95924a499f32d9b4d9a7d298502181f9e9048c21dbe0496fa3c3279b263d6f7d594b859111a99b1a53bd248ee69b867d7b1768c42e1e40934e0b990f0ce051e

    • C:\Users\Admin\AppData\Local\Temp\sJ.doc

      Filesize

      35KB

      MD5

      df7222411a3a5c18e0d8fb28befb5ed7

      SHA1

      3680092dcd1918b0f0d11c9d2500db6c161956cb

      SHA256

      e629bbd6a5b5c253f38cea38d156d81e0f0e391b7e7618ff275e31fa0d3a34c6

      SHA512

      794d3f34297d17cc9d078a70489705b45f4b885619879ef2cba4d04498ba198680013a742b9d691b88307f24eb61a065fce4827cf138f2ef7504724cd4dc4cc7

    • C:\Users\Admin\AppData\Local\Temp\tmpDB0E.tmp

      Filesize

      1KB

      MD5

      435b83fb22c37b7961ff5d34702c2249

      SHA1

      95add8f33f4385f027bd958b81d6a2b886ac507c

      SHA256

      0c3591b634db538192cae67361a4c4613b2edb8d503756450ac90eae248a25b4

      SHA512

      e023638479b3378bb445e4d6851bb7ad1f1b7196682a4d9732750a7a0ea2266696ddb337a99ea5ffa86836d53b36b9bc339b20adb1a376781ef0980948ef4b35

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe

      Filesize

      166KB

      MD5

      3560e82e9a06fae6f73f9cdb99da41ee

      SHA1

      501bfeab5e8526a75c1e0872157d708d246e33c9

      SHA256

      1f8da113e46b2c9ee4288a95e6f44ae030dfcc6ac555535d93ea64a51a0d456f

      SHA512

      951df547908ca94b8133f57725d5574604633ee9e4db12a81ecb1f08fa6fab3c10ab3d5c3b2a58651c0f748094781c1b9f6f16c618c34e4481c983d48757b746

    • memory/1304-76-0x0000000009FE0000-0x0000000009FE6000-memory.dmp

      Filesize

      24KB

    • memory/1304-75-0x000000000A1A0000-0x000000000A232000-memory.dmp

      Filesize

      584KB

    • memory/1304-74-0x000000000A6B0000-0x000000000AC54000-memory.dmp

      Filesize

      5.6MB

    • memory/1304-73-0x000000000A060000-0x000000000A0FC000-memory.dmp

      Filesize

      624KB

    • memory/1304-72-0x0000000004BA0000-0x0000000004BD2000-memory.dmp

      Filesize

      200KB

    • memory/1304-71-0x0000000004B90000-0x0000000004B96000-memory.dmp

      Filesize

      24KB

    • memory/1304-70-0x0000000000130000-0x0000000000160000-memory.dmp

      Filesize

      192KB

    • memory/4016-5-0x00007FFCC4B70000-0x00007FFCC4B80000-memory.dmp

      Filesize

      64KB

    • memory/4016-13-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-19-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-18-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-17-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-8-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-7-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-4-0x00007FFCC4B70000-0x00007FFCC4B80000-memory.dmp

      Filesize

      64KB

    • memory/4016-1-0x00007FFCC4B70000-0x00007FFCC4B80000-memory.dmp

      Filesize

      64KB

    • memory/4016-20-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-16-0x00007FFCC23B0000-0x00007FFCC23C0000-memory.dmp

      Filesize

      64KB

    • memory/4016-11-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-15-0x00007FFCC23B0000-0x00007FFCC23C0000-memory.dmp

      Filesize

      64KB

    • memory/4016-21-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-14-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-12-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-10-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-9-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-2-0x00007FFD04B8D000-0x00007FFD04B8E000-memory.dmp

      Filesize

      4KB

    • memory/4016-6-0x00007FFCC4B70000-0x00007FFCC4B80000-memory.dmp

      Filesize

      64KB

    • memory/4016-102-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-103-0x00007FFD04B8D000-0x00007FFD04B8E000-memory.dmp

      Filesize

      4KB

    • memory/4016-104-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-106-0x00007FFD04AF0000-0x00007FFD04CE5000-memory.dmp

      Filesize

      2.0MB

    • memory/4016-105-0x0000028747F40000-0x0000028747F6C000-memory.dmp

      Filesize

      176KB

    • memory/4016-3-0x00007FFCC4B70000-0x00007FFCC4B80000-memory.dmp

      Filesize

      64KB

    • memory/4204-77-0x0000000000400000-0x0000000000412000-memory.dmp

      Filesize

      72KB

    • memory/4204-594-0x0000000006260000-0x00000000062C6000-memory.dmp

      Filesize

      408KB