Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/10/2024, 02:29

General

  • Target
    6fc8b5b8a90cf8ba7e0eb930fcdde776f8eeb3f37913318df7766a365e13fa8e.exe
  • Size 10KB
  • Sample241029-cymlmasgla
  • SHA256 6fc8b5b8a90cf8ba7e0eb930fcdde776f8eeb3f37913318df7766a365e13fa8e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • phorphiex

C2
  • http://185.215.113.84

Signatures

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

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

  • XMRig Miner payload 2 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 3 IoCs

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

  • Executes dropped EXE 8 IoCs
  • Windows security modification 2 TTPs 7 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 2 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 14 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 8 IoCs
  • Suspicious use of SendNotifyMessage 8 IoCs
  • Suspicious use of WriteProcessMemory 53 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:3576
      • C:\Users\Admin\AppData\Local\Temp\6fc8b5b8a90cf8ba7e0eb930fcdde776f8eeb3f37913318df7766a365e13fa8e.exe
        "C:\Users\Admin\AppData\Local\Temp\6fc8b5b8a90cf8ba7e0eb930fcdde776f8eeb3f37913318df7766a365e13fa8e.exe"
        2⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4984
        • C:\Users\Admin\AppData\Local\Temp\1347.scr
          "C:\Users\Admin\AppData\Local\Temp\1347.scr" /S
          3⤵
          • 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:4068
          • C:\Windows\sysppvrdnvs.exe
            C:\Windows\sysppvrdnvs.exe
            4⤵
            • 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:1300
            • 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"
              5⤵
              • System Location Discovery: System Language Discovery
              • Suspicious use of WriteProcessMemory
              PID:5080
              • 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"
                6⤵
                • Command and Scripting Interpreter: PowerShell
                • System Location Discovery: System Language Discovery
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:644
            • 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 /wait
              5⤵
              • System Location Discovery: System Language Discovery
              • Suspicious use of WriteProcessMemory
              PID:4864
              • C:\Windows\SysWOW64\sc.exe
                sc stop UsoSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:4980
              • C:\Windows\SysWOW64\sc.exe
                sc stop WaaSMedicSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:4520
              • C:\Windows\SysWOW64\sc.exe
                sc stop wuauserv
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:4828
              • C:\Windows\SysWOW64\sc.exe
                sc stop DoSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:3180
              • C:\Windows\SysWOW64\sc.exe
                sc stop BITS /wait
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2952
            • C:\Users\Admin\AppData\Local\Temp\2127416204.exe
              C:\Users\Admin\AppData\Local\Temp\2127416204.exe
              5⤵
              • Checks computer location settings
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of WriteProcessMemory
              PID:3300
              • C:\Windows\System32\cmd.exe
                "C:\Windows\System32\cmd.exe" /c reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                6⤵
                • Suspicious use of WriteProcessMemory
                PID:3324
                • C:\Windows\system32\reg.exe
                  reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                  7⤵
                    PID:1816
                • C:\Windows\System32\cmd.exe
                  "C:\Windows\System32\cmd.exe" /c schtasks /delete /f /tn "Windows Upgrade Manager"
                  6⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1292
                  • C:\Windows\system32\schtasks.exe
                    schtasks /delete /f /tn "Windows Upgrade Manager"
                    7⤵
                      PID:2860
                • C:\Users\Admin\AppData\Local\Temp\139387317.exe
                  C:\Users\Admin\AppData\Local\Temp\139387317.exe
                  5⤵
                  • Executes dropped EXE
                  • System Location Discovery: System Language Discovery
                  PID:4948
                • C:\Users\Admin\AppData\Local\Temp\1764331401.exe
                  C:\Users\Admin\AppData\Local\Temp\1764331401.exe
                  5⤵
                  • Executes dropped EXE
                  • System Location Discovery: System Language Discovery
                  • Suspicious use of WriteProcessMemory
                  PID:2944
                  • C:\Users\Admin\AppData\Local\Temp\2114624725.exe
                    C:\Users\Admin\AppData\Local\Temp\2114624725.exe
                    6⤵
                    • Suspicious use of NtCreateUserProcessOtherParentProcess
                    • Executes dropped EXE
                    • Suspicious behavior: EnumeratesProcesses
                    PID:688
                • C:\Users\Admin\AppData\Local\Temp\3232622511.exe
                  C:\Users\Admin\AppData\Local\Temp\3232622511.exe
                  5⤵
                  • Executes dropped EXE
                  • System Location Discovery: System Language Discovery
                  PID:1832
          • 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:3028
          • C:\Windows\System32\schtasks.exe
            C:\Windows\System32\schtasks.exe /run /tn "Microsoft Windows Security"
            2⤵
              PID:4612
            • 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:2208
            • C:\Windows\System32\conhost.exe
              C:\Windows\System32\conhost.exe
              2⤵
                PID:1284
              • C:\Windows\System32\dwm.exe
                C:\Windows\System32\dwm.exe
                2⤵
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:2008
            • 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:1448

            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

                  1[1]

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCache\IE\HA5FC889\1[1]
                  • Size 108KB
                  • SHA256 84652bb8c63ca4fd7eb7a2d6ef44029801f3057aa2961867245a3a765928dd02
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

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

                  StartupProfileData-NonInteractive

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

                  1347.scr

                  • Path C:\Users\Admin\AppData\Local\Temp\1347.scr
                  • Size 83KB
                  • SHA256 9eaaadf3857e4a3e83f4f78d96ab185213b6528c8e470807f9d16035daadf33d
                  • MD5 SHA1 SHA512 SSDEEP

                  139387317.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\139387317.exe
                  • Size 15KB
                  • SHA256 981d724feebc36777e99513dc061d1f009e589f965c920797285c46d863060d1
                  • MD5 SHA1 SHA512 SSDEEP

                  1764331401.exe

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

                  2114624725.exe

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

                  2127416204.exe

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

                  3232622511.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\3232622511.exe
                  • Size 13KB
                  • SHA256 bf61e77b7c49ce3346a28d8bc084c210618ea6ec5f3cfa9ae8f4aa4d64e145f1
                  • MD5 SHA1 SHA512 SSDEEP

                  __PSScriptPolicyTest_m4h2hpxc.ja0.ps1

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

                  memory/644-29-0x0000000006560000-0x00000000065AC000-memory.dmp

                  memory/644-30-0x0000000006AE0000-0x0000000006B12000-memory.dmp

                  memory/644-42-0x0000000007750000-0x00000000077F3000-memory.dmp

                  memory/644-43-0x0000000007EF0000-0x000000000856A000-memory.dmp

                  memory/644-44-0x0000000007870000-0x000000000788A000-memory.dmp

                  memory/644-45-0x00000000078C0000-0x00000000078CA000-memory.dmp

                  memory/644-46-0x0000000007AD0000-0x0000000007B66000-memory.dmp

                  memory/644-47-0x0000000007A60000-0x0000000007A71000-memory.dmp

                  memory/644-48-0x0000000007A90000-0x0000000007A9E000-memory.dmp

                  memory/644-49-0x0000000007AA0000-0x0000000007AB4000-memory.dmp

                  memory/644-50-0x0000000007B90000-0x0000000007BAA000-memory.dmp

                  memory/644-51-0x0000000007B70000-0x0000000007B78000-memory.dmp

                  memory/644-31-0x00000000704A0000-0x00000000704EC000-memory.dmp

                  memory/644-41-0x0000000006B20000-0x0000000006B3E000-memory.dmp

                  memory/644-13-0x0000000002F50000-0x0000000002F86000-memory.dmp

                  memory/644-28-0x0000000006520000-0x000000000653E000-memory.dmp

                  memory/644-27-0x0000000005F50000-0x00000000062A4000-memory.dmp

                  memory/644-17-0x0000000005EE0000-0x0000000005F46000-memory.dmp

                  memory/644-16-0x0000000005E70000-0x0000000005ED6000-memory.dmp

                  memory/644-15-0x0000000005580000-0x00000000055A2000-memory.dmp

                  memory/644-14-0x0000000005650000-0x0000000005C78000-memory.dmp

                  memory/688-115-0x00007FF761230000-0x00007FF7617C7000-memory.dmp

                  memory/1284-135-0x00007FF65FEC0000-0x00007FF65FEE9000-memory.dmp

                  memory/1448-133-0x00007FF786840000-0x00007FF786DD7000-memory.dmp

                  memory/2008-134-0x000001E406DA0000-0x000001E406DC0000-memory.dmp

                  memory/2008-136-0x00007FF64CCB0000-0x00007FF64D49F000-memory.dmp

                  memory/3028-109-0x00000173C4A20000-0x00000173C4A42000-memory.dmp

                  memory/3300-72-0x0000000000950000-0x0000000000956000-memory.dmp