Analysis

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

General

  • Target

    JaffaCakes118_b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94.exe

  • Size

    333KB

  • MD5

    eb0678df119dfd9e714fba2fae3d5239

  • SHA1

    98f2d165ad96ef58d52276529ca0b00e38ff7295

  • SHA256

    b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94

  • SHA512

    b273f385cac30c8bedc84e8f10ddcc7b1746ed079b64164592c1bacba29e1fbfd9228c8b04f62a55909ff3954e5d97ffd9fc90a20ee68b5720cf3ee11fc110d1

  • SSDEEP

    6144:MomFiQiTBGC2R4Stn/ZV0duUphnrzkXCcLHmGpqwep:tmFsBvI4un/ZV0duuhrYXCc6mL6

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_b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cmlazoaq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vfkxezyn.exe" C:\Windows\SysWOW64\cmlazoaq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cmlazoaq binPath= "C:\Windows\SysWOW64\cmlazoaq\vfkxezyn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cmlazoaq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cmlazoaq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • 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:1796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 1288
      2⤵
      • Program crash
      PID:2616
  • C:\Windows\SysWOW64\cmlazoaq\vfkxezyn.exe
    C:\Windows\SysWOW64\cmlazoaq\vfkxezyn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b1e47155b6dcd9b8c11598628832f66876805b9417af2b6e3cfb11b3890eaa94.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1760
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1760 -s 532
      2⤵
      • Program crash
      PID:2380
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2340 -ip 2340
    1⤵
      PID:2164
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1760 -ip 1760
      1⤵
        PID:2820

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        f4aa814149836f9eff03a0e416a82629

        SHA1

        55c72859669fb299603cd81de903a2d17eb3ddf1

        SHA256

        8e0f46c1b10aa4def2f934ee01a85c9a82c86fa1ec9e026bca61e26b5a606de7

        SHA512

        b19417f6e29191383e19b0deb84ae09be654f4b4806c3775120e09a18754b81c013313fde4bdcaae8dab59b5cdeaa2a7b34bb9339ffce402fdfe717a2b9c8029

      • memory/208-11-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/208-13-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/208-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1760-15-0x0000000000400000-0x0000000002B4B000-memory.dmp

        Filesize

        39.3MB

      • memory/2340-1-0x0000000002E30000-0x0000000002F30000-memory.dmp

        Filesize

        1024KB

      • memory/2340-2-0x0000000002DF0000-0x0000000002E03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2340-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2340-8-0x0000000002DF0000-0x0000000002E03000-memory.dmp

        Filesize

        76KB

      • memory/2340-7-0x0000000000400000-0x0000000002B4B000-memory.dmp

        Filesize

        39.3MB