Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-10-2024 14:27

General

  • Target

    5d1470caf0cf10f682be43586f909f62_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    5d1470caf0cf10f682be43586f909f62

  • SHA1

    8b8e686d21ff3277ce86d9b5f9475eff108875ff

  • SHA256

    39177e8c1255444d714f716028f324d346c3f9ce13e99554ef9a56a9094bdf58

  • SHA512

    c265fee6d74bfaaacd05f790e2f6863362be0f112b2d6deb58803502500a536b5b6ef24b90b8d30732acb4f3f635c69d1ea38282d900d7422cf7b6f1c6e4d174

  • SSDEEP

    24576:Pgdy5yNM4444444444444444444444444444444444444444444444444444444g:

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\5d1470caf0cf10f682be43586f909f62_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\5d1470caf0cf10f682be43586f909f62_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rzmqyiie\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yppiyxym.exe" C:\Windows\SysWOW64\rzmqyiie\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rzmqyiie binPath= "C:\Windows\SysWOW64\rzmqyiie\yppiyxym.exe /d\"C:\Users\Admin\AppData\Local\Temp\5d1470caf0cf10f682be43586f909f62_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rzmqyiie "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rzmqyiie
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1012
    • 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:5020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3156 -s 1200
      2⤵
      • Program crash
      PID:4720
  • C:\Windows\SysWOW64\rzmqyiie\yppiyxym.exe
    C:\Windows\SysWOW64\rzmqyiie\yppiyxym.exe /d"C:\Users\Admin\AppData\Local\Temp\5d1470caf0cf10f682be43586f909f62_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4840
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4840 -s 512
      2⤵
      • Program crash
      PID:2440
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3156 -ip 3156
    1⤵
      PID:1064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4840 -ip 4840
      1⤵
        PID:1296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        1c3dcaddf5f19d84fab2388f0425941e

        SHA1

        9a33d50ed4612323cca201e17a1daaf3889535aa

        SHA256

        ed52d8c39b734378fd900a738b08a2bac7fa9ac2598779f8d83430e7fcaa7f09

        SHA512

        425502169a75d7cfb583a74e42e3aaa96c457ecfb0bcf1bd6157fb1f3ba26e75316c293a28650708c44ea9ec4eaa3e45baaf759e35ae8e5e3c2294c98ff91a1c

      • memory/444-14-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

      • memory/444-17-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

      • memory/444-16-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

      • memory/3156-8-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/3156-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/3156-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3156-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/4840-12-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4840-11-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4840-13-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/4840-19-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB