Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 10:44

General

  • Target

    JaffaCakes118_704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2.exe

  • Size

    299KB

  • MD5

    a31d942ddc979a8c1d46608d5aa428ef

  • SHA1

    ddf40346d87a918d13bfe5f378a389c100538c59

  • SHA256

    704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2

  • SHA512

    3ca502da4715b3bb6dc2e3191a87e6d5f89cd4d64fcd4d4c25650b2f554724f60549aab01e3ec15fda6e86b797322077e9663e90bbe0367c91d5238db568ceb0

  • SSDEEP

    6144:rcjMScmcUfbnJRoc904tsKZ4g+8IvhGDNGxty:rcjXf3V04tsKW78ShKGe

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_704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lytlksbz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\biduzeqx.exe" C:\Windows\SysWOW64\lytlksbz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lytlksbz binPath= "C:\Windows\SysWOW64\lytlksbz\biduzeqx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lytlksbz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lytlksbz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1748
    • 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:812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4312 -s 1164
      2⤵
      • Program crash
      PID:3452
  • C:\Windows\SysWOW64\lytlksbz\biduzeqx.exe
    C:\Windows\SysWOW64\lytlksbz\biduzeqx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_704f5e94f68cb6eab31620994c481bdcc2f99ab2976be6adeabf62900b7e32d2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2296
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2296 -s 520
      2⤵
      • Program crash
      PID:548
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4312 -ip 4312
    1⤵
      PID:1448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2296 -ip 2296
      1⤵
        PID:3468

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        c68dd5b7e9c0b13d913258b57a98bc70

        SHA1

        1fa6ca4bb728dbe70dae4970959451713d62fe3e

        SHA256

        3f56197ac6c37d7530f121d9add45f19348b4c533c443e032f6b774d4b98a68b

        SHA512

        5976c388fcdebd9564f6cc3e5ae351d7ebc013e8e52c0ce23e5102cc78fb7bfc49ae25d934e576cb41550b1d41056d0143fe81f3f8feb4a49872f2c6481c0bf0

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

        Filesize

        388KB

      • memory/2296-16-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

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

        Filesize

        388KB

      • memory/2296-9-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4312-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4312-17-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4312-18-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4312-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB

      • memory/4596-14-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/4596-10-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/4596-20-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/4596-21-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/4596-22-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB