Analysis

  • max time kernel
    142s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-10-2024 01:16

General

  • Target

    509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe

  • Size

    569KB

  • MD5

    dc2bce43a2b3398e375fdb600650a576

  • SHA1

    a6c6ccf9affa2095eb481950f036c00cd3c4e437

  • SHA256

    509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30

  • SHA512

    e8591426a0d5c71cbff9ba465742a2d989cffc03b986d46961e5098d72b62df917130251d7860a2b1c622d966f94a2272eeeaf037af5f535842bf5177eb2cba0

  • SSDEEP

    12288:8NUxwjxPMBCqh/pe8hkbikWQYXLEtYt+tyKsI3TBB9kR:8NUxh//Q8hkz1wL1+tlBBg

Malware Config

Extracted

Family

xenorat

C2

66.63.168.142

Mutex

Microsoft_nd8912d

Attributes
  • delay

    5

  • install_path

    temp

  • port

    4782

  • startup_name

    nothingset

Signatures

  • Detect XenoRat Payload 1 IoCs
  • XenorRat

    XenorRat is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 3 IoCs

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

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

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

  • System Location Discovery: System Language Discovery 1 TTPs 6 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe
    "C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3452
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2124
    • C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe
      "C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
      2⤵
        PID:3760
      • C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe
        "C:\Users\Admin\AppData\Local\Temp\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
        2⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1536
        • C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe
          "C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
          3⤵
          • Checks computer location settings
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4740
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
            4⤵
            • Command and Scripting Interpreter: PowerShell
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:4080
          • C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe
            "C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe"
            4⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:2708

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      1KB

      MD5

      36049bae97bba745c793444373453cb0

      SHA1

      eb6e9a822944e8e207abba1a5e53f0183a1684f1

      SHA256

      839fa1f9725719938ffa24533587b168bae2768f23ac09dccb3ad4ab8ae6abcd

      SHA512

      a6584b7b435afeffb6becfbed82517087030eb23534fa50deecd02330bf36d633ba22e979e36b9c27e35885f9cc1cc9481dadc53cc265be61391e11a7c2c7cdb

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

      Filesize

      2KB

      MD5

      968cb9309758126772781b83adb8a28f

      SHA1

      8da30e71accf186b2ba11da1797cf67f8f78b47c

      SHA256

      92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

      SHA512

      4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      18KB

      MD5

      418c32dde55f33e5b8e9888f08922868

      SHA1

      74bccec658121355a85bad5a5d82cf396caba866

      SHA256

      8e94228a53a81ee63c8344a93c3529a7ca818bd852f1a8bcfeeaf5cf632dbe6a

      SHA512

      54345c0a1051395a61a5fd74404912c00fcf00b95ca416af383e84e86e967dd1c48b4a17a3279b8f11aedc9661660bd528cb7ab8507e51ab323a9ee9eeb5ec84

    • C:\Users\Admin\AppData\Local\Temp\XenoManager\509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30.exe

      Filesize

      569KB

      MD5

      dc2bce43a2b3398e375fdb600650a576

      SHA1

      a6c6ccf9affa2095eb481950f036c00cd3c4e437

      SHA256

      509070cd30eb4cb05c29fe8cb222166c1c7db0f6084ea5b91e37bac79c14ac30

      SHA512

      e8591426a0d5c71cbff9ba465742a2d989cffc03b986d46961e5098d72b62df917130251d7860a2b1c622d966f94a2272eeeaf037af5f535842bf5177eb2cba0

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4vygvh20.sne.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1536-10-0x0000000000400000-0x0000000000412000-memory.dmp

      Filesize

      72KB

    • memory/1536-32-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/1536-14-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/2124-43-0x00000000063A0000-0x00000000063BE000-memory.dmp

      Filesize

      120KB

    • memory/2124-45-0x0000000006980000-0x00000000069B2000-memory.dmp

      Filesize

      200KB

    • memory/2124-69-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/2124-66-0x00000000079F0000-0x00000000079F8000-memory.dmp

      Filesize

      32KB

    • memory/2124-65-0x0000000007A10000-0x0000000007A2A000-memory.dmp

      Filesize

      104KB

    • memory/2124-15-0x0000000002A80000-0x0000000002AB6000-memory.dmp

      Filesize

      216KB

    • memory/2124-16-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/2124-17-0x0000000005640000-0x0000000005C68000-memory.dmp

      Filesize

      6.2MB

    • memory/2124-64-0x0000000007910000-0x0000000007924000-memory.dmp

      Filesize

      80KB

    • memory/2124-28-0x0000000005580000-0x00000000055E6000-memory.dmp

      Filesize

      408KB

    • memory/2124-29-0x0000000005D70000-0x0000000005DD6000-memory.dmp

      Filesize

      408KB

    • memory/2124-63-0x0000000007900000-0x000000000790E000-memory.dmp

      Filesize

      56KB

    • memory/2124-62-0x00000000078D0000-0x00000000078E1000-memory.dmp

      Filesize

      68KB

    • memory/2124-38-0x0000000005DE0000-0x0000000006134000-memory.dmp

      Filesize

      3.3MB

    • memory/2124-27-0x00000000053E0000-0x0000000005402000-memory.dmp

      Filesize

      136KB

    • memory/2124-61-0x0000000007950000-0x00000000079E6000-memory.dmp

      Filesize

      600KB

    • memory/2124-60-0x0000000007740000-0x000000000774A000-memory.dmp

      Filesize

      40KB

    • memory/2124-44-0x0000000006430000-0x000000000647C000-memory.dmp

      Filesize

      304KB

    • memory/2124-46-0x0000000071E80000-0x0000000071ECC000-memory.dmp

      Filesize

      304KB

    • memory/2124-59-0x00000000076D0000-0x00000000076EA000-memory.dmp

      Filesize

      104KB

    • memory/2124-56-0x0000000006920000-0x000000000693E000-memory.dmp

      Filesize

      120KB

    • memory/2124-57-0x00000000075D0000-0x0000000007673000-memory.dmp

      Filesize

      652KB

    • memory/2124-58-0x0000000007D10000-0x000000000838A000-memory.dmp

      Filesize

      6.5MB

    • memory/3452-8-0x0000000002FB0000-0x0000000003004000-memory.dmp

      Filesize

      336KB

    • memory/3452-5-0x0000000007000000-0x000000000701E000-memory.dmp

      Filesize

      120KB

    • memory/3452-9-0x000000000C850000-0x000000000C8EC000-memory.dmp

      Filesize

      624KB

    • memory/3452-4-0x00000000058A0000-0x0000000005932000-memory.dmp

      Filesize

      584KB

    • memory/3452-2-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3452-6-0x000000007451E000-0x000000007451F000-memory.dmp

      Filesize

      4KB

    • memory/3452-7-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3452-1-0x0000000000C40000-0x0000000000CD0000-memory.dmp

      Filesize

      576KB

    • memory/3452-3-0x0000000005D70000-0x0000000006314000-memory.dmp

      Filesize

      5.6MB

    • memory/3452-0-0x000000007451E000-0x000000007451F000-memory.dmp

      Filesize

      4KB

    • memory/3452-13-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/4080-73-0x0000000005CE0000-0x0000000006034000-memory.dmp

      Filesize

      3.3MB

    • memory/4080-84-0x00000000063B0000-0x00000000063FC000-memory.dmp

      Filesize

      304KB

    • memory/4080-85-0x00000000703E0000-0x000000007042C000-memory.dmp

      Filesize

      304KB

    • memory/4080-95-0x0000000007620000-0x00000000076C3000-memory.dmp

      Filesize

      652KB

    • memory/4080-96-0x00000000078B0000-0x00000000078C1000-memory.dmp

      Filesize

      68KB

    • memory/4080-97-0x00000000078F0000-0x0000000007904000-memory.dmp

      Filesize

      80KB