Analysis

  • max time kernel
    146s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-07-2024 04:22

General

  • Target

    517123fcc7badee52a30705f4cdaf630_JaffaCakes118.exe

  • Size

    13.6MB

  • MD5

    517123fcc7badee52a30705f4cdaf630

  • SHA1

    f67f1cd917f8f5aee2d3577c73362afc124221f2

  • SHA256

    5e39aee1e32aadd42e1def5fd7f89386978c7bf73ae2d873e4eeb55b13fdaa2c

  • SHA512

    0ba2ce07b6c90b0852262fd59b2643956dd92deb66339f9fc17cddc3fd600984c7056620eb01e05a6ee1076c761cd35bb2682462189dc083a6fba2ef5de6aba2

  • SSDEEP

    196608:7XPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPH:7

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
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\517123fcc7badee52a30705f4cdaf630_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\517123fcc7badee52a30705f4cdaf630_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sbtdigti\
      2⤵
        PID:1712
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\elxktghb.exe" C:\Windows\SysWOW64\sbtdigti\
        2⤵
          PID:4112
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sbtdigti binPath= "C:\Windows\SysWOW64\sbtdigti\elxktghb.exe /d\"C:\Users\Admin\AppData\Local\Temp\517123fcc7badee52a30705f4cdaf630_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1468
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sbtdigti "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1220
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sbtdigti
          2⤵
          • Launches sc.exe
          PID:2624
        • 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
          PID:4372
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4164 -s 808
          2⤵
          • Program crash
          PID:908
      • C:\Windows\SysWOW64\sbtdigti\elxktghb.exe
        C:\Windows\SysWOW64\sbtdigti\elxktghb.exe /d"C:\Users\Admin\AppData\Local\Temp\517123fcc7badee52a30705f4cdaf630_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3184
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2668
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3184 -s 516
          2⤵
          • Program crash
          PID:3576
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4164 -ip 4164
        1⤵
          PID:2640
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3184 -ip 3184
          1⤵
            PID:2248

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\elxktghb.exe
            Filesize

            10.5MB

            MD5

            62f325fbee42818027ab1e8cec9cce31

            SHA1

            51c43e8d239a72ad8a36e8d5397837dbce5a91aa

            SHA256

            cf8b21ac4f2b647391b0ed0d3084b0c41333c2623993f364fa72bb9480959497

            SHA512

            59e8e4c45b07f3befdb58bed96097aac6f8f9e4cfbf364d193db8a7b846f51f92737e596e2ccf0abaefe659bbadb661f07287ba027aabce52c1fd9a8bf88d4f4

          • memory/2668-14-0x00000000004A0000-0x00000000004B5000-memory.dmp
            Filesize

            84KB

          • memory/2668-11-0x00000000004A0000-0x00000000004B5000-memory.dmp
            Filesize

            84KB

          • memory/2668-17-0x00000000004A0000-0x00000000004B5000-memory.dmp
            Filesize

            84KB

          • memory/3184-12-0x0000000000400000-0x0000000000871000-memory.dmp
            Filesize

            4.4MB

          • memory/3184-15-0x0000000000400000-0x0000000000871000-memory.dmp
            Filesize

            4.4MB

          • memory/4164-1-0x0000000000B20000-0x0000000000C20000-memory.dmp
            Filesize

            1024KB

          • memory/4164-2-0x00000000001C0000-0x00000000001D3000-memory.dmp
            Filesize

            76KB

          • memory/4164-3-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/4164-10-0x0000000000400000-0x0000000000415000-memory.dmp
            Filesize

            84KB

          • memory/4164-9-0x00000000001C0000-0x00000000001D3000-memory.dmp
            Filesize

            76KB

          • memory/4164-8-0x0000000000400000-0x0000000000871000-memory.dmp
            Filesize

            4.4MB