Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-10-2024 20:25

General

  • Target

    673fd280acc70fb5a29c183c583b5435_JaffaCakes118.exe

  • Size

    12.2MB

  • MD5

    673fd280acc70fb5a29c183c583b5435

  • SHA1

    18a44308d157d47d534c6d8059a831ac38c43125

  • SHA256

    2477e4fdf1faf8de44ab120dc92ed7f485ce0c4cb734574907a7776b70265aee

  • SHA512

    b38862ecebf3aadb59ada9efba0ebec09ec23903352b36735f9e8c17b324c1800791af1bd5a95153dcb29ed99c10ab7dd04ec9fb6cecfc2a70827707788206e5

  • SSDEEP

    12288:06oEnffffffffffffffffffffffffffffffffffffffffffffffffffffffffff/:06

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.

  • 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\673fd280acc70fb5a29c183c583b5435_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\673fd280acc70fb5a29c183c583b5435_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jmijyenw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nusdidrf.exe" C:\Windows\SysWOW64\jmijyenw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jmijyenw binPath= "C:\Windows\SysWOW64\jmijyenw\nusdidrf.exe /d\"C:\Users\Admin\AppData\Local\Temp\673fd280acc70fb5a29c183c583b5435_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jmijyenw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jmijyenw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4876
    • 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:4616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4908 -s 800
      2⤵
      • Program crash
      PID:1692
  • C:\Windows\SysWOW64\jmijyenw\nusdidrf.exe
    C:\Windows\SysWOW64\jmijyenw\nusdidrf.exe /d"C:\Users\Admin\AppData\Local\Temp\673fd280acc70fb5a29c183c583b5435_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:444
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 444 -s 512
      2⤵
      • Program crash
      PID:4824
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4908 -ip 4908
    1⤵
      PID:3700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 444 -ip 444
      1⤵
        PID:4088

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        6bc86a020a87a6332312376e2e343c5b

        SHA1

        6a185be14ae8294ede919b4fc8df376a0e67b47a

        SHA256

        55746f2609fe4d1224acac4e8806ab75395baced18843a85d7164a070c87580c

        SHA512

        4e1b9ca57f302a80d8e6669423902596411eb7e9eace13a46bbf92cfc368a10f98b8752bfcc1c1062ec832a18516f7dd03e34e9b119900e5320d9ed0a0975031

      • memory/444-13-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/444-12-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/444-11-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/444-18-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/3740-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3740-16-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3740-17-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4908-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4908-8-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/4908-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/4908-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB