Analysis

  • max time kernel
    147s
  • 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
    24-12-2024 00:32

General

  • Target

    JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe

  • Size

    286KB

  • MD5

    c8db952495476598e4a9e817faa66bd3

  • SHA1

    bf87819d97967eb84812028e724acccbecc308c6

  • SHA256

    9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3

  • SHA512

    1ba0653a1489761d66042f8732532d028a51dd50734d2188eeb54157cde4498e4ac5322067e75b768176f060f04cc65c4178c3bb06447192133e9be54510f427

  • SSDEEP

    6144:yK8kEQgA+ApiK1eO0CICsClp+TV6T0YeMx:WQbH3/ICsClp+wQY

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_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxpolima\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1080
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gqvipkjy.exe" C:\Windows\SysWOW64\bxpolima\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bxpolima binPath= "C:\Windows\SysWOW64\bxpolima\gqvipkjy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bxpolima "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bxpolima
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2152
    • 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:2612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4196 -s 1240
      2⤵
      • Program crash
      PID:3076
  • C:\Windows\SysWOW64\bxpolima\gqvipkjy.exe
    C:\Windows\SysWOW64\bxpolima\gqvipkjy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9d324da8874bf18aae363a521f47adb886165ed9a6fb99ca0ff8f112bb78a1e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4168
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4168 -s 560
      2⤵
      • Program crash
      PID:1800
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4196 -ip 4196
    1⤵
      PID:244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4168 -ip 4168
      1⤵
        PID:2960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        8c018d7232deb0c1f7b1fb1b7f38c686

        SHA1

        031edbc2a51b00c622912a8f33acb40f03899d5e

        SHA256

        23e8f935d220a6ffa2a73d5d1f9f52820976338a9ac32da59f18eb4e56b89c83

        SHA512

        15c51957f4eff2d38698f4946988c9b884355834984ee3f58207f83b880a6fc7540c7b1a738d340d69e8e8f6fbd5546eb151479c1f460306ff64f6619aa3cd32

      • memory/1188-11-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1188-13-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1188-14-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/4168-15-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB

      • memory/4196-1-0x0000000002D30000-0x0000000002E30000-memory.dmp

        Filesize

        1024KB

      • memory/4196-2-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4196-8-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4196-7-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB