Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 02:53

General

  • Target

    JaffaCakes118_0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2.exe

  • Size

    230KB

  • MD5

    c79b0062836359a6afbabdfb13b34fcc

  • SHA1

    6a5885ff740bf74518930b0ba28d87a47864c7b3

  • SHA256

    0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2

  • SHA512

    745ac4eb9de1bcff6c0fa932a5c630a66decae332829422a9471cbbca47a79a57987c373156be66495f3bd35d60a22f406ee84a2abd69a179b6f4141de34ce9d

  • SSDEEP

    6144:hFHDibjFQLTfWLBAvyZNWfx55C8pjzy4KGld:hFHD8jFQLCLBALaxS

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_0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rsulcfsk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mgcitdvb.exe" C:\Windows\SysWOW64\rsulcfsk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rsulcfsk binPath= "C:\Windows\SysWOW64\rsulcfsk\mgcitdvb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rsulcfsk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rsulcfsk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1680
    • 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:2176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 1048
      2⤵
      • Program crash
      PID:3300
  • C:\Windows\SysWOW64\rsulcfsk\mgcitdvb.exe
    C:\Windows\SysWOW64\rsulcfsk\mgcitdvb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ddd7c714b3483408d656eb65525498d98dc0896991670d02b5a93ecc628e9a2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4100
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4100 -s 532
      2⤵
      • Program crash
      PID:1360
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 412 -ip 412
    1⤵
      PID:908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4100 -ip 4100
      1⤵
        PID:4576

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        2465a1d024414fba3e3c728b3ba9715b

        SHA1

        850f6923b72b69bc59c5ebd745ccaddb51f12b3c

        SHA256

        7344edcc842dc7c38361b03b1a9c67d8a8fa8d8f1ec8858eea5fda5fa1623a4e

        SHA512

        23433c680626faa0295f1b3c1542818aacf413fa0ffefd46c370e62ddfa3a07632382372d115ed09ac3f417b56673ab31edd508125f4fc0bae8db0d0c3939694

      • memory/412-8-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/412-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/412-9-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

      • memory/412-1-0x00000000009F0000-0x0000000000AF0000-memory.dmp

        Filesize

        1024KB

      • memory/4100-12-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/4100-11-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/4100-18-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/4436-15-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/4436-13-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB

      • memory/4436-16-0x00000000003D0000-0x00000000003E5000-memory.dmp

        Filesize

        84KB