Analysis

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

General

  • Target

    JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe

  • Size

    243KB

  • MD5

    0951fa631d9b9f6c0b62c55fa8ff1c18

  • SHA1

    1e5b62640051bb5a70aabd3189e3a09c0864e1c7

  • SHA256

    e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc

  • SHA512

    906bf4be6512c22ed1307fa00feed1590a3e34ba32251640211bbbcc49af33c995f32fb27dcd51fdce525b91fdd1afe1b0a22b6a912f12a521afb29d9e05488c

  • SSDEEP

    6144:TEZQ/ISjbrjw8vNivYFigPcYTzJ8CUlB1NCUw2lqc8:AZMjXjw8vEpgPTPJR2l9

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_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dzifaxlw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwufkfth.exe" C:\Windows\SysWOW64\dzifaxlw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3568
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dzifaxlw binPath= "C:\Windows\SysWOW64\dzifaxlw\pwufkfth.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dzifaxlw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dzifaxlw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3996
    • 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:4448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4980 -s 664
      2⤵
      • Program crash
      PID:3872
  • C:\Windows\SysWOW64\dzifaxlw\pwufkfth.exe
    C:\Windows\SysWOW64\dzifaxlw\pwufkfth.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6989d9a9bfec4432d36ac3f6ab78bbc5a26e537454dd86fef8ff870c6375dbc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3448
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3448 -s 512
      2⤵
      • Program crash
      PID:392
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4980 -ip 4980
    1⤵
      PID:2752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 3448 -ip 3448
      1⤵
        PID:356

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        059fe0d696b73c5c64afa72ad186244e

        SHA1

        8eac55e51b57396bc7f0531c70bdf620e44cc7bd

        SHA256

        c1bd7430b28a08c9c0780087896d1f44602e9f4c267900a714071902242157af

        SHA512

        f04026dd67edf0babc81e87294c76e0caf5342e77ad88f5cab025d79ba5164d4c78dd1442d8950aea368d3623f81c4e85d2e54661ecc22b28c594c07a01581f4

      • memory/2384-16-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB

      • memory/2384-17-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB

      • memory/2384-14-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

        Filesize

        84KB

      • memory/3448-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3448-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3448-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3448-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/4980-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4980-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

      • memory/4980-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/4980-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB