Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-10-2024 13:36

General

  • Target

    79e24581526ffc14f107bb3bc28ff108_JaffaCakes118.exe

  • Size

    12.6MB

  • MD5

    79e24581526ffc14f107bb3bc28ff108

  • SHA1

    2ca1b6f5fc30878238ccf481acd095d51b430c8e

  • SHA256

    ee3e70cbecce8d6441bf0ab40c6e8c9b6bd25766ec39831de257ba1bf4d373c1

  • SHA512

    5bef24d5305d930875422a1eb974a4d533b097a466251dda0ef5882237a09a0767df7815861f58da0e8c2fa07178358593b113a5a05a068997663e4e94fbb841

  • SSDEEP

    49152:mGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGD:

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\79e24581526ffc14f107bb3bc28ff108_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\79e24581526ffc14f107bb3bc28ff108_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jepcgwby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dbqcwsdt.exe" C:\Windows\SysWOW64\jepcgwby\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jepcgwby binPath= "C:\Windows\SysWOW64\jepcgwby\dbqcwsdt.exe /d\"C:\Users\Admin\AppData\Local\Temp\79e24581526ffc14f107bb3bc28ff108_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jepcgwby "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jepcgwby
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2532
    • 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:4104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2256 -s 676
      2⤵
      • Program crash
      PID:2436
  • C:\Windows\SysWOW64\jepcgwby\dbqcwsdt.exe
    C:\Windows\SysWOW64\jepcgwby\dbqcwsdt.exe /d"C:\Users\Admin\AppData\Local\Temp\79e24581526ffc14f107bb3bc28ff108_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4784
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4784 -s 508
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2256 -ip 2256
    1⤵
      PID:4012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4784 -ip 4784
      1⤵
        PID:3092

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        02dc6e947ec5bf80b7462efd018e51f4

        SHA1

        8d16ae9ffe6b2621347cb64262e6fbbc9ba9aa99

        SHA256

        825b14cf71f04c419626acea6d50eaa613b288732942368bf06fbadbdf8f6fde

        SHA512

        3dddf28394588f413443e3d63635c11e97003efb065e5c982efdb57ed91e9c5fea0a54c5915810799b8e87bee01c85795e9e43d07ca1840a6f03f3d74530a3b6

      • memory/2256-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        84KB

      • memory/2256-2-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2256-9-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1024KB

      • memory/4208-14-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4208-16-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4208-17-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/4784-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4784-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4784-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4784-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB