Analysis

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

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

General

  • Target

    JaffaCakes118_de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff.exe

  • Size

    304KB

  • MD5

    22a413c15a4a559e00bb46a7ea9c8328

  • SHA1

    75e0330c2ddced4d2f752709e2f2733f2557f922

  • SHA256

    de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff

  • SHA512

    fca580091b1b058c3602a92d4645d206a323300e10664ec7085ef4270c269d88d5442770cafa6886aedc8ee6472959f3f27090e5ac6d8a0759bc1d9e5de3c7bf

  • SSDEEP

    6144:VTjfugLvStP73OTkf87CjHIWRLIIL6MCOhxxFeTr/ekI:VrrStakfKGHP/L6+zxF6L

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
  • Drops file in System32 directory 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_de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pqjavyre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybucacku.exe" C:\Windows\SysWOW64\pqjavyre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pqjavyre binPath= "C:\Windows\SysWOW64\pqjavyre\ybucacku.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pqjavyre "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pqjavyre
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1936
    • 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:3324
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2332 -s 1044
      2⤵
      • Program crash
      PID:2164
  • C:\Windows\SysWOW64\pqjavyre\ybucacku.exe
    C:\Windows\SysWOW64\pqjavyre\ybucacku.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_de17973ae83b8d093085f6288d74a8dcbccac465f0201030ea223b1b38cb29ff.exe"
    1⤵
    • Executes dropped EXE
    • Drops file in System32 directory
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4448
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4372
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2332 -ip 2332
    1⤵
      PID:2372

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      10.8MB

      MD5

      c2ae335f859d8be9d9dc5369f2d38ce3

      SHA1

      fdb750fe8461bb372c761bc3ab057899080b48f8

      SHA256

      78904dbff2e618d5a3024d50cfc6b1c4ecace0ad65a9c6674b931459e052fe44

      SHA512

      28ab43bc75525a6e2bb5d86f3e9e1caad9db3ece2b0a793c9a5c971cfb7549b5fdf1077045143b3b6fd91f20bef24af749748906798600ef719fccc0db84f0e6

    • memory/2332-8-0x0000000000400000-0x0000000000459000-memory.dmp

      Filesize

      356KB

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

      Filesize

      84KB

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

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      76KB

    • memory/2332-1-0x0000000000760000-0x0000000000860000-memory.dmp

      Filesize

      1024KB

    • memory/4372-14-0x0000000001270000-0x0000000001285000-memory.dmp

      Filesize

      84KB

    • memory/4372-18-0x0000000001270000-0x0000000001285000-memory.dmp

      Filesize

      84KB

    • memory/4372-19-0x0000000001270000-0x0000000001285000-memory.dmp

      Filesize

      84KB

    • memory/4448-11-0x0000000000400000-0x0000000000459000-memory.dmp

      Filesize

      356KB

    • memory/4448-12-0x0000000000400000-0x0000000000459000-memory.dmp

      Filesize

      356KB

    • memory/4448-13-0x0000000000400000-0x0000000000459000-memory.dmp

      Filesize

      356KB

    • memory/4448-16-0x0000000000400000-0x0000000000459000-memory.dmp

      Filesize

      356KB