Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 07:57

General

  • Target

    JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe

  • Size

    284KB

  • MD5

    0b19b04338ddda5554112c86c5791684

  • SHA1

    93cdd5161cb58122fc0edfe66a7af5b75a89ff4c

  • SHA256

    5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33

  • SHA512

    39fb27528029cd6664bd503625ef13f116dfea6353271bfebf74f69586e844153c0d8e8452acbf481b450fa511bd8a0ce4ed2f9995b40f57374394159879b6eb

  • SSDEEP

    6144:uT5AEWRLSnPVskaD/gi4T9HROhxxpeTr/ekI:ulAvGnPSdDnzxp6L

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\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wcljclfn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgbnhtxp.exe" C:\Windows\SysWOW64\wcljclfn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wcljclfn binPath= "C:\Windows\SysWOW64\wcljclfn\qgbnhtxp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wcljclfn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wcljclfn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3804
    • 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:1392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4932 -s 888
      2⤵
      • Program crash
      PID:3024
  • C:\Windows\SysWOW64\wcljclfn\qgbnhtxp.exe
    C:\Windows\SysWOW64\wcljclfn\qgbnhtxp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1772
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1772 -s 512
      2⤵
      • Program crash
      PID:3080
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4932 -ip 4932
    1⤵
      PID:5076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1772 -ip 1772
      1⤵
        PID:4512

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        1bf91ed0b0b3368af8c34cb68d9506a4

        SHA1

        22a8310e89010270567c314fafca6d9a61d01197

        SHA256

        56ea6ec1db268fc9c16475bad6ba5976388c8c72165caa8c03ccd0c5c0edfc99

        SHA512

        7778740ec444803de64a2b3abb685c77aabaf1712d41a35861c63d441d891edb96dc713cb1da6b31752ec7bceb3be0a217e1e15cf0cb445ce1994de53628ef09

      • memory/1772-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/1772-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/1772-13-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/1772-19-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2188-16-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB

      • memory/2188-15-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB

      • memory/2188-17-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4932-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

      • memory/4932-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB