Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/05/2024, 14:55

General

  • Target
    20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe
  • Size 99KB
  • Sample240507-saya8aee77
  • SHA256 7f8cb81aabb63a3bb8806b9c055582bec59ef104362316dc164dd686128b9246
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

Signatures

  • Tofsee

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

  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tckcfyph\
      2⤵
        PID:4488
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oikhbxhm.exe" C:\Windows\SysWOW64\tckcfyph\
        2⤵
          PID:4188
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tckcfyph binPath= "C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe /d\"C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tckcfyph "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tckcfyph
          2⤵
          • Launches sc.exe
          PID:3328
        • 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:4524
      • C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe
        C:\Windows\SysWOW64\tckcfyph\oikhbxhm.exe /d"C:\Users\Admin\AppData\Local\Temp\20de026bf4998364c894a00f7a97df60_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:400
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2400
      • 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=4160 --field-trial-handle=3084,i,4016110471176367543,14287608422419064331,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:2180

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              oikhbxhm.exe

              • Path C:\Users\Admin\AppData\Local\Temp\oikhbxhm.exe
              • Size 12.6MB
              • SHA256 cfca296ad672d08018a05bab61e28e155549a9e513e2876eddb3207c5e3ccf6e
              • MD5 SHA1 SHA512 SSDEEP

              memory/400-8-0x0000000000400000-0x000000000041C000-memory.dmp

              memory/400-7-0x0000000000920000-0x0000000000921000-memory.dmp

              memory/400-10-0x0000000000400000-0x000000000041C000-memory.dmp

              memory/2400-9-0x0000000000790000-0x00000000007A5000-memory.dmp

              memory/2400-12-0x0000000000790000-0x00000000007A5000-memory.dmp

              memory/2400-13-0x0000000000790000-0x00000000007A5000-memory.dmp

              memory/3672-0-0x0000000000B20000-0x0000000000B21000-memory.dmp

              memory/3672-1-0x0000000000400000-0x000000000041C000-memory.dmp

              memory/3672-2-0x0000000000450000-0x0000000000451000-memory.dmp

              memory/3672-5-0x0000000000400000-0x000000000041C000-memory.dmp