Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-10-2024 04:39

General

  • Target

    2aff6bd9dfb80c1ac34180e17ccc9c24_JaffaCakes118.exe

  • Size

    1.9MB

  • MD5

    2aff6bd9dfb80c1ac34180e17ccc9c24

  • SHA1

    5a7bac87fe5ffe3c527ee3dbcd8ae7893e33f6f9

  • SHA256

    fe4a1fc042da484adda7fdacd0b007025a73df4a836da7411f6082357cdfc684

  • SHA512

    d39dbfdc84f395629fb3c179e5a57c7274068beb4d5a0f3bb838c4146544d7da18a3c8331eae2f76e9418606f101f34be1cd10a02907fa3eade16f2efe92050d

  • SSDEEP

    49152:Dm1WAZYhMLVOmCmpqb3r6d2TuScfOJSaPCUbRN59yxYc:ifZcOVOm/qrGciSQOJSaP/blkxP

Malware Config

Signatures

  • DiamondFox

    DiamondFox is a multipurpose botnet with many capabilities.

  • UAC bypass 3 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 1 IoCs
  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 2 IoCs
  • Adds policy Run key to start application 2 TTPs 2 IoCs
  • Checks BIOS information in registry 2 TTPs 4 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 6 IoCs
  • Identifies Wine through registry keys 2 TTPs 2 IoCs

    Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.

  • Windows security modification 2 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 21 IoCs

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

  • Kills process with taskkill 1 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 5 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 4 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • System policy modification 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2aff6bd9dfb80c1ac34180e17ccc9c24_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\2aff6bd9dfb80c1ac34180e17ccc9c24_JaffaCakes118.exe"
    1⤵
    • Identifies VirtualBox via ACPI registry values (likely anti-VM)
    • Checks BIOS information in registry
    • Identifies Wine through registry keys
    • Suspicious use of NtSetInformationThreadHideFromDebugger
    • Suspicious use of SetThreadContext
    • Drops file in Windows directory
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4956
    • C:\Windows\SysWOW64\reg.exe
      reg add "HKCU\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\EXPLORER\ADVANCED" /v EnableBalloonTips /t REG_DWORD /d 0 /f
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3576
    • C:\Windows\SysWOW64\schtasks.exe
      schtasks /create /TN tmp7445 /TR "'C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}\tmp7445.exe' /Installed" /sc ONLOGON /RL HIGHEST /F
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2672
    • C:\Windows\SysWOW64\schtasks.exe
      schtasks /create /RU SYSTEM /TN Protect /TR "'C:\Users\Admin\AppData\Local\Temp\Protect.bat' " /sc once /ST 00:00:00 /RL HIGHEST /F
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4340
    • C:\Windows\SysWOW64\cmd.exe
      cmd.exe /c schtasks /Run /TN Protect
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:464
      • C:\Windows\SysWOW64\schtasks.exe
        schtasks /Run /TN Protect
        3⤵
        • System Location Discovery: System Language Discovery
        PID:1528
    • C:\Windows\SysWOW64\schtasks.exe
      schtasks /Delete /TN Protect /f
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4844
    • C:\Users\Admin\AppData\Local\Temp\2aff6bd9dfb80c1ac34180e17ccc9c24_JaffaCakes118.exe
      /Installed
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2200
      • C:\Users\Admin\AppData\Roaming\com6.{00C6D95F-329C-409a-81D7-C46C66EA7F33}\explorer.exe
        C:\Users\Admin\AppData\Roaming\com6.{00C6D95F-329C-409a-81D7-C46C66EA7F33}\explorer.exe
        3⤵
        • Identifies VirtualBox via ACPI registry values (likely anti-VM)
        • Checks BIOS information in registry
        • Executes dropped EXE
        • Identifies Wine through registry keys
        • Suspicious use of NtSetInformationThreadHideFromDebugger
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1808
        • C:\Windows\SysWOW64\reg.exe
          reg add "HKCU\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\EXPLORER\ADVANCED" /v EnableBalloonTips /t REG_DWORD /d 0 /f
          4⤵
          • System Location Discovery: System Language Discovery
          PID:580
        • C:\Windows\SysWOW64\schtasks.exe
          schtasks /create /TN tmp7445 /TR "'C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}\tmp7445.exe' /Installed" /sc ONLOGON /RL HIGHEST /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:2988
        • C:\Windows\SysWOW64\schtasks.exe
          schtasks /create /RU SYSTEM /TN Protect /TR "'C:\Users\Admin\AppData\Local\Temp\Protect.bat' " /sc once /ST 00:00:00 /RL HIGHEST /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:3108
        • C:\Windows\SysWOW64\cmd.exe
          cmd.exe /c schtasks /Run /TN Protect
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1728
          • C:\Windows\SysWOW64\schtasks.exe
            schtasks /Run /TN Protect
            5⤵
            • System Location Discovery: System Language Discovery
            PID:2572
        • C:\Windows\SysWOW64\schtasks.exe
          schtasks /Delete /TN Protect /f
          4⤵
          • System Location Discovery: System Language Discovery
          PID:4668
        • C:\Users\Admin\AppData\Roaming\com6.{00C6D95F-329C-409a-81D7-C46C66EA7F33}\explorer.exe
          /Installed
          4⤵
          • UAC bypass
          • Windows security bypass
          • Adds policy Run key to start application
          • Checks computer location settings
          • Drops startup file
          • Executes dropped EXE
          • Windows security modification
          • Adds Run key to start application
          • Checks whether UAC is enabled
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          • System policy modification
          PID:1596
          • C:\Windows\SysWOW64\taskkill.exe
            taskkill /IM wscript.exe /F
            5⤵
            • System Location Discovery: System Language Discovery
            • Kills process with taskkill
            • Suspicious use of AdjustPrivilegeToken
            PID:4744
          • C:\Windows\SysWOW64\schtasks.exe
            "C:\Windows\System32\schtasks.exe" /create /sc ONLOGON /tn explorer.exe /tr "C:\Users\Admin\AppData\Roaming\com6.{00C6D95F-329C-409a-81D7-C46C66EA7F33}\explorer.exe"
            5⤵
            • System Location Discovery: System Language Discovery
            • Scheduled Task/Job: Scheduled Task
            PID:400
        • C:\Windows\SysWOW64\setx.exe
          setx.exe ProgramData "C:\ProgramData"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2776
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Local\Temp\1CCF75FF.cmd
        3⤵
        • System Location Discovery: System Language Discovery
        PID:3212
    • C:\Windows\SysWOW64\setx.exe
      setx.exe ProgramData "C:\ProgramData"
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3920
  • C:\Windows\SYSTEM32\cmd.exe
    C:\Windows\SYSTEM32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\Protect.bat""
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4692
    • C:\Windows\chml.exe
      C:\Windows\chml.exe "C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}" -pass2 -ps:S:(ML;OICI;NRNXNW;;;SI)
      2⤵
      • Executes dropped EXE
      PID:3408
    • C:\Windows\chml.exe
      C:\Windows\chml.exe "C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}\tmp7445.exe" -pass2 -ps:S:(ML;OICI;NW;;;SI)
      2⤵
      • Executes dropped EXE
      PID:1624
  • C:\Windows\SYSTEM32\cmd.exe
    C:\Windows\SYSTEM32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\Protect.bat""
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:5096
    • C:\Windows\chml.exe
      C:\Windows\chml.exe "C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}" -pass2 -ps:S:(ML;OICI;NRNXNW;;;SI)
      2⤵
      • Executes dropped EXE
      PID:3960
    • C:\Windows\chml.exe
      C:\Windows\chml.exe "C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}\tmp7445.exe" -pass2 -ps:S:(ML;OICI;NW;;;SI)
      2⤵
      • Executes dropped EXE
      PID:1208

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\1CCF75FF.cmd

    Filesize

    152B

    MD5

    b436d0313cdc3e0c41e34d2eeaa89aa4

    SHA1

    cb3061cee5d0d241157aaa88716e2afb3375ceac

    SHA256

    88899650d21178a9e7e33cd80f8fe785ebda4e12665686849d005e46872fe690

    SHA512

    0f5c38b3fcbe364efd3f3cc7e875b078231823e4082a0cd418030510c4068874ac1b12406a9e2001694e0cbb210ea58453968be2f65f5128fb9bc11ef134d51e

  • C:\Users\Admin\AppData\Local\Temp\Protect.bat

    Filesize

    250B

    MD5

    737fdb77319495d782d19417702695dd

    SHA1

    0392e20eb1879015f4b3272b1341ccb3dc5ddf67

    SHA256

    e905293f5107b8d65ed307e233c70ad2153db021099176d21c96649603550d5d

    SHA512

    77d396d56c025262ec8fff0841003237e1c30abf10c59e02322854dc4853f957bba671c86112fe38fb86087bb7802ec5c3b65601828b577d8b844bc1f9c3f8a6

  • C:\Users\Admin\AppData\Roaming\{TKPT-J8CU-U77L-YU2M-UMTD-9JWL}\tmp7445.exe

    Filesize

    1.9MB

    MD5

    2aff6bd9dfb80c1ac34180e17ccc9c24

    SHA1

    5a7bac87fe5ffe3c527ee3dbcd8ae7893e33f6f9

    SHA256

    fe4a1fc042da484adda7fdacd0b007025a73df4a836da7411f6082357cdfc684

    SHA512

    d39dbfdc84f395629fb3c179e5a57c7274068beb4d5a0f3bb838c4146544d7da18a3c8331eae2f76e9418606f101f34be1cd10a02907fa3eade16f2efe92050d

  • C:\Windows\chml.exe

    Filesize

    105KB

    MD5

    30586ce612dc86ad2795a8de7a114754

    SHA1

    e26af472a52039caac5548ecb3c6727b2651e490

    SHA256

    59aa55d2eac6b295d42ef2aadc607b759f034f4557a66dec0214a4cc032ecc17

    SHA512

    a22317552f90e896fb6f0e4a30f7834baf97a771211a37aca12f52d55ff8b85212d4ded5138ab66a70eaaa1193002b98158938bc17185ea94ccc9f7f4b8120f4

  • memory/1596-36-0x0000000000400000-0x000000000041022F-memory.dmp

    Filesize

    64KB

  • memory/1596-51-0x0000000000400000-0x000000000041022F-memory.dmp

    Filesize

    64KB

  • memory/1808-42-0x0000000000400000-0x000000000080C000-memory.dmp

    Filesize

    4.0MB

  • memory/2200-14-0x0000000000400000-0x000000000041022F-memory.dmp

    Filesize

    64KB

  • memory/2200-13-0x0000000000400000-0x0000000000411000-memory.dmp

    Filesize

    68KB

  • memory/2200-16-0x0000000000400000-0x0000000000411000-memory.dmp

    Filesize

    68KB

  • memory/2200-45-0x0000000000400000-0x000000000041022F-memory.dmp

    Filesize

    64KB

  • memory/2200-15-0x0000000000400000-0x0000000000411000-memory.dmp

    Filesize

    68KB

  • memory/4956-20-0x0000000000400000-0x000000000080C000-memory.dmp

    Filesize

    4.0MB

  • memory/4956-0-0x0000000000400000-0x000000000080C000-memory.dmp

    Filesize

    4.0MB