Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-11-2024 18:32

General

  • Target

    9d352b6068831670fae5abf011f496ed_JaffaCakes118.exe

  • Size

    11.2MB

  • MD5

    9d352b6068831670fae5abf011f496ed

  • SHA1

    e5c0461326655b1c828ce17d694dc21fc23fdc3c

  • SHA256

    63cdf16cd0b3d4c7b4b95be5afaa22532bc162806cc222f7e928d3a614d14c76

  • SHA512

    b886596e31eb5549658a239d3370caa8acacfbf1bf57815853c1fbab513f80de8dd75bcf2b1f189e5697ccbd36fa8d9f7d925c13c91af4c7f576edb930c0c2a4

  • SSDEEP

    98304:nn77777777777777777777777777777777777777777777777777777777777777:n

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9d352b6068831670fae5abf011f496ed_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9d352b6068831670fae5abf011f496ed_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dvhpbqsz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jqozeznb.exe" C:\Windows\SysWOW64\dvhpbqsz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dvhpbqsz binPath= "C:\Windows\SysWOW64\dvhpbqsz\jqozeznb.exe /d\"C:\Users\Admin\AppData\Local\Temp\9d352b6068831670fae5abf011f496ed_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dvhpbqsz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dvhpbqsz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1152 -s 1280
      2⤵
      • Program crash
      PID:2584
  • C:\Windows\SysWOW64\dvhpbqsz\jqozeznb.exe
    C:\Windows\SysWOW64\dvhpbqsz\jqozeznb.exe /d"C:\Users\Admin\AppData\Local\Temp\9d352b6068831670fae5abf011f496ed_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2520 -s 516
      2⤵
      • Program crash
      PID:1356
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1152 -ip 1152
    1⤵
      PID:4968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2520 -ip 2520
      1⤵
        PID:2868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\jqozeznb.exe

        Filesize

        12.6MB

        MD5

        f122c9fac48ece7f95f11f9c36feb4a1

        SHA1

        1896c2d8c615bd8ee57317f78df5fd99eaedebe9

        SHA256

        594ddddd9a0a82ae27e85d753ecc1b59a68b674cb82d8585e84491abcb38162d

        SHA512

        e113f2304d3c1e8229a60a8d7bbd44d28fa3fc84f77029478b8f97d26959137388c7141b4ce0aa290fbafb8f29df419a772a1faad6a57ff3ec9bb027df08a7f1

      • memory/1152-9-0x00000000007B0000-0x00000000007C3000-memory.dmp

        Filesize

        76KB

      • memory/1152-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1152-2-0x00000000007B0000-0x00000000007C3000-memory.dmp

        Filesize

        76KB

      • memory/1152-8-0x0000000000400000-0x000000000050F000-memory.dmp

        Filesize

        1.1MB

      • memory/1152-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1152-1-0x0000000000800000-0x0000000000900000-memory.dmp

        Filesize

        1024KB

      • memory/2520-13-0x0000000000400000-0x000000000050F000-memory.dmp

        Filesize

        1.1MB

      • memory/2520-12-0x0000000000400000-0x000000000050F000-memory.dmp

        Filesize

        1.1MB

      • memory/2520-11-0x0000000000400000-0x000000000050F000-memory.dmp

        Filesize

        1.1MB

      • memory/2520-18-0x0000000000400000-0x000000000050F000-memory.dmp

        Filesize

        1.1MB

      • memory/4436-16-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4436-14-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4436-17-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB