Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-10-2024 13:26

General

  • Target

    1846e3f99d0485fb6d54c8f82f8898a3_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    1846e3f99d0485fb6d54c8f82f8898a3

  • SHA1

    fb6e9b990100f957a922c36589b4cfffebc8ebd5

  • SHA256

    bf11cd8920154f9330b71da56340963b22b765af777e1badd3a8d604c1bcc141

  • SHA512

    019aeb67cb5de71ade86a9945628c8b2d7d33aa5650d314a892f3f5f851baad6ce3d405aacecdf57591f88ed804b0f75533532dfcec9aa510c7ffe08ed0eae65

  • SSDEEP

    24576:+oGUbmtvDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD7:S9t

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\1846e3f99d0485fb6d54c8f82f8898a3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\1846e3f99d0485fb6d54c8f82f8898a3_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sppwdppl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\myfzekxf.exe" C:\Windows\SysWOW64\sppwdppl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sppwdppl binPath= "C:\Windows\SysWOW64\sppwdppl\myfzekxf.exe /d\"C:\Users\Admin\AppData\Local\Temp\1846e3f99d0485fb6d54c8f82f8898a3_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sppwdppl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sppwdppl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4936
    • 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:1076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3436 -s 1040
      2⤵
      • Program crash
      PID:1140
  • C:\Windows\SysWOW64\sppwdppl\myfzekxf.exe
    C:\Windows\SysWOW64\sppwdppl\myfzekxf.exe /d"C:\Users\Admin\AppData\Local\Temp\1846e3f99d0485fb6d54c8f82f8898a3_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2808 -s 528
      2⤵
      • Program crash
      PID:3208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3436 -ip 3436
    1⤵
      PID:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2808 -ip 2808
      1⤵
        PID:1480

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        86ed6372db2fbbc1d83c1aa486298985

        SHA1

        f7f12765486312c89675f072616e528cedd89c6c

        SHA256

        59198fba76d3391490ee53009e3d30125ca7d0e32af079758395063252bce7c1

        SHA512

        7eaac9e787aaca30c0c2d43e6d2a1cd99d0d134e87079ad0389dbb399f78a3c10efefcd20b7800344e394288dcf495ad32267d070b28529bee12ab827bca69c2

      • memory/224-11-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/224-13-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/224-14-0x0000000001060000-0x0000000001075000-memory.dmp

        Filesize

        84KB

      • memory/2808-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

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

        Filesize

        76KB

      • memory/3436-1-0x0000000002D80000-0x0000000002E80000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3436-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB