Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/04/2024, 00:05

General

  • Target
    7e074b12f3605bffcefa4060e08003e2_JaffaCakes118.exe
  • Size 14.4MB
  • Sample240402-adaefsag8w
  • SHA256 1d0276aa6842ab14d2c0343d3d78454c34dfa3ca140f49ee6e3579bd9734bc1d
  • 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\7e074b12f3605bffcefa4060e08003e2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7e074b12f3605bffcefa4060e08003e2_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uczstfsm\
      2⤵
        PID:2208
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sxtljmy.exe" C:\Windows\SysWOW64\uczstfsm\
        2⤵
          PID:632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uczstfsm binPath= "C:\Windows\SysWOW64\uczstfsm\sxtljmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\7e074b12f3605bffcefa4060e08003e2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1372
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uczstfsm "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4932
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uczstfsm
          2⤵
          • Launches sc.exe
          PID:5012
        • 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 1712 -s 680
          2⤵
          • Program crash
          PID:2544
      • C:\Windows\SysWOW64\uczstfsm\sxtljmy.exe
        C:\Windows\SysWOW64\uczstfsm\sxtljmy.exe /d"C:\Users\Admin\AppData\Local\Temp\7e074b12f3605bffcefa4060e08003e2_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4808
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:952
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4808 -s 520
          2⤵
          • Program crash
          PID:3960
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1712 -ip 1712
        1⤵
          PID:4248
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4808 -ip 4808
          1⤵
            PID:1820

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                sxtljmy.exe

                • Path C:\Users\Admin\AppData\Local\Temp\sxtljmy.exe
                • Size 10.6MB
                • SHA256 4be47c6387bed4527a0beedfe1b06ee456f43f422306e1f26c2ccb9ae7b7a738
                • MD5 SHA1 SHA512 SSDEEP

                memory/952-10-0x0000000000950000-0x0000000000965000-memory.dmp

                memory/952-15-0x0000000000950000-0x0000000000965000-memory.dmp

                memory/952-16-0x0000000000950000-0x0000000000965000-memory.dmp

                memory/952-18-0x0000000000950000-0x0000000000965000-memory.dmp

                memory/1712-1-0x00000000019F0000-0x0000000001AF0000-memory.dmp

                memory/1712-3-0x00000000034D0000-0x00000000034E3000-memory.dmp

                memory/1712-4-0x0000000000400000-0x0000000001782000-memory.dmp

                memory/1712-8-0x0000000000400000-0x0000000001782000-memory.dmp

                memory/4808-9-0x0000000001A20000-0x0000000001B20000-memory.dmp

                memory/4808-13-0x0000000000400000-0x0000000001782000-memory.dmp

                memory/4808-17-0x0000000000400000-0x0000000001782000-memory.dmp