Analysis

  • max time kernel
    117s
  • max time network
    120s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/04/2024, 21:37

Errors

Reason
Machine shutdown: "{\"level\":\"info\",\"time\":\"2024-04-22T21:39:38Z\",\"message\":\"Dirty snapshot: /var/lib/sandbox/hatchvm/win10v2004-20240412-en/instance_20-dirty.qcow2\"}"

General

  • Target

    https://github.com/moom825/xeno-rat/releases/download/1.8.7/Release.zip

Score
10/10

Malware Config

Extracted

Family

xenorat

C2

localhost

Mutex

testing 123123

Attributes
  • delay

    1000

  • install_path

    nothingset

  • port

    1234

  • startup_name

    nothingset

Signatures

  • XenorRat

    XenorRat is a remote access trojan written in C#.

  • Drops file in System32 directory 2 IoCs
  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies data under HKEY_USERS 15 IoCs
  • Modifies registry class 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 24 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument https://github.com/moom825/xeno-rat/releases/download/1.8.7/Release.zip
    1⤵
    • Enumerates system info in registry
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    • Suspicious use of WriteProcessMemory
    PID:532
    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" --annotation=IsOfficialBuild=1 --annotation=channel= --annotation=chromium-version=92.0.4515.131 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=92.0.902.67 --initial-client-data=0xfc,0x100,0x104,0xd8,0x108,0x7ff9cee846f8,0x7ff9cee84708,0x7ff9cee84718
      2⤵
        PID:4948
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2168 /prefetch:2
        2⤵
          PID:2356
        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2600 /prefetch:3
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:2856
        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2668 /prefetch:8
          2⤵
            PID:4132
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3172 /prefetch:1
            2⤵
              PID:3884
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3276 /prefetch:1
              2⤵
                PID:5044
              • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5152 /prefetch:8
                2⤵
                  PID:2420
                • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5152 /prefetch:8
                  2⤵
                  • Suspicious behavior: EnumeratesProcesses
                  PID:3280
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=8 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5148 /prefetch:1
                  2⤵
                    PID:3304
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=9 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5268 /prefetch:1
                    2⤵
                      PID:4836
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5792 /prefetch:1
                      2⤵
                        PID:3344
                      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=11 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5780 /prefetch:1
                        2⤵
                          PID:3360
                        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=edge_collections.mojom.CollectionsDataManager --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=collections --mojo-platform-channel-handle=5636 /prefetch:8
                          2⤵
                            PID:3548
                          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=14 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5200 /prefetch:1
                            2⤵
                              PID:2492
                            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=quarantine.mojom.Quarantine --field-trial-handle=2156,17558078704298296575,16770684102169823872,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=4732 /prefetch:8
                              2⤵
                              • Suspicious behavior: EnumeratesProcesses
                              PID:5936
                          • C:\Windows\System32\CompPkgSrv.exe
                            C:\Windows\System32\CompPkgSrv.exe -Embedding
                            1⤵
                              PID:3388
                            • C:\Windows\System32\CompPkgSrv.exe
                              C:\Windows\System32\CompPkgSrv.exe -Embedding
                              1⤵
                                PID:2836
                              • C:\Windows\System32\rundll32.exe
                                C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
                                1⤵
                                  PID:6084
                                • C:\Users\Admin\AppData\Local\Temp\Temp1_Release.zip\xeno rat server.exe
                                  "C:\Users\Admin\AppData\Local\Temp\Temp1_Release.zip\xeno rat server.exe"
                                  1⤵
                                  • Drops file in System32 directory
                                  • Suspicious behavior: GetForegroundWindowSpam
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5064
                                • C:\Users\Admin\AppData\Local\Temp\Temp1_Release.zip\stub\xeno rat client.exe
                                  "C:\Users\Admin\AppData\Local\Temp\Temp1_Release.zip\stub\xeno rat client.exe"
                                  1⤵
                                    PID:5920
                                  • C:\Windows\system32\OpenWith.exe
                                    C:\Windows\system32\OpenWith.exe -Embedding
                                    1⤵
                                    • Modifies registry class
                                    • Suspicious use of SetWindowsHookEx
                                    PID:5940
                                  • C:\Windows\system32\LogonUI.exe
                                    "LogonUI.exe" /flags:0x4 /state0:0xa38f4855 /state1:0x41c64e6d
                                    1⤵
                                    • Modifies data under HKEY_USERS
                                    • Suspicious use of SetWindowsHookEx
                                    PID:2816

                                  Network

                                  MITRE ATT&CK Enterprise v15

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat

                                    Filesize

                                    152B

                                    MD5

                                    e36b219dcae7d32ec82cec3245512f80

                                    SHA1

                                    6b2bd46e4f6628d66f7ec4b5c399b8c9115a9466

                                    SHA256

                                    16bc6f47bbfbd4e54c3163dafe784486b72d0b78e6ea3593122edb338448a27b

                                    SHA512

                                    fc539c461d87141a180cf71bb6a636c75517e5e7226e76b71fd64e834dcacc88fcaaa92a9a00999bc0afc4fb93b7304b068000f14653c05ff03dd7baef3f225c

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat

                                    Filesize

                                    152B

                                    MD5

                                    559ff144c30d6a7102ec298fb7c261c4

                                    SHA1

                                    badecb08f9a6c849ce5b30c348156b45ac9120b9

                                    SHA256

                                    5444032cb994b90287c0262f2fba16f38e339073fd89aa3ab2592dfebc3e6f10

                                    SHA512

                                    3a45661fc29e312aa643a12447bffdab83128fe5124077a870090081af6aaa4cf0bd021889ab1df5cd40f44adb055b1394b31313515c2929f714824c89fd0f04

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Network Persistent State

                                    Filesize

                                    265B

                                    MD5

                                    f5cd008cf465804d0e6f39a8d81f9a2d

                                    SHA1

                                    6b2907356472ed4a719e5675cc08969f30adc855

                                    SHA256

                                    fcea95cc39dc6c2a925f5aed739dbedaa405ee4ce127f535fcf1c751b2b8fb5d

                                    SHA512

                                    dc97034546a4c94bdaa6f644b5cfd1e477209de9a03a5b02a360c254a406c1d647d6f90860f385e27387b35631c41f0886cb543ede9116436941b9af6cd3285d

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences

                                    Filesize

                                    6KB

                                    MD5

                                    8d72da121f72847bfd9b36abb8003c36

                                    SHA1

                                    83b226f696c56d64e37fb35f610040c02b0b80db

                                    SHA256

                                    835dc23d02969500129f030c1dbd7ffc07b8182432d5df362e40c7e308c42a03

                                    SHA512

                                    27853b8415280642c65eadcddec29ab17068d6f90dd1c4775cae04ff73e11724f1f05c35cf27857a14800b5ff9e6bb18da0fb55592b64040cb1757bfeffb0b1e

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences

                                    Filesize

                                    6KB

                                    MD5

                                    b802093decace5c77804a711ecd10725

                                    SHA1

                                    ea182b5c1a7c563241285f7e9db3be1754a57959

                                    SHA256

                                    edc290cae0578243fca8e668b8914df89517b5ff7be0c00d83c1661bb9ccd061

                                    SHA512

                                    a4f77b52d9c9ca532c74a7a84d5dae6db24cad52e4c505ff49f8b62344d1e11d9f47c7957447e7258ac59862b14f0835bdf2c1fb7a1b5e3dc8e278026d993735

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\data_reduction_proxy_leveldb\CURRENT

                                    Filesize

                                    16B

                                    MD5

                                    6752a1d65b201c13b62ea44016eb221f

                                    SHA1

                                    58ecf154d01a62233ed7fb494ace3c3d4ffce08b

                                    SHA256

                                    0861415cada612ea5834d56e2cf1055d3e63979b69eb71d32ae9ae394d8306cd

                                    SHA512

                                    9cfd838d3fb570b44fc3461623ab2296123404c6c8f576b0de0aabd9a6020840d4c9125eb679ed384170dbcaac2fa30dc7fa9ee5b77d6df7c344a0aa030e0389

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Local State

                                    Filesize

                                    11KB

                                    MD5

                                    a3ebdca28ab54b4145359ec410314f17

                                    SHA1

                                    d8745498255770b61871cbc8e5500db4163fcc68

                                    SHA256

                                    6a5e4ba08066c9efc1c42bacb46cc33d1d4ff96de0b6ac6a684f0b81e05c93f1

                                    SHA512

                                    4040b81a0f1469c556a86ac2a964da1de461887ada089ad8a61f26734171f06d864909b19aa3f9444de51eb47411648c3f96e507a454c8a40f725c949c3a6b41

                                  • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Local State

                                    Filesize

                                    11KB

                                    MD5

                                    f782685f8345e7d9dead3f88cee59513

                                    SHA1

                                    79c5d631ca73c01505ac96fffdd7808537a40ab1

                                    SHA256

                                    14b52358608978aeb7ff9fd8f29644175f4697605f19f1dfe321b287f85e04c9

                                    SHA512

                                    9535f83f81ce5a71f6c73a153415ba7d76a8a683545221e277da15894ca0bed1c0dd112fbd61ae505118439f12e4751d9c608f15c52da46825385ee8a2c5e559

                                  • C:\Users\Admin\Downloads\Unconfirmed 219035.crdownload

                                    Filesize

                                    6.4MB

                                    MD5

                                    89661a9ff6de529497fec56a112bf75e

                                    SHA1

                                    2dd31a19489f4d7c562b647f69117e31b894b5c3

                                    SHA256

                                    e7b275d70655db9cb43fa606bbe2e4f22478ca4962bbf9f299d66eda567d63cd

                                    SHA512

                                    33c765bf85fbec0e58924ece948b80a7d73b7577557eaac8865e481c61ad6b71f8b5b846026103239b3bd21f438ff0d7c1430a51a4a149f16a215faad6dab68f

                                  • memory/5064-90-0x0000000005190000-0x000000000519A000-memory.dmp

                                    Filesize

                                    40KB

                                  • memory/5064-112-0x0000000008FC0000-0x0000000009314000-memory.dmp

                                    Filesize

                                    3.3MB

                                  • memory/5064-88-0x00000000051E0000-0x0000000005272000-memory.dmp

                                    Filesize

                                    584KB

                                  • memory/5064-89-0x0000000005130000-0x0000000005140000-memory.dmp

                                    Filesize

                                    64KB

                                  • memory/5064-85-0x0000000000550000-0x0000000000752000-memory.dmp

                                    Filesize

                                    2.0MB

                                  • memory/5064-91-0x0000000007B60000-0x0000000007B74000-memory.dmp

                                    Filesize

                                    80KB

                                  • memory/5064-92-0x0000000007C20000-0x0000000007C3A000-memory.dmp

                                    Filesize

                                    104KB

                                  • memory/5064-93-0x0000000007C50000-0x0000000007C62000-memory.dmp

                                    Filesize

                                    72KB

                                  • memory/5064-94-0x0000000005130000-0x0000000005140000-memory.dmp

                                    Filesize

                                    64KB

                                  • memory/5064-110-0x0000000008EA0000-0x0000000008F52000-memory.dmp

                                    Filesize

                                    712KB

                                  • memory/5064-111-0x0000000008F90000-0x0000000008FB2000-memory.dmp

                                    Filesize

                                    136KB

                                  • memory/5064-87-0x00000000056F0000-0x0000000005C94000-memory.dmp

                                    Filesize

                                    5.6MB

                                  • memory/5064-86-0x0000000074420000-0x0000000074BD0000-memory.dmp

                                    Filesize

                                    7.7MB

                                  • memory/5064-137-0x0000000074420000-0x0000000074BD0000-memory.dmp

                                    Filesize

                                    7.7MB

                                  • memory/5064-139-0x0000000005130000-0x0000000005140000-memory.dmp

                                    Filesize

                                    64KB

                                  • memory/5064-140-0x0000000005130000-0x0000000005140000-memory.dmp

                                    Filesize

                                    64KB

                                  • memory/5064-141-0x0000000074420000-0x0000000074BD0000-memory.dmp

                                    Filesize

                                    7.7MB

                                  • memory/5920-142-0x00000000007F0000-0x0000000000802000-memory.dmp

                                    Filesize

                                    72KB

                                  • memory/5920-143-0x0000000074420000-0x0000000074BD0000-memory.dmp

                                    Filesize

                                    7.7MB

                                  • memory/5920-144-0x0000000005100000-0x0000000005110000-memory.dmp

                                    Filesize

                                    64KB

                                  • memory/5920-145-0x0000000074420000-0x0000000074BD0000-memory.dmp

                                    Filesize

                                    7.7MB