Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 19:49

General

  • Target

    JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe

  • Size

    342KB

  • MD5

    d59317b58186bec4fcbb185c627a2146

  • SHA1

    cac51347fb2b77384e971b4027fe9fc242cd26a3

  • SHA256

    c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2

  • SHA512

    2b15e8ed9e630d5fe3360e7f0c3cb248a66c06a5978f48621034e5544efb729150d78f03141ed47530b353d580190698d6210716d316663e3b1274a5394cf6a6

  • SSDEEP

    6144:pownzj/xv5jECO8eaTd3pkQFoo3JXz7G7vyn7N4Bs:pHnvR3KQFoo3JXz7G784B

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_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\knugtfey\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qnydblif.exe" C:\Windows\SysWOW64\knugtfey\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create knugtfey binPath= "C:\Windows\SysWOW64\knugtfey\qnydblif.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description knugtfey "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start knugtfey
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • 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:3012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 1180
      2⤵
      • Program crash
      PID:3052
  • C:\Windows\SysWOW64\knugtfey\qnydblif.exe
    C:\Windows\SysWOW64\knugtfey\qnydblif.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c56060ee4c891b8292ee11e09389bb360bd3abc5aabf1177de4d59938e4c8ed2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1860
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1860 -s 512
      2⤵
      • Program crash
      PID:112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 212 -ip 212
    1⤵
      PID:3248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1860 -ip 1860
      1⤵
        PID:3416

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        65cdd6955cb4fda7f7af373040542d36

        SHA1

        38d67c3f330787c84bee8a9e44fe19193f528692

        SHA256

        d338f6c434a1c595d314da9fd15f18304ccdccb57fe8d97ec01c3802dcb9e493

        SHA512

        d454c334189c39a6e3727ca9219f4bf80ea27f044501f54d63df0ad3d8ae425bb6b2a80d97d2d7fa47f5d2038a385e4347b76759aab122bdc854a51b6c02a1a1

      • memory/212-1-0x0000000000C00000-0x0000000000D00000-memory.dmp

        Filesize

        1024KB

      • memory/212-2-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/212-8-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/212-7-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/1860-15-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/2352-11-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2352-13-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2352-14-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB