Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 21:41

General

  • Target

    JaffaCakes118_bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048.exe

  • Size

    233KB

  • MD5

    d8961898d3975db92f158c4ff70fff57

  • SHA1

    591f965bbb3222b40daff85fd859fb6844ded151

  • SHA256

    bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048

  • SHA512

    4e31f4c36680bfcaec5a1d036592c92581be9c70a08a9a285755daa2319ca9f38911176f151ed51f347b4dd9b9fb5159385540ac02d3fa4d358a4d85467cb9a2

  • SSDEEP

    6144:4c8ikuMSSqBZbH7HOBPyIyf44V+qrLQTl+0i23GUZ:4c8ikvSvZbHTMkdV+yLQBiaG8

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_bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iabswuwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubnajwxr.exe" C:\Windows\SysWOW64\iabswuwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iabswuwf binPath= "C:\Windows\SysWOW64\iabswuwf\ubnajwxr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iabswuwf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iabswuwf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2588
    • 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:1964
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 1040
      2⤵
      • Program crash
      PID:2088
  • C:\Windows\SysWOW64\iabswuwf\ubnajwxr.exe
    C:\Windows\SysWOW64\iabswuwf\ubnajwxr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bb24d12fa50e680ede3fc873bbec9b08ff9f855c9f66f1fe404e41ecbc5cc048.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3260
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3260 -s 536
      2⤵
      • Program crash
      PID:2364
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4744 -ip 4744
    1⤵
      PID:2476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 3260 -ip 3260
      1⤵
        PID:3492

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        ae4f082262bfecfb0d554fad10ce431e

        SHA1

        3773163e9aeaf4f74db68e464a5617149b763c1f

        SHA256

        0c7a170e61600e4e9c8bb1a11ee44f84f9453cde486f31b6c65b13e06e278432

        SHA512

        92376a8e9b09bc66f0ed85aab0032dcc65c512870b38addb2a6fbee29c7b7adbf73ac22ce4dae03eee2c0513edb4750ec8108ef4a34f6797578267ea71c7b6ae

      • memory/3260-11-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3260-17-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3260-12-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4656-13-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4656-15-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4656-16-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4744-9-0x00000000009B0000-0x00000000009C3000-memory.dmp

        Filesize

        76KB

      • memory/4744-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4744-1-0x0000000000AB0000-0x0000000000BB0000-memory.dmp

        Filesize

        1024KB

      • memory/4744-2-0x00000000009B0000-0x00000000009C3000-memory.dmp

        Filesize

        76KB