Analysis

  • max time kernel
    150s
  • max time network
    149s
  • 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 05:59

General

  • Target

    JaffaCakes118_c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29.exe

  • Size

    164KB

  • MD5

    c7d11c27167d0519c4411bcdd078cc4c

  • SHA1

    f8784b1bc7526b9b93632add439fa5ec35763b76

  • SHA256

    c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29

  • SHA512

    1cba4254bc94cd83c8068eb82e9079f050f35a7305fb522dbb9389c10ce007705d67359d84d18fe31e1b10365d602d014df6fe7cfda242a42e3d78ea313a622d

  • SSDEEP

    3072:d1umt9LLocCys0GOPHt3h4MNV/d5LN9NFHGhaS9H6l:dAmDLoWskhVNVh0haEa

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_c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pyndvwse\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4360
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frysxdqy.exe" C:\Windows\SysWOW64\pyndvwse\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pyndvwse binPath= "C:\Windows\SysWOW64\pyndvwse\frysxdqy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pyndvwse "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pyndvwse
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • 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:3052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4860 -s 1288
      2⤵
      • Program crash
      PID:720
  • C:\Windows\SysWOW64\pyndvwse\frysxdqy.exe
    C:\Windows\SysWOW64\pyndvwse\frysxdqy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c14346a51b769881723edbcc73a54afe995c502898ba017424caaec560bd6c29.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2780 -s 508
      2⤵
      • Program crash
      PID:968
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4860 -ip 4860
    1⤵
      PID:4960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2780 -ip 2780
      1⤵
        PID:1888

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        013f2a6a441db6eabf1d88fd52b97116

        SHA1

        cb90a7cf20a1752420857d54c76fe277e8d53e60

        SHA256

        bce82bf3629e79470716ab8ff1114f652f3146ebb9fc4db3b82ac13941fd5a14

        SHA512

        865b564aba103c7c07377d4570049ebb750da8e5add17efd001f945a6cbc651a879cbd9fbf04f6f322c0282545fd56ad4e3ebd34376c1e480df2130aa63fb005

      • memory/2780-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2780-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2780-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2780-19-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/4860-2-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

      • memory/4860-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/4860-9-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

      • memory/4860-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/4872-14-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4872-16-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4872-17-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB