Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-11-2024 10:26

General

  • Target

    SAM X222C#.exe

  • Size

    3.3MB

  • MD5

    631c497597c5c12304d528b24ccc31df

  • SHA1

    9da881cd6797e4e8646de4df60eea73ae45c3133

  • SHA256

    239584ed2b45abd89565c75968a8ca7d0624b2df851463f80a485e1efc04d9e4

  • SHA512

    35a6bb13ff373aebb2a6fc080ea0f69e968fbef3441ce7f69604e5f97645ae9e6feb95bad1058fa58f8e652dcc2befd6464d9f62d707d8115c743c57a912957e

  • SSDEEP

    98304:gm7q1K/hJp6SjJjtPzGhHzKIfx+ceJpTYZ:x7q1Irp9jltPahVfx+ceJtYZ

Malware Config

Extracted

Family

xworm

Version

5.0

C2

testarosa.duckdns.org:7119

Mutex

Ljk1RFh4f0rbZvhE

Attributes
  • Install_directory

    %Temp%

  • install_file

    Realtec.exe

aes.plain

Extracted

Family

xworm

C2

147.185.221.23:25808

Attributes
  • Install_directory

    %LocalAppData%

  • install_file

    Realtek HD Audio Universal Service.exe

Signatures

  • Detect Xworm Payload 4 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 8 IoCs

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

  • Checks computer location settings 2 TTPs 4 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 6 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Enumerates physical storage devices 1 TTPs

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

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

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

  • NSIS installer 2 IoCs
  • 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.

  • Suspicious behavior: EnumeratesProcesses 18 IoCs
  • Suspicious use of AdjustPrivilegeToken 13 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 27 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe
    "C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4420
    • C:\Users\Admin\AppData\Roaming\SAM X222C#.exe
      "C:\Users\Admin\AppData\Roaming\SAM X222C#.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3472
      • C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe
        "C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe"
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1672
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe'
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4700
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Realtek HD Audio Universal Service.exe'
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1044
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Realtek HD Audio Universal Service.exe'
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4180
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Realtek HD Audio Universal Service.exe'
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1056
      • C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe
        "C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe"
        3⤵
        • Executes dropped EXE
        • Enumerates system info in registry
        • Suspicious use of AdjustPrivilegeToken
        PID:2152
    • C:\Users\Admin\AppData\Roaming\Realtek.exe
      "C:\Users\Admin\AppData\Roaming\Realtek.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2028
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\Realtek.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1048
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Realtek.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1176
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\Realtec.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3608
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Realtec.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:5092
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Realtec" /tr "C:\Users\Admin\AppData\Local\Temp\Realtec.exe"
        3⤵
        • Scheduled Task/Job: Scheduled Task
        PID:3636
  • C:\Users\Admin\AppData\Local\Temp\Realtec.exe
    C:\Users\Admin\AppData\Local\Temp\Realtec.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:2896
  • C:\Users\Admin\AppData\Local\Temp\Realtec.exe
    C:\Users\Admin\AppData\Local\Temp\Realtec.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3452

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\SAM X222C#.exe.log

    Filesize

    654B

    MD5

    2ff39f6c7249774be85fd60a8f9a245e

    SHA1

    684ff36b31aedc1e587c8496c02722c6698c1c4e

    SHA256

    e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

    SHA512

    1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

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

    Filesize

    2KB

    MD5

    d85ba6ff808d9e5444a4b369f5bc2730

    SHA1

    31aa9d96590fff6981b315e0b391b575e4c0804a

    SHA256

    84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

    SHA512

    8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

    Filesize

    944B

    MD5

    54522d22658e4f8f87ecb947b71b8feb

    SHA1

    6a6144bdf9c445099f52211b6122a2ecf72b77e9

    SHA256

    af18fc4864bc2982879aed928c960b6266f372c928f8c9632c5a4eecd64e448a

    SHA512

    55f2c5a455be20dcb4cb93a29e5389e0422237bdd7ac40112fec6f16a36e5e19df50d25d39a6d5acb2d41a96514c7ecd8631ce8e67c4ff04997282f49d947aba

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

    Filesize

    944B

    MD5

    110b59ca4d00786d0bde151d21865049

    SHA1

    557e730d93fdf944a0cad874022df1895fb5b2e2

    SHA256

    77f69011c214ea5a01fd2035d781914c4893aee66d784deadc22179eadfdf77f

    SHA512

    cb55ac6eca50f4427718bace861679c88b2fdfea94d30209e8d61ca73a6ce9f8c4b5334922d2660a829b0636d20cbdf3bae1497c920e604efe6c636019feb10e

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

    Filesize

    944B

    MD5

    bbc2b43d5e574fe7d193c6fc0eb7302c

    SHA1

    f22683b94ad593fd0513fef37df1fb5d0880cc22

    SHA256

    0efa2469ae0b02af024fd0e2828ccab085eaefef3736b3bda0ba631e3a45aa48

    SHA512

    287449b168297a5176b26777f2f5ca3284d967b93274db8b3029d130049073560a10e418607f670d08194193aa91fc9cd174717e7c1d051b09c23857fe3ab9d2

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

    Filesize

    944B

    MD5

    22310ad6749d8cc38284aa616efcd100

    SHA1

    440ef4a0a53bfa7c83fe84326a1dff4326dcb515

    SHA256

    55b1d8021c4eb4c3c0d75e3ed7a4eb30cd0123e3d69f32eeb596fe4ffec05abf

    SHA512

    2ef08e2ee15bb86695fe0c10533014ffed76ececc6e579d299d3365fafb7627f53e32e600bb6d872b9f58aca94f8cb7e1e94cdfd14777527f7f0aa019d9c6def

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

    Filesize

    944B

    MD5

    6d3e9c29fe44e90aae6ed30ccf799ca8

    SHA1

    c7974ef72264bbdf13a2793ccf1aed11bc565dce

    SHA256

    2360634e63e8f0b5748e2c56ebb8f4aa78e71008ea7b5c9ca1c49be03b49557d

    SHA512

    60c38c4367352537545d859f64b9c5cbada94240478d1d039fd27b5ecba4dc1c90051557c16d802269703b873546ead416279c0a80c6fd5e49ad361cef22596a

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

    Filesize

    944B

    MD5

    ef72c47dbfaae0b9b0d09f22ad4afe20

    SHA1

    5357f66ba69b89440b99d4273b74221670129338

    SHA256

    692ec20c7039170fb199510f0436181fd155e6b4516d4d1c9e1675adf99aaa7f

    SHA512

    7514b6bc8dc39fa618223300be27cd535dc35b18c66b4a089e2302e72b3e0cac06d88a989fa1296feb386b3cbe2084019df6430c7f895071b76e04ce559a30b4

  • C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe

    Filesize

    79KB

    MD5

    066d90fb1d671648842a3b46622eb7ce

    SHA1

    6d0949bd4f494c9f8d80b705a79cfa9038c80e51

    SHA256

    8d2cf02c3005fb4bb7058df1f3a2e24b98077a8c5a8aab5c8184f4aa9ed951d8

    SHA512

    b22c8910e501de5fcb8e6197552396285366c9b43c4c6df4387b95a28830bf13a6ce634aadbf79e71b83879d19132c63414da5c5059edaa33be6bb71cee32745

  • C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe

    Filesize

    3.7MB

    MD5

    ad991add5af431b8d808cf9035a5cd46

    SHA1

    d7ac382fa834529219db1b76e4d928ff24f1245b

    SHA256

    a1dfdf32f2a82156bb3007896a9672fa05aba8ce4c668c3f4dce449a1a811a19

    SHA512

    b876e8380ab97dade3f875a7e0cee2dc598ba55143921bdd1f1d9d2d5be55c25d62b12aaef424227e1450f6ddf67a4e04e3f4fc846182abb842c4c821997cbbd

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uzst5ojk.u4k.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\Realtek.exe

    Filesize

    39KB

    MD5

    27794afa5d5c5cf091e80de14bdb218a

    SHA1

    ec07edcd5c705ae72a7d477f0ffeb867ea7eb5db

    SHA256

    502c51b32b810e755b91cfd9a11230f6e0bf3baceda87f527f4ccc555aac9946

    SHA512

    667de7a923e39214db1f40175984832098b4a75869c145888536e21ec1fa6a36777e5c0b6d89669611377b19b04b8c818fdb05a2db1c94ab135bc796167a2491

  • C:\Users\Admin\AppData\Roaming\SAM X222C#.exe

    Filesize

    3.3MB

    MD5

    918951c4657e9cdf39ac1b275bfd2e95

    SHA1

    7323e59b2c4d60b6639bfcba11f4c02bcb94e347

    SHA256

    b50d25c24ba5f1f096e883b3a9970d2c080afb37dfe2f55a25a1c7ed3ca36505

    SHA512

    438c7554d8b72db63d598085b2c6fae9bfa1895154ebbaf96a5d2a498459b9a3516611613515f04dbc198edb8b2d7ce2ce63975064f28af63f3efa1e50e3e0d7

  • memory/1048-51-0x0000022AF0050000-0x0000022AF0072000-memory.dmp

    Filesize

    136KB

  • memory/1672-41-0x0000000000060000-0x000000000007A000-memory.dmp

    Filesize

    104KB

  • memory/2028-22-0x0000000000280000-0x0000000000290000-memory.dmp

    Filesize

    64KB

  • memory/2028-148-0x00007FFEC95C0000-0x00007FFECA081000-memory.dmp

    Filesize

    10.8MB

  • memory/2028-146-0x00007FFEC95C0000-0x00007FFECA081000-memory.dmp

    Filesize

    10.8MB

  • memory/2028-23-0x00007FFEC95C0000-0x00007FFECA081000-memory.dmp

    Filesize

    10.8MB

  • memory/2152-153-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-152-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-63-0x000001967D5D0000-0x000001967D60C000-memory.dmp

    Filesize

    240KB

  • memory/2152-168-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-50-0x000001967D680000-0x000001967D894000-memory.dmp

    Filesize

    2.1MB

  • memory/2152-49-0x0000019663350000-0x0000019663362000-memory.dmp

    Filesize

    72KB

  • memory/2152-149-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-150-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-151-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-167-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-48-0x0000019662BB0000-0x0000019662F74000-memory.dmp

    Filesize

    3.8MB

  • memory/2152-155-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-159-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-160-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-161-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-162-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-163-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/2152-164-0x000001967D990000-0x000001967DB39000-memory.dmp

    Filesize

    1.7MB

  • memory/4420-0-0x00007FFEC95C3000-0x00007FFEC95C5000-memory.dmp

    Filesize

    8KB

  • memory/4420-1-0x0000000000B60000-0x0000000000EBC000-memory.dmp

    Filesize

    3.4MB