Analysis

  • max time kernel
    145s
  • max time network
    151s
  • 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:48

General

  • Target

    JaffaCakes118_b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a.exe

  • Size

    286KB

  • MD5

    1d87d89e5cae2758142307159dbf0143

  • SHA1

    95b7ae740629243758df38329095fda6ddc1b177

  • SHA256

    b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a

  • SHA512

    7c255ec726cbd512beb7e782da4a6e420f73f73040df5b73120d394f43b9672e9ddfdc7fb4ac6cb870beeca2283d21db4cc51ee04b5634452454eda2689dbe03

  • SSDEEP

    6144:WYsfbwgLpgn+TfdkHXV8fskJjWwSzpOe:WTDwgpjLdaFcSd9

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_b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dpqsionw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:612
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zgjhiiym.exe" C:\Windows\SysWOW64\dpqsionw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dpqsionw binPath= "C:\Windows\SysWOW64\dpqsionw\zgjhiiym.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dpqsionw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4276
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dpqsionw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3272
    • 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:3160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4804 -s 1152
      2⤵
      • Program crash
      PID:3216
  • C:\Windows\SysWOW64\dpqsionw\zgjhiiym.exe
    C:\Windows\SysWOW64\dpqsionw\zgjhiiym.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b08c626eb4a8d2f29559aa943d14dc3c966e1917132a45cbcba9012e42550a2a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1936 -s 516
      2⤵
      • Program crash
      PID:4324
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4804 -ip 4804
    1⤵
      PID:3000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1936 -ip 1936
      1⤵
        PID:3952

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        bd53f869142b005752dc7c7c5cb79500

        SHA1

        8f223d6b3406470259eab772c3839ff5ab0c374b

        SHA256

        a7b0d8974c399bf3a321afbf4d1d2b7fe13cd1b1d3bd8042f1bac6a2aa93b4c1

        SHA512

        06e79fc761ca5b235c2c7b693a2facb54fd78ad2c58e4a7b581687e8dadc84c4663e04ffa80e4aee92f8b1598f1be86b8c90ffd0319af3bd838efe817b294b3d

      • memory/1936-15-0x0000000000400000-0x0000000002B91000-memory.dmp

        Filesize

        39.6MB

      • memory/3676-11-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/3676-13-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/3676-14-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/4804-1-0x0000000002EB0000-0x0000000002FB0000-memory.dmp

        Filesize

        1024KB

      • memory/4804-2-0x0000000002E40000-0x0000000002E53000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4804-9-0x0000000002E40000-0x0000000002E53000-memory.dmp

        Filesize

        76KB

      • memory/4804-8-0x0000000000400000-0x0000000002B91000-memory.dmp

        Filesize

        39.6MB