Analysis

  • max time kernel
    94s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250217-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250217-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/03/2025, 13:45

General

  • Target

    GXK5E_fsdjgfsdhnfgsd.bat

  • Size

    65KB

  • MD5

    e6ee7aca370346191e07ae542b95cb8c

  • SHA1

    0a2376a42bd1639cab1909e22ad423a4cefab293

  • SHA256

    bb6ebd1e6609ffd3ca442aa965cebdab07071715abef65b46e145ad1f700a2d6

  • SHA512

    7583d3b036ed7bd23f480772fb6f2f70acca8f01be0b6a2a45eb1d7887d38060c2e49435a1e04db8a3a6f06d5200b794bd604559576b6310618607837614cf4a

  • SSDEEP

    1536:ypDhvQgdHQgXro4uFtnqK00ZVrKt1ag2pN7Gop:yXE4uFkKLkanNSop

Malware Config

Extracted

Family

xworm

Version

5.0

C2

45.144.212.242:7000

Mutex

GHrcTVoc3c8G04bh

Attributes
  • Install_directory

    %AppData%

  • install_file

    SubDir.exe

aes.plain

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 1 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Deobfuscate/Decode Files or Information 1 TTPs 1 IoCs

    Payload decoded via CertUtil.

  • Enumerates physical storage devices 1 TTPs

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

  • Delays execution with timeout.exe 1 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 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:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\GXK5E_fsdjgfsdhnfgsd.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:664
    • C:\Windows\system32\certutil.exe
      certutil -decode "C:\Users\Admin\AppData\Local\Temp\embedded.b64" "C:\Users\Admin\AppData\Local\Temp\embedded.exe"
      2⤵
      • Deobfuscate/Decode Files or Information
      PID:1440
    • C:\Users\Admin\AppData\Local\Temp\embedded.exe
      "C:\Users\Admin\AppData\Local\Temp\embedded.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:1960
      • 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\embedded.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4244
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'embedded.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2632
      • 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\SubDir.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1356
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'SubDir.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4720
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "SubDir" /tr "C:\Users\Admin\AppData\Roaming\SubDir.exe"
        3⤵
        • Scheduled Task/Job: Scheduled Task
        PID:2444
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /delete /f /tn "SubDir"
        3⤵
          PID:1444
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp7172.tmp.bat""
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:2828
          • C:\Windows\system32\timeout.exe
            timeout 3
            4⤵
            • Delays execution with timeout.exe
            PID:2368

    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

      d85ba6ff808d9e5444a4b369f5bc2730

      SHA1

      31aa9d96590fff6981b315e0b391b575e4c0804a

      SHA256

      84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

      SHA512

      8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

      Filesize

      944B

      MD5

      6d42b6da621e8df5674e26b799c8e2aa

      SHA1

      ab3ce1327ea1eeedb987ec823d5e0cb146bafa48

      SHA256

      5ab6a1726f425c6d0158f55eb8d81754ddedd51e651aa0a899a29b7a58619c4c

      SHA512

      53faffbda8a835bc1143e894c118c15901a5fd09cfc2224dd2f754c06dc794897315049a579b9a8382d4564f071576045aaaf824019b7139d939152dca38ce29

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

      Filesize

      944B

      MD5

      47605a4dda32c9dff09a9ca441417339

      SHA1

      4f68c895c35b0dc36257fc8251e70b968c560b62

      SHA256

      e6254c2bc9846a76a4567ab91b6eae76e937307ff9301b65d577ffe6e15fe40a

      SHA512

      b6823b6e794a2fe3e4c4ecfb3f0d61a54821de7feb4f9e3e7fd463e7fbb5e6848f59865b487dafebeac431e4f4db81ef56836d94cac67da39852c566ed34a885

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

      Filesize

      944B

      MD5

      7160acb949a9bd2445fc778b248be9f0

      SHA1

      093ebdc410c05b2e723f742fc70f21380fa52566

      SHA256

      c0999b067446bc532bfdd5ceb5754fa1539dba3ac1eab33b4c6562635c5901f7

      SHA512

      37ce82848df6bf3b862af11ad05a13161b6172a4464f20caa7a81de395c376c38096c2c9d653a3f18dfd63e4abc13c96d60963ba98527a10e127306019b64636

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vm4lxil0.wv2.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\embedded.b64

      Filesize

      59KB

      MD5

      476b3a0d11e655cba521f65a6fb7ccf5

      SHA1

      ac7f49b99763623d027c1304a49e1e45919d3f4b

      SHA256

      38d8568e0998d1d0c7e2db397e789e47b2a23ff5aad08997bfa07c467b19653e

      SHA512

      5d0b9ae14ffaa6adcc5be48abc42cdf02b7f46a90233f4b5993ff986bec7998b51a6ff0132b780e12a907c031a03661a59ee44649d32e79f17b3d8697e64f849

    • C:\Users\Admin\AppData\Local\Temp\embedded.exe

      Filesize

      43KB

      MD5

      f730dc4b0cebd71d388820cfa959cc25

      SHA1

      4a9513caec0e605309770c20e983d400e0246d51

      SHA256

      24472004e0e2f6bd1e9205c4d16138bb5bf8e482e91400dcb137db4099e582ea

      SHA512

      b5bbdc24b8c4a984b069cceaee04beb6441891ba9723ad0af5e2fd93abaa320dda385f67844d6827c186bd9594fe04b93cfa2a9aa1a4ed6ff61969875a273deb

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

      Filesize

      160B

      MD5

      f959b2bbd320d24c783d9cfcf9a105df

      SHA1

      f4ac4e4b9711a6a53df4d3ce6e9a2e066220ab34

      SHA256

      f8ad3f481491f7a1ef9720539a692b64f344bb28106f0caf9e9b4c144b61277c

      SHA512

      c04bc7bd36a4f309e0d21e3a0d3edf85e51ac9124bfe06e207e192f5b8358efe1d32ebc737bea740cf8dfd86397e050fdf7b93fe9fd0b5e995799c46d1aec055

    • memory/1960-7-0x00000000005C0000-0x00000000005D2000-memory.dmp

      Filesize

      72KB

    • memory/1960-6-0x00007FFD5D343000-0x00007FFD5D345000-memory.dmp

      Filesize

      8KB

    • memory/1960-58-0x00007FFD5D340000-0x00007FFD5DE01000-memory.dmp

      Filesize

      10.8MB

    • memory/1960-59-0x00007FFD5D340000-0x00007FFD5DE01000-memory.dmp

      Filesize

      10.8MB

    • memory/1960-67-0x00007FFD5D340000-0x00007FFD5DE01000-memory.dmp

      Filesize

      10.8MB

    • memory/4244-8-0x00000211FF550000-0x00000211FF572000-memory.dmp

      Filesize

      136KB