Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/04/2024, 16:45

General

  • Target
    f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe
  • Size 14.2MB
  • Sample240416-t9fe5afb39
  • SHA256 a7b7595a90d115497ba26e7ac70d71a499a0c0116a1f13f671eccbd8af89de8e
  • 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\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ssdpmgvj\
      2⤵
        PID:440
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cczuxofx.exe" C:\Windows\SysWOW64\ssdpmgvj\
        2⤵
          PID:3280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ssdpmgvj binPath= "C:\Windows\SysWOW64\ssdpmgvj\cczuxofx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ssdpmgvj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ssdpmgvj
          2⤵
          • Launches sc.exe
          PID:3408
        • 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:2124
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1736 -s 1244
          2⤵
          • Program crash
          PID:5052
      • C:\Windows\SysWOW64\ssdpmgvj\cczuxofx.exe
        C:\Windows\SysWOW64\ssdpmgvj\cczuxofx.exe /d"C:\Users\Admin\AppData\Local\Temp\f3e4b3f22f1f557ad9aed99b8b9be8aa_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4428
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3932
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4428 -s 508
          2⤵
          • Program crash
          PID:796
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1736 -ip 1736
        1⤵
          PID:4940
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4428 -ip 4428
          1⤵
            PID:3432

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                cczuxofx.exe

                • Path C:\Users\Admin\AppData\Local\Temp\cczuxofx.exe
                • Size 12.5MB
                • SHA256 52ada2d6ccdfa53164f2dcaff4449afad75a98e8211afb1e6a9a23bb489b934d
                • MD5 SHA1 SHA512 SSDEEP

                memory/1736-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

                memory/1736-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

                memory/1736-3-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/1736-8-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/1736-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

                memory/3932-15-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3932-12-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3932-16-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3932-18-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3932-19-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/4428-11-0x0000000000400000-0x000000000046D000-memory.dmp

                memory/4428-10-0x0000000000720000-0x0000000000820000-memory.dmp

                memory/4428-17-0x0000000000400000-0x000000000046D000-memory.dmp