Analysis

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

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

General

  • Target

    JaffaCakes118_47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119.exe

  • Size

    168KB

  • MD5

    b6694bc1c3470e6fa42b39e1fce2cd13

  • SHA1

    0762960e9f7c2277618a98869e5cb9921112aa88

  • SHA256

    47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119

  • SHA512

    b5b0a4d411d020df94b749fd4d103edd0fe40a320e64a77314aaa6230c47d8f308242dda6a3ccfcb15138e5e372025091eba5dd53c8707ea7f2733ec84a8e4f3

  • SSDEEP

    3072:2Yx0uJ28EQFGlerSmgPxEquAct5A4b4CpSmS9H6dYs:90uZGleNW4AkBEad

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_47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jlgawzwz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lfbhscua.exe" C:\Windows\SysWOW64\jlgawzwz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jlgawzwz binPath= "C:\Windows\SysWOW64\jlgawzwz\lfbhscua.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jlgawzwz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jlgawzwz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4536
    • 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:1136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1680 -s 672
      2⤵
      • Program crash
      PID:2100
  • C:\Windows\SysWOW64\jlgawzwz\lfbhscua.exe
    C:\Windows\SysWOW64\jlgawzwz\lfbhscua.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_47da2b60d36bad5a151d449e854f8b9588f78f8c7d981f214e97e767ec17d119.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3912
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3912 -s 516
      2⤵
      • Program crash
      PID:4812
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1680 -ip 1680
    1⤵
      PID:3632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3912 -ip 3912
      1⤵
        PID:4928

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        725c8e57c1e7b56b649c340c8a293b9c

        SHA1

        457d197c666b120470ba1e85d3b5fac5fb926a63

        SHA256

        35946c833b1710af84c2950a17827f65bf6dbea9541dc5e14cc0de170ab4460f

        SHA512

        605d66e46407c6a86de6a662e40574e2b69ee79653f86a9ceed84cea157b2ea1809499dc503459fef2644c63da241aa18697c505f78bc1fe7b68615e1359d0d6

      • memory/220-13-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/220-16-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/220-17-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1680-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

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

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/1680-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/1680-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        704KB

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

        Filesize

        704KB

      • memory/3912-15-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3912-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB