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
    23-12-2024 15:49

General

  • Target

    JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe

  • Size

    211KB

  • MD5

    cdfe1a0520846256701a835f7997200c

  • SHA1

    d70c426398a6de0e2cde8ebcac5bff1bd4dd2161

  • SHA256

    d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c

  • SHA512

    7d67ec32def188bd799ce753801ce302f95aaeae9e587c48d94fde22fe0f7122091cccc3ed39271e2fa64667d0232dc1d2684547dc348bf257e94d5e4652f87e

  • SSDEEP

    3072:CzpWiQngo/AxJ9v12IJZEOixWoT3BCrz85p1bSTgUfrdGZPwYKB1F5NSlAhgC:CzpWgHxjhZZixnrUn8HWGVq1F5QC

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 1 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_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gcbtjllz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwsyjtlr.exe" C:\Windows\SysWOW64\gcbtjllz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gcbtjllz binPath= "C:\Windows\SysWOW64\gcbtjllz\cwsyjtlr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gcbtjllz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gcbtjllz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:408
    • 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:2000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4064 -s 596
      2⤵
      • Program crash
      PID:2756
  • C:\Windows\SysWOW64\gcbtjllz\cwsyjtlr.exe
    C:\Windows\SysWOW64\gcbtjllz\cwsyjtlr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d8d16e6a3d74584f449401e39157dc1b788dc1d59ebab958aab95440a08a4d2c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2396
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1328
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4064 -ip 4064
    1⤵
      PID:2972

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      10.8MB

      MD5

      b23441a97c9b3b056ba8ae918a7c1f73

      SHA1

      d27dc32cfc996dd852154c6d29b51ffad95e3b6c

      SHA256

      e34e955722c1e642a4fb4568179e00203f93811135a77ed64eee228c788c8a44

      SHA512

      0ed2de56b3da2fc7239aa4d43798ef8df8317f6c7eaf363d7c02054386f2e3dc62bfa17154046498e84f62bd03b9279224ed9f2f453984e41236312a86a6a0c5

    • memory/1328-11-0x00000000005B0000-0x00000000005C5000-memory.dmp

      Filesize

      84KB

    • memory/1328-14-0x00000000005B0000-0x00000000005C5000-memory.dmp

      Filesize

      84KB

    • memory/1328-15-0x00000000005B0000-0x00000000005C5000-memory.dmp

      Filesize

      84KB

    • memory/2396-12-0x0000000000400000-0x0000000002B75000-memory.dmp

      Filesize

      39.5MB

    • memory/4064-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

      Filesize

      1024KB

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

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

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

      Filesize

      76KB

    • memory/4064-8-0x0000000000400000-0x0000000002B75000-memory.dmp

      Filesize

      39.5MB