Analysis

  • max time kernel
    149s
  • max time network
    152s
  • 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 06:05

General

  • Target

    JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe

  • Size

    287KB

  • MD5

    f8c4e7377e1e2c004785641eb1ac23b9

  • SHA1

    2cc839dc523d85058144d5d8f98e16665750ebd2

  • SHA256

    e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef

  • SHA512

    484bd7ead8788031732df37084fd7d84b2e6c8768a88c0ec519bdd767dc20af6c898d61586915e49d95db12b16cde3cdbd8096b3899e5d27ccf91b4092b8aab6

  • SSDEEP

    6144:QidOABJIY38y2btsv96WhaznPPkyyr9Z1wmkE:QiEEJl38Ftsv96mek79Z1wmkE

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_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyfenhbg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfaxeddr.exe" C:\Windows\SysWOW64\lyfenhbg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lyfenhbg binPath= "C:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lyfenhbg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lyfenhbg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:212
    • 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:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2172 -s 808
      2⤵
      • Program crash
      PID:2512
  • C:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exe
    C:\Windows\SysWOW64\lyfenhbg\tfaxeddr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e9c5f7ff4cfedc621c43b580eed6808c159348401a29f1446ac6cccc841787ef.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 524
      2⤵
      • Program crash
      PID:4828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2172 -ip 2172
    1⤵
      PID:3368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1056 -ip 1056
      1⤵
        PID:4936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        9dba7cca6628b7b37c906f2c01cf1080

        SHA1

        0c7ccefdf74ca91c0cc2788f20526d136213fbdf

        SHA256

        a5f52ee35fc98a52ddf8dc0be2e1bc3fc4164929eb753d172add34afd75f4ac1

        SHA512

        3ef13758d5d8e7ffbdd931b574cec49be06c28509daebda07a15863d4ebe1d36cab5bf015ac3e561ad8e51194138885e6c3c9754a2d40d25d8ed8a0bf854701c

      • memory/1056-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/1372-11-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/1372-13-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/1372-14-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/2172-1-0x0000000002D80000-0x0000000002E80000-memory.dmp

        Filesize

        1024KB

      • memory/2172-2-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2172-9-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

      • memory/2172-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB