Analysis

  • max time kernel
    120s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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.

  • Deletes itself 1 IoCs
  • 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.

  • Loads dropped DLL 2 IoCs
  • 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: CmdExeWriteProcessMemorySpam 4 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 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:1856
    • 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:2984
    • 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:2168
    • 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:2916
    • C:\Windows\SysWOW64\cmd.exe
      cmd.exe /c schtasks /Run /TN Protect
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2696
      • C:\Windows\SysWOW64\schtasks.exe
        schtasks /Run /TN Protect
        3⤵
        • System Location Discovery: System Language Discovery
        PID:2932
    • C:\Windows\SysWOW64\schtasks.exe
      schtasks /Delete /TN Protect /f
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2648
    • C:\Users\Admin\AppData\Local\Temp\2aff6bd9dfb80c1ac34180e17ccc9c24_JaffaCakes118.exe
      /Installed
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1872
      • 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:2416
        • 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:1032
        • 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:2616
        • 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:1312
        • C:\Windows\SysWOW64\cmd.exe
          cmd.exe /c schtasks /Run /TN Protect
          4⤵
          • System Location Discovery: System Language Discovery
          PID:408
          • C:\Windows\SysWOW64\schtasks.exe
            schtasks /Run /TN Protect
            5⤵
            • System Location Discovery: System Language Discovery
            PID:3016
        • C:\Windows\SysWOW64\schtasks.exe
          schtasks /Delete /TN Protect /f
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1956
        • 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
          • Deletes itself
          • 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:696
          • 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:1920
          • 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:2928
        • C:\Windows\SysWOW64\setx.exe
          setx.exe ProgramData "C:\ProgramData"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1572
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c C:\Users\Admin\AppData\Local\Temp\BD658C07.cmd
        3⤵
        • System Location Discovery: System Language Discovery
        PID:2428
    • C:\Windows\SysWOW64\setx.exe
      setx.exe ProgramData "C:\ProgramData"
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2332
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {14552175-1E57-4D1E-AAB0-11F4E112998E} S-1-5-18:NT AUTHORITY\System:Service:
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2940
    • C:\Windows\SYSTEM32\cmd.exe
      C:\Windows\SYSTEM32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Protect.bat"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2852
      • 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)
        3⤵
        • Executes dropped EXE
        • Suspicious behavior: CmdExeWriteProcessMemorySpam
        PID:2836
      • 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)
        3⤵
        • Executes dropped EXE
        • Suspicious behavior: CmdExeWriteProcessMemorySpam
        PID:2596
    • C:\Windows\SYSTEM32\cmd.exe
      C:\Windows\SYSTEM32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Protect.bat"
      2⤵
        PID:3020
        • 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)
          3⤵
          • Executes dropped EXE
          • Suspicious behavior: CmdExeWriteProcessMemorySpam
          PID:1952
        • 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)
          3⤵
          • Executes dropped EXE
          • Suspicious behavior: CmdExeWriteProcessMemorySpam
          PID:1284

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\BD658C07.cmd

      Filesize

      152B

      MD5

      992042b0cc7d9a880d913f0f90ee8fd7

      SHA1

      9a39978c921716a9a495ada9d1374a49c83fa39d

      SHA256

      6e04b587bddf64bfc0970f79608f6bb94b2b63f4b14749260b7cb84192cd4cd0

      SHA512

      12605c22be196bbb19620a12ec8579f5a3b340a050c327b135caa07a8bb9e28e1ee7228bd3e7c45c0b73dbed3fe40e626594504727b306ade6944067796e5987

    • 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/696-124-0x00000000007B0000-0x0000000000931000-memory.dmp

      Filesize

      1.5MB

    • memory/696-116-0x0000000000400000-0x000000000041022F-memory.dmp

      Filesize

      64KB

    • memory/696-126-0x0000000000400000-0x000000000041022F-memory.dmp

      Filesize

      64KB

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

      Filesize

      4.0MB

    • memory/1856-51-0x0000000000400000-0x000000000080C000-memory.dmp

      Filesize

      4.0MB

    • memory/1856-19-0x0000000000090000-0x0000000000190000-memory.dmp

      Filesize

      1024KB

    • memory/1856-18-0x0000000000090000-0x0000000000190000-memory.dmp

      Filesize

      1024KB

    • memory/1856-1-0x0000000074E00000-0x0000000074E01000-memory.dmp

      Filesize

      4KB

    • memory/1856-2-0x0000000074DF0000-0x0000000074EE0000-memory.dmp

      Filesize

      960KB

    • memory/1856-45-0x0000000004DA0000-0x00000000051AC000-memory.dmp

      Filesize

      4.0MB

    • memory/1856-46-0x0000000000400000-0x000000000080C000-memory.dmp

      Filesize

      4.0MB

    • memory/1856-22-0x0000000000090000-0x0000000000190000-memory.dmp

      Filesize

      1024KB

    • memory/1856-50-0x0000000074DF0000-0x0000000074EE0000-memory.dmp

      Filesize

      960KB

    • memory/1872-52-0x0000000000400000-0x000000000041022F-memory.dmp

      Filesize

      64KB

    • memory/1872-120-0x0000000000400000-0x000000000041022F-memory.dmp

      Filesize

      64KB

    • memory/1872-29-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-47-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-34-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-62-0x0000000003FA0000-0x00000000043AC000-memory.dmp

      Filesize

      4.0MB

    • memory/1872-61-0x0000000003FA0000-0x00000000043AC000-memory.dmp

      Filesize

      4.0MB

    • memory/1872-44-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-39-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-41-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

      Filesize

      4KB

    • memory/1872-20-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/1872-43-0x0000000000400000-0x0000000000411000-memory.dmp

      Filesize

      68KB

    • memory/2416-115-0x0000000000400000-0x000000000080C000-memory.dmp

      Filesize

      4.0MB

    • memory/2416-64-0x0000000000400000-0x000000000080C000-memory.dmp

      Filesize

      4.0MB