Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 06:22

General

  • Target

    JaffaCakes118_8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2.exe

  • Size

    242KB

  • MD5

    a0bf195fa7579fdfbc39dd8bcba6a5dd

  • SHA1

    d4cf4ec6326a38c0750f9324f18473383c61f383

  • SHA256

    8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2

  • SHA512

    5335564141fd678defbb34f71cddefbc2a50cce648095de7b211590c64e42ac20339113449b1ebe3f97ee7c26d5ca388feb153c55290278735c0c4b38bac3e48

  • SSDEEP

    6144:5GZQ1thzjRY1VPr6ux7UkPf+52qDLgx9gfaY:0ZYzjRYbP2ZkPG4OLgx9

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_8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nspmmuge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sxtljmy.exe" C:\Windows\SysWOW64\nspmmuge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nspmmuge binPath= "C:\Windows\SysWOW64\nspmmuge\sxtljmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nspmmuge "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nspmmuge
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3416
    • 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:1424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4068 -s 1028
      2⤵
      • Program crash
      PID:948
  • C:\Windows\SysWOW64\nspmmuge\sxtljmy.exe
    C:\Windows\SysWOW64\nspmmuge\sxtljmy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8f5d6d636c5957cfc3c7b0bbf389cf33d18eca56012cec3d1510af375a9c52f2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4720 -s 508
      2⤵
      • Program crash
      PID:4504
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4068 -ip 4068
    1⤵
      PID:5100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 4720 -ip 4720
      1⤵
        PID:1988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        57c324bcc8bd22da5a5d5ff40d95d4a6

        SHA1

        db13952ea9b5aa9c22accf8cef80fd2f83b4273c

        SHA256

        fe9e703333b6deee3743e8b26b9167309c024ab514e0d20ed4d7bfbee6750203

        SHA512

        83c352a812562030cf946489942c7d54679dd4f3e55833f81a4d70ab07073fd93a9ac24c9f8935a58c102595ba6572d215fbf5b6ddbdf296eab7486b545ff14c

      • memory/3408-13-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/3408-16-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/3408-15-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4068-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        308KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        308KB

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

        Filesize

        308KB

      • memory/4720-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB