Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 17:17

General

  • Target

    JaffaCakes118_274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3.exe

  • Size

    317KB

  • MD5

    0e2a6c2b461933c7a1e7a048ee1f5b25

  • SHA1

    a8fede94148338f469399d62fe5f72aad45f8699

  • SHA256

    274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3

  • SHA512

    95f3bdd286a185e3cd2c3e7b5bec5f53cfbf262254618527f8a183ac1055a581b1dc612b0464da76de3241abd8ca68d6f0779a59a9c06a6db37fb1a64bbc76ad

  • SSDEEP

    6144:jOTe/jixL46Z2Lbf/j9A1wn5qJL6d54POOhxxdeTr/ekI:jyc6Z2LjjCL6dIzxd6L

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_274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjzihkxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gvieqpiu.exe" C:\Windows\SysWOW64\bjzihkxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bjzihkxx binPath= "C:\Windows\SysWOW64\bjzihkxx\gvieqpiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bjzihkxx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bjzihkxx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2612
    • 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:3612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1168 -s 1036
      2⤵
      • Program crash
      PID:1156
  • C:\Windows\SysWOW64\bjzihkxx\gvieqpiu.exe
    C:\Windows\SysWOW64\bjzihkxx\gvieqpiu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_274b3c536ebcb446ca777abe139dba4b712d9b334e15608a5c3331deec2935e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1572
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1572 -s 512
      2⤵
      • Program crash
      PID:2920
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1168 -ip 1168
    1⤵
      PID:2860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1572 -ip 1572
      1⤵
        PID:4004

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        c4ab899eda6c9d4596605cf4e88979e7

        SHA1

        ad04db4f93fe4a4ee175a87ebf7737375069d921

        SHA256

        467c0a5ef5f3e21088aa9f4836964fae81f9f1679dce8e1fb2c1904849b0deed

        SHA512

        cd862809930179334a2cdbfa8f30cfe8e95417d67e972191d3e4ec7a197d03d838cc0dc1d3d9f1309c412e4a1b13eb0016d5496db898906ac9e933587d6b4ef9

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1168-8-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

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

        Filesize

        84KB

      • memory/1168-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB

      • memory/1572-11-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1572-13-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1572-12-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1572-19-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/4804-14-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4804-16-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB

      • memory/4804-17-0x0000000000550000-0x0000000000565000-memory.dmp

        Filesize

        84KB