Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 18:55

General

  • Target

    JaffaCakes118_eb8a26f7dd1a2aa9cd9d0936ea552c1d.exe

  • Size

    10.1MB

  • MD5

    eb8a26f7dd1a2aa9cd9d0936ea552c1d

  • SHA1

    919ab5a6753f6ef5610cb84d4aa123874183b0d0

  • SHA256

    015f6f0f6fdf5021bea0fff32edb4a157a6fdbc247defea1014db3dba9ac1803

  • SHA512

    8d3279ee482928a1db7da17f0dbdbbc10c8b9677ae217eff4ca8f9f51bdd21e7749e95c51ac96c8d777f78757987a9fd75f1a5d3f51dbf11248ecbb91adf0340

  • SSDEEP

    49152:pkHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH:

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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_eb8a26f7dd1a2aa9cd9d0936ea552c1d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb8a26f7dd1a2aa9cd9d0936ea552c1d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nkepmhsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\efdnqjoz.exe" C:\Windows\SysWOW64\nkepmhsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nkepmhsf binPath= "C:\Windows\SysWOW64\nkepmhsf\efdnqjoz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb8a26f7dd1a2aa9cd9d0936ea552c1d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nkepmhsf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nkepmhsf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • 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:2360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4876 -s 1236
      2⤵
      • Program crash
      PID:1884
  • C:\Windows\SysWOW64\nkepmhsf\efdnqjoz.exe
    C:\Windows\SysWOW64\nkepmhsf\efdnqjoz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_eb8a26f7dd1a2aa9cd9d0936ea552c1d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1568
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1568 -s 564
      2⤵
      • Program crash
      PID:1328
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4876 -ip 4876
    1⤵
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 1568 -ip 1568
      1⤵
        PID:3276

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        0f5be2deff2ed808c4a502d854430a50

        SHA1

        ea7e4c2313b1fbfc518f839e086b7f795df5d365

        SHA256

        c399d476a3a50e83b2825eb7d6ba20420f9701c65c39c828992ee61c00e49e73

        SHA512

        a61ac3fca782c8c18eb3221314bedc783dbebdd632577708bdd239dc6183664aeeaa4ef6592dd42097aee836cc3eb465c5647dfa2d8d2666e9cf55234de7eed9

      • memory/1568-11-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/1568-17-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/3744-12-0x0000000000D20000-0x0000000000D35000-memory.dmp

        Filesize

        84KB

      • memory/3744-14-0x0000000000D20000-0x0000000000D35000-memory.dmp

        Filesize

        84KB

      • memory/3744-15-0x0000000000D20000-0x0000000000D35000-memory.dmp

        Filesize

        84KB

      • memory/4876-1-0x0000000000830000-0x0000000000930000-memory.dmp

        Filesize

        1024KB

      • memory/4876-2-0x0000000002500000-0x0000000002513000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4876-8-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

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

        Filesize

        84KB

      • memory/4876-9-0x0000000002500000-0x0000000002513000-memory.dmp

        Filesize

        76KB