Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/01/2025, 22:05

General

  • Target

    JaffaCakes118_bff20a936e3bc424b95a2eee2989f0dc.exe

  • Size

    11.3MB

  • MD5

    bff20a936e3bc424b95a2eee2989f0dc

  • SHA1

    a6844a289cc3be0c8d6859006066deec2c67d80a

  • SHA256

    c00afb3d9875303bb1ca957e8ef8b5f1d086a614fb9d16d91f4a21fe13189145

  • SHA512

    470e3e5d3def60222b629c94ec543ecfbfe30948fc488a3869bbbadd50c7da81ba24057c10a1911e02c86a346a754671f272309db5022e12a707d56f073be0b2

  • SSDEEP

    6144:09ee3eUmeaedGxyF1t9cj9lxbxaMPaMfh4EfzowLG7:0Ie6TSsyF+jdxacX6kzo4O

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_bff20a936e3bc424b95a2eee2989f0dc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bff20a936e3bc424b95a2eee2989f0dc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ncrlmvfk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jzugamqi.exe" C:\Windows\SysWOW64\ncrlmvfk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ncrlmvfk binPath= "C:\Windows\SysWOW64\ncrlmvfk\jzugamqi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bff20a936e3bc424b95a2eee2989f0dc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ncrlmvfk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ncrlmvfk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1140
    • 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:1292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 400 -s 1176
      2⤵
      • Program crash
      PID:2916
  • C:\Windows\SysWOW64\ncrlmvfk\jzugamqi.exe
    C:\Windows\SysWOW64\ncrlmvfk\jzugamqi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bff20a936e3bc424b95a2eee2989f0dc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1748
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1748 -s 516
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 400 -ip 400
    1⤵
      PID:3132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1748 -ip 1748
      1⤵
        PID:1332

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        f766ee54c7927f63a5dcf1e55c7d74ef

        SHA1

        645c2e89b482fc4305f76e7662bb68a24f9b3be6

        SHA256

        0c81fb8593216c003a964b565235c3864ef1850ad6f6547466c52ca753bef922

        SHA512

        ea5e6f0b4e5d7658648855943e000bb2a19795c01a9e610875b5b5b125755fda2a85ad3d881590ee1b7257646c3e297f14eff0eb250e023c434d872760b7439b

      • memory/400-12-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/400-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/400-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/400-13-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/400-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/400-2-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/620-10-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/620-17-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/620-18-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/1748-8-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/1748-9-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/1748-16-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB