Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/11/2024, 10:28

General

  • Target
    2024-11-14_bebfd4dfaa73236ac92a8acbb322e3ff_cobalt-strike_hijackloader_ryuk.exe
  • Size 4.7MB
  • Sample241114-mhpfdsxkfs
  • SHA256 b1c2ef39d20732dd1cacaa88637fd20c9ac3f1eb58463e6d6c722a4e8c2642f0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • phorphiex

C2
  • http://185.215.113.66/

  • http://91.202.233.141/

Wallets
  • 0xCa90599132C4D88907Bd8E046540284aa468a035

  • TRuGGXNDM1cavQ1AqMQHG8yfxP4QWVSMN6

  • qph44jx8r9k5xeq5cuf958krv3ewrnp5vc6hhdjd3r

  • XryzFMFVpDUvU7famUGf214EXD3xNUSmQf

  • rsXCXBf9SagxV8JfC12d8Bybk84oPdMNN9

  • AULzfBuUAPfCGAXoG5Vq14aP9s6fx3AH4Z

  • LdgchXq1sKbAaAJ1EXAPSRBzLb8jnTZstT

  • MP8GEm8QpYgQYaMo8oM5NQhRBgDGiLZW5Q

  • 4AtjkCVKbtEC3UEN77SQHuH9i1XkzNiRi5VCbA2XGsJh46nJSXfGQn4GjLuupCqmC57Lo7LvKmFUyRfhtJSvKvuw3h9ReKK

  • 15TssKwtjMtwy4vDLcLsQUZUD2B9f7eDjw85sBNVC5LRPPnC

  • 1BzmrjmKPKSR2hH5BeJySfiVA676E8DYaK

  • ltc1qt0n3f0t7vz9k0mvcswk477shrxwjhf9sj5ykrp

  • 3PMiLynrGVZ8oEqvoqC4hXD67B1WoALR4pc

  • 3ESHude8zUHksQg1h6hHmzY79BS36L91Yn

  • DLUzwvyxN1RrwjByUPPzVMdfxNRPGVRMMA

  • t1J6GCPCiHW1eRdjJgDDu6b1vSVmL5U7Twh

  • stars125f3mw4xd9htpsq4zj5w5ezm5gags37yxxh6mj

  • bnb1msyt0djx4ecspfxg5en0ye465kg3kmv9utzml2

  • bc1ppypcmu3684n648gyj62gjp2rw0xy7w3vwfamatlg29ajp4z52desafa0sr

  • bc1qc9edl4hzl9jyt8twdad3zjeh2df2znq96tdezd

Attributes
  • mutex

    753f85d83d

  • user_agent

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Extracted

Family
  • phorphiex

C2
  • http://185.215.113.66

  • http://185.215.113.84

Attributes
  • mutex

    Klipux

