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
    30-12-2024 00:44

General

  • Target

    JaffaCakes118_fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272.exe

  • Size

    284KB

  • MD5

    8dd6b66466fba9f05854ac856a968949

  • SHA1

    a51178b856523f5cb7e71ae1906577bb53b9f5d3

  • SHA256

    fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272

  • SHA512

    4092333af0319ca0fb41c1d84b1cff9c3a6a1b4b150616ade7d29016bd54a91daa5230471f15feb829e92e532ec79c33f485c15c70590cd8ebde1951ba0f8c2d

  • SSDEEP

    6144:ntxL3jo1f1cklk4+ybAy94qJL6Kq+OOhxxdeTr/ekI:nT7E1f1ckWBybtFL6wzxd6L

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_fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ujelqffk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eupbvhld.exe" C:\Windows\SysWOW64\ujelqffk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ujelqffk binPath= "C:\Windows\SysWOW64\ujelqffk\eupbvhld.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ujelqffk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ujelqffk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2280
    • 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:632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2204 -s 1240
      2⤵
      • Program crash
      PID:740
  • C:\Windows\SysWOW64\ujelqffk\eupbvhld.exe
    C:\Windows\SysWOW64\ujelqffk\eupbvhld.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fb19b76d60c3c16a0b43fc757f5b82bbe1a8ca37411c9a92a3ed88b4127a7272.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2924 -s 508
      2⤵
      • Program crash
      PID:3484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2204 -ip 2204
    1⤵
      PID:5024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2924 -ip 2924
      1⤵
        PID:2404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        91b112c9c85448c7bbb767b37d91b7d6

        SHA1

        63663526fd7a7a3d4e3fc0c9055cab6f59b39040

        SHA256

        302379e604748d3bc5d285820ffdcdfff18b18b6ff1184de0077edaf6d487734

        SHA512

        295d8b1c8b767e1c897f684362d1558bb8386174c6d0524b567150968b902be840d26900ea517b2628c64fd9e6591730bb8036d4a3b2d13a8a3e1892700917e3

      • memory/1388-14-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/1388-17-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/1388-16-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/2204-8-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

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

        Filesize

        76KB

      • memory/2204-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2924-12-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/2924-11-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/2924-13-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB

      • memory/2924-18-0x0000000000400000-0x0000000000453000-memory.dmp

        Filesize

        332KB