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

  • MD5

    fb53a3645626f491923c495997330c8d

  • SHA1

    da6c44e90b85ea788c4076b7ed67d1b02213ccfe

  • SHA256

    ad93fa58692bf500dc7f4a54513d87f0cceeaf9a955bc3d366abd2e2bbcaeedb

  • SHA512

    311e78a1740839ff21a31f1082d881ce31157c11767b901bef6232b9afd34e7fe18d93badf8f54d65ef4ec1d64dcfdf7ec6cc9f1ee25429fe9c51342b0926a37

  • SSDEEP

    24576:PjCj10HSqGgeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee+:P/D

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

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

          Filesize

          13.7MB

          MD5

          606335d96f346cdbde96472aecaf4f61

          SHA1

          65b0c6867ef24b431673c10ea5e0c0f5ee2771d2

          SHA256

          d41439ee16bcb6955bbf7e46d64e2872e921913c853af6d96f2c2cc2bc0b8b67

          SHA512

          5900dadce96207ba4523459ebadda7eb4ae7c57915d0bc83d3a8d5d73edd8939d499bbaa343186c4dcacf6a3307b8790046f597e8977be2e0f6a2beadb06f803

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

          Filesize

          1024KB

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

          Filesize

          440KB

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

          Filesize

          440KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          1024KB

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

          Filesize

          440KB

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

          Filesize

          440KB

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

          Filesize

          76KB

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

          Filesize

          76KB

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

          Filesize

          1024KB

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

          Filesize

          440KB