Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-05-2024 23:00

General

  • Target

    271d95e58c572c43840b2821abcc4ef0_JaffaCakes118.exe

  • Size

    143KB

  • MD5

    271d95e58c572c43840b2821abcc4ef0

  • SHA1

    45b8f42821059fab7c65139875855e99bf42678d

  • SHA256

    411c12f3ffdfc457b7e96b53eb9f82170e2d065a09157c82c879c335f80afe18

  • SHA512

    2c558900cfaab4161779b80a10197c75c0f3d001ff25b31477fdec1e3457cde1fe8d9291c9a68841956101c5f2e1ece1779ca21417ad977e206e8f27301da233

  • SSDEEP

    3072:Is6ZY7v9ocPspRvaMnY7Q0qzhBpJ6E5WcWcpxOcvocjc:yyLsXaAYQb/zV

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\271d95e58c572c43840b2821abcc4ef0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\271d95e58c572c43840b2821abcc4ef0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zhshgbhv\
      2⤵
        PID:3488
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\riibljvj.exe" C:\Windows\SysWOW64\zhshgbhv\
        2⤵
          PID:348
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zhshgbhv binPath= "C:\Windows\SysWOW64\zhshgbhv\riibljvj.exe /d\"C:\Users\Admin\AppData\Local\Temp\271d95e58c572c43840b2821abcc4ef0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zhshgbhv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zhshgbhv
          2⤵
          • Launches sc.exe
          PID:716
        • 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:2220
      • C:\Windows\SysWOW64\zhshgbhv\riibljvj.exe
        C:\Windows\SysWOW64\zhshgbhv\riibljvj.exe /d"C:\Users\Admin\AppData\Local\Temp\271d95e58c572c43840b2821abcc4ef0_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1708
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2028
      • 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=5248 --field-trial-handle=2236,i,5367110156796017614,12594004256180761011,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:468

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          11.1MB

          MD5

          2b4ae7a870b27e61a12fc6cf56a1aed9

          SHA1

          c9753200da68f4ff3f5ad6a53c955813c108dd04

          SHA256

          4db729e89f03cd9c8d77d95fd064d75f7daa1d0f6454d884db7b9d838b8ed8d0

          SHA512

          ad6ac71b5757a84eb245ea41240ddb2174ecbda0352cd07372ccebbbd60333224d04fa90700234da8d76dc6a198a28bf8f3de6570dffbf7318e06b329e83ded8

        • memory/1708-12-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/1708-9-0x0000000000590000-0x0000000000591000-memory.dmp

          Filesize

          4KB

        • memory/1708-10-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/2028-16-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2028-11-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2028-15-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2028-14-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2028-17-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2028-18-0x00000000009E0000-0x00000000009F5000-memory.dmp

          Filesize

          84KB

        • memory/2320-7-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/2320-1-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/2320-4-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/2320-0-0x00000000005F0000-0x00000000005F1000-memory.dmp

          Filesize

          4KB

        • memory/2320-2-0x0000000000B70000-0x0000000000B71000-memory.dmp

          Filesize

          4KB