Analysis

  • max time kernel
    146s
  • 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
    30-12-2024 06:08

General

  • Target

    JaffaCakes118_7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22.exe

  • Size

    238KB

  • MD5

    88e99e937fb74c00ddd0ad4f2bd2cb6c

  • SHA1

    aa04d71a3586d4bd0e00966f7347eb420e016b67

  • SHA256

    7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22

  • SHA512

    5f861e16c4b7863acc8c60e8363d328f3108417be65870918a81d2f3e93d12b40d2f18ba6c6401e3035c89dd72a021393fdad6a66ae56a31283522ecad468467

  • SSDEEP

    6144:MpZQC4h2Yaltbf2O133EhKew3Oj2GYdK:OZ8altbfDEhFCfG

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_7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\phzeithe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yfrenabv.exe" C:\Windows\SysWOW64\phzeithe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create phzeithe binPath= "C:\Windows\SysWOW64\phzeithe\yfrenabv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description phzeithe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start phzeithe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3172
    • 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:624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3240 -s 652
      2⤵
      • Program crash
      PID:1164
  • C:\Windows\SysWOW64\phzeithe\yfrenabv.exe
    C:\Windows\SysWOW64\phzeithe\yfrenabv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7e6602ff1c7434051e41ae25cffaf8fc0ac0a5ba5e31af197754b96df3d98a22.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1596
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1596 -s 508
      2⤵
      • Program crash
      PID:3228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3240 -ip 3240
    1⤵
      PID:3660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1596 -ip 1596
      1⤵
        PID:3860

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        500d690361d5702e87fd6c54a144c894

        SHA1

        9c480fe7bb8c8f14859edc7043be04433f69c31c

        SHA256

        3264c2842b80dca79453c5021e1077811a7291b60210266ddeba8a61909d042c

        SHA512

        970a32726f75eef43ffcefa09cd97241dfcb0bc26d657b29c1730ca443796af69e8e2bd06e1e1a2b482722249d5f7da1029a42e4bea026c3db4f83300e2c2b21

      • memory/1596-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1596-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1596-18-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3240-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3240-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/5088-13-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/5088-15-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/5088-16-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB