Analysis

  • max time kernel
    157s
  • 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
    19/04/2024, 22:42

General

  • Target
    fb53a3645626f491923c495997330c8d_JaffaCakes118.exe
  • Size 14.8MB
  • Sample240419-2m2c3shd88
  • SHA256 ad93fa58692bf500dc7f4a54513d87f0cceeaf9a955bc3d366abd2e2bbcaeedb
  • 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.

  • 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\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aoeqgzqz\
      2⤵
        PID:4444
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oxnbcqfl.exe" C:\Windows\SysWOW64\aoeqgzqz\
        2⤵
          PID:4016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create aoeqgzqz binPath= "C:\Windows\SysWOW64\aoeqgzqz\oxnbcqfl.exe /d\"C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1100
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description aoeqgzqz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:708
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start aoeqgzqz
          2⤵
          • Launches sc.exe
          PID:4988
        • 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:1900
      • C:\Windows\SysWOW64\aoeqgzqz\oxnbcqfl.exe
        C:\Windows\SysWOW64\aoeqgzqz\oxnbcqfl.exe /d"C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:468
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1372
      • 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=4076 --field-trial-handle=2280,i,11703952675008463361,17436195144517971517,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:4196

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              oxnbcqfl.exe

              • Path C:\Users\Admin\AppData\Local\Temp\oxnbcqfl.exe
              • Size 13.7MB
              • SHA256 d41439ee16bcb6955bbf7e46d64e2872e921913c853af6d96f2c2cc2bc0b8b67
              • MD5 SHA1 SHA512 SSDEEP

              memory/468-13-0x0000000000770000-0x0000000000870000-memory.dmp

              memory/468-14-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/468-19-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/1372-15-0x00000000010C0000-0x00000000010D5000-memory.dmp

              memory/1372-29-0x00000000010C0000-0x00000000010D5000-memory.dmp

              memory/1372-21-0x00000000010C0000-0x00000000010D5000-memory.dmp

              memory/1372-20-0x00000000010C0000-0x00000000010D5000-memory.dmp

              memory/1372-18-0x00000000010C0000-0x00000000010D5000-memory.dmp

              memory/3800-10-0x0000000000600000-0x0000000000700000-memory.dmp

              memory/3800-12-0x00000000021B0000-0x00000000021C3000-memory.dmp

              memory/3800-1-0x0000000000600000-0x0000000000700000-memory.dmp

              memory/3800-3-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/3800-11-0x0000000000400000-0x000000000046E000-memory.dmp

              memory/3800-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

              memory/3800-5-0x0000000000400000-0x000000000046E000-memory.dmp