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
    29-12-2024 02:48

General

  • Target

    JaffaCakes118_9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548.exe

  • Size

    284KB

  • MD5

    ab514db61e4fe549e7fa5cf39e966f1f

  • SHA1

    34385b6a1930b3f3683f17f8ca03403511a8fac1

  • SHA256

    9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548

  • SHA512

    24712286888012a6dd2faa445ea901e420e1b316913cfe7b482d9fba557e308ddb48cf4aac636d90f7a8589773986ef60e9b28e420597d6ee291eb8fe13ea3f3

  • SSDEEP

    3072:1o5eiWVHGylf7j5r1/s3R94t7S8Q9S20ke957ylo5vuLkXrWFcXObIEAGWN7XsDb:i5RGdf791/sB9A7m/UBGIEAfT2

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_9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsspvqpq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gwwwlcia.exe" C:\Windows\SysWOW64\xsspvqpq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xsspvqpq binPath= "C:\Windows\SysWOW64\xsspvqpq\gwwwlcia.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xsspvqpq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xsspvqpq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • 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:1560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1388 -s 892
      2⤵
      • Program crash
      PID:1188
  • C:\Windows\SysWOW64\xsspvqpq\gwwwlcia.exe
    C:\Windows\SysWOW64\xsspvqpq\gwwwlcia.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9e81805591a9493fd422934d9c29b458ee247a715c4b0ea44b659ff0f700a548.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1544
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1544 -s 512
      2⤵
      • Program crash
      PID:5012
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1388 -ip 1388
    1⤵
      PID:4736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1544 -ip 1544
      1⤵
        PID:2312

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        97870f77dd264ff803a99c3eed094011

        SHA1

        e968c73fa05f910d125779034798d6640ad5448a

        SHA256

        8dade5751e48829aecc83cc24e70c790f88ffa14eca2e043270ecdc3952ea2cb

        SHA512

        20589a68b221910c66b38cdc58202a0914fcddcaedf7d0af5f9b100a81d917ba849e136787da45b8deacce9dc20e28a2044ce39b5a4aabf37c578ab444f7996a

      • memory/1388-1-0x0000000002BA0000-0x0000000002CA0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1388-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/1544-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/2720-11-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/2720-13-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/2720-14-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB