Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/10/2024, 05:33

General

  • Target

    2024-10-29_4d339a2f921fcac88f6f17702fca7436_ryuk.exe

  • Size

    137KB

  • MD5

    4d339a2f921fcac88f6f17702fca7436

  • SHA1

    adc2d7697c74b4fcc01afa5feb2711df44dc8046

  • SHA256

    94b80a9b040dee10001d8347d6d44b97f8c24a39e4852d9bff813e4c6158ef44

  • SHA512

    722e1aae39a67a197ea5e1d51daa53940a4b21ca82b4025510f86936c6489933472a61ff656a2b61cc68c305190683e324e0e71156a28d44584a75726104c4b3

  • SSDEEP

    3072:dxxED/D0VpMHZLZKMrkBne78xB0IwWMZ4OVvYV/J/9KEZUwVs:dxCkVpMHZLZ+Re78pwrJv2JTL

Malware Config

Extracted

Family

phorphiex

C2

http://185.215.113.66/

http://91.202.233.141/

Wallets

0xCa90599132C4D88907Bd8E046540284aa468a035

TRuGGXNDM1cavQ1AqMQHG8yfxP4QWVSMN6

qph44jx8r9k5xeq5cuf958krv3ewrnp5vc6hhdjd3r

XryzFMFVpDUvU7famUGf214EXD3xNUSmQf

rsXCXBf9SagxV8JfC12d8Bybk84oPdMNN9

AULzfBuUAPfCGAXoG5Vq14aP9s6fx3AH4Z

LTK4xdKPAgFHPLan8kriAD7eY4heyy73mB

MP8GEm8QpYgQYaMo8oM5NQhRBgDGiLZW5Q

4BB7ckkaPTyADc8trtuwDoZxywaR4eNL5cDJ3KBjq9GraN4mUFztf7mLS7WgT7Bh7uPqpjvA4ypVwXKCJ1vvLWWAFvSmDoD

15TssKwtjMtwy4vDLcLsQUZUD2B9f7eDjw85sBNVC5LRPPnC

1BzmrjmKPKSR2hH5BeJySfiVA676E8DYaK

ltc1qt0n3f0t7vz9k0mvcswk477shrxwjhf9sj5ykrp

3PMiLynrGVZ8oEqvoqC4hXD67B1WoALR4pc

3ESHude8zUHksQg1h6hHmzY79BS36L91Yn

DLUzwvyxN1RrwjByUPPzVMdfxNRPGVRMMA

t1J6GCPCiHW1eRdjJgDDu6b1vSVmL5U7Twh

stars125f3mw4xd9htpsq4zj5w5ezm5gags37yxxh6mj

bnb1msyt0djx4ecspfxg5en0ye465kg3kmv9utzml2

bc1ppypcmu3684n648gyj62gjp2rw0xy7w3vwfamatlg29ajp4z52desafa0sr

bc1qc9edl4hzl9jyt8twdad3zjeh2df2znq96tdezd

