Analysis

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

    arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-07-2023 12:26

General

  • Target

    hello.exe

  • Size

    133KB

  • MD5

    27d43df9fb6228ab9ec3482a528f1da6

  • SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

  • SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

  • SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

  • SSDEEP

    1536:u7K22GZXoCVg0vfiCTzbec/31ENYw649ApO4uMET1qxj751cNz0UCdkV/L7t:u7Kh+4CO0vfiC/beGCNYi9ApOZUH5aJ

Malware Config

Extracted

Family

xworm

C2

needforrat.hopto.org:7000

Attributes
  • install_file

    USB.exe

Signatures

  • Xworm

    Xworm is a remote access trojan written in C#.

  • 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 3 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).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 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\hello.exe
    "C:\Users\Admin\AppData\Local\Temp\hello.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2136
    • 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\hello.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4828
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'hello.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1020
    • 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\hello.exe'
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4268
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "hello" /tr "C:\Users\Admin\AppData\Roaming\hello.exe"
      2⤵
      • Creates scheduled task(s)
      PID:2344
  • C:\Users\Admin\AppData\Roaming\hello.exe
    C:\Users\Admin\AppData\Roaming\hello.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:4904
  • C:\Users\Admin\AppData\Roaming\hello.exe
    C:\Users\Admin\AppData\Roaming\hello.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:500
  • C:\Users\Admin\AppData\Roaming\hello.exe
    C:\Users\Admin\AppData\Roaming\hello.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:5104

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\hello.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

    cadef9abd087803c630df65264a6c81c

    SHA1

    babbf3636c347c8727c35f3eef2ee643dbcc4bd2

    SHA256

    cce65b73cdfe9304bcd5207913e8b60fb69faa20cd3b684f2b0343b755b99438

    SHA512

    7278aa87124abb382d9024a645e881e7b7cf1b84e8894943b36e018dbf0399e6858392f77980b599fa5488e2e21bf757a0702fe6419417edac93b68e0c2ec085

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

    Filesize

    944B

    MD5

    51cf8df21f531e31f7740b4ec487a48a

    SHA1

    40c6a73b22d71625a62df109aefc92a5f9b9d13e

    SHA256

    263d9b98a897d1d66da4832af640c4bf5ab0ae91125ba12243453dfe714f3d0d

    SHA512

    57a85461f6ea96b26a8b53d3a9cca18543e4ddbe996e8f412fc4cf7cf6e9ffe558c96da7b322a42f18bef62020e65aee119bed6102f75e2f605df09b02ec6368

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_d1lfsx51.dwt.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    133KB

    MD5

    27d43df9fb6228ab9ec3482a528f1da6

    SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

    SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

    SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

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

    Filesize

    133KB

    MD5

    27d43df9fb6228ab9ec3482a528f1da6

    SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

    SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

    SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

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

    Filesize

    133KB

    MD5

    27d43df9fb6228ab9ec3482a528f1da6

    SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

    SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

    SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

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

    Filesize

    133KB

    MD5

    27d43df9fb6228ab9ec3482a528f1da6

    SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

    SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

    SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

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

    Filesize

    133KB

    MD5

    27d43df9fb6228ab9ec3482a528f1da6

    SHA1

    23b938e1caf2507ae797805f27ee66357ee0c53a

    SHA256

    d9048e7e5185fca63822a536674effaf47f434fd8bcd74018e5da09b5a7c1469

    SHA512

    30fb0f42d85b92102ac83dde0cadb0cdf1f19f2bafbb6174ce880aaf9c89a6dac201a3a461253543cac833fb12c5b10277bcf0c492eb2a0070e033b61ec632cc

  • memory/1020-149-0x00000204F40C0000-0x00000204F40D0000-memory.dmp

    Filesize

    64KB

  • memory/1020-150-0x00000204F40C0000-0x00000204F40D0000-memory.dmp

    Filesize

    64KB

  • memory/2136-133-0x0000000000A30000-0x0000000000A58000-memory.dmp

    Filesize

    160KB

  • memory/2136-134-0x00000000010E0000-0x00000000010F0000-memory.dmp

    Filesize

    64KB

  • memory/2136-184-0x00000000010E0000-0x00000000010F0000-memory.dmp

    Filesize

    64KB

  • memory/4268-172-0x000001E159520000-0x000001E159530000-memory.dmp

    Filesize

    64KB

  • memory/4268-174-0x000001E159520000-0x000001E159530000-memory.dmp

    Filesize

    64KB

  • memory/4268-173-0x000001E159520000-0x000001E159530000-memory.dmp

    Filesize

    64KB

  • memory/4828-144-0x000001950A3B0000-0x000001950A3D2000-memory.dmp

    Filesize

    136KB

  • memory/4828-147-0x0000019522C30000-0x0000019522D9A000-memory.dmp

    Filesize

    1.4MB