Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/04/2024, 17:46

General

  • Target
    a2847ef32cee890eeb129f2af730dc74_JaffaCakes118.exe
  • Size 10.8MB
  • Sample240403-wcfqqsge72
  • SHA256 d571f943625720e60cb551920fed0c2bc03828011bdc6ec1485c66158b7b066a
  • MD5 SHA1 SHA512 SSDEEP

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) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a2847ef32cee890eeb129f2af730dc74_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a2847ef32cee890eeb129f2af730dc74_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fiuanhis\
      2⤵
        PID:1136
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xatbzbjt.exe" C:\Windows\SysWOW64\fiuanhis\
        2⤵
          PID:4440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fiuanhis binPath= "C:\Windows\SysWOW64\fiuanhis\xatbzbjt.exe /d\"C:\Users\Admin\AppData\Local\Temp\a2847ef32cee890eeb129f2af730dc74_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fiuanhis "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5020
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fiuanhis
          2⤵
          • Launches sc.exe
          PID:1616
        • 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
          PID:2252
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4884 -s 1336
          2⤵
          • Program crash
          PID:4928
      • C:\Windows\SysWOW64\fiuanhis\xatbzbjt.exe
        C:\Windows\SysWOW64\fiuanhis\xatbzbjt.exe /d"C:\Users\Admin\AppData\Local\Temp\a2847ef32cee890eeb129f2af730dc74_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1976
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:416
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1976 -s 508
          2⤵
          • Program crash
          PID:3576
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4884 -ip 4884
        1⤵
          PID:1588
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 188 -p 1976 -ip 1976
          1⤵
            PID:4936

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xatbzbjt.exe

                • Path C:\Users\Admin\AppData\Local\Temp\xatbzbjt.exe
                • Size 13.8MB
                • SHA256 39067f55d5721cb102fa8e884107e8e9ef2302cc8bab51f820f85cc841219aee
                • MD5 SHA1 SHA512 SSDEEP

                memory/416-15-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/416-12-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/416-16-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/416-18-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/416-19-0x0000000000730000-0x0000000000745000-memory.dmp

                memory/1976-10-0x00000000005B0000-0x00000000006B0000-memory.dmp

                memory/1976-11-0x0000000000400000-0x000000000044D000-memory.dmp

                memory/1976-17-0x0000000000400000-0x000000000044D000-memory.dmp

                memory/4884-3-0x0000000000400000-0x000000000044D000-memory.dmp

                memory/4884-2-0x0000000000680000-0x0000000000693000-memory.dmp

                memory/4884-8-0x0000000000400000-0x000000000044D000-memory.dmp

                memory/4884-9-0x0000000000680000-0x0000000000693000-memory.dmp

                memory/4884-1-0x00000000006D0000-0x00000000007D0000-memory.dmp