Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-12-2024 15:32

General

  • Target

    ec2dbf5565edcf4b842d371ed45ea086_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    ec2dbf5565edcf4b842d371ed45ea086

  • SHA1

    47ba7c6b4b8e111f5bd7fd3475ea36c1d787f267

  • SHA256

    b9729e082e0107b399ec69aa3ebd7fedf63ca5d65bea80683e2bd62bd5342307

  • SHA512

    0f78ebb1cad53ce7d941d5692475b23ab907b8933e66dd034692f6381616d7d2899af1b5a708818c3565329e65133169c014ff9d516a9af7c9f03c19c7478d7b

  • SSDEEP

    196608:u+8888888888888888888888888888888888888888888888888888888888888Y:f888888888888888888888888888888r

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.

  • 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\ec2dbf5565edcf4b842d371ed45ea086_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ec2dbf5565edcf4b842d371ed45ea086_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ilgjceng\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehaigiqa.exe" C:\Windows\SysWOW64\ilgjceng\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ilgjceng binPath= "C:\Windows\SysWOW64\ilgjceng\ehaigiqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\ec2dbf5565edcf4b842d371ed45ea086_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ilgjceng "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ilgjceng
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • 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:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1916 -s 1048
      2⤵
      • Program crash
      PID:3836
  • C:\Windows\SysWOW64\ilgjceng\ehaigiqa.exe
    C:\Windows\SysWOW64\ilgjceng\ehaigiqa.exe /d"C:\Users\Admin\AppData\Local\Temp\ec2dbf5565edcf4b842d371ed45ea086_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4268
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4268 -s 532
      2⤵
      • Program crash
      PID:2740
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1916 -ip 1916
    1⤵
      PID:2032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4268 -ip 4268
      1⤵
        PID:1064

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        c48a2172cf409791495766172153f4e8

        SHA1

        3d7b30f666a56eb57b172a8b9942ff19c7641725

        SHA256

        062d1ec6b4e461275d3f2f0f95d94f57b47494e20f3cdcb77e1dd53d90bbfeca

        SHA512

        2fc15af1cb012990f18846530757761e3dcff2ef537e8afca67ae1294922c36749733f3bc8e8ec22d6b9f038de0eb8a5821dafb66438397b7ea009ecb4f2473e

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

        Filesize

        340KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1916-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB

      • memory/2164-14-0x0000000000310000-0x0000000000325000-memory.dmp

        Filesize

        84KB

      • memory/2164-16-0x0000000000310000-0x0000000000325000-memory.dmp

        Filesize

        84KB

      • memory/2164-17-0x0000000000310000-0x0000000000325000-memory.dmp

        Filesize

        84KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB