Analysis

  • max time kernel
    149s
  • 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
    29-12-2024 09:43

General

  • Target

    JaffaCakes118_5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89.exe

  • Size

    342KB

  • MD5

    1f65c044a1edce2c33c7030fb1a5d0ad

  • SHA1

    df89acc38275392f832d5c8416c1a502a58a7255

  • SHA256

    5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89

  • SHA512

    5664d781c8da599f731ebfbbeb41907e96260f355f1c1f8a49614d97702cd066ff882aa744784696c930b73903b9eae7cda27002bd584448e8afa12399083d6e

  • SSDEEP

    6144:hWwdr+RRATin3UqjCsspkgF9o81ptDPNKHJDlx4BTj:hRcu2UCCssKgF9o81ptDPNKx4B

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_5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sakzshvk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtncyuqh.exe" C:\Windows\SysWOW64\sakzshvk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sakzshvk binPath= "C:\Windows\SysWOW64\sakzshvk\rtncyuqh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sakzshvk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sakzshvk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3192
    • 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:1908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1368 -s 1052
      2⤵
      • Program crash
      PID:3596
  • C:\Windows\SysWOW64\sakzshvk\rtncyuqh.exe
    C:\Windows\SysWOW64\sakzshvk\rtncyuqh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5c6056925d553e9289cc8af65829b87fb4c0827cde81fbb2942243a7355a7e89.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3144
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3144 -s 564
      2⤵
      • Program crash
      PID:928
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1368 -ip 1368
    1⤵
      PID:3268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 3144 -ip 3144
      1⤵
        PID:3236

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        9a18a29b431a91a8367de399db923728

        SHA1

        fc0cee944db5a3f396ce715cb0c134cf4967624c

        SHA256

        942ea2488d16d66a5f10ff63c2110d010212fdf655799b93b09403cf48c6690d

        SHA512

        14a03b9b6521625171ee3de327904ea9d83c6c6cfc520f594e223e072a4382a41caaaf25e23618105e7fc6602fcc8b12ee5ec0ce7d53a9655d92b62069139709

      • memory/340-11-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/340-13-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/340-14-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/1368-1-0x0000000000BA0000-0x0000000000CA0000-memory.dmp

        Filesize

        1024KB

      • memory/1368-2-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1368-8-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        5.0MB

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

        Filesize

        5.0MB