Signatures

  • Phorphiex family
  • Phorphiex payload 1 IoCs
  • Phorphiex, Phorpiex

    Phorphiex or Phorpiex Malware family which infects systems to distribute other malicious payloads such as ransomware, stealers and cryptominers.

  • Suspicious use of NtCreateUserProcessOtherParentProcess 5 IoCs
  • Xmrig family
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 10 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 8 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Windows directory 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 15 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of WriteProcessMemory 29 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\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:3388
      • C:\Users\Admin\AppData\Local\Temp\2024-11-14_bebfd4dfaa73236ac92a8acbb322e3ff_cobalt-strike_hijackloader_ryuk.exe
        "C:\Users\Admin\AppData\Local\Temp\2024-11-14_bebfd4dfaa73236ac92a8acbb322e3ff_cobalt-strike_hijackloader_ryuk.exe"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:3764
        • C:\Users\Admin\AppData\Local\Temp\C39E.exe
          "C:\Users\Admin\AppData\Local\Temp\C39E.exe"
          3⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1256
          • C:\Users\Admin\AppData\Local\Temp\33994998.exe
            C:\Users\Admin\AppData\Local\Temp\33994998.exe
            4⤵
            • Executes dropped EXE
            • Adds Run key to start application
            • Drops file in Windows directory
            • System Location Discovery: System Language Discovery
            • Suspicious use of WriteProcessMemory
            PID:3668
            • C:\Windows\sysnldcvmr.exe
              C:\Windows\sysnldcvmr.exe
              5⤵
              • Executes dropped EXE
              • System Location Discovery: System Language Discovery
              • Suspicious use of WriteProcessMemory
              PID:4840
              • C:\Users\Admin\AppData\Local\Temp\3036123102.exe
                C:\Users\Admin\AppData\Local\Temp\3036123102.exe
                6⤵
                • Checks computer location settings
                • Executes dropped EXE
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of WriteProcessMemory
                PID:2564
                • C:\Windows\System32\cmd.exe
                  "C:\Windows\System32\cmd.exe" /c reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                  7⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1896
                  • C:\Windows\system32\reg.exe
                    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                    8⤵
                      PID:1676
                  • C:\Windows\System32\cmd.exe
                    "C:\Windows\System32\cmd.exe" /c schtasks /delete /f /tn "Windows Upgrade Manager"
                    7⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4788
                    • C:\Windows\system32\schtasks.exe
                      schtasks /delete /f /tn "Windows Upgrade Manager"
                      8⤵
                        PID:2824
                  • C:\Users\Admin\AppData\Local\Temp\3065711002.exe
                    C:\Users\Admin\AppData\Local\Temp\3065711002.exe
                    6⤵
                    • Executes dropped EXE
                    • System Location Discovery: System Language Discovery
                    PID:636
                  • C:\Users\Admin\AppData\Local\Temp\1765432123.exe
                    C:\Users\Admin\AppData\Local\Temp\1765432123.exe
                    6⤵
                    • Executes dropped EXE
                    • System Location Discovery: System Language Discovery
                    • Suspicious use of WriteProcessMemory
                    PID:32
                    • C:\Users\Admin\AppData\Local\Temp\2326822133.exe
                      C:\Users\Admin\AppData\Local\Temp\2326822133.exe
                      7⤵
                      • Suspicious use of NtCreateUserProcessOtherParentProcess
                      • Executes dropped EXE
                      • Suspicious behavior: EnumeratesProcesses
                      PID:4748
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#evrkcgqew#> IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'Microsoft Windows Security' /tr '''C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'Microsoft Windows Security' -RunLevel 'Highest' -Force; }
            2⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:4388
          • C:\Windows\System32\schtasks.exe
            C:\Windows\System32\schtasks.exe /run /tn "Microsoft Windows Security"
            2⤵
              PID:956
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#evrkcgqew#> IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'Microsoft Windows Security' /tr '''C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'Microsoft Windows Security' -RunLevel 'Highest' -Force; }
              2⤵
              • Command and Scripting Interpreter: PowerShell
              • Suspicious behavior: EnumeratesProcesses
              PID:3736
            • C:\Windows\System32\conhost.exe
              C:\Windows\System32\conhost.exe
              2⤵
                PID:528
              • C:\Windows\System32\dwm.exe
                C:\Windows\System32\dwm.exe
                2⤵
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:1716
            • C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe
              "C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe"
              1⤵
              • Suspicious use of NtCreateUserProcessOtherParentProcess
              • Executes dropped EXE
              • Suspicious use of SetThreadContext
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of WriteProcessMemory
              PID:1872

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  powershell.exe.log

                  • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
                  • Size 3KB
                  • SHA256 dbd4136bc342e3e92902ec3a30d165452c82997a7ae24ac90775e42d88959e6b
                  • MD5 SHA1 SHA512

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 7ad08f1c2e7df4102eb3a6d213f4a0c245300c275fd53e463655a8ab9fa3ec64
                  • MD5 SHA1 SHA512

                  1765432123.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\1765432123.exe
                  • Size 10KB
                  • SHA256 a9de2927b0ec45cf900508fec18531c04ee9fa8a5dfe2fc82c67d9458cf4b744
                  • MD5 SHA1 SHA512 SSDEEP

                  2326822133.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\2326822133.exe
                  • Size 5.6MB
                  • SHA256 1753ad35ece25ab9a19048c70062e9170f495e313d7355ebbba59c38f5d90256
                  • MD5 SHA1 SHA512 SSDEEP

                  3036123102.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\3036123102.exe
                  • Size 8KB
                  • SHA256 5850892f67f85991b31fc90f62c8b7791afeb3c08ae1877d857aa2b59471a2ea
                  • MD5 SHA1 SHA512 SSDEEP

                  3065711002.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\3065711002.exe
                  • Size 49KB
                  • SHA256 885fbe678b117e5e0eace7c64980f6072c31290eb36d0e14953d6a2d12eff9cd
                  • MD5 SHA1 SHA512 SSDEEP

                  33994998.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\33994998.exe
                  • Size 79KB
                  • SHA256 d921fc993574c8be76553bcf4296d2851e48ee39b958205e69bdfd7cf661d2b1
                  • MD5 SHA1 SHA512 SSDEEP

                  C39E.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\C39E.exe
                  • Size 9KB
                  • SHA256 feb4c3ae4566f0acbb9e0f55417b61fefd89dc50a4e684df780813fb01d61278
                  • MD5 SHA1 SHA512 SSDEEP

                  __PSScriptPolicyTest_wue5zyng.twj.ps1

                  • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wue5zyng.twj.ps1
                  • Size 60B
                  • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                  • MD5 SHA1 SHA512

                  memory/528-81-0x00007FF6FFD30000-0x00007FF6FFD59000-memory.dmp

                  memory/528-79-0x00007FF6FFD30000-0x00007FF6FFD59000-memory.dmp

                  memory/1716-77-0x0000019C3AB70000-0x0000019C3AB90000-memory.dmp

                  memory/1716-84-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-97-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-95-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-80-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-93-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-82-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-90-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-86-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1716-88-0x00007FF670800000-0x00007FF670FEF000-memory.dmp

                  memory/1872-76-0x00007FF610A00000-0x00007FF610F97000-memory.dmp

                  memory/2564-24-0x0000000000770000-0x0000000000776000-memory.dmp

                  memory/4388-50-0x0000019F71530000-0x0000019F71552000-memory.dmp

                  memory/4748-58-0x00007FF681070000-0x00007FF681607000-memory.dmp