Analysis

  • max time kernel
    146s
  • 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
    15-12-2024 09:55

General

  • Target

    f37390a26f9c15b9b1272b6cdd3ee383_JaffaCakes118.exe

  • Size

    14.6MB

  • MD5

    f37390a26f9c15b9b1272b6cdd3ee383

  • SHA1

    7b01075a1374f02fddbe51d2fee3525d11fc382b

  • SHA256

    1a2930f4c27f868ebeaf35539931c849b83172e8c8d932fdb78c7117e87e7ed8

  • SHA512

    d34b05867a9c582758ae7423a0a8e0c613ec2628002acd669409ff692d21b4e905ef350706ef6cc58c6db59045bcb27c0ba1e098a89a7a970a3c82ec26a74912

  • SSDEEP

    24576:ZMV9biUnMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN3:+Fn

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\f37390a26f9c15b9b1272b6cdd3ee383_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f37390a26f9c15b9b1272b6cdd3ee383_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hqtwfxxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\icyepzrx.exe" C:\Windows\SysWOW64\hqtwfxxc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hqtwfxxc binPath= "C:\Windows\SysWOW64\hqtwfxxc\icyepzrx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f37390a26f9c15b9b1272b6cdd3ee383_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hqtwfxxc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hqtwfxxc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1512
    • 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:4124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2992 -s 1040
      2⤵
      • Program crash
      PID:3636
  • C:\Windows\SysWOW64\hqtwfxxc\icyepzrx.exe
    C:\Windows\SysWOW64\hqtwfxxc\icyepzrx.exe /d"C:\Users\Admin\AppData\Local\Temp\f37390a26f9c15b9b1272b6cdd3ee383_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3808
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3808 -s 516
      2⤵
      • Program crash
      PID:3556
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2992 -ip 2992
    1⤵
      PID:2780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3808 -ip 3808
      1⤵
        PID:2672

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        527e0579037b121482935592ba7156b7

        SHA1

        888f1dbdda3410ba624d896f01233a4016f91867

        SHA256

        7704e5b50ce33ff27b55b29e3a02a7a8bd62cb25ab3eb12d1086e860078a1448

        SHA512

        4a7d73bcae57ddb88c1b9da99ad49dade83902434e6123ddacc67f487142d0d8a2ccc9474c3eac2186a8bf17f32abb75242cce15fd16f1dc07ee767eb7e0aae9

      • memory/2992-1-0x0000000002C60000-0x0000000002D60000-memory.dmp

        Filesize

        1024KB

      • memory/2992-2-0x0000000002FE0000-0x0000000002FF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2992-9-0x0000000002FE0000-0x0000000002FF3000-memory.dmp

        Filesize

        76KB

      • memory/2992-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/3808-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4924-11-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB

      • memory/4924-13-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB

      • memory/4924-14-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB