Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-10-2024 20:16

General

  • Target

    74dc2690a43fc65a8b0bb7daec660407_JaffaCakes118.exe

  • Size

    13.8MB

  • MD5

    74dc2690a43fc65a8b0bb7daec660407

  • SHA1

    944614d079eb7808dd23feee5c7eb54897f6b117

  • SHA256

    52a94a2896aa197e2bed53e7cac93e55be17aa9e461a3fc31d88752aedfc33e4

  • SHA512

    13d59dae9b7288aeb1c1662a0be06c5e72161dca8f663ae07b91e20a3d49b3e351cc7cda13565252a5107579b2125944f3e566d9507330dea3a49a0dae0611e4

  • SSDEEP

    24576:uPTYeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee3:uP

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) 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\74dc2690a43fc65a8b0bb7daec660407_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\74dc2690a43fc65a8b0bb7daec660407_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\luodeak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otphfiu.exe" C:\Windows\SysWOW64\luodeak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create luodeak binPath= "C:\Windows\SysWOW64\luodeak\otphfiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\74dc2690a43fc65a8b0bb7daec660407_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description luodeak "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start luodeak
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4692
    • 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:2344
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3032 -s 1044
      2⤵
      • Program crash
      PID:4732
  • C:\Windows\SysWOW64\luodeak\otphfiu.exe
    C:\Windows\SysWOW64\luodeak\otphfiu.exe /d"C:\Users\Admin\AppData\Local\Temp\74dc2690a43fc65a8b0bb7daec660407_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1124
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1124 -s 512
      2⤵
      • Program crash
      PID:3180
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3032 -ip 3032
    1⤵
      PID:2808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1124 -ip 1124
      1⤵
        PID:888

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        ec7df506478962aed5b35d480dc5d806

        SHA1

        0a30ae3373e95fb13ad76321cff9fbc40dff1495

        SHA256

        43f555ecb7cf31c74342fd50c2b8c418f216b8e92f1b37873b4726a01e6d51d8

        SHA512

        4703cce3ca04eb7a51d72d7864e253f1c09f566593e20051f08e650a0e7aaaa7d030b9c88322a200bc88c0079289273f08da4458be1ea01a9e3be14c8c27a9d2

      • memory/1124-12-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1124-11-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1124-13-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/1124-18-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

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

        Filesize

        84KB

      • memory/3032-2-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3032-9-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB

      • memory/3032-8-0x0000000000400000-0x00000000004B0000-memory.dmp

        Filesize

        704KB

      • memory/3032-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

      • memory/4772-14-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4772-16-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB

      • memory/4772-17-0x0000000000860000-0x0000000000875000-memory.dmp

        Filesize

        84KB