Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/04/2024, 21:46

General

  • Target
    f1fef622821788beb88015c369117693_JaffaCakes118.exe
  • Size 13.1MB
  • Sample240415-1mphvabc8w
  • SHA256 94f8d13f54940706972abc5eac4ce0c559fafa2b4c9f17ce14fe2e368ee5a203
  • 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) 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\f1fef622821788beb88015c369117693_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f1fef622821788beb88015c369117693_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\okwunlp\
      2⤵
        PID:5060
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iyexygwf.exe" C:\Windows\SysWOW64\okwunlp\
        2⤵
          PID:1364
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create okwunlp binPath= "C:\Windows\SysWOW64\okwunlp\iyexygwf.exe /d\"C:\Users\Admin\AppData\Local\Temp\f1fef622821788beb88015c369117693_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4244
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description okwunlp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4440
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start okwunlp
          2⤵
          • Launches sc.exe
          PID:892
        • 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:4420
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4820 -s 1040
          2⤵
          • Program crash
          PID:2500
      • C:\Windows\SysWOW64\okwunlp\iyexygwf.exe
        C:\Windows\SysWOW64\okwunlp\iyexygwf.exe /d"C:\Users\Admin\AppData\Local\Temp\f1fef622821788beb88015c369117693_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1380
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4624
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1380 -s 532
          2⤵
          • Program crash
          PID:1660
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4820 -ip 4820
        1⤵
          PID:5068
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1380 -ip 1380
          1⤵
            PID:2772
          • 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=4748 --field-trial-handle=2328,i,5873823382323802923,13134441441264702821,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:3496

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  iyexygwf.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\iyexygwf.exe
                  • Size 12.3MB
                  • SHA256 862a650390de3ec7f8634d38021ba19b55e06eaef6a0a2ff722e56c43d2fc26b
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/1380-10-0x0000000000400000-0x0000000000474000-memory.dmp

                  memory/1380-8-0x0000000000800000-0x0000000000900000-memory.dmp

                  memory/1380-9-0x0000000000D60000-0x0000000000D73000-memory.dmp

                  memory/1380-16-0x0000000000400000-0x0000000000474000-memory.dmp

                  memory/4624-12-0x00000000012F0000-0x0000000001305000-memory.dmp

                  memory/4624-15-0x00000000012F0000-0x0000000001305000-memory.dmp

                  memory/4624-18-0x00000000012F0000-0x0000000001305000-memory.dmp

                  memory/4624-19-0x00000000012F0000-0x0000000001305000-memory.dmp

                  memory/4624-20-0x00000000012F0000-0x0000000001305000-memory.dmp

                  memory/4820-3-0x0000000000400000-0x0000000000474000-memory.dmp

                  memory/4820-2-0x0000000000720000-0x0000000000733000-memory.dmp

                  memory/4820-1-0x00000000007E0000-0x00000000008E0000-memory.dmp

                  memory/4820-11-0x0000000000400000-0x0000000000474000-memory.dmp