Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 23:44

General

  • Target

    JaffaCakes118_a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc.exe

  • Size

    161KB

  • MD5

    57369a2964bae1145d8e60e93cb03a09

  • SHA1

    136acbf24badc0f85b19d262349a062d517a30d6

  • SHA256

    a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc

  • SHA512

    64e3bf8c255f959f7460a69f23372f5d37f4d8e31f5a097e58a11e415785cbaba97587d405b4ecd21c3b6dab88617f84b20ca2788c3dd6ca4bd15acaf7a8fd9a

  • SSDEEP

    3072:4lNGUja6WGK67WLy7jMx5UI+lMMVUB6shv1sH:MGUdWGK6S7UkMVUB3

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_a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sjwwordh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cvqcgvg.exe" C:\Windows\SysWOW64\sjwwordh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sjwwordh binPath= "C:\Windows\SysWOW64\sjwwordh\cvqcgvg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sjwwordh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sjwwordh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • 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:5080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 664
      2⤵
      • Program crash
      PID:2480
  • C:\Windows\SysWOW64\sjwwordh\cvqcgvg.exe
    C:\Windows\SysWOW64\sjwwordh\cvqcgvg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a8169b1cab58e46a0c1b4627474f2d9cf23b7050a5d3ac2b8704e619b67835fc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1068
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1068 -s 508
      2⤵
      • Program crash
      PID:2604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1068 -ip 1068
    1⤵
      PID:4032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1056 -ip 1056
      1⤵
        PID:1900

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        5a3281d228e7bb60730149eac7b551d4

        SHA1

        9d8695360502ab4ed513c06b8a1dd1197344e0d7

        SHA256

        132b23215718f8977d777ae95a5e7cc47ae45a0a1e3b9d57864bc293c955b213

        SHA512

        dd1d2297834719f8722d84cc2f8ab6ba76be85d25dda837520e76aa2f8c18c1679e1d3984b7ba020a64afb389dfb5472f13b5456c449526a07c280cc04157a80

      • memory/840-9-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/840-21-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/840-12-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/840-20-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/840-19-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        52KB

      • memory/1056-16-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1056-15-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1056-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1056-17-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        212KB

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

        Filesize

        212KB

      • memory/1068-8-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

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

        Filesize

        212KB