Attributes
  • mutex

    mmn7nnm8na

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

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Downloads MZ/PE file
  • Stops running service(s) 4 TTPs
  • Executes dropped EXE 9 IoCs
  • Loads dropped DLL 8 IoCs
  • Windows security modification 2 TTPs 7 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Drops file in System32 directory 2 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 13 IoCs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of FindShellTrayWindow 18 IoCs
  • Suspicious use of SendNotifyMessage 18 IoCs
  • Suspicious use of WriteProcessMemory 64 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:1200
      • C:\Users\Admin\AppData\Local\Temp\2024-10-29_4d339a2f921fcac88f6f17702fca7436_ryuk.exe
        "C:\Users\Admin\AppData\Local\Temp\2024-10-29_4d339a2f921fcac88f6f17702fca7436_ryuk.exe"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:2996
        • C:\Users\Admin\AppData\Local\Temp\ECDE.exe
          "C:\Users\Admin\AppData\Local\Temp\ECDE.exe"
          3⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2656
          • C:\Users\Admin\AppData\Local\Temp\1286320489.exe
            C:\Users\Admin\AppData\Local\Temp\1286320489.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:2864
            • C:\Windows\sysppvrdnvs.exe
              C:\Windows\sysppvrdnvs.exe
              5⤵
              • Modifies security service
              • Windows security bypass
              • Executes dropped EXE
              • Loads dropped DLL
              • Windows security modification
              • System Location Discovery: System Language Discovery
              • Suspicious use of WriteProcessMemory
              PID:2624
              • 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:1964
                • 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:988
              • 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
                6⤵
                • System Location Discovery: System Language Discovery
                • Suspicious use of WriteProcessMemory
                PID:1032
                • C:\Windows\SysWOW64\sc.exe
                  sc stop UsoSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:2536
                • C:\Windows\SysWOW64\sc.exe
                  sc stop WaaSMedicSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:2844
                • C:\Windows\SysWOW64\sc.exe
                  sc stop wuauserv
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:2872
                • C:\Windows\SysWOW64\sc.exe
                  sc stop DoSvc
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:1320
                • C:\Windows\SysWOW64\sc.exe
                  sc stop BITS /wait
                  7⤵
                  • Launches sc.exe
                  • System Location Discovery: System Language Discovery
                  PID:884
              • C:\Users\Admin\AppData\Local\Temp\2777716772.exe
                C:\Users\Admin\AppData\Local\Temp\2777716772.exe
                6⤵
                • Executes dropped EXE
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of WriteProcessMemory
                PID:2208
                • 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:2968
                  • C:\Windows\system32\reg.exe
                    reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                    8⤵
                      PID:1660
                  • C:\Windows\System32\cmd.exe
                    "C:\Windows\System32\cmd.exe" /c schtasks /delete /f /tn "Windows Upgrade Manager"
                    7⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2948
                    • C:\Windows\system32\schtasks.exe
                      schtasks /delete /f /tn "Windows Upgrade Manager"
                      8⤵
                        PID:984
                  • C:\Users\Admin\AppData\Local\Temp\117837843.exe
                    C:\Users\Admin\AppData\Local\Temp\117837843.exe
                    6⤵
                    • Executes dropped EXE
                    PID:2068
                  • C:\Users\Admin\AppData\Local\Temp\2832831890.exe
                    C:\Users\Admin\AppData\Local\Temp\2832831890.exe
                    6⤵
                    • Executes dropped EXE
                    • Loads dropped DLL
                    • System Location Discovery: System Language Discovery
                    PID:996
                    • C:\Users\Admin\AppData\Local\Temp\3049325035.exe
                      C:\Users\Admin\AppData\Local\Temp\3049325035.exe
                      7⤵
                      • Suspicious use of NtCreateUserProcessOtherParentProcess
                      • Executes dropped EXE
                      • Suspicious behavior: EnumeratesProcesses
                      PID:2232
                  • C:\Users\Admin\AppData\Local\Temp\1494922912.exe
                    C:\Users\Admin\AppData\Local\Temp\1494922912.exe
                    6⤵
                    • Executes dropped EXE
                    • System Location Discovery: System Language Discovery
                    PID:2676
          • 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
            • Drops file in System32 directory
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2980
            • C:\Windows\system32\schtasks.exe
              "C:\Windows\system32\schtasks.exe" /create /f /sc onlogon /rl highest /tn "Microsoft Windows Security" /tr "'C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe'"
              3⤵
              • Scheduled Task/Job: Scheduled Task
              PID:2988
          • C:\Windows\System32\schtasks.exe
            C:\Windows\System32\schtasks.exe /run /tn "Microsoft Windows Security"
            2⤵
              PID:1072
            • 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
              • Drops file in System32 directory
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:2596
              • C:\Windows\system32\schtasks.exe
                "C:\Windows\system32\schtasks.exe" /create /f /sc onlogon /rl highest /tn "Microsoft Windows Security" /tr "'C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe'"
                3⤵
                • Scheduled Task/Job: Scheduled Task
                PID:2268
            • C:\Windows\System32\conhost.exe
              C:\Windows\System32\conhost.exe
              2⤵
                PID:1620
              • C:\Windows\System32\dwm.exe
                C:\Windows\System32\dwm.exe
                2⤵
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:1572
            • C:\Windows\system32\taskeng.exe
              taskeng.exe {E31E31B5-8F1D-4629-B26C-927ACA86E570} S-1-5-21-3063565911-2056067323-3330884624-1000:KHBTHJFA\Admin:Interactive:[1]
              1⤵
              • Loads dropped DLL
              PID:2444
              • C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe
                "C:\Users\Admin\Microsoft Windows Security\winupsecvmgr.exe"
                2⤵
                • Suspicious use of NtCreateUserProcessOtherParentProcess
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious behavior: EnumeratesProcesses
                PID:1968

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\IAE3FJ0M\1[1]

                    Filesize

                    108KB

                    MD5

                    1fcb78fb6cf9720e9d9494c42142d885

                    SHA1

                    fef9c2e728ab9d56ce9ed28934b3182b6f1d5379

                    SHA256

                    84652bb8c63ca4fd7eb7a2d6ef44029801f3057aa2961867245a3a765928dd02

                    SHA512

                    cdf58e463af1784aea86995b3e5d6b07701c5c4095e30ec80cc901ffd448c6f4f714c521bf8796ffa8c47538bf8bf5351e157596efaa7ab88155d63dc33f7dc3

                  • C:\Users\Admin\AppData\Local\Temp\1286320489.exe

                    Filesize

                    83KB

                    MD5

                    06560b5e92d704395bc6dae58bc7e794

                    SHA1

                    fbd3e4ae28620197d1f02bfc24adaf4ddacd2372

                    SHA256

                    9eaaadf3857e4a3e83f4f78d96ab185213b6528c8e470807f9d16035daadf33d

                    SHA512

                    b55b49fc1bd526c47d88fcf8a20fcaed900bfb291f2e3e1186ec196a87127ed24df71385ae04fedcc802c362c4ebf38edfc182013febf4496ddeb66ce5195ee3

                  • C:\Users\Admin\AppData\Local\Temp\3049325035.exe

                    Filesize

                    5.6MB

                    MD5

                    13b26b2c7048a92d6a843c1302618fad

                    SHA1

                    89c2dfc01ac12ef2704c7669844ec69f1700c1ca

                    SHA256

                    1753ad35ece25ab9a19048c70062e9170f495e313d7355ebbba59c38f5d90256

                    SHA512

                    d6aff89b61c9945002a6798617ad304612460a607ef1cfbdcb32f8932ca648bcee1d5f2e0321bb4c58c1f4642b1e0ececc1eb82450fdec7dff69b5389f195455

                  • C:\Users\Admin\AppData\Local\Temp\ECDE.exe

                    Filesize

                    9KB

                    MD5

                    8d8e6c7952a9dc7c0c73911c4dbc5518

                    SHA1

                    9098da03b33b2c822065b49d5220359c275d5e94

                    SHA256

                    feb4c3ae4566f0acbb9e0f55417b61fefd89dc50a4e684df780813fb01d61278

                    SHA512

                    91a573843c28dd32a9f31a60ba977f9a3d4bb19ffd1b7254333e09bcecef348c1b3220a348ebb2cb08edb57d56cb7737f026519da52199c9dc62c10aea236645

                  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\XDXTQ4FKEF0P7T4ZSWT5.temp

                    Filesize

                    7KB

                    MD5

                    35fffa71237fdc6c7938bdc2a5bf4289

                    SHA1

                    15735def1b54130560e1fdeb5b7b48645de0dc15

                    SHA256

                    9ff3c279e32f5aa61dfda58e4efb0a98d30ac39f287989ed4252e88c096555d4

                    SHA512

                    2466af50f793aa2b66509ce242d358f1163721881973afed3d53a43206b5885ea4de47c399de3dda73039cae5992dcae6ec0838d218486596340f3fe18e7abe7

                  • \Users\Admin\AppData\Local\Temp\117837843.exe

                    Filesize

                    15KB

                    MD5

                    0c37ee292fec32dba0420e6c94224e28

                    SHA1

                    012cbdddaddab319a4b3ae2968b42950e929c46b

                    SHA256

                    981d724feebc36777e99513dc061d1f009e589f965c920797285c46d863060d1

                    SHA512

                    2b60b571c55d0441ba0cfc695f9db5cd12660ebec7effc7e893c3b7a1c6cb6149df487c31b8d748697e260cbc4af29331592b705ea9638f64a711c7a6164628b

                  • \Users\Admin\AppData\Local\Temp\1494922912.exe

                    Filesize

                    13KB

                    MD5

                    5a0d146f7a911e98da8cc3c6de8acabf

                    SHA1

                    4ec56b14a08c897a5e9e85f5545b6c976a0be3c1

                    SHA256

                    bf61e77b7c49ce3346a28d8bc084c210618ea6ec5f3cfa9ae8f4aa4d64e145f1

                    SHA512

                    6d1526a5f467535d51b7f9b3a7af2d54512526e2523e3048082277b83b6e1a1f0d7e3c617405898f240ae84a16163bc47886d8541a016b31c51dfadf9da713e1

                  • \Users\Admin\AppData\Local\Temp\2777716772.exe

                    Filesize

                    8KB

                    MD5

                    cb8420e681f68db1bad5ed24e7b22114

                    SHA1

                    416fc65d538d3622f5ca71c667a11df88a927c31

                    SHA256

                    5850892f67f85991b31fc90f62c8b7791afeb3c08ae1877d857aa2b59471a2ea

                    SHA512

                    baaabcc4ad5d409267a34ed7b20e4afb4d247974bfc581d39aae945e5bf8a673a1f8eacae2e6783480c8baaeb0a80d028274a202d456f13d0af956afa0110fdf

                  • \Users\Admin\AppData\Local\Temp\2832831890.exe

                    Filesize

                    10KB

                    MD5

                    96509ab828867d81c1693b614b22f41d

                    SHA1

                    c5f82005dbda43cedd86708cc5fc3635a781a67e

                    SHA256

                    a9de2927b0ec45cf900508fec18531c04ee9fa8a5dfe2fc82c67d9458cf4b744

                    SHA512

                    ff603117a06da8fb2386c1d2049a5896774e41f34d05951ecd4e7b5fc9da51a373e3fcf61af3577ff78490cf898471ce8e71eae848a12812fe98cd7e76e1a9ca

                  • memory/1572-100-0x00000000000B0000-0x00000000000D0000-memory.dmp

                    Filesize

                    128KB

                  • memory/1572-103-0x0000000140000000-0x00000001407EF000-memory.dmp

                    Filesize

                    7.9MB

                  • memory/1620-102-0x0000000140000000-0x0000000140029000-memory.dmp

                    Filesize

                    164KB

                  • memory/1968-101-0x000000013FFE0000-0x0000000140577000-memory.dmp

                    Filesize

                    5.6MB

                  • memory/2208-46-0x000000013FC00000-0x000000013FC06000-memory.dmp

                    Filesize

                    24KB

                  • memory/2232-85-0x000000013F4C0000-0x000000013FA57000-memory.dmp

                    Filesize

                    5.6MB

                  • memory/2596-94-0x000000001B500000-0x000000001B7E2000-memory.dmp

                    Filesize

                    2.9MB

                  • memory/2596-95-0x00000000022D0000-0x00000000022D8000-memory.dmp

                    Filesize

                    32KB

                  • memory/2980-82-0x0000000002760000-0x0000000002768000-memory.dmp

                    Filesize

                    32KB

                  • memory/2980-81-0x000000001B560000-0x000000001B842000-memory.dmp

                    Filesize

                    2.9MB