Analysis

  • max time kernel
    146s
  • 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
    24-12-2024 22:43

General

  • Target

    JaffaCakes118_6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2.exe

  • Size

    299KB

  • MD5

    9454fbf180ed335a5499cd841784bbc4

  • SHA1

    7b385037ceef8e6bc0f319fad954e7769e4689fc

  • SHA256

    6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2

  • SHA512

    2610fd4b948ad79f5f2256bdde3439cc39b76603c7e5edb92ebe4601b368dd74d7d8b7b1bb6fbed62c9a4999d7ef70c8c6d75486347cbe7b2e68a7eadafea9f3

  • SSDEEP

    6144:EpE3/vjto7fBz+ofNp0enjF37k90jQ6y6QOqLOR:EUnj4Zzdp0enRk90jQcQOQM

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_6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dzozjicb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gxlivbe.exe" C:\Windows\SysWOW64\dzozjicb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dzozjicb binPath= "C:\Windows\SysWOW64\dzozjicb\gxlivbe.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dzozjicb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dzozjicb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3604
    • 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:4708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2276 -s 1032
      2⤵
      • Program crash
      PID:840
  • C:\Windows\SysWOW64\dzozjicb\gxlivbe.exe
    C:\Windows\SysWOW64\dzozjicb\gxlivbe.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe5a2468f7bbeeefe3f4d9fd050dd084b52ea280616df2154f355abafc73fc2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 936 -s 276
      2⤵
      • Program crash
      PID:2524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2276 -ip 2276
    1⤵
      PID:1772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 936 -ip 936
      1⤵
        PID:4732

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        2fde0babf2daae3d12881bcc60d21a76

        SHA1

        32528b588fd13d76936699c916838967d6ab7a80

        SHA256

        ad9d0520474ddde6ebbc9918a6c209b58700f32f8138d134733a1fb4b627fdef

        SHA512

        674483773cdd7944a7306532f46045f3ec4944ea3cf29029abab79486af551a39b66de0f91d5e98e8fa22c0372a76b9f81edbd5cc2ce46adcf293f1591d230dd

      • memory/936-13-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

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

        Filesize

        388KB

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

        Filesize

        388KB

      • memory/936-19-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

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

        Filesize

        84KB

      • memory/2276-1-0x0000000000560000-0x0000000000660000-memory.dmp

        Filesize

        1024KB

      • memory/2276-8-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/2276-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2276-7-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/2276-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4060-14-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB

      • memory/4060-16-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB

      • memory/4060-17-0x0000000000630000-0x0000000000645000-memory.dmp

        Filesize

        84KB