Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-11-2024 16:23

General

  • Target

    a2f26ac6d777b4fe2c91e979c4fa9aa8_JaffaCakes118.exe

  • Size

    10.0MB

  • MD5

    a2f26ac6d777b4fe2c91e979c4fa9aa8

  • SHA1

    7563de6150b7c7743757bb0a90afb9f2c7627d8b

  • SHA256

    d603d68330bbeafc83eee0776c42cd3060edd9431b98b504c889ef70535e8854

  • SHA512

    d66f5dc3ba39303ca7ad4694c25b81e5e282bca18ae0e5e4f09a37a481b0e38d130626ca59041b2fe4660d28b4cd10959cfc0a0ec1eb85688d0d91c581846395

  • SSDEEP

    49152:Muuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu3:

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\a2f26ac6d777b4fe2c91e979c4fa9aa8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a2f26ac6d777b4fe2c91e979c4fa9aa8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kdpqbbkx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iajrobnh.exe" C:\Windows\SysWOW64\kdpqbbkx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kdpqbbkx binPath= "C:\Windows\SysWOW64\kdpqbbkx\iajrobnh.exe /d\"C:\Users\Admin\AppData\Local\Temp\a2f26ac6d777b4fe2c91e979c4fa9aa8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kdpqbbkx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kdpqbbkx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1972
    • 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:3152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3716 -s 1236
      2⤵
      • Program crash
      PID:1532
  • C:\Windows\SysWOW64\kdpqbbkx\iajrobnh.exe
    C:\Windows\SysWOW64\kdpqbbkx\iajrobnh.exe /d"C:\Users\Admin\AppData\Local\Temp\a2f26ac6d777b4fe2c91e979c4fa9aa8_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1828
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3200
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1828 -s 536
      2⤵
      • Program crash
      PID:3604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3716 -ip 3716
    1⤵
      PID:920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1828 -ip 1828
      1⤵
        PID:2812

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        2974dc177d3518a46bc0e6c00992ed7d

        SHA1

        d29390addc45f9453b52c75067f0044b0c9438f5

        SHA256

        c098d80f5cf50a04d5942363641cba50667b283172df0bec644d79eb62d38baf

        SHA512

        934abac4d59561b73785ae7bc3de6e2fa668424195609186931603ec792f90aae60f8480b24f02703e117d1f628387791cac86d2e85f8f9a33dab7554d56d904

      • memory/1828-15-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB

      • memory/3200-11-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB

      • memory/3200-13-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB

      • memory/3200-14-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB

      • memory/3716-1-0x0000000002F30000-0x0000000003030000-memory.dmp

        Filesize

        1024KB

      • memory/3716-2-0x0000000002E00000-0x0000000002E13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3716-9-0x0000000002E00000-0x0000000002E13000-memory.dmp

        Filesize

        76KB

      • memory/3716-8-0x0000000000400000-0x0000000002C68000-memory.dmp

        Filesize

        40.4MB