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
    22-12-2024 00:52

General

  • Target

    JaffaCakes118_61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b.exe

  • Size

    335KB

  • MD5

    4394a0493a8fafdf603860738fab4693

  • SHA1

    5dec1c2e26e33793e1001cae187651991dc9fbeb

  • SHA256

    61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b

  • SHA512

    d3ca72b916bb52c54866499c1413132bf12f87f530bc6baec79ec8996eda9175a9d3d257534fc6f3bd7afe9b3730b65b053285be6a88bacd47ea4262730b188f

  • SSDEEP

    6144:VFsDoEMUCSzZL1Fl7GEWxwNaIE/TSd0fKK2:VFIoEMvS9BFl7G9SaVTSdRx

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_61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\upquovvq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vnfmlcnu.exe" C:\Windows\SysWOW64\upquovvq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create upquovvq binPath= "C:\Windows\SysWOW64\upquovvq\vnfmlcnu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description upquovvq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start upquovvq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3460
    • 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:2792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1600 -s 772
      2⤵
      • Program crash
      PID:3656
  • C:\Windows\SysWOW64\upquovvq\vnfmlcnu.exe
    C:\Windows\SysWOW64\upquovvq\vnfmlcnu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61f9b7dae33e4f3cdf80b5ce50d2fb285aabc4b952cf815842bbc90310785a3b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 508
      2⤵
      • Program crash
      PID:4800
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1600 -ip 1600
    1⤵
      PID:32
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 212 -ip 212
      1⤵
        PID:2696

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        d58891aad2c587bc5968ae4724b5183d

        SHA1

        9711ceed95b6c5f61b9901e037a41a3b342dbcd4

        SHA256

        1da3a86f7c16457a3d6480b4f33cd97443d08e7cb3bebd4d3fb9ea32096070a5

        SHA512

        6857976ed7bce5f29b8025259869054b1cfdbd29a4ffed86becf95dab12b77a078348ca9e2233b598f909adba5082cb9c154729481be31391ee104fd9eb573ff

      • memory/212-15-0x0000000000400000-0x0000000002B4D000-memory.dmp

        Filesize

        39.3MB

      • memory/1600-1-0x0000000002BB0000-0x0000000002CB0000-memory.dmp

        Filesize

        1024KB

      • memory/1600-2-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1600-8-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

      • memory/1600-7-0x0000000000400000-0x0000000002B4D000-memory.dmp

        Filesize

        39.3MB

      • memory/4976-11-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/4976-13-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/4976-14-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB