Analysis

  • max time kernel
    120s
  • max time network
    118s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/08/2024, 03:50

General

  • Target
    5d1135b32b4af8708f9ad6aea8db3d00N.exe
  • Size 766KB
  • Sample240807-ed3s8azgmn
  • SHA256 a3696b5b8b4ae68810aac3f537a8c800248f7cef38a1ad657b3572515a121bdc
  • 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

  • LLeT2zkStY3cvxMBFhoWXkG5VuZPoezduv

  • rwc4LVd9ABpULQ1CuCpDkgX2xVB1fUijyb

  • 4AtjkCVKbtEC3UEN77SQHuH9i1XkzNiRi5VCbA2XGsJh46nJSXfGQn4GjLuupCqmC57Lo7LvKmFUyRfhtJSvKvuw3h9ReKK

  • 15TssKwtjMtwy4vDLcLsQUZUD2B9f7eDjw85sBNVC5LRPPnC

  • 17hgMFyLDwMjxWqw5GhijhnPdJDyFDqecY

  • ltc1qt0n3f0t7vz9k0mvcswk477shrxwjhf9sj5ykrp

  • 3PMiLynrGVZ8oEqvoqC4hXD67B1WoALR4pc

  • 3FerB8kUraAVGCVCNkgv57zTBjUGjAUkU3

  • DLUzwvyxN1RrwjByUPPzVMdfxNRPGVRMMA

  • t1J6GCPCiHW1eRdjJgDDu6b1vSVmL5U7Twh

  • stars125f3mw4xd9htpsq4zj5w5ezm5gags37yxxh6mj

  • bnb1epx67ne4vckqmaj4gwke8m322f4yjr6eh52wqw

  • bc1qmpkehfffkr6phuklsksnd7nhgx0369sxu772m3

  • bitcoincash:qph44jx8r9k5xeq5cuf958krv3ewrnp5vc6hhdjd3r

  • GBQJMXYXPRIWFMXIFJR35ZB7LRKMB4PHCIUAUFR3TKUL6RDBZVLZEUJ3

Attributes
  • mutex

    x88767657x

  • user_agent

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

Signatures

  • Modifies security service 2 TTPs 1 IoCs
  • 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 4 IoCs
  • Windows security bypass 2 TTPs 6 IoCs
  • xmrig

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

  • XMRig Miner payload 7 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Using powershell.exe command.

  • Downloads MZ/PE file
  • Stops running service(s) 4 TTPs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 9 IoCs
  • Windows security modification 2 TTPs 7 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Windows directory 2 IoCs
  • Launches sc.exe 5 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 48 IoCs
  • Suspicious use of SendNotifyMessage 48 IoCs
  • Suspicious use of WriteProcessMemory 48 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:3420
      • C:\Users\Admin\AppData\Local\Temp\5d1135b32b4af8708f9ad6aea8db3d00N.exe
        "C:\Users\Admin\AppData\Local\Temp\5d1135b32b4af8708f9ad6aea8db3d00N.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4012
        • C:\Users\Admin\AppData\Local\Temp\CAA3.exe
          "C:\Users\Admin\AppData\Local\Temp\CAA3.exe"
          3⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2552
          • C:\Users\Admin\AppData\Local\Temp\739413930.exe
            C:\Users\Admin\AppData\Local\Temp\739413930.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:3840
            • C:\Windows\sysmysldrv.exe
              C:\Windows\sysmysldrv.exe
              5⤵
              • Modifies security service
              • Windows security bypass
              • Checks computer location settings
              • Executes dropped EXE
              • Windows security modification
              • System Location Discovery: System Language Discovery
              • Suspicious use of WriteProcessMemory
              PID:3248
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\System32\cmd.exe" /c powershell -Command "Add-MpPreference -ExclusionPath $env:windir; Add-MpPreference -ExclusionPath $env:TEMP; Add-MpPreference -ExclusionPath $env:USERPROFILE"
                6⤵
                • System Location Discovery: System Language Discovery
                • Suspicious use of WriteProcessMemory
                PID:3048
                • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                  powershell -Command "Add-MpPreference -ExclusionPath $env:windir; Add-MpPreference -ExclusionPath $env:TEMP; Add-MpPreference -ExclusionPath $env:USERPROFILE"
                  7⤵
                  • Command and Scripting Interpreter: PowerShell
                  • System Location Discovery: System Language Discovery
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:5108
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\System32\cmd.exe" /c sc stop UsoSvc & sc stop WaaSMedicSvc & sc stop wuauserv & sc stop DoSvc & sc stop BITS
                6⤵
                • System Location Discovery: System Language Discovery
                • Suspicious use of WriteProcessMemory
                PID:60
                • C:\Windows\SysWOW64\sc.exe
                  sc stop UsoSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:1252
                • C:\Windows\SysWOW64\sc.exe
                  sc stop WaaSMedicSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:3600
                • C:\Windows\SysWOW64\sc.exe
                  sc stop wuauserv
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:32
                • C:\Windows\SysWOW64\sc.exe
                  sc stop DoSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:4848
                • C:\Windows\SysWOW64\sc.exe
                  sc stop BITS
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:1480
              • C:\Users\Admin\AppData\Local\Temp\2948217387.exe
                C:\Users\Admin\AppData\Local\Temp\2948217387.exe
                6⤵
                • Executes dropped EXE
                • System Location Discovery: System Language Discovery
                PID:3100
              • C:\Users\Admin\AppData\Local\Temp\221468500.exe
                C:\Users\Admin\AppData\Local\Temp\221468500.exe
                6⤵
                • Executes dropped EXE
                • System Location Discovery: System Language Discovery
                PID:2100
              • C:\Users\Admin\AppData\Local\Temp\1439413949.exe
                C:\Users\Admin\AppData\Local\Temp\1439413949.exe
                6⤵
                • Executes dropped EXE
                • System Location Discovery: System Language Discovery
                • Suspicious use of WriteProcessMemory
                PID:3180
                • C:\Users\Admin\AppData\Local\Temp\1789710041.exe
                  C:\Users\Admin\AppData\Local\Temp\1789710041.exe
                  7⤵
                  • Suspicious use of NtCreateUserProcessOtherParentProcess
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  PID:4156
        • C:\Users\Admin\AppData\Local\Temp\is-2QHRN.tmp\5d1135b32b4af8708f9ad6aea8db3d00N.tmp
          "C:\Users\Admin\AppData\Local\Temp\is-2QHRN.tmp\5d1135b32b4af8708f9ad6aea8db3d00N.tmp" /SL5="$80050,299791,119296,C:\Users\Admin\AppData\Local\Temp\5d1135b32b4af8708f9ad6aea8db3d00N.exe"
          3⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          PID:3924
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#llzqlmcx#> IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'Windows Upgrade Manager' /tr '''C:\Users\Admin\Windows Upgrade\wupgrdsv.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Windows Upgrade\wupgrdsv.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'Windows Upgrade Manager' -RunLevel 'Highest' -Force; }
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2608
      • C:\Windows\System32\schtasks.exe
        C:\Windows\System32\schtasks.exe /run /tn "Windows Upgrade Manager"
        2⤵
          PID:644
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#llzqlmcx#> IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'Windows Upgrade Manager' /tr '''C:\Users\Admin\Windows Upgrade\wupgrdsv.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Windows Upgrade\wupgrdsv.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'Windows Upgrade Manager' -RunLevel 'Highest' -Force; }
          2⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          PID:2308
        • C:\Windows\System32\notepad.exe
          C:\Windows\System32\notepad.exe
          2⤵
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of SendNotifyMessage
          PID:1528
      • C:\Users\Admin\Windows Upgrade\wupgrdsv.exe
        "C:\Users\Admin\Windows Upgrade\wupgrdsv.exe"
        1⤵
        • Suspicious use of NtCreateUserProcessOtherParentProcess
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of WriteProcessMemory
        PID:4992

      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 e825369a33de0e39bde1a95b2b50d7cd42410d7678945c8479691209a5cf77e2
            • MD5 SHA1 SHA512

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 18KB
            • SHA256 90c7543d851b7b4c36a87184ec947ae3c7b18810840b491ba447f9dc81c895b9
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

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

            1439413949.exe

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

            1789710041.exe

            • Path C:\Users\Admin\AppData\Local\Temp\1789710041.exe
            • Size 5.4MB
            • SHA256 dd12cb27b3867341bf6ca48715756500d3ec56c19b21bb1c1290806aa74cb493
            • MD5 SHA1 SHA512 SSDEEP

            2948217387.exe

            • Path C:\Users\Admin\AppData\Local\Temp\2948217387.exe
            • Size 7KB
            • SHA256 7b7d433c6c204ed3bcd1ea74106592edfa1a30b6ef7bbc3ed21efcbadc51e526
            • MD5 SHA1 SHA512 SSDEEP

            739413930.exe

            • Path C:\Users\Admin\AppData\Local\Temp\739413930.exe
            • Size 92KB
            • SHA256 d281e0a0f1e1073f2d290a7eb1f77bed4c210dbf83a0f4f4e22073f50faa843f
            • MD5 SHA1 SHA512 SSDEEP

            CAA3.exe

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

            __PSScriptPolicyTest_1jjam4th.lta.ps1

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

            5d1135b32b4af8708f9ad6aea8db3d00N.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\is-2QHRN.tmp\5d1135b32b4af8708f9ad6aea8db3d00N.tmp
            • Size 1.1MB
            • SHA256 cb095356ddcfcbace96c6252fb73a267ed011c15ff206a7a9302007baa68a783
            • MD5 SHA1 SHA512 SSDEEP

            memory/1528-143-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/1528-136-0x00000239CBF00000-0x00000239CBF20000-memory.dmp

            memory/1528-155-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/1528-149-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/1528-139-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/1528-146-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/1528-152-0x00007FF78C5C0000-0x00007FF78CDAF000-memory.dmp

            memory/2608-111-0x000001B3F8630000-0x000001B3F8652000-memory.dmp

            memory/3924-13-0x0000000000400000-0x000000000052C000-memory.dmp

            memory/3924-62-0x0000000000400000-0x000000000052C000-memory.dmp

            memory/4012-28-0x0000000000400000-0x0000000000428DB0-memory.dmp

            memory/4012-9-0x0000000000401000-0x0000000000412000-memory.dmp

            memory/4012-7-0x0000000000400000-0x0000000000428DB0-memory.dmp

            memory/4156-117-0x00007FF76D330000-0x00007FF76D8A6000-memory.dmp

            memory/4992-135-0x00007FF6FF3D0000-0x00007FF6FF946000-memory.dmp

            memory/5108-33-0x0000000005920000-0x0000000005986000-memory.dmp

            memory/5108-65-0x0000000007520000-0x000000000752E000-memory.dmp

            memory/5108-66-0x0000000007530000-0x0000000007544000-memory.dmp

            memory/5108-67-0x0000000007620000-0x000000000763A000-memory.dmp

            memory/5108-70-0x0000000007600000-0x0000000007608000-memory.dmp

            memory/5108-64-0x00000000074F0000-0x0000000007501000-memory.dmp

            memory/5108-63-0x0000000007560000-0x00000000075F6000-memory.dmp

            memory/5108-61-0x0000000007350000-0x000000000735A000-memory.dmp

            memory/5108-60-0x00000000072D0000-0x00000000072EA000-memory.dmp

            memory/5108-59-0x0000000007990000-0x000000000800A000-memory.dmp

            memory/5108-58-0x00000000071B0000-0x0000000007253000-memory.dmp

            memory/5108-57-0x0000000007190000-0x00000000071AE000-memory.dmp

            memory/5108-47-0x000000006F800000-0x000000006F84C000-memory.dmp

            memory/5108-46-0x0000000006580000-0x00000000065B2000-memory.dmp

            memory/5108-45-0x0000000005FF0000-0x000000000603C000-memory.dmp

            memory/5108-44-0x0000000005FB0000-0x0000000005FCE000-memory.dmp

            memory/5108-43-0x00000000059B0000-0x0000000005D04000-memory.dmp

            memory/5108-32-0x00000000058B0000-0x0000000005916000-memory.dmp

            memory/5108-31-0x0000000005020000-0x0000000005042000-memory.dmp

            memory/5108-30-0x0000000005090000-0x00000000056B8000-memory.dmp

            memory/5108-29-0x0000000004A20000-0x0000000004A56000-memory.dmp