Analysis

  • max time kernel
    148s
  • 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
    25-12-2024 04:39

General

  • Target

    JaffaCakes118_63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de.exe

  • Size

    184KB

  • MD5

    3db9deb4da0c2e98f67b21a01da5798a

  • SHA1

    0bab4573d5568dcbf457beaa2c9aa1cb086da533

  • SHA256

    63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de

  • SHA512

    577f24934aea433fd08313e01b76fb97015c57c3b7a7e56ff6259ce90f7360c44f6e508f3e3813dbd1f28bb29eeec6fa3bba3ae7a35306bc2001d32ad9999555

  • SSDEEP

    3072:sVmEokfyWvwFtJ6Y9A+MNtr0phGheXMWhsHPZPwg9IlAP4MAhgC:slokaWvYqtltYjqeXM2oPF+l88

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\JaffaCakes118_63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dbdqmfwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrzzkzh.exe" C:\Windows\SysWOW64\dbdqmfwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dbdqmfwr binPath= "C:\Windows\SysWOW64\dbdqmfwr\tfrzzkzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dbdqmfwr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dbdqmfwr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3040
    • 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:3156
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2304 -s 1208
      2⤵
      • Program crash
      PID:1636
  • C:\Windows\SysWOW64\dbdqmfwr\tfrzzkzh.exe
    C:\Windows\SysWOW64\dbdqmfwr\tfrzzkzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63f81f8264b1f8339dd8f9d6403bcd6a36f4f84a88cc6318022654acc01a01de.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4800
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4800 -s 512
      2⤵
      • Program crash
      PID:2168
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2304 -ip 2304
    1⤵
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 4800 -ip 4800
      1⤵
        PID:3160

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        a1051e3f3c1121526a329749eaba2bb7

        SHA1

        0f6a4b40a432b14aff02c537f977c0cb5afd18af

        SHA256

        b26e95e5429ece10248c2ccbe3a91f8b570ed90bd1fc5b25b5bfff3812ef6f44

        SHA512

        f6a6093b612940500f73779a3a31c5bf23f4400cd7086f18ee4b824a60f8daea763ad69777c135eec3e890fe4b347f1bdd73b315c0d0d9c52cc3a08b316376de

      • memory/1668-14-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/1668-17-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/1668-16-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/2304-8-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2304-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2304-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2304-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2304-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4800-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4800-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4800-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4800-18-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB