Analysis

  • max time kernel
    150s
  • 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
    01-01-2025 02:58

General

  • Target

    JaffaCakes118_44aff61225dc93f5a33a145a34b1f6e3.exe

  • Size

    15.0MB

  • MD5

    44aff61225dc93f5a33a145a34b1f6e3

  • SHA1

    54fac1b15397d5bba2eedd6ba52f67f6a9ff8f7c

  • SHA256

    94fcc1fdb0ae7b98b9cd743cc107e8b7cfe7acc2ee8332f8422753d1d8907dba

  • SHA512

    9273a73af5944438ee9256ad8d1a6de06eab470613df248c84322f8b58916a895ad364323f996b06f5597a0b46da343306b540f6acac5fef0c4d96139e0f2992

  • SSDEEP

    3072:baS38GobyuzWzZOOUzjxrQGoLYs4ztTuG0AywlGuupORqJVOB2jLE5zfcLlJXSMZ:WSsfbyuRzZQn0Fzt28q+ZULfi

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_44aff61225dc93f5a33a145a34b1f6e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_44aff61225dc93f5a33a145a34b1f6e3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bfugubmv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhqanqvh.exe" C:\Windows\SysWOW64\bfugubmv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bfugubmv binPath= "C:\Windows\SysWOW64\bfugubmv\nhqanqvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_44aff61225dc93f5a33a145a34b1f6e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bfugubmv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bfugubmv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4800
    • 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:2044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2472 -s 1036
      2⤵
      • Program crash
      PID:2748
  • C:\Windows\SysWOW64\bfugubmv\nhqanqvh.exe
    C:\Windows\SysWOW64\bfugubmv\nhqanqvh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_44aff61225dc93f5a33a145a34b1f6e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:912
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 912 -s 520
      2⤵
      • Program crash
      PID:5076
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2472 -ip 2472
    1⤵
      PID:2568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 912 -ip 912
      1⤵
        PID:544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        631a4438806ad94a67efe5ee2095c204

        SHA1

        9fadb2e838204c31c4872e255b1d9c35b4a145f4

        SHA256

        d61b5a87261d60b4d110d65248621655025d6ccfaf05e7d1de18262e5d2d413f

        SHA512

        041ba36f6f0e6a4c2ce8a7615323ce1bc12ac343f59ebe7ca202d15ac74bdb87e358800a02663935993ca4c9f049528dfe097478339c81fe631afb26c0e13d7f

      • memory/912-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/2472-2-0x0000000002D20000-0x0000000002D33000-memory.dmp

        Filesize

        76KB

      • memory/2472-1-0x0000000002E10000-0x0000000002F10000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2472-9-0x0000000002D20000-0x0000000002D33000-memory.dmp

        Filesize

        76KB

      • memory/2472-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/3852-11-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/3852-13-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/3852-14-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB