Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 15:19

General

  • Target

    JaffaCakes118_f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87.exe

  • Size

    300KB

  • MD5

    604765a96ab3f9265808926f38ebdd83

  • SHA1

    7e5bbe686a922f9cd9cd5288676e332cc9d0f201

  • SHA256

    f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87

  • SHA512

    12497ef1c6134b135f0fe2073f1738229dc8d56eda9b5c3489514305773339e18806b5174a0b5c4cf8ee43df5c6cf00f4a19ee58829163af59c3c1afcdc26668

  • SSDEEP

    6144:wZTYSSgfeAkpENPp0RnjB9/XK50ppPQiMjQ+T95:wVYSS2kyp0RnHK50bPQHQ+x

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.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_f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\httpogjy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ysqklaix.exe" C:\Windows\SysWOW64\httpogjy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create httpogjy binPath= "C:\Windows\SysWOW64\httpogjy\ysqklaix.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description httpogjy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start httpogjy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:112
    • 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:4916
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1036
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\httpogjy\ysqklaix.exe
    C:\Windows\SysWOW64\httpogjy\ysqklaix.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f9de99091686d9eef552541313e7b4b987819f3d6cd4ee2c7144d49dbaa15c87.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4696 -s 512
      2⤵
      • Program crash
      PID:224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3672 -ip 3672
    1⤵
      PID:4976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4696 -ip 4696
      1⤵
        PID:4612

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        4c6c8123c1b0728862fbd9ac797ec1df

        SHA1

        232c747b981ccb35f4fcddb2348ab71b91aabb9d

        SHA256

        9e647c2ef20a50213c1037e74c1c4e731f593ce86432b385b9a65f37d90a01fa

        SHA512

        4a3f0b1b1a683c56be50132f79774a918672f78cc90603f0f83be7211fcdfef1aec1fef10435b2f325d6f0c97b4efc44e3afd5e8948349dbd486caaa486adcbd

      • memory/232-13-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/232-15-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/232-16-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3672-8-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3672-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/4696-11-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4696-12-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4696-18-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB