Analysis

  • max time kernel
    39s
  • max time network
    47s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-05-2024 13:56

General

  • Target

    Holy loader.exe

  • Size

    70KB

  • MD5

    3e9581c45838e539d694aaad436df5db

  • SHA1

    d9765ff96a9f5766372f375af84d92e1f4b733c8

  • SHA256

    6bda53ca02900dd70668d4cc7f2e55999f9b185084948ea139850158cae712e4

  • SHA512

    3a8ca14a72d29d89b6a65a03e78f81f340a0b98b9e0b9f7ec27987a5270599251428702cffbad29d89af45339e35c63eadfd294d2bcd6439d9622317ed41a97a

  • SSDEEP

    1536:iy9NO9p0/gp2YXJmcfGgSJpgcbcc5CNQAe56AdwLI7OUU4kA:iMgL0/M7/f9MGcbx+eZ+kOP4kA

Malware Config

Extracted

Family

xworm

Attributes
  • Install_directory

    %AppData%

  • install_file

    1.exe

  • pastebin_url

    https://pastebin.com/raw/0dDiYVux

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • 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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 4 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 10 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\Holy loader.exe
    "C:\Users\Admin\AppData\Local\Temp\Holy loader.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1532
    • 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\Holy loader.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4560
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Holy loader.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4260
    • 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\1.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5100
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '1.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1524
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "1" /tr "C:\Users\Admin\AppData\Roaming\1.exe"
      2⤵
      • Creates scheduled task(s)
      PID:4396

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

1
T1112

Discovery

Query Registry

2
T1012

System Information Discovery

2
T1082

Command and Control

Web Service

1
T1102

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

    d28a889fd956d5cb3accfbaf1143eb6f

    SHA1

    157ba54b365341f8ff06707d996b3635da8446f7

    SHA256

    21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45

    SHA512

    0b6d88deb9be85722e6a78d5886d49f2caf407a59e128d2b4ed74c1356f9928c40048a62731959f2460e9ff9d9feee311043d2a37abe3bb92c2b76a44281478c

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

    944B

    MD5

    31270cce8515658d95e3777ab0cb00da

    SHA1

    d2a76d542748b74df26921ef89e3268fc41a2506

    SHA256

    6bf5cd1c7dbd550c07986535c6aff02258e17c13cd4353e02e0ae178f6a4fe03

    SHA512

    6b5356e108af856dafbb33301d6bc5f8e657be30c495de439901ef21b31d68386d433a84c61100abcdf40037e299c84c21ba1e21619550c9f7766d341431d13a

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

    944B

    MD5

    0b76b616fb826c97e65bef9827b2c11c

    SHA1

    e602d8bd371e86e288ad84d4838e291c471d59b3

    SHA256

    254501f64defe7d6e226972045f7e5eb5184ce89f07d96ea7d134b15988196dd

    SHA512

    9002da9a15dbc7b72904bb4bd0473a02370105e90593bf9d39367b8514ec7c6ec94b8d1111fbb9aa8b562a4d0ba67f43208c54382a32c4251e4d4ff7758b6736

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3kr05w5b.zms.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1532-1-0x00000000006C0000-0x00000000006D8000-memory.dmp
    Filesize

    96KB

  • memory/1532-2-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/1532-60-0x0000000000EA0000-0x0000000000EAC000-memory.dmp
    Filesize

    48KB

  • memory/1532-0-0x00007FFD3E633000-0x00007FFD3E635000-memory.dmp
    Filesize

    8KB

  • memory/1532-59-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4560-6-0x000001AC7CAC0000-0x000001AC7CAE2000-memory.dmp
    Filesize

    136KB

  • memory/4560-19-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4560-16-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4560-15-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4560-10-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/4560-3-0x00007FFD3E630000-0x00007FFD3F0F1000-memory.dmp
    Filesize

    10.8MB

  • memory/5100-43-0x000001C322F50000-0x000001C32316C000-memory.dmp
    Filesize

    2.1MB