Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/04/2024, 14:18

General

  • Target
    fa7c6161052a1f948ae77285e7bf45ed_JaffaCakes118.exe
  • Size 12.0MB
  • Sample240419-rl82esee32
  • SHA256 cda2e2bc07f9772d45f63b77f0b0d1754b8a10fa1420b68afb10a8b71f9b8e50
  • 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\fa7c6161052a1f948ae77285e7bf45ed_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fa7c6161052a1f948ae77285e7bf45ed_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jekektce\
      2⤵
        PID:5068
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omwuuktj.exe" C:\Windows\SysWOW64\jekektce\
        2⤵
          PID:4132
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jekektce binPath= "C:\Windows\SysWOW64\jekektce\omwuuktj.exe /d\"C:\Users\Admin\AppData\Local\Temp\fa7c6161052a1f948ae77285e7bf45ed_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3180
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jekektce "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jekektce
          2⤵
          • Launches sc.exe
          PID:3720
        • 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:3684
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4644 -s 792
          2⤵
          • Program crash
          PID:1684
      • C:\Windows\SysWOW64\jekektce\omwuuktj.exe
        C:\Windows\SysWOW64\jekektce\omwuuktj.exe /d"C:\Users\Admin\AppData\Local\Temp\fa7c6161052a1f948ae77285e7bf45ed_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:928
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4056
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 928 -s 512
          2⤵
          • Program crash
          PID:208
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4644 -ip 4644
        1⤵
          PID:5064
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 928 -ip 928
          1⤵
            PID:4744

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                omwuuktj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\omwuuktj.exe
                • Size 10.7MB
                • SHA256 2ff5db1944744587788429fe8f92d6fb7aed350c352037b7a5109574ed443e43
                • MD5 SHA1 SHA512 SSDEEP

                memory/928-10-0x0000000000970000-0x0000000000A70000-memory.dmp

                memory/928-11-0x0000000000400000-0x0000000000871000-memory.dmp

                memory/928-17-0x0000000000400000-0x0000000000871000-memory.dmp

                memory/4056-12-0x00000000001E0000-0x00000000001F5000-memory.dmp

                memory/4056-15-0x00000000001E0000-0x00000000001F5000-memory.dmp

                memory/4056-16-0x00000000001E0000-0x00000000001F5000-memory.dmp

                memory/4056-18-0x00000000001E0000-0x00000000001F5000-memory.dmp

                memory/4644-4-0x0000000000400000-0x0000000000871000-memory.dmp

                memory/4644-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/4644-8-0x0000000000400000-0x0000000000871000-memory.dmp

                memory/4644-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/4644-1-0x0000000000920000-0x0000000000A20000-memory.dmp