Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/03/2024, 16:59

General

  • Target
    58eb7e23677b78e6409b5f202f631566_JaffaCakes118.exe
  • Size 10.9MB
  • Sample240331-vhvamsga37
  • SHA256 ca0772af09e2f30de36e23c83cc8e423f2cd13d5bca8bc39a947c70a41ef1d1d
  • 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\58eb7e23677b78e6409b5f202f631566_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\58eb7e23677b78e6409b5f202f631566_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dzajunlt\
      2⤵
        PID:3464
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xatbzbjt.exe" C:\Windows\SysWOW64\dzajunlt\
        2⤵
          PID:4632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dzajunlt binPath= "C:\Windows\SysWOW64\dzajunlt\xatbzbjt.exe /d\"C:\Users\Admin\AppData\Local\Temp\58eb7e23677b78e6409b5f202f631566_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dzajunlt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3920
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dzajunlt
          2⤵
          • Launches sc.exe
          PID:2856
        • 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:3160
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4108 -s 1292
          2⤵
          • Program crash
          PID:4940
      • C:\Windows\SysWOW64\dzajunlt\xatbzbjt.exe
        C:\Windows\SysWOW64\dzajunlt\xatbzbjt.exe /d"C:\Users\Admin\AppData\Local\Temp\58eb7e23677b78e6409b5f202f631566_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3712
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1076
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3712 -s 516
          2⤵
          • Program crash
          PID:4808
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4108 -ip 4108
        1⤵
          PID:116
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 3712 -ip 3712
          1⤵
            PID:2864

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                xatbzbjt.exe

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

                memory/1076-15-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1076-12-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1076-16-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1076-18-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/1076-19-0x0000000000D20000-0x0000000000D35000-memory.dmp

                memory/3712-10-0x0000000000450000-0x0000000000550000-memory.dmp

                memory/3712-11-0x0000000000400000-0x000000000044E000-memory.dmp

                memory/3712-17-0x0000000000400000-0x000000000044E000-memory.dmp

                memory/4108-3-0x0000000000400000-0x000000000044E000-memory.dmp

                memory/4108-2-0x00000000008B0000-0x00000000008C3000-memory.dmp

                memory/4108-8-0x0000000000400000-0x000000000044E000-memory.dmp

                memory/4108-9-0x00000000008B0000-0x00000000008C3000-memory.dmp

                memory/4108-1-0x00000000005B0000-0x00000000006B0000-memory.dmp