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 10:52

General

  • Target

    JaffaCakes118_551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef.exe

  • Size

    197KB

  • MD5

    d664f6cd5e19ce2644f2f7c37478a718

  • SHA1

    868334830144813fd151a90b35d45d2c04f27069

  • SHA256

    551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef

  • SHA512

    42c48954963a502526e41adc43e5fb4c03996a333fb49fb401020f6834c3f7e8bf3bed5a4043e03d23cc25d6a8ba895083341b30252121cc3beb64cbaa104938

  • SSDEEP

    3072:bnrGpXZ1ZzvsZQ7PTU/K5WHrcPI1Zed05x8EuSzsz:brGRZTsZWbozcPI17huSz+

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_551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rfraph\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qfsoazse.exe" C:\Windows\SysWOW64\rfraph\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rfraph binPath= "C:\Windows\SysWOW64\rfraph\qfsoazse.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rfraph "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rfraph
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3624
    • 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:880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4516 -s 668
      2⤵
      • Program crash
      PID:4512
  • C:\Windows\SysWOW64\rfraph\qfsoazse.exe
    C:\Windows\SysWOW64\rfraph\qfsoazse.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551ba3507f8cf7f20baa918bb6445fc67dc1e9980c521e7c8e4f3106b3f563ef.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:2812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1632 -s 532
      2⤵
      • Program crash
      PID:4928
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4516 -ip 4516
    1⤵
      PID:4960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 1632 -ip 1632
      1⤵
        PID:2252

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        babad4582e5e5e8ba4c82bff0d1cabb4

        SHA1

        e44f2649b3d68b6d694f5283196b4ab31db3c219

        SHA256

        27b922c04e9cf5e045ae5565377adf959b1507ea21b6869791388f1def76703e

        SHA512

        0e8b4b7b1905b61d44e622acb6ab4758cb637af368ed0c3db6e3d2e0ce74b54156b317a3ef04d631d30067bbcddd1913e28e056f487d518d91bca506d981b12c

      • memory/1632-13-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

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

        Filesize

        248KB

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

        Filesize

        248KB

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

        Filesize

        248KB

      • memory/2812-14-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/2812-16-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

      • memory/2812-17-0x0000000000960000-0x0000000000975000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4516-2-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4516-9-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/4516-8-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/4516-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB