Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 17:27

General

  • Target

    JaffaCakes118_8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e.exe

  • Size

    159KB

  • MD5

    60581cefc3ebdcfba7ab65039c713789

  • SHA1

    579d83b65618226c00de84c4b767369cc80db1e8

  • SHA256

    8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e

  • SHA512

    a4756078c21afaf68e836bc66b21889ecf6c19530e16e14fd919cef3e550075ad34e5a8f43b306a351c79d97ce7fc9e5a47d38b3f488cf7298124ac940634e1f

  • SSDEEP

    3072:Z47FGXpybBYZZhvV97DxqSeFdywcIWnv3/35ugf8FtKZ7Ev2:ZHpybBYZZhb7dqSqdNBWn3p84m

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_8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmcnaplx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ixcdxfib.exe" C:\Windows\SysWOW64\gmcnaplx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gmcnaplx binPath= "C:\Windows\SysWOW64\gmcnaplx\ixcdxfib.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gmcnaplx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gmcnaplx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3512
    • 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:3144
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3580 -s 1036
      2⤵
      • Program crash
      PID:5052
  • C:\Windows\SysWOW64\gmcnaplx\ixcdxfib.exe
    C:\Windows\SysWOW64\gmcnaplx\ixcdxfib.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8745eebbbf3398803f2d705627196b59071b4d327af4c98d461983d5427e6a7e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:668
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 668 -s 536
      2⤵
      • Program crash
      PID:1332
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 668 -ip 668
    1⤵
      PID:3284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3580 -ip 3580
      1⤵
        PID:224

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        348c9a0108e6a0c4e465ddb420516181

        SHA1

        d115def2950c36e541b0940984b0fffdb574e439

        SHA256

        b9a08c5f2487dea381ea9eaea18009ffe4403a24cd20e232810bd94c750f66f2

        SHA512

        08e0883ad6d9bfa55fcdd373f6205c9789953f781b149b6868bef9d2a2fc7a5bf7f3fc60b2333b1cecd1aad57fea971e52a0c97f4970ed1e1a521e1b3a29c22e

      • memory/668-6-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/668-14-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/668-8-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/668-7-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/732-12-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/732-9-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/732-19-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/732-20-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/732-21-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3580-0-0x00000000006D0000-0x00000000006DD000-memory.dmp

        Filesize

        52KB

      • memory/3580-1-0x00000000006E0000-0x00000000006F3000-memory.dmp

        Filesize

        76KB

      • memory/3580-15-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/3580-16-0x00000000006D0000-0x00000000006DD000-memory.dmp

        Filesize

        52KB

      • memory/3580-17-0x00000000006E0000-0x00000000006F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB