Analysis

  • max time kernel
    147s
  • 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
    23-12-2024 20:12

General

  • Target

    JaffaCakes118_cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2.exe

  • Size

    142KB

  • MD5

    558455c90379aa477528aecf5c9171cd

  • SHA1

    5ab455b2ec8b9005a1bacd4f7e522cbae7c6bebe

  • SHA256

    cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2

  • SHA512

    9db45da59dd7521927d0851b1cc96edab7bf1ba81d50d479ede299a34e2f42ef3fdda972dbe0e7ae29acb1c7475896d9931ba725f56a03d19a11c1385a6d7617

  • SSDEEP

    1536:68EcWv2ZfLIPL09oTPftjqy/3/NousvD19QQ2hCubXj5/ICjNH7wbnFIsyna5Y4M:dT/oTPftjqb1yd7z5QWbwDOsFY2

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_cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iokabpgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zeasqtf.exe" C:\Windows\SysWOW64\iokabpgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iokabpgg binPath= "C:\Windows\SysWOW64\iokabpgg\zeasqtf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iokabpgg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iokabpgg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • 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:2000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 848 -s 1044
      2⤵
      • Program crash
      PID:2756
  • C:\Windows\SysWOW64\iokabpgg\zeasqtf.exe
    C:\Windows\SysWOW64\iokabpgg\zeasqtf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf6104e5331d9a119eeb7875e4f09dda1321328b474b8ea5f079d81df98cfad2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4672
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1712 -s 512
      2⤵
      • Program crash
      PID:3720
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 848 -ip 848
    1⤵
      PID:2972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1712 -ip 1712
      1⤵
        PID:4140

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        c7bc2c3e863390618d44bda3e16a8ac8

        SHA1

        d794293fcc7e1b964ff591996dc42d67f01b90fc

        SHA256

        b4135d11cf619a0c01ed9098a931e0b1d9763454ad951ba08418a9d10dbe0023

        SHA512

        6b2fa68f69d968177c3ad54b2f0b0c0ead5a5811e42e6b477383e944f3b05bd6f9e9d59f3a222625a3ea09f4a59be8a6fdb5c8ad0d5a98e6a219c8b3ee49dbf9

      • memory/848-9-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/848-2-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

      • memory/848-8-0x0000000000400000-0x00000000004AA000-memory.dmp

        Filesize

        680KB

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

        Filesize

        84KB

      • memory/848-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

      • memory/1712-12-0x0000000000400000-0x00000000004AA000-memory.dmp

        Filesize

        680KB

      • memory/1712-13-0x0000000000400000-0x00000000004AA000-memory.dmp

        Filesize

        680KB

      • memory/1712-11-0x0000000000400000-0x00000000004AA000-memory.dmp

        Filesize

        680KB

      • memory/1712-18-0x0000000000400000-0x00000000004AA000-memory.dmp

        Filesize

        680KB

      • memory/4672-14-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4672-16-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4672-17-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB