Analysis

  • max time kernel
    148s
  • 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
    20-10-2024 10:38

General

  • Target

    61cce2104b866e7c94f675006355ee04_JaffaCakes118.exe

  • Size

    14.8MB

  • MD5

    61cce2104b866e7c94f675006355ee04

  • SHA1

    2aad7d1cff84cd32f59bfdb6eceed80e79eae3de

  • SHA256

    59525627bd56344ad6a2096e0ececd82ea8f6d7f0501c2baa081c00374b9bbba

  • SHA512

    70cfd5beadff191513dab60af02569f4578bd8ae3af138a0d4a782ff3be47ef9a87eb08dbedfdb8d81500aef32d89507f2e775510644839bcb476015c8e713ce

  • SSDEEP

    24576:YMOfbSPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN7:E

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.

  • 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\61cce2104b866e7c94f675006355ee04_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\61cce2104b866e7c94f675006355ee04_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kbqtftez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpzxxnwm.exe" C:\Windows\SysWOW64\kbqtftez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kbqtftez binPath= "C:\Windows\SysWOW64\kbqtftez\rpzxxnwm.exe /d\"C:\Users\Admin\AppData\Local\Temp\61cce2104b866e7c94f675006355ee04_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kbqtftez "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kbqtftez
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3888
    • 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:4828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2744 -s 1044
      2⤵
      • Program crash
      PID:4524
  • C:\Windows\SysWOW64\kbqtftez\rpzxxnwm.exe
    C:\Windows\SysWOW64\kbqtftez\rpzxxnwm.exe /d"C:\Users\Admin\AppData\Local\Temp\61cce2104b866e7c94f675006355ee04_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1192
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1192 -s 536
      2⤵
      • Program crash
      PID:2752
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2744 -ip 2744
    1⤵
      PID:704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1192 -ip 1192
      1⤵
        PID:4892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        abd00e193f8080a1e454cc7d38e3bcb1

        SHA1

        f4cc9d7894ed925bf40bb7ed847b9673ae9cdf27

        SHA256

        5576d667a7aa56e02268dac306cc19d6f792522365fac25c1d1c96e7a2696294

        SHA512

        15ed7b259b1ec93a4671308b9d616fa648f6346370898240a44a7bb3d4a5101a682506195daac523cdcc6b3319959aa80b6fec819da9aef451bc540a3eee449a

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

        Filesize

        39.6MB

      • memory/2316-11-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2316-13-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2316-14-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2744-1-0x0000000002E70000-0x0000000002F70000-memory.dmp

        Filesize

        1024KB

      • memory/2744-2-0x0000000002DE0000-0x0000000002DF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2744-9-0x0000000002DE0000-0x0000000002DF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        39.6MB