Analysis

  • max time kernel
    149s
  • 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
    22-12-2024 07:32

General

  • Target

    JaffaCakes118_a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf.exe

  • Size

    234KB

  • MD5

    2379565f7037e1f0c790f1fbd5382e4d

  • SHA1

    3e74b492092848defe3efce4aaade6060c6e65bf

  • SHA256

    a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf

  • SHA512

    07919ec516c8ca931f4d5c574bce930146d871f643815f56bdae4ec75109ce49a4f9bc7ccfd98ba761eee21ac1747d578cc3da44e4eab62801be435a09b517c0

  • SSDEEP

    3072:o17AsVmUoKJ7lQHbmyVvVGE4dG+0VXN7yADUsHwNoQ4Lps4DE+u/4:o175UgJ7lQHbLvz4dGgoHHuA

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_a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gzgbfbwv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nsogeht.exe" C:\Windows\SysWOW64\gzgbfbwv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gzgbfbwv binPath= "C:\Windows\SysWOW64\gzgbfbwv\nsogeht.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gzgbfbwv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gzgbfbwv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:944
    • 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:4176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4780 -s 672
      2⤵
      • Program crash
      PID:2852
  • C:\Windows\SysWOW64\gzgbfbwv\nsogeht.exe
    C:\Windows\SysWOW64\gzgbfbwv\nsogeht.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a7314503a7c92c26027da10f7a4eb283e0475eab5987974e2a116c7347b69cbf.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1632
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1632 -s 512
      2⤵
      • Program crash
      PID:3972
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4780 -ip 4780
    1⤵
      PID:3056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1632 -ip 1632
      1⤵
        PID:2860

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        283fa43772aa098785bfb734bbb22be0

        SHA1

        9b3e1d70091befdb485e96be51af0f0ef298abe3

        SHA256

        70bfa012ce383054712d54c307ad5a91ecc487b2c76789ec50aed029a38b2d88

        SHA512

        5d15899ec74e11ae0a041bde86c82ae5d40dd51383604a6bff86f867346ed23b5f56fe6e1ab5300a3d867dce29b45dcb3dbc48d8f53718b98e83908413cf94e6

      • memory/1632-11-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1632-18-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1632-12-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4072-13-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/4072-15-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/4072-16-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/4780-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4780-9-0x0000000000A10000-0x0000000000A23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4780-1-0x0000000000AC0000-0x0000000000BC0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4780-2-0x0000000000A10000-0x0000000000A23000-memory.dmp

        Filesize

        76KB