Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 23:27

General

  • Target

    JaffaCakes118_fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c.exe

  • Size

    187KB

  • MD5

    cdae7e032a52e1ee6323c524aed411ce

  • SHA1

    877c52f37cda79f1bf610e947bafffc1227071a5

  • SHA256

    fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c

  • SHA512

    f45bdf62e69f3c1166ed17dd562c5aa53133b9131fce81ac0e9ad4b8260a5b7a41499aa97a6ffa4a0c10927fd28a7cd81b20a260956429b9684fd5d99e2a1fd7

  • SSDEEP

    3072:t7M4KtEHAz7pbdM9aqEI0ZVw1yE/m9yq3uGkB0PXc0GqX9Rz4mFuPbvK:Y8Az1bdM970VwwE+9yOeGc+9Rs+uTv

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_fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\goaqkhmt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4892
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kuzmtonc.exe" C:\Windows\SysWOW64\goaqkhmt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create goaqkhmt binPath= "C:\Windows\SysWOW64\goaqkhmt\kuzmtonc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description goaqkhmt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start goaqkhmt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • 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:3856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3700 -s 1036
      2⤵
      • Program crash
      PID:2340
  • C:\Windows\SysWOW64\goaqkhmt\kuzmtonc.exe
    C:\Windows\SysWOW64\goaqkhmt\kuzmtonc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe268758e415f3dc3e79f01951b6bcb1e057329c0a87f592b03b35db5481c87c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1080
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1080 -s 524
      2⤵
      • Program crash
      PID:640
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3700 -ip 3700
    1⤵
      PID:452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1080 -ip 1080
      1⤵
        PID:5024

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        820970552219af1aa991364787598727

        SHA1

        323198ac758bb344d566f398798cd8adfbab8985

        SHA256

        5daf41ac42f4c7bb2fbed4dddff42a7849afe671ed877a6951ac1c9c2a2287c4

        SHA512

        c8cb5bad6b7c5139796f4ef2b38e86acdd4537feca880a5fb8da673227b3a6ebe4abe299939b9294ee90c55ef2ae98ccc0560a4c485aa22c0bdd903b4a549143

      • memory/1080-6-0x0000000000400000-0x0000000000436000-memory.dmp

        Filesize

        216KB

      • memory/1080-17-0x0000000000400000-0x0000000000436000-memory.dmp

        Filesize

        216KB

      • memory/1080-7-0x0000000000400000-0x0000000000436000-memory.dmp

        Filesize

        216KB

      • memory/3700-12-0x0000000000400000-0x0000000000436000-memory.dmp

        Filesize

        216KB

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

        Filesize

        84KB

      • memory/3700-0-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/3700-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3700-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/3700-14-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/3700-13-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/4868-8-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/4868-11-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/4868-18-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/4868-19-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB

      • memory/4868-20-0x0000000000160000-0x0000000000175000-memory.dmp

        Filesize

        84KB