Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-11-2024 23:16

General

  • Target

    SAMX222C.exe

  • Size

    3.3MB

  • MD5

    918951c4657e9cdf39ac1b275bfd2e95

  • SHA1

    7323e59b2c4d60b6639bfcba11f4c02bcb94e347

  • SHA256

    b50d25c24ba5f1f096e883b3a9970d2c080afb37dfe2f55a25a1c7ed3ca36505

  • SHA512

    438c7554d8b72db63d598085b2c6fae9bfa1895154ebbaf96a5d2a498459b9a3516611613515f04dbc198edb8b2d7ce2ce63975064f28af63f3efa1e50e3e0d7

  • SSDEEP

    98304:n5rc//PaUFOFWiRbNqz1xC4fkkbcZvqaVRn0:oi1Bc144M5vqaPn0

Malware Config

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 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

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

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

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 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.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\SAMX222C.exe
    "C:\Users\Admin\AppData\Local\Temp\SAMX222C.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe
      "C:\Users\Admin\AppData\Local\Temp\Realtek HD Audio Universal Service.exe"
      2⤵
      • 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:2308
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:640
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3308
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3080
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4496
    • C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe
      "C:\Users\Admin\AppData\Local\Temp\SAM X222C#.exe"
      2⤵
      • Executes dropped EXE
      • Enumerates system info in registry
      • Suspicious use of AdjustPrivilegeToken
      PID:3676

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    2KB

    MD5

    0e3b2fb1305afa355fb0585c068cdbbd

    SHA1

    b4e9457bfdc38337f64e3b2606aa34861aa6b4ed

    SHA256

    43a303fed06d5928800280cb0bf716790d9f886c87f26faf9fbdfa59b55e9c0d

    SHA512

    6a754dbb33c549ace5f71e169511422284f688c9df1c1e5fac8a633feac24312ba39fa4c682bdc9fe1d1162e2a3bd6190013652e567909417579db4b8791554d

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

    Filesize

    944B

    MD5

    e0499ccf2f5e6b93d5e6e1e1d06afe73

    SHA1

    a0169a2e3fccbe56b91a30c2df5abdc0850a0d58

    SHA256

    fdb232420c104c1e639dd928a694b0c00914355df693c9eaa80d6f4d409a1891

    SHA512

    fe7968e8097047c1167325a3bd98485362d4b421a82801b558229a90888012b427f0e64ead460625715fb2b9fea78b2435e5af3d083c192430f7844f198e922b

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

    Filesize

    944B

    MD5

    3f038ac2e2ceadad0f78317ea7de6881

    SHA1

    f2ee66d1ab22d5594426a26e9d2628ce29b037a7

    SHA256

    475591875182108710538a2ea21a89e0ffa1df43f776689288e0fa96da46efb7

    SHA512

    f751f1f06b79550af211a9bf39d59712bb60f4e2c79a24d850970b1d40e871c2e53ce84ed4f5d974dad53cdbfb95d38a8eff9f871f22ae2d3e772deb731715f4

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

    Filesize

    944B

    MD5

    6e09573715495338a569f0316d59af57

    SHA1

    1a9fd3073801c241b276cdb8b3d7035afbcd0c8d

    SHA256

    bdad2d4c1b3475754cb3b9ef41a9eda243f46e30117539f81399c977a459b570

    SHA512

    61add4e0cfef5f138e95f0d941c39c0bce038a47fbc262d5622a0fdf46621231653adfcca3b81bef3a662a37c288e1e9644bed44591551aea5399a370afaeced

  • 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_rjoj2q1y.gdg.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/640-32-0x0000025707560000-0x0000025707582000-memory.dmp

    Filesize

    136KB

  • memory/2308-30-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB

  • memory/2308-15-0x0000000000EF0000-0x0000000000F0A000-memory.dmp

    Filesize

    104KB

  • memory/2308-14-0x00007FFD417E3000-0x00007FFD417E5000-memory.dmp

    Filesize

    8KB

  • memory/2308-78-0x00007FFD417E3000-0x00007FFD417E5000-memory.dmp

    Filesize

    8KB

  • memory/2308-81-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB

  • memory/3676-29-0x00000220C6480000-0x00000220C64BC000-memory.dmp

    Filesize

    240KB

  • memory/3676-27-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB

  • memory/3676-28-0x00000220C3670000-0x00000220C3884000-memory.dmp

    Filesize

    2.1MB

  • memory/3676-26-0x00000220AAC40000-0x00000220AAC52000-memory.dmp

    Filesize

    72KB

  • memory/3676-25-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB

  • memory/3676-24-0x00000220A8BD0000-0x00000220A8F94000-memory.dmp

    Filesize

    3.8MB

  • memory/3676-79-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB

  • memory/3676-80-0x00007FFD417E0000-0x00007FFD422A1000-memory.dmp

    Filesize

    10.8MB