Analysis

  • max time kernel
    150s
  • max time network
    146s
  • 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 16:19

General

  • Target

    JaffaCakes118_ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f.exe

  • Size

    328KB

  • MD5

    a73c813fc82d9241239cce8bcb32ec7c

  • SHA1

    dcac6a0e5617e9370d80abc63f1c7322b5e0326c

  • SHA256

    ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f

  • SHA512

    a816ddf984550d3b19c3c42d0c620f6017a4793869914b33357a7d8b4fcec54edfe8d250ca04a64af2a686241af536a6ca42f3d3c78634244209116f9f37d23c

  • SSDEEP

    6144:w3VYRDgJ9dCwbNAJIZMVfwoi4YnbL+lKf7xUsDYXboo:oV0sY2fnbL+lKtUyYv

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\typhdsvo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zfadmvvq.exe" C:\Windows\SysWOW64\typhdsvo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create typhdsvo binPath= "C:\Windows\SysWOW64\typhdsvo\zfadmvvq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description typhdsvo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start typhdsvo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • 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:4428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1952 -s 652
      2⤵
      • Program crash
      PID:2132
  • C:\Windows\SysWOW64\typhdsvo\zfadmvvq.exe
    C:\Windows\SysWOW64\typhdsvo\zfadmvvq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac4b01f7584ce24c3e53d9b67355d4492837efb70c46fea6bb1b283c0bbf3c8f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3300
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3300 -s 552
      2⤵
      • Program crash
      PID:2040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1952 -ip 1952
    1⤵
      PID:2104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3300 -ip 3300
      1⤵
        PID:5032

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        6afe6687dbd0861e40de14375560bd42

        SHA1

        33da55860c1bf3714e99e21d3733b739ac4d5ca8

        SHA256

        e51fd7c7453f18737fd9880040aa9374bdf81993c615153a9300b2f95e18dcb2

        SHA512

        048e2e7eb829e7c622900790d9dd961d439ed8b5342eb4a3f2f7355d86ae07815d9d58cb9dc02d0fa06b4a7aaa723cd25f1bc03f218e2932e4d9cc2f074a9b7f

      • memory/1952-1-0x0000000002530000-0x0000000002630000-memory.dmp

        Filesize

        1024KB

      • memory/1952-2-0x0000000004120000-0x0000000004133000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1952-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1952-8-0x0000000004120000-0x0000000004133000-memory.dmp

        Filesize

        76KB

      • memory/1952-7-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB

      • memory/3300-15-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB

      • memory/4516-13-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4516-11-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4516-14-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB