Analysis

  • max time kernel
    148s
  • max time network
    154s
  • 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 04:05

General

  • Target

    JaffaCakes118_a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82.exe

  • Size

    209KB

  • MD5

    0d7956955bc6e9a59379be3e1c32b521

  • SHA1

    3c30a13b7338b20537743d2c4f26a3f848895afa

  • SHA256

    a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82

  • SHA512

    3e44ec1980dab1e2480e95e1af37a9e865140ce400445e90babdd884885a25f51c9732241fbf4396d84a1c9c253a94947fa38468ad1684e47ae6c511de496c28

  • SSDEEP

    3072:l7o+8bY15UT/8c4UhnRc6OAK4MdHU0qiRHJWrxpzbgqru2sxkgaBChH:CDE15UTk+cKK4MOUJuzbgwujiga

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_a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cewmsszw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dstzmxrq.exe" C:\Windows\SysWOW64\cewmsszw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cewmsszw binPath= "C:\Windows\SysWOW64\cewmsszw\dstzmxrq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cewmsszw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cewmsszw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4824
    • 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:2192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1528 -s 1160
      2⤵
      • Program crash
      PID:2356
  • C:\Windows\SysWOW64\cewmsszw\dstzmxrq.exe
    C:\Windows\SysWOW64\cewmsszw\dstzmxrq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a95db7a0471f2717606aab2a74d677670a01d3ec9f1dd642b278151d19bd1d82.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1956 -s 512
      2⤵
      • Program crash
      PID:3556
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1528 -ip 1528
    1⤵
      PID:2516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1956 -ip 1956
      1⤵
        PID:2988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        bd43e2f2e30973da895f2cb7e1f41ed2

        SHA1

        f3cda07c0cd6c4d04134d812640f518599c7584f

        SHA256

        a8a938189f179cf74c4bda1352b5cdd62ac724afd4ba99f2cf6085eaaa21ca14

        SHA512

        4451fa3b36190c382aa6ce7b2b431ad7779a638270a35f82d5d1fbfaa82d07984dba4b7ecd6777f4ec02e84b4ef74ca07fcd7e8b05b3fca448d3dbefae586f17

      • memory/1528-8-0x0000000002040000-0x000000000204D000-memory.dmp

        Filesize

        52KB

      • memory/1528-1-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1528-9-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB

      • memory/1528-6-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1528-0-0x0000000002040000-0x000000000204D000-memory.dmp

        Filesize

        52KB

      • memory/1528-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1956-7-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1956-16-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/2536-13-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/2536-11-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/2536-14-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB