Analysis

  • max time kernel
    149s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-12-2024 03:21

General

  • Target

    c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe

  • Size

    10.5MB

  • MD5

    c09354355fb07d6facea3c22adda2229

  • SHA1

    73720603323de6932680de01f1ca5f71db192281

  • SHA256

    4a1faed551556efe2e1e3e4f1c333f78adeb905ebffc84e4575da1da95f2a3ad

  • SHA512

    cedcec999ca8c1d81733a5ecf1edeaa68a2a20fe124373a22276beb376148e4fa34be8ea5c52f13ffce0a45f44129a10d271a471084ba2b3f8ebbf422500782e

  • SSDEEP

    6144:mrZQVnJzxj5nP76vk7wQ6udJm1lzvGCUWlnpj:iZ2zxj5nPmRQ6QgjzOCnl

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.

  • Tofsee family
  • Creates new service(s) 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uzkcjhim\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqayyoxn.exe" C:\Windows\SysWOW64\uzkcjhim\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uzkcjhim binPath= "C:\Windows\SysWOW64\uzkcjhim\sqayyoxn.exe /d\"C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uzkcjhim "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uzkcjhim
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3076 -s 1176
      2⤵
      • Program crash
      PID:2868
  • C:\Windows\SysWOW64\uzkcjhim\sqayyoxn.exe
    C:\Windows\SysWOW64\uzkcjhim\sqayyoxn.exe /d"C:\Users\Admin\AppData\Local\Temp\c09354355fb07d6facea3c22adda2229_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1788
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 508
      2⤵
      • Program crash
      PID:4492
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3076 -ip 3076
    1⤵
      PID:640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1788 -ip 1788
      1⤵
        PID:5012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\sqayyoxn.exe

        Filesize

        13.6MB

        MD5

        01491fb8aadfc42ca846af7538d4ad64

        SHA1

        574b1c0104dfcdff8b44bb2743516fa7dd90c25d

        SHA256

        add8dee8343dfc3382c6bab042abc3d75eb3194b839fa90faa21ee33e48d21e6

        SHA512

        f53b155be8cce58fb83f27c937f5e2e2fcea4bfda1a0c84b7477a570a7bf4bc8ee81cb5ff9a8b7d3a4e901a4adb7092d85065108c9a16ad0f323b8043775f401

      • memory/1788-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1788-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1788-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3076-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3076-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3076-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3076-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3076-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3076-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

        Filesize

        1024KB

      • memory/3564-13-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/3564-15-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/3564-16-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB