Analysis

  • max time kernel
    138s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    01-11-2024 19:22

General

  • Target

    5cf2728fb87906bdd33904877b4e9cd73fff94c72a746f8df8e681d6340eaf5c.exe

  • Size

    9KB

  • MD5

    524a798045faeab89ecd423eb5ca759e

  • SHA1

    5c89b96922f78669e4d1b17014d80f60481d8725

  • SHA256

    5cf2728fb87906bdd33904877b4e9cd73fff94c72a746f8df8e681d6340eaf5c

  • SHA512

    59dfb96b376b74821228b25847d4ab2fa4068af5fcbfae1515ecdaf0c6fbf5360e15ab593c94f494ad8903c53b95a7148fdbd9261f6dd9962f20039776fef37c

  • SSDEEP

    192:t8UGf5TF3aIhq43Yr8T9+6I8Nt98LJxTh3thW:t8LZqIhI4sR8N8LV3

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 8 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 8 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 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 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 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 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:1248
      • C:\Users\Admin\AppData\Local\Temp\5cf2728fb87906bdd33904877b4e9cd73fff94c72a746f8df8e681d6340eaf5c.exe
        "C:\Users\Admin\AppData\Local\Temp\5cf2728fb87906bdd33904877b4e9cd73fff94c72a746f8df8e681d6340eaf5c.exe"
        2⤵
        • Loads dropped DLL
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2392
        • C:\Users\Admin\AppData\Local\Temp\19125.scr
          "C:\Users\Admin\AppData\Local\Temp\19125.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:2764
          • C:\Windows\sysppvrdnvs.exe
            C:\Windows\sysppvrdnvs.exe
            4⤵
            • 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:2772
            • 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:2836
              • 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:2912
            • 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:2944
              • C:\Windows\SysWOW64\sc.exe
                sc stop UsoSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2256
              • C:\Windows\SysWOW64\sc.exe
                sc stop WaaSMedicSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2788
              • C:\Windows\SysWOW64\sc.exe
                sc stop wuauserv
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2676
              • C:\Windows\SysWOW64\sc.exe
                sc stop DoSvc
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2620
              • C:\Windows\SysWOW64\sc.exe
                sc stop BITS /wait
                6⤵
                • Launches sc.exe
                • System Location Discovery: System Language Discovery
                PID:2640
            • C:\Users\Admin\AppData\Local\Temp\2656522261.exe
              C:\Users\Admin\AppData\Local\Temp\2656522261.exe
              5⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of WriteProcessMemory
              PID:1992
              • 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:2680
                • C:\Windows\system32\reg.exe
                  reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Windows Upgrade Manager" /f
                  7⤵
                    PID:1696
                • C:\Windows\System32\cmd.exe
                  "C:\Windows\System32\cmd.exe" /c schtasks /delete /f /tn "Windows Upgrade Manager"
                  6⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1084
                  • C:\Windows\system32\schtasks.exe
                    schtasks /delete /f /tn "Windows Upgrade Manager"
                    7⤵
                      PID:1544
                • C:\Users\Admin\AppData\Local\Temp\2132013335.exe
                  C:\Users\Admin\AppData\Local\Temp\2132013335.exe
                  5⤵
                  • Executes dropped EXE
                  PID:2980
                • C:\Users\Admin\AppData\Local\Temp\271164612.exe
                  C:\Users\Admin\AppData\Local\Temp\271164612.exe
                  5⤵
                  • Executes dropped EXE
                  • Loads dropped DLL
                  • System Location Discovery: System Language Discovery
                  PID:2096
                  • C:\Users\Admin\AppData\Local\Temp\3741630576.exe
                    C:\Users\Admin\AppData\Local\Temp\3741630576.exe
                    6⤵
                    • Suspicious use of NtCreateUserProcessOtherParentProcess
                    • Executes dropped EXE
                    • Suspicious behavior: EnumeratesProcesses
                    PID:2024
                • C:\Users\Admin\AppData\Local\Temp\2187128454.exe
                  C:\Users\Admin\AppData\Local\Temp\2187128454.exe
                  5⤵
                  • Executes dropped EXE
                  • System Location Discovery: System Language Discovery
                  PID:1816
          • 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:776
            • 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:2588
          • C:\Windows\System32\schtasks.exe
            C:\Windows\System32\schtasks.exe /run /tn "Microsoft Windows Security"
            2⤵
              PID:2200
            • 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
              PID:2436
              • 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:760
            • C:\Windows\System32\conhost.exe
              C:\Windows\System32\conhost.exe
              2⤵
                PID:2724
              • C:\Windows\System32\dwm.exe
                C:\Windows\System32\dwm.exe
                2⤵
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:2872
            • C:\Windows\system32\taskeng.exe
              taskeng.exe {5141835A-A261-43B8-B0CB-85D7854F18B1} S-1-5-21-1488793075-819845221-1497111674-1000:UPNECVIU\Admin:Interactive:[1]
              1⤵
              • Loads dropped DLL
              PID:2216
              • 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:1812

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              108KB

              MD5

              1fcb78fb6cf9720e9d9494c42142d885

              SHA1

              fef9c2e728ab9d56ce9ed28934b3182b6f1d5379

              SHA256

              84652bb8c63ca4fd7eb7a2d6ef44029801f3057aa2961867245a3a765928dd02

              SHA512

              cdf58e463af1784aea86995b3e5d6b07701c5c4095e30ec80cc901ffd448c6f4f714c521bf8796ffa8c47538bf8bf5351e157596efaa7ab88155d63dc33f7dc3

            • C:\Users\Admin\AppData\Local\Temp\19125.scr

              Filesize

              83KB

              MD5

              06560b5e92d704395bc6dae58bc7e794

              SHA1

              fbd3e4ae28620197d1f02bfc24adaf4ddacd2372

              SHA256

              9eaaadf3857e4a3e83f4f78d96ab185213b6528c8e470807f9d16035daadf33d

              SHA512

              b55b49fc1bd526c47d88fcf8a20fcaed900bfb291f2e3e1186ec196a87127ed24df71385ae04fedcc802c362c4ebf38edfc182013febf4496ddeb66ce5195ee3

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

              Filesize

              13KB

              MD5

              5a0d146f7a911e98da8cc3c6de8acabf

              SHA1

              4ec56b14a08c897a5e9e85f5545b6c976a0be3c1

              SHA256

              bf61e77b7c49ce3346a28d8bc084c210618ea6ec5f3cfa9ae8f4aa4d64e145f1

              SHA512

              6d1526a5f467535d51b7f9b3a7af2d54512526e2523e3048082277b83b6e1a1f0d7e3c617405898f240ae84a16163bc47886d8541a016b31c51dfadf9da713e1

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

              Filesize

              7KB

              MD5

              0ecd12edffbaf96fce352bfd6a6a2726

              SHA1

              a62057f68df3c58c1356afbbc4f8727a522aaf6b

              SHA256

              e16ebcc1e13a52b4aea6b42405d8e0e6a2f01f818b0978605714a91b1b096ba4

              SHA512

              05ab35b25b6dd1a4f9ba6b71fa55babc2cf9c18f8c5d9746e976c5db81153f165630752371be2939c99f996cf8bc21de64dfa8a4210333d95cba74cf4c13b1d8

            • \??\PIPE\srvsvc

              MD5

              d41d8cd98f00b204e9800998ecf8427e

              SHA1

              da39a3ee5e6b4b0d3255bfef95601890afd80709

              SHA256

              e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

              SHA512

              cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

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

              Filesize

              15KB

              MD5

              0c37ee292fec32dba0420e6c94224e28

              SHA1

              012cbdddaddab319a4b3ae2968b42950e929c46b

              SHA256

              981d724feebc36777e99513dc061d1f009e589f965c920797285c46d863060d1

              SHA512

              2b60b571c55d0441ba0cfc695f9db5cd12660ebec7effc7e893c3b7a1c6cb6149df487c31b8d748697e260cbc4af29331592b705ea9638f64a711c7a6164628b

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

              Filesize

              8KB

              MD5

              cb8420e681f68db1bad5ed24e7b22114

              SHA1

              416fc65d538d3622f5ca71c667a11df88a927c31

              SHA256

              5850892f67f85991b31fc90f62c8b7791afeb3c08ae1877d857aa2b59471a2ea

              SHA512

              baaabcc4ad5d409267a34ed7b20e4afb4d247974bfc581d39aae945e5bf8a673a1f8eacae2e6783480c8baaeb0a80d028274a202d456f13d0af956afa0110fdf

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

              Filesize

              10KB

              MD5

              96509ab828867d81c1693b614b22f41d

              SHA1

              c5f82005dbda43cedd86708cc5fc3635a781a67e

              SHA256

              a9de2927b0ec45cf900508fec18531c04ee9fa8a5dfe2fc82c67d9458cf4b744

              SHA512

              ff603117a06da8fb2386c1d2049a5896774e41f34d05951ecd4e7b5fc9da51a373e3fcf61af3577ff78490cf898471ce8e71eae848a12812fe98cd7e76e1a9ca

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

              Filesize

              5.6MB

              MD5

              13b26b2c7048a92d6a843c1302618fad

              SHA1

              89c2dfc01ac12ef2704c7669844ec69f1700c1ca

              SHA256

              1753ad35ece25ab9a19048c70062e9170f495e313d7355ebbba59c38f5d90256

              SHA512

              d6aff89b61c9945002a6798617ad304612460a607ef1cfbdcb32f8932ca648bcee1d5f2e0321bb4c58c1f4642b1e0ececc1eb82450fdec7dff69b5389f195455

            • memory/776-76-0x000000001B570000-0x000000001B852000-memory.dmp

              Filesize

              2.9MB

            • memory/776-77-0x0000000002720000-0x0000000002728000-memory.dmp

              Filesize

              32KB

            • memory/1812-89-0x000000013F060000-0x000000013F5F7000-memory.dmp

              Filesize

              5.6MB

            • memory/1992-41-0x000000013FAF0000-0x000000013FAF6000-memory.dmp

              Filesize

              24KB

            • memory/2024-80-0x000000013F510000-0x000000013FAA7000-memory.dmp

              Filesize

              5.6MB

            • memory/2724-91-0x0000000140000000-0x0000000140029000-memory.dmp

              Filesize

              164KB

            • memory/2724-93-0x0000000140000000-0x0000000140029000-memory.dmp

              Filesize

              164KB

            • memory/2872-90-0x0000000000260000-0x0000000000280000-memory.dmp

              Filesize

              128KB

            • memory/2872-92-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-94-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-96-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-98-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-100-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

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

              Filesize

              7.9MB

            • memory/2872-105-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-107-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB

            • memory/2872-109-0x0000000140000000-0x00000001407EF000-memory.dmp

              Filesize

              7.9MB