Analysis

  • max time kernel
    150s
  • max time network
    143s
  • 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 08:28

General

  • Target

    JaffaCakes118_13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2.exe

  • Size

    138KB

  • MD5

    b6486108ef7350618488a8ecee3d9782

  • SHA1

    09a6f333cf62f3c754e1317abdfa0d1146a30652

  • SHA256

    13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2

  • SHA512

    949f233b393ee14886e022cc959457f64b84f0367b2a7a2263634a71c31e7cc6b2c347d2010a3d1376dd53dc17c52aa9b0a1a2706eeaebac5926d574325699ca

  • SSDEEP

    3072:zPlxLfHhPIJbhanKUqs+r55shCxiSdzZj4:zvDBIJbh/dPM6JL

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_13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sljkebqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpzxxnwm.exe" C:\Windows\SysWOW64\sljkebqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sljkebqn binPath= "C:\Windows\SysWOW64\sljkebqn\rpzxxnwm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sljkebqn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sljkebqn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:2176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 716 -s 1040
      2⤵
      • Program crash
      PID:3260
  • C:\Windows\SysWOW64\sljkebqn\rpzxxnwm.exe
    C:\Windows\SysWOW64\sljkebqn\rpzxxnwm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_13ff4676c5a7e487edda736c39cc17cef014686f02b0109a06b5471f5e46f2c2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4196
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4196 -s 512
      2⤵
      • Program crash
      PID:4008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 716 -ip 716
    1⤵
      PID:3748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 4196 -ip 4196
      1⤵
        PID:4800

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        916f2de972027c314db8ec55156987a5

        SHA1

        bf8a13540b886d8d90ee617a9e340362cfa2f8e8

        SHA256

        555c9be4f6c1cb17bed5900288c923ac9acef4e227c45cb26e0e23a48a670e24

        SHA512

        0bc2e3018ffc39c2a4bd731ae3ab08b29504262de594a15c9dea89e0c748e11c393538a23537430fbb387e614d77e04bdf1563ab874c0fce0f134488b22c5d3f

      • memory/716-9-0x0000000000760000-0x0000000000773000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/716-2-0x0000000000760000-0x0000000000773000-memory.dmp

        Filesize

        76KB

      • memory/716-8-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

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

        Filesize

        84KB

      • memory/716-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

        Filesize

        1024KB

      • memory/1032-16-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/1032-14-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/1032-17-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/4196-11-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4196-13-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4196-12-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4196-19-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB