Analysis

  • max time kernel
    151s
  • 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
    16-04-2024 15:33

General

  • Target

    f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe

  • Size

    12.2MB

  • MD5

    f3c8d3257218a2b7afc8a4c8e9c77d3f

  • SHA1

    8667190ac0beb9d575f3ae8ca1690498d2ab0dd5

  • SHA256

    1f0454306dcfba27f8b800e1afaf802d1a88b92e2a096cab863fc26ed8fdc7b0

  • SHA512

    019a0d7dd5e4c3ef7c167e4186cadb39e9042dda7592a0550f3993f7336997ac342c76309857bdd1b28bce87ed03ad80cd000d4c53755640c3855c54c48c32bb

  • SSDEEP

    6144:MgZQZcij488Ua7qY57rMzCo8AqtSRV+a1Q:LZij488UaWYMzB5HRV+g

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.

  • 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\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\scxgcean\
      2⤵
        PID:3524
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ecmkkajz.exe" C:\Windows\SysWOW64\scxgcean\
        2⤵
          PID:1876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create scxgcean binPath= "C:\Windows\SysWOW64\scxgcean\ecmkkajz.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4576
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description scxgcean "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start scxgcean
          2⤵
          • Launches sc.exe
          PID:1320
        • 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:4476
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1904 -s 1036
          2⤵
          • Program crash
          PID:2840
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1904 -ip 1904
        1⤵
          PID:5036
        • C:\Windows\SysWOW64\scxgcean\ecmkkajz.exe
          C:\Windows\SysWOW64\scxgcean\ecmkkajz.exe /d"C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1768
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Deletes itself
            PID:4664
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1768 -s 512
            2⤵
            • Program crash
            PID:3592
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1768 -ip 1768
          1⤵
            PID:4716
          • 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=4160 --field-trial-handle=2304,i,6987730730348465820,3913273227385401271,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:440

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              10.3MB

              MD5

              5a5d820a644604f49c34a6dc27b67d7c

              SHA1

              aa3f01a0233e93e4bf3e53af84a4d84a6ae3cf03

              SHA256

              099f1086397ae15d59960bcb3c82eee3bce8207dd182be25e0adaa264d904f40

              SHA512

              deacce8c955d39248aecc9481c3408cab16fcf992e35d4c649c85427e5f0371eb284470b3898a90791cbf5399fd201f3dc931d378ae05d8d927e34979bb885dc

            • memory/1768-18-0x0000000000400000-0x000000000044D000-memory.dmp

              Filesize

              308KB

            • memory/1768-12-0x0000000000400000-0x000000000044D000-memory.dmp

              Filesize

              308KB

            • memory/1768-11-0x00000000007D0000-0x00000000008D0000-memory.dmp

              Filesize

              1024KB

            • memory/1904-10-0x0000000000450000-0x0000000000463000-memory.dmp

              Filesize

              76KB

            • memory/1904-9-0x0000000000400000-0x000000000044D000-memory.dmp

              Filesize

              308KB

            • memory/1904-1-0x0000000000470000-0x0000000000570000-memory.dmp

              Filesize

              1024KB

            • memory/1904-5-0x0000000000400000-0x000000000044D000-memory.dmp

              Filesize

              308KB

            • memory/1904-3-0x0000000000400000-0x000000000044D000-memory.dmp

              Filesize

              308KB

            • memory/1904-2-0x0000000000450000-0x0000000000463000-memory.dmp

              Filesize

              76KB

            • memory/4664-13-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

              Filesize

              84KB

            • memory/4664-16-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

              Filesize

              84KB

            • memory/4664-17-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

              Filesize

              84KB

            • memory/4664-19-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

              Filesize

              84KB

            • memory/4664-20-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

              Filesize

              84KB