Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 23:17

General

  • Target

    JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe

  • Size

    237KB

  • MD5

    1191183d3c4cca2e9799d6a6d1c67b18

  • SHA1

    6924ade5ffeef5b226223b83820e0e7c962a6102

  • SHA256

    a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c

  • SHA512

    7dcf7b30bb597917996ae1b22125df13127ee0a67242440c4b1ca3d7eb3f14f7435d180b1141d7c0cdee6e50891398ccac2a05c7953b372173b20bd66b282353

  • SSDEEP

    6144:64Mm3W6nJ+lQ/7O3gLtA3wdZwwisdBLyJFJN5P0:6dbYJ+lQMgLtAgtiMxyJFJNN0

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 4 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_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lykjrqia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mtfsbopj.exe" C:\Windows\SysWOW64\lykjrqia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lykjrqia binPath= "C:\Windows\SysWOW64\lykjrqia\mtfsbopj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lykjrqia "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lykjrqia
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4700
    • 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:1992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 1032
      2⤵
      • Program crash
      PID:1924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 1160
      2⤵
      • Program crash
      PID:2288
  • C:\Windows\SysWOW64\lykjrqia\mtfsbopj.exe
    C:\Windows\SysWOW64\lykjrqia\mtfsbopj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a3adb0166f99e3d6632f0c915e9bf9361223b42639703f13873d9a1934e6797c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1136
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1136 -s 524
      2⤵
      • Program crash
      PID:3912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1136 -s 564
      2⤵
      • Program crash
      PID:756
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3896 -ip 3896
    1⤵
      PID:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 3896 -ip 3896
      1⤵
        PID:4484
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1136 -ip 1136
        1⤵
          PID:3476
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1136 -ip 1136
          1⤵
            PID:3084

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.0MB

            MD5

            695db9f7141922a0f2cd508785a9e9df

            SHA1

            2bdc07ee9f75f9bce0d32a0cbfe00cfef8150648

            SHA256

            315b588d9ea9a25ec42539be4dfaa35e1e3962ca72e489949c31d5d18707b5d4

            SHA512

            619d31ba72ef0cb09de22521d978e29d952a8c5739c972af01523f9fce39a9d703667e3041ba869fb77be838562adbdd9eccee5875fef02ec46f6dd8cef00a2f

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

            Filesize

            4.4MB

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

            Filesize

            4.4MB

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

            Filesize

            4.4MB

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

            Filesize

            84KB

          • memory/3896-1-0x0000000000B40000-0x0000000000C40000-memory.dmp

            Filesize

            1024KB

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

            Filesize

            76KB

          • memory/3896-13-0x0000000000400000-0x000000000086B000-memory.dmp

            Filesize

            4.4MB

          • memory/3896-15-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3896-14-0x00000000009B0000-0x00000000009C3000-memory.dmp

            Filesize

            76KB

          • memory/3996-9-0x00000000012C0000-0x00000000012D5000-memory.dmp

            Filesize

            84KB

          • memory/3996-17-0x00000000012C0000-0x00000000012D5000-memory.dmp

            Filesize

            84KB

          • memory/3996-18-0x00000000012C0000-0x00000000012D5000-memory.dmp

            Filesize

            84KB