Analysis

  • max time kernel
    147s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-10-2024 07:49

General

  • Target

    12754fe20fd60bd57247b65d64d97e83_JaffaCakes118.exe

  • Size

    13.4MB

  • MD5

    12754fe20fd60bd57247b65d64d97e83

  • SHA1

    bf98f755046fb4092788ee8821bd0c1fa0530efa

  • SHA256

    9364999d416a2de1c0b9b3bb46948e40be929418c06154cebee0602ca4e7b800

  • SHA512

    90a1f91c3c5cb12953781d502b1a3cc1b1dac3a0fc69a15e9c0abbbedf3fb05073ac64e6860002ba5d6ae9d089999bfa2a976a99b1a92e070773c81c2239e0ec

  • SSDEEP

    393216:uLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLz:

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\12754fe20fd60bd57247b65d64d97e83_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\12754fe20fd60bd57247b65d64d97e83_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mivjsqq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rusnhoyi.exe" C:\Windows\SysWOW64\mivjsqq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mivjsqq binPath= "C:\Windows\SysWOW64\mivjsqq\rusnhoyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\12754fe20fd60bd57247b65d64d97e83_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mivjsqq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mivjsqq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2368
    • 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:3800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4244 -s 1156
      2⤵
      • Program crash
      PID:2908
  • C:\Windows\SysWOW64\mivjsqq\rusnhoyi.exe
    C:\Windows\SysWOW64\mivjsqq\rusnhoyi.exe /d"C:\Users\Admin\AppData\Local\Temp\12754fe20fd60bd57247b65d64d97e83_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 512
      2⤵
      • Program crash
      PID:2248
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4244 -ip 4244
    1⤵
      PID:3640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4744 -ip 4744
      1⤵
        PID:1592

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        00f017148801cb8104fd62019645c429

        SHA1

        8e4877618787ab2223702e0c4c642f1722f7dbe7

        SHA256

        9a430e0c32000403bbb0507f283871cda05ca1fa7c763b68eea448456b5c8d63

        SHA512

        be111ddc5e20c78a5889bcc7eaf4b7ee207dcb4243c3b5806627ec456a0a00fbe4f4ff41d0efc9599f489903f85a7765ba67b006b98329ffd1db08d90d4b40a3

      • memory/2572-14-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/2572-17-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/2572-16-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/4244-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/4244-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4744-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4744-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4744-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4744-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB