Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-09-2024 13:30

General

  • Target

    0193889a235929497ee1d5971dae0697_JaffaCakes118.exe

  • Size

    12.0MB

  • MD5

    0193889a235929497ee1d5971dae0697

  • SHA1

    cd26bd7c8a64af37899b120113bbc40aa11a7ad4

  • SHA256

    ee1eb769f85ba3319c87eccf1dda1ae11bf5e63edd9a96be26b3356753d055e1

  • SHA512

    8efc9de2f6dad7d29a027c75b964184b8c6a64b83ca18082a93afa2c708db199142d11047088e1dcaaf5d042395fd00ee52f43e23972e3ae9a8c8ff17248984a

  • SSDEEP

    196608:yX6666666666666666666666666666666666666666666666666666666666666+:y

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\0193889a235929497ee1d5971dae0697_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0193889a235929497ee1d5971dae0697_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\guvbhmgt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sidpjvzr.exe" C:\Windows\SysWOW64\guvbhmgt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create guvbhmgt binPath= "C:\Windows\SysWOW64\guvbhmgt\sidpjvzr.exe /d\"C:\Users\Admin\AppData\Local\Temp\0193889a235929497ee1d5971dae0697_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description guvbhmgt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start guvbhmgt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • 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:1008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3172 -s 1232
      2⤵
      • Program crash
      PID:5092
  • C:\Windows\SysWOW64\guvbhmgt\sidpjvzr.exe
    C:\Windows\SysWOW64\guvbhmgt\sidpjvzr.exe /d"C:\Users\Admin\AppData\Local\Temp\0193889a235929497ee1d5971dae0697_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2796 -s 512
      2⤵
      • Program crash
      PID:1712
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3172 -ip 3172
    1⤵
      PID:2248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 2796 -ip 2796
      1⤵
        PID:2496

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        34d82ed2fb60c00eb4e6b0a6fb18323d

        SHA1

        37d3f6b8e1039ac7d31019fde620f8e5878a5639

        SHA256

        f2af0ee0743f3ee1f388da8d5a38742e7118c6e85232536bc21d053b78fdfbf2

        SHA512

        5c53c0fd2fa02c2aebda49b193361a0c94a7f0fed7602cd58d12dcc896b10a3daa9218cf2c76c893a9e5bfbb7207033007b8fd1c1bed061a839088ae6ab0e99e

      • memory/2704-11-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/2704-14-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/2704-16-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/2796-15-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/2796-13-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/3172-1-0x0000000000A80000-0x0000000000B80000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3172-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB