Analysis

  • max time kernel
    149s
  • 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
    01-01-2025 07:49

General

  • Target

    JaffaCakes118_4cdc93147bb55ed9dac436b38de5a8fe.exe

  • Size

    11.8MB

  • MD5

    4cdc93147bb55ed9dac436b38de5a8fe

  • SHA1

    6c46c60153d0383a10c215ac620f915e9d28779d

  • SHA256

    f7c6f0e23614caa687edfba30db9617ba7fb0c970a6c5da20869028f49ca8277

  • SHA512

    23b3fd888b1ed64cd9e4d317baffe0de88ada725299a4c3c234235e72c6e80c241fe9a12b3ec1d1dacfd06f3b025dafbdf7e17e9029a9c1611f2a74f67f7dec3

  • SSDEEP

    196608:bXPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPf:b

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_4cdc93147bb55ed9dac436b38de5a8fe.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4cdc93147bb55ed9dac436b38de5a8fe.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hilxjefy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dsfbnmfr.exe" C:\Windows\SysWOW64\hilxjefy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hilxjefy binPath= "C:\Windows\SysWOW64\hilxjefy\dsfbnmfr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4cdc93147bb55ed9dac436b38de5a8fe.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hilxjefy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hilxjefy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • 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:4940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2384 -s 1040
      2⤵
      • Program crash
      PID:4720
  • C:\Windows\SysWOW64\hilxjefy\dsfbnmfr.exe
    C:\Windows\SysWOW64\hilxjefy\dsfbnmfr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4cdc93147bb55ed9dac436b38de5a8fe.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2036
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2036 -s 520
      2⤵
      • Program crash
      PID:2304
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2384 -ip 2384
    1⤵
      PID:4428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2036 -ip 2036
      1⤵
        PID:700

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        cf4850bad29ea5fd2f5eb95de91afd1a

        SHA1

        093f397954ab94d4be759ef2dc21aff75da2e59a

        SHA256

        0aaed838702962fef757fda94d20ce0f4ad9a689653893f448a0be20f4594cf5

        SHA512

        fd6e9a835e4dc8be82809fccb2ccf4e413ee556dcbc34ef704ab755f6cc14e0a5fc38b01c6ef13cf504aedcf97151346c358722fe8858fd4796401dbeb81c7e2

      • memory/2036-11-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/2036-13-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/2036-18-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2384-1-0x0000000000A90000-0x0000000000B90000-memory.dmp

        Filesize

        1024KB

      • memory/2384-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/2992-12-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/2992-15-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/2992-16-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB