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
    07-12-2024 03:17

General

  • Target

    bf6659af111dfa8daca20d98f53711b282cce11434fff5d245a0c277e6c806ef.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 use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 7 IoCs
  • Suspicious use of UnmapMainImage 1 IoCs
  • Suspicious use of WriteProcessMemory 57 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\bf6659af111dfa8daca20d98f53711b282cce11434fff5d245a0c277e6c806ef.vbs"
    1⤵
    • Blocklisted process makes network request
    PID:2624
  • 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:2192
    • 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:3852
      • 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:2156
        • 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:1180
          • 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:2388
          • 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:2796
          • 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:2224
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\SSUNJNDPI.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of UnmapMainImage
        PID:216
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 216 -s 12
          4⤵
          • Program crash
          PID:3520
      • 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 use of WriteProcessMemory
        PID:4856
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /Create /TN "mrec" /XML "C:\Users\Admin\AppData\Local\Temp\tmp15C5.tmp" /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:1840
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 216 -ip 216
    1⤵
      PID:1568

    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\TCD14A6.tmp\gb.xsl

      Filesize

      262KB

      MD5

      51d32ee5bc7ab811041f799652d26e04

      SHA1

      412193006aa3ef19e0a57e16acf86b830993024a

      SHA256

      6230814bf5b2d554397580613e20681752240ab87fd354ececf188c1eabe0e97

      SHA512

      5fc5d889b0c8e5ef464b76f0c4c9e61bda59b2d1205ac9417cc74d6e9f989fb73d78b4eb3044a1a1e1f2c00ce1ca1bd6d4d07eeadc4108c7b124867711c31810

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

      Filesize

      35KB

      MD5

      df7222411a3a5c18e0d8fb28befb5ed7

      SHA1

      3680092dcd1918b0f0d11c9d2500db6c161956cb

      SHA256

      e629bbd6a5b5c253f38cea38d156d81e0f0e391b7e7618ff275e31fa0d3a34c6

      SHA512

      794d3f34297d17cc9d078a70489705b45f4b885619879ef2cba4d04498ba198680013a742b9d691b88307f24eb61a065fce4827cf138f2ef7504724cd4dc4cc7

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

      Filesize

      1KB

      MD5

      435b83fb22c37b7961ff5d34702c2249

      SHA1

      95add8f33f4385f027bd958b81d6a2b886ac507c

      SHA256

      0c3591b634db538192cae67361a4c4613b2edb8d503756450ac90eae248a25b4

      SHA512

      e023638479b3378bb445e4d6851bb7ad1f1b7196682a4d9732750a7a0ea2266696ddb337a99ea5ffa86836d53b36b9bc339b20adb1a376781ef0980948ef4b35

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

      Filesize

      166KB

      MD5

      ec4da29176791ee291b13fb0f8583aa6

      SHA1

      607e0c86284661c3594f2502eaf36d1b216f28ac

      SHA256

      68704e83ea2cfbb078a5fa0ffe4092eb257aa63688c1f05e9ea997f4486a6203

      SHA512

      4127c35a6746ccf610fb4d49c893ff1edc71af266098f04d8e4b540b215f6202bc9f7748e868f6e88a586b9f0dd55649b41e642ca114a7a89b594ba445b7a47b

    • memory/2156-76-0x0000000000400000-0x0000000000412000-memory.dmp

      Filesize

      72KB

    • memory/2192-1-0x00007FFCEA1D0000-0x00007FFCEA1E0000-memory.dmp

      Filesize

      64KB

    • memory/2192-11-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-2-0x00007FFD2A1ED000-0x00007FFD2A1EE000-memory.dmp

      Filesize

      4KB

    • memory/2192-10-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-9-0x00007FFCEA1D0000-0x00007FFCEA1E0000-memory.dmp

      Filesize

      64KB

    • memory/2192-14-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-13-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-15-0x00007FFCE8110000-0x00007FFCE8120000-memory.dmp

      Filesize

      64KB

    • memory/2192-16-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-17-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-18-0x00007FFCE8110000-0x00007FFCE8120000-memory.dmp

      Filesize

      64KB

    • memory/2192-12-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-6-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-5-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-3-0x00007FFCEA1D0000-0x00007FFCEA1E0000-memory.dmp

      Filesize

      64KB

    • memory/2192-7-0x00007FFCEA1D0000-0x00007FFCEA1E0000-memory.dmp

      Filesize

      64KB

    • memory/2192-105-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-104-0x00000156248D0000-0x0000015624A0C000-memory.dmp

      Filesize

      1.2MB

    • memory/2192-103-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-102-0x00007FFD2A1ED000-0x00007FFD2A1EE000-memory.dmp

      Filesize

      4KB

    • memory/2192-101-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-8-0x00007FFD2A150000-0x00007FFD2A345000-memory.dmp

      Filesize

      2.0MB

    • memory/2192-4-0x00007FFCEA1D0000-0x00007FFCEA1E0000-memory.dmp

      Filesize

      64KB

    • memory/3852-75-0x0000000004A50000-0x0000000004A56000-memory.dmp

      Filesize

      24KB

    • memory/3852-74-0x0000000004B10000-0x0000000004BA2000-memory.dmp

      Filesize

      584KB

    • memory/3852-73-0x00000000094E0000-0x0000000009A84000-memory.dmp

      Filesize

      5.6MB

    • memory/3852-72-0x0000000008E90000-0x0000000008F2C000-memory.dmp

      Filesize

      624KB

    • memory/3852-71-0x0000000004350000-0x0000000004382000-memory.dmp

      Filesize

      200KB

    • memory/3852-70-0x00000000048E0000-0x00000000048E6000-memory.dmp

      Filesize

      24KB

    • memory/3852-69-0x0000000000110000-0x0000000000140000-memory.dmp

      Filesize

      192KB