Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/03/2024, 15:18

General

  • Target
    0906ff34f48334d4563ca2df39b3cef7_JaffaCakes118.exe
  • Size 12.1MB
  • Sample240328-sp4rjsad45
  • SHA256 181e6f88cf32348d8247bb3c4deb07bf44b677656b43b37a30dfad4a3b3e2935
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0906ff34f48334d4563ca2df39b3cef7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0906ff34f48334d4563ca2df39b3cef7_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ccjoduys\
      2⤵
        PID:4288
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpldbeq.exe" C:\Windows\SysWOW64\ccjoduys\
        2⤵
          PID:1720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ccjoduys binPath= "C:\Windows\SysWOW64\ccjoduys\kpldbeq.exe /d\"C:\Users\Admin\AppData\Local\Temp\0906ff34f48334d4563ca2df39b3cef7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4088
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ccjoduys "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ccjoduys
          2⤵
          • Launches sc.exe
          PID:3532
        • 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
          PID:5036
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1204 -s 1036
          2⤵
          • Program crash
          PID:1920
      • C:\Windows\SysWOW64\ccjoduys\kpldbeq.exe
        C:\Windows\SysWOW64\ccjoduys\kpldbeq.exe /d"C:\Users\Admin\AppData\Local\Temp\0906ff34f48334d4563ca2df39b3cef7_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4040
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4900
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4040 -s 508
          2⤵
          • Program crash
          PID:4624
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1204 -ip 1204
        1⤵
          PID:2388
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4040 -ip 4040
          1⤵
            PID:3816
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1412 --field-trial-handle=2676,i,447940133669489189,1353734109898858672,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:2828

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  kpldbeq.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\kpldbeq.exe
                  • Size 11.4MB
                  • SHA256 7fb807476720d98d4dccc302f0560aa50397c3482a7ae086cf360879daa09e54
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/1204-10-0x00000000001C0000-0x00000000001D3000-memory.dmp

                  memory/1204-3-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/1204-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

                  memory/1204-6-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/1204-9-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/1204-1-0x0000000000B10000-0x0000000000C10000-memory.dmp

                  memory/4040-11-0x0000000000920000-0x0000000000A20000-memory.dmp

                  memory/4040-13-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/4040-17-0x0000000000400000-0x0000000000871000-memory.dmp

                  memory/4900-12-0x0000000000D10000-0x0000000000D25000-memory.dmp

                  memory/4900-16-0x0000000000D10000-0x0000000000D25000-memory.dmp

                  memory/4900-18-0x0000000000D10000-0x0000000000D25000-memory.dmp

                  memory/4900-19-0x0000000000D10000-0x0000000000D25000-memory.dmp