Analysis

  • max time kernel
    145s
  • 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
    22-12-2024 12:51

General

  • Target

    JaffaCakes118_868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b.exe

  • Size

    295KB

  • MD5

    049203f243f9131a13939ac0cb01dde9

  • SHA1

    be3918792fcbfaa050ff6b2d61e3645f431deed3

  • SHA256

    868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b

  • SHA512

    6a28041c3bff8e44fbcea472042d039efcb74138bf6d9de547c4c4b584509bfc9c41f32e21e826f791dee6ace0c94c5639da3c02bc3ec57ca3decf292b3e00cd

  • SSDEEP

    6144:dRYINfi/6dMxoojfen4W2FQblf3yE92C:dn6IMxooK4W2FQd3pD

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_868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\efrnonvv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yrglegdm.exe" C:\Windows\SysWOW64\efrnonvv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create efrnonvv binPath= "C:\Windows\SysWOW64\efrnonvv\yrglegdm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description efrnonvv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start efrnonvv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1056
    • 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:5060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 452 -s 640
      2⤵
      • Program crash
      PID:4932
  • C:\Windows\SysWOW64\efrnonvv\yrglegdm.exe
    C:\Windows\SysWOW64\efrnonvv\yrglegdm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_868141fac9696831f591de2c4c97e7a8b2f48410967beca6be205f442732918b.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:544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2296 -s 512
      2⤵
      • Program crash
      PID:4472
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 452 -ip 452
    1⤵
      PID:2332
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2296 -ip 2296
      1⤵
        PID:3392

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        139e6ff0e9a248b3689d9c0debf2b609

        SHA1

        9c08c9cc177bd10f7fedabad8637a96a119b2053

        SHA256

        1a7da6d99ee83f57f8c4107a27fd9fd92f79479b1415ec05ead77fab4d818729

        SHA512

        bba5d15ece9c79e59860a245b8da2be06236bfa2424cfcb29f4556f1199f7abfba25e14bcc7063b169371cf7df054c2aba174698ecc7028379622ec033a61b34

      • memory/452-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/452-13-0x0000000000400000-0x000000000045F000-memory.dmp

        Filesize

        380KB

      • memory/452-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

      • memory/452-14-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/544-11-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/544-17-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/544-18-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

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

        Filesize

        380KB

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

        Filesize

        380KB

      • memory/2296-10-0x0000000000400000-0x000000000045F000-memory.dmp

        Filesize

        380KB

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

        Filesize

        380KB