Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/04/2024, 17:35

General

  • Target
    fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe
  • Size 13.3MB
  • Sample240420-v55d5aeb8x
  • SHA256 6e5691161afc3f8d202dfc94f917d73acdf30d2f4a184da64a05c9abda98b7d5
  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqujmktg\
      2⤵
        PID:208
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\acvgnvjz.exe" C:\Windows\SysWOW64\lqujmktg\
        2⤵
          PID:2424
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lqujmktg binPath= "C:\Windows\SysWOW64\lqujmktg\acvgnvjz.exe /d\"C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:644
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lqujmktg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lqujmktg
          2⤵
          • Launches sc.exe
          PID:1708
        • 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:3588
      • C:\Windows\SysWOW64\lqujmktg\acvgnvjz.exe
        C:\Windows\SysWOW64\lqujmktg\acvgnvjz.exe /d"C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4428
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2484
      • 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=1344 --field-trial-handle=2236,i,5367110156796017614,12594004256180761011,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:2272

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              acvgnvjz.exe

              • Path C:\Users\Admin\AppData\Local\Temp\acvgnvjz.exe
              • Size 14.3MB
              • SHA256 2a3cecf39835f1d46a812e9c011f775765538f2036494b5f1fc6b766d9b2fd9d
              • MD5 SHA1 SHA512 SSDEEP

              memory/1596-9-0x0000000005410000-0x0000000005423000-memory.dmp

              memory/1596-3-0x0000000000400000-0x00000000036CD000-memory.dmp

              memory/1596-5-0x0000000000400000-0x00000000036CD000-memory.dmp

              memory/1596-2-0x0000000005410000-0x0000000005423000-memory.dmp

              memory/1596-8-0x0000000000400000-0x00000000036CD000-memory.dmp

              memory/1596-1-0x0000000003940000-0x0000000003A40000-memory.dmp

              memory/2484-12-0x0000000000D60000-0x0000000000D75000-memory.dmp

              memory/2484-16-0x0000000000D60000-0x0000000000D75000-memory.dmp

              memory/2484-18-0x0000000000D60000-0x0000000000D75000-memory.dmp

              memory/2484-19-0x0000000000D60000-0x0000000000D75000-memory.dmp

              memory/2484-20-0x0000000000D60000-0x0000000000D75000-memory.dmp

              memory/4428-11-0x0000000003830000-0x0000000003930000-memory.dmp

              memory/4428-17-0x0000000000400000-0x00000000036CD000-memory.dmp

              memory/4428-14-0x0000000000400000-0x00000000036CD000-memory.dmp