Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-12-2024 02:27

General

  • Target

    7ab4cff638814f6af02b404eb9be4546122f56f93b071c44728d79f71e074277.vbs

  • Size

    10KB

  • MD5

    49c83d8e10443183f49df571416c685b

  • SHA1

    01df897fe262f4aaf0b3d48ccade34587dd83e72

  • SHA256

    7ab4cff638814f6af02b404eb9be4546122f56f93b071c44728d79f71e074277

  • SHA512

    92812130a270b977e5d0c655731b808a4c2d01a67d720921de1072d553199a2c200aa34853bda5937219e90c813f0a3350e59f0072a37c38c8de09a1adba7d49

  • SSDEEP

    192:PQrn65rH/Jjw5jvacpYTvS96XVELDrRiHgk:PQGrHdmvib1yLR/k

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 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 7 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 64 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\7ab4cff638814f6af02b404eb9be4546122f56f93b071c44728d79f71e074277.vbs"
    1⤵
    • Blocklisted process makes network request
    PID:1156
  • 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:2400
    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
      "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3624
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1860
        • C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
          "C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4996
          • C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            5⤵
            • Executes dropped EXE
            PID:2812
            • C:\Windows\SysWOW64\WerFault.exe
              C:\Windows\SysWOW64\WerFault.exe -u -p 2812 -s 152
              6⤵
              • Program crash
              PID:3352
          • C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:1368
          • C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\DNKFU.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:2120
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        3⤵
        • Executes dropped EXE
        PID:4492
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4492 -s 80
          4⤵
          • Program crash
          PID:4792
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\DNKFU.exe
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3144
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /Create /TN "mrec" /XML "C:\Users\Admin\AppData\Local\Temp\tmp146D.tmp" /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:620
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4492 -ip 4492
    1⤵
      PID:1104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2812 -ip 2812
      1⤵
        PID:2240

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        706B

        MD5

        d95c58e609838928f0f49837cab7dfd2

        SHA1

        55e7139a1e3899195b92ed8771d1ca2c7d53c916

        SHA256

        0407c814aef0d62aec7fd39b7c2f614746f0d8ff41f8ef957736f520f14b0339

        SHA512

        405310b29a833604c6627063bfdcf055a197e01f633ef21da238f1a6415a02e21315d689b4a6669db23e82152bed6f3492afb60963e6b2a0e9bb2ac09a480b5d

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

        Filesize

        193KB

        MD5

        ce24313f8b01015afc7d6f5e668bd703

        SHA1

        d86c8ee00b3f4db999a94557e7ae62ee2cd87c0e

        SHA256

        b7d50f4fb2342f63f86df5da89e7be2d3490adaccb37a5a6df2c1927c46aec60

        SHA512

        b5e1f7a31e22afdf20b6b206e3815613714758f091481e15f73ca371f2bccb6833fd4b50c4f53869a315948c0a2e94ad7cb1753a764b0d0d234b5f511bf7b710

      • C:\Users\Admin\AppData\Local\Temp\TCD126D.tmp\iso690.xsl

        Filesize

        263KB

        MD5

        ff0e07eff1333cdf9fc2523d323dd654

        SHA1

        77a1ae0dd8dbc3fee65dd6266f31e2a564d088a4

        SHA256

        3f925e0cc1542f09de1f99060899eafb0042bb9682507c907173c392115a44b5

        SHA512

        b4615f995fab87661c2dbe46625aa982215d7bde27cafae221dca76087fe76da4b4a381943436fcac1577cb3d260d0050b32b7b93e3eb07912494429f126bb3d

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

        Filesize

        1KB

        MD5

        5c8fe4f5f1e1e45ed639b7c4c8c8ab0a

        SHA1

        f46c6596614c34e0dc0dd04b31b0d9863ed80d2e

        SHA256

        2bdd53d79e6397484b617c2c307d3b88e0e93e29546ef0dd7389614c1e7d3c20

        SHA512

        c1b2c9a3f452e3f7b09f9d3c76a37f86de76884e1a388f51ef41cc4a9a78a74504a03ea000fbe6204861e251a7bb2a0ddf4d6e0ac51ef184dd9d8c61e60ef9fe

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

        Filesize

        174KB

        MD5

        d0cbf54138d03f82115b5708be94c5c0

        SHA1

        aeaafe59c0342c0105d764ee69f6292206f661c6

        SHA256

        c243a7dcd332df7a231b33e346a1db91ad01c7f0a17f10ed8dec3efa34743949

        SHA512

        fedc40b326466772e5da972798faa3504837ee67cd26f73db2f6a7effae9d1dc511007279ddd3b78b885c8d691c897ffd2a29f82dd37c6a33623eee85ebb1108

      • memory/1860-91-0x0000000000420000-0x0000000000430000-memory.dmp

        Filesize

        64KB

      • memory/1860-72-0x0000000000400000-0x0000000000412000-memory.dmp

        Filesize

        72KB

      • memory/2400-7-0x00007FFF81A70000-0x00007FFF81A80000-memory.dmp

        Filesize

        64KB

      • memory/2400-5-0x00007FFF81A70000-0x00007FFF81A80000-memory.dmp

        Filesize

        64KB

      • memory/2400-11-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-12-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-13-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-14-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-15-0x00007FFF7F400000-0x00007FFF7F410000-memory.dmp

        Filesize

        64KB

      • memory/2400-10-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-16-0x00007FFF7F400000-0x00007FFF7F410000-memory.dmp

        Filesize

        64KB

      • memory/2400-9-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-8-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-4-0x00007FFFC1A8D000-0x00007FFFC1A8E000-memory.dmp

        Filesize

        4KB

      • memory/2400-3-0x00007FFF81A70000-0x00007FFF81A80000-memory.dmp

        Filesize

        64KB

      • memory/2400-98-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/2400-2-0x00007FFF81A70000-0x00007FFF81A80000-memory.dmp

        Filesize

        64KB

      • memory/2400-1-0x00007FFF81A70000-0x00007FFF81A80000-memory.dmp

        Filesize

        64KB

      • memory/2400-6-0x00007FFFC19F0000-0x00007FFFC1BE5000-memory.dmp

        Filesize

        2.0MB

      • memory/3144-224-0x0000000005700000-0x0000000005766000-memory.dmp

        Filesize

        408KB

      • memory/3624-71-0x00000000024E0000-0x00000000024E6000-memory.dmp

        Filesize

        24KB

      • memory/3624-70-0x000000000D6C0000-0x000000000D752000-memory.dmp

        Filesize

        584KB

      • memory/3624-69-0x000000000DBD0000-0x000000000E174000-memory.dmp

        Filesize

        5.6MB

      • memory/3624-68-0x000000000D580000-0x000000000D61C000-memory.dmp

        Filesize

        624KB

      • memory/3624-67-0x000000000D4B0000-0x000000000D4E4000-memory.dmp

        Filesize

        208KB

      • memory/3624-66-0x0000000004B60000-0x0000000004B66000-memory.dmp

        Filesize

        24KB

      • memory/3624-65-0x0000000000210000-0x0000000000240000-memory.dmp

        Filesize

        192KB