Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 06:41

General

  • Target

    JaffaCakes118_92017ee762ffecb801be76e272ef66b5.exe

  • Size

    12.9MB

  • MD5

    92017ee762ffecb801be76e272ef66b5

  • SHA1

    0171f93700ce9e398725ad857e7384031581846e

  • SHA256

    b93a47f6924dbe4309eb656760e3edeafdd38061e8ef9add06598f95871260b6

  • SHA512

    1701ed30435153b4b765775aeb68dd1e0751ef2cbc14e7016bcda1933060d881fdeb0a9145e527e29a98bcd3caec23433563d6af73babd3ce33c13242d258d75

  • SSDEEP

    12288:BZwvqm0loTlEUKg7/ua4FXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn:BSvqmNB/d

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_92017ee762ffecb801be76e272ef66b5.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92017ee762ffecb801be76e272ef66b5.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\givanrsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbkuhkpb.exe" C:\Windows\SysWOW64\givanrsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create givanrsf binPath= "C:\Windows\SysWOW64\givanrsf\hbkuhkpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92017ee762ffecb801be76e272ef66b5.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description givanrsf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start givanrsf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3408
    • 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:556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1172
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\givanrsf\hbkuhkpb.exe
    C:\Windows\SysWOW64\givanrsf\hbkuhkpb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92017ee762ffecb801be76e272ef66b5.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3076
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3204
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3076 -s 516
      2⤵
      • Program crash
      PID:3108
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3672 -ip 3672
    1⤵
      PID:4976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3076 -ip 3076
      1⤵
        PID:4012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        f43d9b5d1bf5257087b3d0136d6ca321

        SHA1

        7dec4c7ed2f9611869d17a918cc9dbe0f3fd0b48

        SHA256

        55f0e14365a187b0e30440a1e416fd9d99aa96abb38b5c1d9bf338fca9e73a2b

        SHA512

        9e4ff2b89bee1597021d8f859677c3877aae22176381fbbadde810d5d432e93b065ae91deed491467c17f5a41cbff5cba6e09f93d0dd077ea56e5af4d563d848

      • memory/3076-9-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3076-17-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3076-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3204-11-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/3204-18-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/3204-19-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/3672-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3672-14-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3672-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3672-10-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3672-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB