Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 18:30

General

  • Target

    JaffaCakes118_bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86.exe

  • Size

    160KB

  • MD5

    f8fc9486f54b60f1803e7690a9a2458a

  • SHA1

    c9dd64c456997592297c283ba996410730bf7c7d

  • SHA256

    bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86

  • SHA512

    5e103634b44ceb7da4966361fed745f2604c37afd76a07631d06a8fd5903c7e58505b963bfb1aaacf24c3b4a57ae48db72cc630912826a52bbff1736bc2e19bb

  • SSDEEP

    3072:oN768L++ZHa/PtPPtMOgPljef9J9NR6vmp1n5Rw7HvON3:y681A/PtXtMHK1JQyJYLv

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_bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86.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\lmsbwkwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eraxydpc.exe" C:\Windows\SysWOW64\lmsbwkwf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lmsbwkwf binPath= "C:\Windows\SysWOW64\lmsbwkwf\eraxydpc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lmsbwkwf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lmsbwkwf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:824
    • 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:796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 400 -s 1160
      2⤵
      • Program crash
      PID:4980
  • C:\Windows\SysWOW64\lmsbwkwf\eraxydpc.exe
    C:\Windows\SysWOW64\lmsbwkwf\eraxydpc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bf24720a0ed6ead9c2ec1d776bc48953e9cabc042168376cd09e9a9439f52c86.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:3732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1748 -s 560
      2⤵
      • Program crash
      PID:2180
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1748 -ip 1748
    1⤵
      PID:2184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 400 -ip 400
      1⤵
        PID:3356

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        3993b7c62657ce75156cb0c5d1e73103

        SHA1

        0bd7c8ef04d1a95a38b4258e811aaac46eaadb0d

        SHA256

        084d8ade1d88d6e535603d0b2c92c5c3259fc0174a6cf7a6b755fd2904b74b30

        SHA512

        3022a56105fa338bd4b00dcd142565841e5e60a7dead2fe4c5b50bb3205f2dfbd0c98701a506931f704129d61c71386e78dacf1941032c6e4929726a44cd20da

      • memory/400-15-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/400-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/400-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/400-16-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/1748-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1748-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

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

        Filesize

        212KB

      • memory/1748-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3732-12-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3732-9-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3732-18-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3732-19-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3732-20-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB