Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-09-2024 12:04

General

  • Target

    da4efa4dc0e8934cd7c4403bde140eb9_JaffaCakes118.exe

  • Size

    12.6MB

  • MD5

    da4efa4dc0e8934cd7c4403bde140eb9

  • SHA1

    f5af5f0393a2a75691da8831486d6bd3520dda66

  • SHA256

    5aeb6defea1c4f76eead2ea4491eddae43eb4cf08e5324c1eeb7ecfc2a98f7da

  • SHA512

    0fdad19c9bbe52715c265ba5dd0f2d5171a37cb1f573a66eed52c9fdde3aaef0523471b6579a9fbf00b925566d306aa7da9a2846dbca2d62bfc02863e7d21216

  • SSDEEP

    98304:EuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuK:

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.

  • 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\da4efa4dc0e8934cd7c4403bde140eb9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\da4efa4dc0e8934cd7c4403bde140eb9_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\juumaefc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zpkwqcgy.exe" C:\Windows\SysWOW64\juumaefc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create juumaefc binPath= "C:\Windows\SysWOW64\juumaefc\zpkwqcgy.exe /d\"C:\Users\Admin\AppData\Local\Temp\da4efa4dc0e8934cd7c4403bde140eb9_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description juumaefc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start juumaefc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • 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:1820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3432 -s 1036
      2⤵
      • Program crash
      PID:3324
  • C:\Windows\SysWOW64\juumaefc\zpkwqcgy.exe
    C:\Windows\SysWOW64\juumaefc\zpkwqcgy.exe /d"C:\Users\Admin\AppData\Local\Temp\da4efa4dc0e8934cd7c4403bde140eb9_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2404
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2404 -s 528
      2⤵
      • Program crash
      PID:4848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3432 -ip 3432
    1⤵
      PID:4424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 2404 -ip 2404
      1⤵
        PID:4632

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        d01563d7011d013e0da8a12567b29b3a

        SHA1

        f762d40a8099c29be46c7ad1b63fd1b15f3fdbc9

        SHA256

        55846e262a646bd19e4f61e549c4c6df7d12140d753a3470cf047982155b0308

        SHA512

        f8332e908a057781880d9d09b65630f2eac26b9d9d5f56b6dab7572b03c0421b703daf1cba05152acdeb008596970199fc0319f205515453b9513bbedc3375ef

      • memory/532-14-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/532-17-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/532-16-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/2404-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2404-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2404-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/2404-19-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3432-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/3432-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3432-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3432-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB