Analysis

  • max time kernel
    148s
  • 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
    30/03/2024, 03:46

General

  • Target
    32cbda26c9835c1c63f2fed688fb5bb9_JaffaCakes118.exe
  • Size 10.6MB
  • Sample240330-eb5vssgh99
  • SHA256 d26320c9bf38d0c8da62667729d9c28c8c9a71bb1395bf33dff11b59cda8f6c4
  • 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\32cbda26c9835c1c63f2fed688fb5bb9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\32cbda26c9835c1c63f2fed688fb5bb9_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fwxqcqux\
      2⤵
        PID:5012
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fzvbmwou.exe" C:\Windows\SysWOW64\fwxqcqux\
        2⤵
          PID:5008
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fwxqcqux binPath= "C:\Windows\SysWOW64\fwxqcqux\fzvbmwou.exe /d\"C:\Users\Admin\AppData\Local\Temp\32cbda26c9835c1c63f2fed688fb5bb9_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fwxqcqux "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3660
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fwxqcqux
          2⤵
          • Launches sc.exe
          PID:452
        • 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:4156
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1092 -s 1036
          2⤵
          • Program crash
          PID:3936
      • C:\Windows\SysWOW64\fwxqcqux\fzvbmwou.exe
        C:\Windows\SysWOW64\fwxqcqux\fzvbmwou.exe /d"C:\Users\Admin\AppData\Local\Temp\32cbda26c9835c1c63f2fed688fb5bb9_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1732
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4420
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1732 -s 512
          2⤵
          • Program crash
          PID:4272
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1092 -ip 1092
        1⤵
          PID:3432
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1732 -ip 1732
          1⤵
            PID:2472

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                fzvbmwou.exe

                • Path C:\Users\Admin\AppData\Local\Temp\fzvbmwou.exe
                • Size 10.3MB
                • SHA256 eb0a8bd06f5451f54507521e028515356bde1cd5783f40ad1af60f1fefe8ed9d
                • MD5 SHA1 SHA512 SSDEEP

                memory/1092-1-0x0000000000AE0000-0x0000000000BE0000-memory.dmp

                memory/1092-2-0x00000000009F0000-0x0000000000A03000-memory.dmp

                memory/1092-4-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/1092-8-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/1092-9-0x00000000009F0000-0x0000000000A03000-memory.dmp

                memory/1732-10-0x0000000000A40000-0x0000000000B40000-memory.dmp

                memory/1732-11-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/1732-15-0x0000000000400000-0x000000000086A000-memory.dmp

                memory/4420-12-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

                memory/4420-17-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

                memory/4420-18-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

                memory/4420-19-0x0000000000FC0000-0x0000000000FD5000-memory.dmp