Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 22:16

General

  • Target

    JaffaCakes118_3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f.exe

  • Size

    243KB

  • MD5

    5bec809283e0c01e1992ead19a369ff7

  • SHA1

    4885c08dc92d4c9ce5f5851d41626d5bdd84504d

  • SHA256

    3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f

  • SHA512

    3918e327a4bd7c75de753c2988e3d1af735168a995d4a5f05a7469e2694c104f6bd1d5c22a22d1b1fa167344c75041ea3fec87681c6becd620905138629354a2

  • SSDEEP

    6144:ogZQpRhZlXC496tu87b7PYJVWs6b4B3D3lcxx:HZsXC496T7P+Qb4BTex

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\JaffaCakes118_3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmqutlwo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vlgsmycu.exe" C:\Windows\SysWOW64\qmqutlwo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qmqutlwo binPath= "C:\Windows\SysWOW64\qmqutlwo\vlgsmycu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qmqutlwo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qmqutlwo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2416
    • 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:4460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 676
      2⤵
      • Program crash
      PID:3944
  • C:\Windows\SysWOW64\qmqutlwo\vlgsmycu.exe
    C:\Windows\SysWOW64\qmqutlwo\vlgsmycu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c4fd17000293eb607581d749e88e41ac031464f9752e8bee38c5f09713ef14f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2388 -s 508
      2⤵
      • Program crash
      PID:2148
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4576 -ip 4576
    1⤵
      PID:3028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2388 -ip 2388
      1⤵
        PID:1992

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        2304a0b34dbd422e62d02ab22c316ccc

        SHA1

        a78eba4f6671f1efaba67b1d13ecab92e2f265d8

        SHA256

        a7c3a83b0c2944a293e825135fe6c48f603bc038adcf01aed44e47dd9d30bc97

        SHA512

        7da7de2ff350577bd302a1d201c9ab72ec5576c00baf6fdc63d89f04a7d2073d68ffab3d672289f9c9ae4e40a1814b2dd8fb0afc441e8f6119cc51aa996f4de1

      • memory/2388-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2388-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2388-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2388-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2700-14-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/2700-16-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/2700-17-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4576-2-0x00000000004C0000-0x00000000004D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4576-9-0x00000000004C0000-0x00000000004D3000-memory.dmp

        Filesize

        76KB

      • memory/4576-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4576-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB