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
    31-12-2024 06:54

General

  • Target

    JaffaCakes118_098f305ad80931639cbd55398fae8c4a.exe

  • Size

    14.5MB

  • MD5

    098f305ad80931639cbd55398fae8c4a

  • SHA1

    2389c6a040ba89e89ebd0502674c8626b232c3f9

  • SHA256

    2b7385aa5abdda5bbf3da3fc48215fc837b3cd15270fc618ceac03bfb5c0ddca

  • SHA512

    611afe35a3fdf49526b6ec04a095f1fcea608b65dafd96f6e6b1d55eee5b7e3801a905620862764f91b2deb256c0a29c68da7d72ab0438421d5d5d70d8b7c3b8

  • SSDEEP

    6144:DLmhaXrxJHCx7HdqAT7mvs/bNAk3B79NmVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVj:DLmhaXrxJHuHdPT1n9N

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_098f305ad80931639cbd55398fae8c4a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_098f305ad80931639cbd55398fae8c4a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\inwhqxua\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fmyluhic.exe" C:\Windows\SysWOW64\inwhqxua\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create inwhqxua binPath= "C:\Windows\SysWOW64\inwhqxua\fmyluhic.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_098f305ad80931639cbd55398fae8c4a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description inwhqxua "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start inwhqxua
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1836
    • 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:4544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2468 -s 1040
      2⤵
      • Program crash
      PID:3132
  • C:\Windows\SysWOW64\inwhqxua\fmyluhic.exe
    C:\Windows\SysWOW64\inwhqxua\fmyluhic.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_098f305ad80931639cbd55398fae8c4a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2776
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2776 -s 512
      2⤵
      • Program crash
      PID:4880
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2468 -ip 2468
    1⤵
      PID:3064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2776 -ip 2776
      1⤵
        PID:5000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        e68841b5091a163a6b59aaf33db6e754

        SHA1

        01104c2dc3bf3de3607c95b94aa4df5d4fec2ea7

        SHA256

        ddbe587715f46547f570d5a9fec11d07b4344893c064271ba8a028d31ca1cf86

        SHA512

        0bb69f1730a104f3c5fcfe46d0bc60883837843a9ec0ad5bec230d554d8a538fa644cd65d3d8768438513b0212fe0e0c479fc59dc358969e9c9a0097dfc8b87a

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2468-8-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

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

        Filesize

        84KB

      • memory/2468-1-0x0000000000B00000-0x0000000000C00000-memory.dmp

        Filesize

        1024KB

      • memory/2776-11-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/2776-12-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/2776-16-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/2776-19-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/4996-13-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB

      • memory/4996-15-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB

      • memory/4996-17-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB