Analysis

  • max time kernel
    149s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 19:33

General

  • Target

    JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe

  • Size

    285KB

  • MD5

    bcc4ff63af0ec0bcaa60c0b61e9ab907

  • SHA1

    19fcbbe86401616de1f67d98c6b2408b2ab59c44

  • SHA256

    af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9

  • SHA512

    73c03a33b006ea88790ef783a5c2506112a305e001a39e32dc4843713d1f11b06aa79a7e861f1742587f21da32b265de256b59bee5702014b4527bd08767ec36

  • SSDEEP

    6144:aQ+PY2mV3OB8uzbgwu6L7ITsqSigaTwVf:aQ+PY2aU8unnn7s

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_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwwmfkll\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xktqrwiv.exe" C:\Windows\SysWOW64\rwwmfkll\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rwwmfkll binPath= "C:\Windows\SysWOW64\rwwmfkll\xktqrwiv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rwwmfkll "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rwwmfkll
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1284
    • 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:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3088 -s 664
      2⤵
      • Program crash
      PID:2480
  • C:\Windows\SysWOW64\rwwmfkll\xktqrwiv.exe
    C:\Windows\SysWOW64\rwwmfkll\xktqrwiv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_af156aab5e1b36293628c763312753054b489c3fbc30aa9f1efbde788e5ef6a9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4724
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4724 -s 520
      2⤵
      • Program crash
      PID:1848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3088 -ip 3088
    1⤵
      PID:4820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4724 -ip 4724
      1⤵
        PID:4992

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        e9d6c145799c359c497053ee31a25425

        SHA1

        2161957e904eaf78ac4eed1d0b13f706241de093

        SHA256

        52f16ff03940efaeb00b09c14bc9b0994a0d381dba6495c31bd67718df2b8fdc

        SHA512

        ceebd5085a7d9f3cc99e6f2ba79b17c23d2af49bca59416911acacf450ffe4556744e21c21bc530878644fcd3ba6d33b5f06d18b01a74cda941d435d3fa04fe3

      • memory/448-9-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/448-17-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/448-16-0x00000000004F0000-0x0000000000505000-memory.dmp

        Filesize

        84KB

      • memory/3088-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3088-12-0x0000000000700000-0x000000000070D000-memory.dmp

        Filesize

        52KB

      • memory/3088-0-0x0000000000700000-0x000000000070D000-memory.dmp

        Filesize

        52KB

      • memory/3088-13-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/3088-11-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

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

        Filesize

        84KB

      • memory/3088-1-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/4724-7-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/4724-8-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/4724-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/4724-15-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB