Analysis

  • max time kernel
    148s
  • 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
    23-12-2024 17:46

General

  • Target

    JaffaCakes118_179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90.exe

  • Size

    179KB

  • MD5

    501ef445a28ef57d3205f55a64722783

  • SHA1

    90b149f89b249717d5ead8ba9405a61b964b9c4f

  • SHA256

    179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90

  • SHA512

    45a86c997a4df23c6426eb0439b8b540d1b50417715533804f1c162ab67c9101e706de527f5b552fc937104fa4bcc19d7e6612a30f514dca91365101d92e0ecc

  • SSDEEP

    3072:v744SpmfTOqH/16n6y3T+Lsnxw2ZdEeslmXQLES5y:emfTO0e+YvOdl5AS5

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_179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qcxwlrsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\soddipvm.exe" C:\Windows\SysWOW64\qcxwlrsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qcxwlrsg binPath= "C:\Windows\SysWOW64\qcxwlrsg\soddipvm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qcxwlrsg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qcxwlrsg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • 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:808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1064 -s 1192
      2⤵
      • Program crash
      PID:3648
  • C:\Windows\SysWOW64\qcxwlrsg\soddipvm.exe
    C:\Windows\SysWOW64\qcxwlrsg\soddipvm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_179c4136313e96b23012cfee257ba651a66978b927e22e5d743b134f2b6cef90.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2300
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2300 -s 528
      2⤵
      • Program crash
      PID:4572
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1064 -ip 1064
    1⤵
      PID:2740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2300 -ip 2300
      1⤵
        PID:4092

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        261f80c8565f95ec178e1e1dd7388cfc

        SHA1

        1efda1bb97bbd0966d3f93502c62110248baed66

        SHA256

        1ecbab328b84412f0b60a7bf6c06a2dd0c699f4e0ca9fec5376b92072e4683e7

        SHA512

        bf64193553551202e0e8cea52895cca1050c29e4348763101143e135df95e8576d54d2585c4ea4cc7624152829edbbd78ec57c29a4302297dfe3a07a444572a5

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

        Filesize

        84KB

      • memory/1064-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        52KB

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

        Filesize

        212KB

      • memory/1064-15-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1064-16-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        212KB

      • memory/2300-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

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

        Filesize

        212KB

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

        Filesize

        84KB

      • memory/2304-8-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2304-18-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2304-19-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2304-20-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB